Skip to content

Latest commit

 

History

History
415 lines (224 loc) · 13 KB

GatewayCreateProducerGithub.md

File metadata and controls

415 lines (224 loc) · 13 KB

GatewayCreateProducerGithub

Properties

Name Type Description Notes
DeleteProtection Pointer to string Protection from accidental deletion of this item [true/false] [optional]
GithubAppId Pointer to int64 Github app id [optional]
GithubAppPrivateKey Pointer to string App private key [optional]
GithubBaseUrl Pointer to string Base URL [optional] [default to "https://api.github.com/"]
InstallationId Pointer to int64 GitHub application installation id [optional]
InstallationOrganization Pointer to string Optional, mutually exclusive with installation id, GitHub organization name [optional]
InstallationRepository Pointer to string Optional, mutually exclusive with installation id, GitHub repository '<owner>/<repo-name>' [optional]
Json Pointer to bool Set output format to JSON [optional] [default to false]
Name string Dynamic secret name
Tags Pointer to []string Add tags attached to this object [optional]
TargetName Pointer to string Target name [optional]
Token Pointer to string Authentication token (see `/auth` and `/configure`) [optional]
TokenPermissions Pointer to []string Optional - installation token's allowed permissions [optional]
TokenRepositories Pointer to []string Optional - installation token's allowed repositories [optional]
UidToken Pointer to string The universal identity token, Required only for universal_identity authentication [optional]

Methods

NewGatewayCreateProducerGithub

func NewGatewayCreateProducerGithub(name string, ) *GatewayCreateProducerGithub

NewGatewayCreateProducerGithub instantiates a new GatewayCreateProducerGithub object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewGatewayCreateProducerGithubWithDefaults

func NewGatewayCreateProducerGithubWithDefaults() *GatewayCreateProducerGithub

NewGatewayCreateProducerGithubWithDefaults instantiates a new GatewayCreateProducerGithub object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetDeleteProtection

func (o *GatewayCreateProducerGithub) GetDeleteProtection() string

GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.

GetDeleteProtectionOk

func (o *GatewayCreateProducerGithub) GetDeleteProtectionOk() (*string, bool)

GetDeleteProtectionOk returns a tuple with the DeleteProtection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDeleteProtection

func (o *GatewayCreateProducerGithub) SetDeleteProtection(v string)

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *GatewayCreateProducerGithub) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetGithubAppId

func (o *GatewayCreateProducerGithub) GetGithubAppId() int64

GetGithubAppId returns the GithubAppId field if non-nil, zero value otherwise.

GetGithubAppIdOk

func (o *GatewayCreateProducerGithub) GetGithubAppIdOk() (*int64, bool)

GetGithubAppIdOk returns a tuple with the GithubAppId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGithubAppId

func (o *GatewayCreateProducerGithub) SetGithubAppId(v int64)

SetGithubAppId sets GithubAppId field to given value.

HasGithubAppId

func (o *GatewayCreateProducerGithub) HasGithubAppId() bool

HasGithubAppId returns a boolean if a field has been set.

GetGithubAppPrivateKey

func (o *GatewayCreateProducerGithub) GetGithubAppPrivateKey() string

GetGithubAppPrivateKey returns the GithubAppPrivateKey field if non-nil, zero value otherwise.

GetGithubAppPrivateKeyOk

func (o *GatewayCreateProducerGithub) GetGithubAppPrivateKeyOk() (*string, bool)

GetGithubAppPrivateKeyOk returns a tuple with the GithubAppPrivateKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGithubAppPrivateKey

func (o *GatewayCreateProducerGithub) SetGithubAppPrivateKey(v string)

SetGithubAppPrivateKey sets GithubAppPrivateKey field to given value.

HasGithubAppPrivateKey

func (o *GatewayCreateProducerGithub) HasGithubAppPrivateKey() bool

HasGithubAppPrivateKey returns a boolean if a field has been set.

GetGithubBaseUrl

func (o *GatewayCreateProducerGithub) GetGithubBaseUrl() string

GetGithubBaseUrl returns the GithubBaseUrl field if non-nil, zero value otherwise.

GetGithubBaseUrlOk

func (o *GatewayCreateProducerGithub) GetGithubBaseUrlOk() (*string, bool)

GetGithubBaseUrlOk returns a tuple with the GithubBaseUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGithubBaseUrl

func (o *GatewayCreateProducerGithub) SetGithubBaseUrl(v string)

SetGithubBaseUrl sets GithubBaseUrl field to given value.

HasGithubBaseUrl

func (o *GatewayCreateProducerGithub) HasGithubBaseUrl() bool

HasGithubBaseUrl returns a boolean if a field has been set.

GetInstallationId

func (o *GatewayCreateProducerGithub) GetInstallationId() int64

GetInstallationId returns the InstallationId field if non-nil, zero value otherwise.

GetInstallationIdOk

func (o *GatewayCreateProducerGithub) GetInstallationIdOk() (*int64, bool)

GetInstallationIdOk returns a tuple with the InstallationId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInstallationId

func (o *GatewayCreateProducerGithub) SetInstallationId(v int64)

SetInstallationId sets InstallationId field to given value.

HasInstallationId

func (o *GatewayCreateProducerGithub) HasInstallationId() bool

HasInstallationId returns a boolean if a field has been set.

GetInstallationOrganization

func (o *GatewayCreateProducerGithub) GetInstallationOrganization() string

GetInstallationOrganization returns the InstallationOrganization field if non-nil, zero value otherwise.

GetInstallationOrganizationOk

func (o *GatewayCreateProducerGithub) GetInstallationOrganizationOk() (*string, bool)

GetInstallationOrganizationOk returns a tuple with the InstallationOrganization field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInstallationOrganization

func (o *GatewayCreateProducerGithub) SetInstallationOrganization(v string)

SetInstallationOrganization sets InstallationOrganization field to given value.

HasInstallationOrganization

func (o *GatewayCreateProducerGithub) HasInstallationOrganization() bool

HasInstallationOrganization returns a boolean if a field has been set.

GetInstallationRepository

func (o *GatewayCreateProducerGithub) GetInstallationRepository() string

GetInstallationRepository returns the InstallationRepository field if non-nil, zero value otherwise.

GetInstallationRepositoryOk

func (o *GatewayCreateProducerGithub) GetInstallationRepositoryOk() (*string, bool)

GetInstallationRepositoryOk returns a tuple with the InstallationRepository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInstallationRepository

func (o *GatewayCreateProducerGithub) SetInstallationRepository(v string)

SetInstallationRepository sets InstallationRepository field to given value.

HasInstallationRepository

func (o *GatewayCreateProducerGithub) HasInstallationRepository() bool

HasInstallationRepository returns a boolean if a field has been set.

GetJson

func (o *GatewayCreateProducerGithub) GetJson() bool

GetJson returns the Json field if non-nil, zero value otherwise.

GetJsonOk

func (o *GatewayCreateProducerGithub) GetJsonOk() (*bool, bool)

GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetJson

func (o *GatewayCreateProducerGithub) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *GatewayCreateProducerGithub) HasJson() bool

HasJson returns a boolean if a field has been set.

GetName

func (o *GatewayCreateProducerGithub) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *GatewayCreateProducerGithub) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *GatewayCreateProducerGithub) SetName(v string)

SetName sets Name field to given value.

GetTags

func (o *GatewayCreateProducerGithub) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *GatewayCreateProducerGithub) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTags

func (o *GatewayCreateProducerGithub) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *GatewayCreateProducerGithub) HasTags() bool

HasTags returns a boolean if a field has been set.

GetTargetName

func (o *GatewayCreateProducerGithub) GetTargetName() string

GetTargetName returns the TargetName field if non-nil, zero value otherwise.

GetTargetNameOk

func (o *GatewayCreateProducerGithub) GetTargetNameOk() (*string, bool)

GetTargetNameOk returns a tuple with the TargetName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTargetName

func (o *GatewayCreateProducerGithub) SetTargetName(v string)

SetTargetName sets TargetName field to given value.

HasTargetName

func (o *GatewayCreateProducerGithub) HasTargetName() bool

HasTargetName returns a boolean if a field has been set.

GetToken

func (o *GatewayCreateProducerGithub) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *GatewayCreateProducerGithub) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetToken

func (o *GatewayCreateProducerGithub) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *GatewayCreateProducerGithub) HasToken() bool

HasToken returns a boolean if a field has been set.

GetTokenPermissions

func (o *GatewayCreateProducerGithub) GetTokenPermissions() []string

GetTokenPermissions returns the TokenPermissions field if non-nil, zero value otherwise.

GetTokenPermissionsOk

func (o *GatewayCreateProducerGithub) GetTokenPermissionsOk() (*[]string, bool)

GetTokenPermissionsOk returns a tuple with the TokenPermissions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTokenPermissions

func (o *GatewayCreateProducerGithub) SetTokenPermissions(v []string)

SetTokenPermissions sets TokenPermissions field to given value.

HasTokenPermissions

func (o *GatewayCreateProducerGithub) HasTokenPermissions() bool

HasTokenPermissions returns a boolean if a field has been set.

GetTokenRepositories

func (o *GatewayCreateProducerGithub) GetTokenRepositories() []string

GetTokenRepositories returns the TokenRepositories field if non-nil, zero value otherwise.

GetTokenRepositoriesOk

func (o *GatewayCreateProducerGithub) GetTokenRepositoriesOk() (*[]string, bool)

GetTokenRepositoriesOk returns a tuple with the TokenRepositories field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTokenRepositories

func (o *GatewayCreateProducerGithub) SetTokenRepositories(v []string)

SetTokenRepositories sets TokenRepositories field to given value.

HasTokenRepositories

func (o *GatewayCreateProducerGithub) HasTokenRepositories() bool

HasTokenRepositories returns a boolean if a field has been set.

GetUidToken

func (o *GatewayCreateProducerGithub) GetUidToken() string

GetUidToken returns the UidToken field if non-nil, zero value otherwise.

GetUidTokenOk

func (o *GatewayCreateProducerGithub) GetUidTokenOk() (*string, bool)

GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUidToken

func (o *GatewayCreateProducerGithub) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *GatewayCreateProducerGithub) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]