-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [Breaking] Adds BranchRestrictionPolicy [ClientId], docs updates (
#44) * New updates to generated code * New updates to generated code
- Loading branch information
1 parent
c57ab9a
commit 9678e6a
Showing
8 changed files
with
2,180 additions
and
2,186 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ type ItemSecretScanningAlertsRequestBuilderGetQueryParameters struct { | |
Per_page *int32 `uriparametername:"per_page"` | ||
// A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. | ||
Resolution *string `uriparametername:"resolution"` | ||
// A comma-separated list of secret types to return. By default all secret types are returned.See "[Secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)"for a complete list of secret types. | ||
// A comma-separated list of secret types to return. By default all secret types are returned.See "[Supported secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)"for a complete list of secret types. | ||
Secret_type *string `uriparametername:"secret_type"` | ||
// The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. | ||
Sort *ie731c1b19a2e5cc53591a2f3e26c1721bd2d17fb9da2b8efca9e1e81c4c05962.GetSortQueryParameterType `uriparametername:"sort"` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ type OrganizationSecretScanningAlert struct { | |
secret *string | ||
// The type of secret that secret scanning detected. | ||
secret_type *string | ||
// User-friendly name for the detected secret, matching the `secret_type`.For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." | ||
// User-friendly name for the detected secret, matching the `secret_type`.For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." | ||
secret_type_display_name *string | ||
// Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. | ||
state *SecretScanningAlertState | ||
|
@@ -330,7 +330,7 @@ func (m *OrganizationSecretScanningAlert) GetSecret()(*string) { | |
func (m *OrganizationSecretScanningAlert) GetSecretType()(*string) { | ||
return m.secret_type | ||
} | ||
// GetSecretTypeDisplayName gets the secret_type_display_name property value. User-friendly name for the detected secret, matching the `secret_type`.For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." | ||
// GetSecretTypeDisplayName gets the secret_type_display_name property value. User-friendly name for the detected secret, matching the `secret_type`.For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." | ||
// returns a *string when successful | ||
func (m *OrganizationSecretScanningAlert) GetSecretTypeDisplayName()(*string) { | ||
return m.secret_type_display_name | ||
|
@@ -512,7 +512,7 @@ func (m *OrganizationSecretScanningAlert) SetSecret(value *string)() { | |
func (m *OrganizationSecretScanningAlert) SetSecretType(value *string)() { | ||
m.secret_type = value | ||
} | ||
// SetSecretTypeDisplayName sets the secret_type_display_name property value. User-friendly name for the detected secret, matching the `secret_type`.For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." | ||
// SetSecretTypeDisplayName sets the secret_type_display_name property value. User-friendly name for the detected secret, matching the `secret_type`.For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." | ||
func (m *OrganizationSecretScanningAlert) SetSecretTypeDisplayName(value *string)() { | ||
m.secret_type_display_name = value | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ type SecretScanningAlert struct { | |
secret *string | ||
// The type of secret that secret scanning detected. | ||
secret_type *string | ||
// User-friendly name for the detected secret, matching the `secret_type`.For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." | ||
// User-friendly name for the detected secret, matching the `secret_type`.For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." | ||
secret_type_display_name *string | ||
// Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. | ||
state *SecretScanningAlertState | ||
|
@@ -313,7 +313,7 @@ func (m *SecretScanningAlert) GetSecret()(*string) { | |
func (m *SecretScanningAlert) GetSecretType()(*string) { | ||
return m.secret_type | ||
} | ||
// GetSecretTypeDisplayName gets the secret_type_display_name property value. User-friendly name for the detected secret, matching the `secret_type`.For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." | ||
// GetSecretTypeDisplayName gets the secret_type_display_name property value. User-friendly name for the detected secret, matching the `secret_type`.For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." | ||
// returns a *string when successful | ||
func (m *SecretScanningAlert) GetSecretTypeDisplayName()(*string) { | ||
return m.secret_type_display_name | ||
|
@@ -485,7 +485,7 @@ func (m *SecretScanningAlert) SetSecret(value *string)() { | |
func (m *SecretScanningAlert) SetSecretType(value *string)() { | ||
m.secret_type = value | ||
} | ||
// SetSecretTypeDisplayName sets the secret_type_display_name property value. User-friendly name for the detected secret, matching the `secret_type`.For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." | ||
// SetSecretTypeDisplayName sets the secret_type_display_name property value. User-friendly name for the detected secret, matching the `secret_type`.For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." | ||
func (m *SecretScanningAlert) SetSecretTypeDisplayName(value *string)() { | ||
m.secret_type_display_name = value | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ type ItemSecretScanningAlertsRequestBuilderGetQueryParameters struct { | |
Per_page *int32 `uriparametername:"per_page"` | ||
// A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. | ||
Resolution *string `uriparametername:"resolution"` | ||
// A comma-separated list of secret types to return. By default all secret types are returned.See "[Secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)"for a complete list of secret types. | ||
// A comma-separated list of secret types to return. By default all secret types are returned.See "[Supported secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)"for a complete list of secret types. | ||
Secret_type *string `uriparametername:"secret_type"` | ||
// The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. | ||
Sort *i7424a7e7ed210907f3a1fcdf8aa90dffa3a9669350059ae8849bd2aba37a1b90.GetSortQueryParameterType `uriparametername:"sort"` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ type ItemItemSecretScanningAlertsRequestBuilderGetQueryParameters struct { | |
Per_page *int32 `uriparametername:"per_page"` | ||
// A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. | ||
Resolution *string `uriparametername:"resolution"` | ||
// A comma-separated list of secret types to return. By default all secret types are returned.See "[Secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)"for a complete list of secret types. | ||
// A comma-separated list of secret types to return. By default all secret types are returned.See "[Supported secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)"for a complete list of secret types. | ||
Secret_type *string `uriparametername:"secret_type"` | ||
// The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. | ||
Sort *ic653fdac08035cb8bfc7dabb4472628f1539065e4c88c3d7cb1a363ab7fa780f.GetSortQueryParameterType `uriparametername:"sort"` | ||
|