Documentation
¶
Index ¶
- func CreateHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateHooksItemWithHook_PatchRequestBody_configFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateHooksPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateHooksPostRequestBody_configFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateLdapTeamsItemMappingPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateLdapTeamsItemSyncPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateLdapUsersItemMappingPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateLdapUsersItemSyncPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateOrganizationsItemWithOrgPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateOrganizationsItemWithOrgPatchResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateOrganizationsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422ErrorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errorsFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePreReceiveEnvironmentsItemPreReceiveEnvironment422ErrorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errorsFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePreReceiveEnvironmentsItemWithPre_receive_environment_422ErrorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errorsFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePreReceiveEnvironmentsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environmentFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repositoryFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePreReceiveHooksPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePreReceiveHooksPostRequestBody_environmentFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePreReceiveHooksPostRequestBody_script_repositoryFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateUsersItemAuthorizationsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateUsersItemWithUsernamePatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateUsersItemWithUsernamePatchResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateUsersPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type AdminRequestBuilder
- func (m *AdminRequestBuilder) Hooks() *HooksRequestBuilder
- func (m *AdminRequestBuilder) Keys() *KeysRequestBuilder
- func (m *AdminRequestBuilder) Ldap() *LdapRequestBuilder
- func (m *AdminRequestBuilder) Organizations() *OrganizationsRequestBuilder
- func (m *AdminRequestBuilder) PreReceiveEnvironments() *PreReceiveEnvironmentsRequestBuilder
- func (m *AdminRequestBuilder) PreReceiveHooks() *PreReceiveHooksRequestBuilder
- func (m *AdminRequestBuilder) Tokens() *TokensRequestBuilder
- func (m *AdminRequestBuilder) Users() *UsersRequestBuilder
- type HooksItemPingsRequestBuilder
- type HooksItemWithHook_PatchRequestBody
- func (m *HooksItemWithHook_PatchRequestBody) GetActive() *bool
- func (m *HooksItemWithHook_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *HooksItemWithHook_PatchRequestBody) GetConfig() HooksItemWithHook_PatchRequestBody_configable
- func (m *HooksItemWithHook_PatchRequestBody) GetEvents() []string
- func (m *HooksItemWithHook_PatchRequestBody) GetFieldDeserializers() ...
- func (m *HooksItemWithHook_PatchRequestBody) Serialize(...) error
- func (m *HooksItemWithHook_PatchRequestBody) SetActive(value *bool)
- func (m *HooksItemWithHook_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *HooksItemWithHook_PatchRequestBody) SetConfig(value HooksItemWithHook_PatchRequestBody_configable)
- func (m *HooksItemWithHook_PatchRequestBody) SetEvents(value []string)
- type HooksItemWithHook_PatchRequestBody_config
- func (m *HooksItemWithHook_PatchRequestBody_config) GetAdditionalData() map[string]any
- func (m *HooksItemWithHook_PatchRequestBody_config) GetContentType() *string
- func (m *HooksItemWithHook_PatchRequestBody_config) GetFieldDeserializers() ...
- func (m *HooksItemWithHook_PatchRequestBody_config) GetInsecureSsl() *string
- func (m *HooksItemWithHook_PatchRequestBody_config) GetSecret() *string
- func (m *HooksItemWithHook_PatchRequestBody_config) GetUrl() *string
- func (m *HooksItemWithHook_PatchRequestBody_config) Serialize(...) error
- func (m *HooksItemWithHook_PatchRequestBody_config) SetAdditionalData(value map[string]any)
- func (m *HooksItemWithHook_PatchRequestBody_config) SetContentType(value *string)
- func (m *HooksItemWithHook_PatchRequestBody_config) SetInsecureSsl(value *string)
- func (m *HooksItemWithHook_PatchRequestBody_config) SetSecret(value *string)
- func (m *HooksItemWithHook_PatchRequestBody_config) SetUrl(value *string)
- type HooksItemWithHook_PatchRequestBody_configable
- type HooksItemWithHook_PatchRequestBodyable
- type HooksPostRequestBody
- func (m *HooksPostRequestBody) GetActive() *bool
- func (m *HooksPostRequestBody) GetAdditionalData() map[string]any
- func (m *HooksPostRequestBody) GetConfig() HooksPostRequestBody_configable
- func (m *HooksPostRequestBody) GetEvents() []string
- func (m *HooksPostRequestBody) GetFieldDeserializers() ...
- func (m *HooksPostRequestBody) GetName() *string
- func (m *HooksPostRequestBody) Serialize(...) error
- func (m *HooksPostRequestBody) SetActive(value *bool)
- func (m *HooksPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *HooksPostRequestBody) SetConfig(value HooksPostRequestBody_configable)
- func (m *HooksPostRequestBody) SetEvents(value []string)
- func (m *HooksPostRequestBody) SetName(value *string)
- type HooksPostRequestBody_config
- func (m *HooksPostRequestBody_config) GetAdditionalData() map[string]any
- func (m *HooksPostRequestBody_config) GetContentType() *string
- func (m *HooksPostRequestBody_config) GetFieldDeserializers() ...
- func (m *HooksPostRequestBody_config) GetInsecureSsl() *string
- func (m *HooksPostRequestBody_config) GetSecret() *string
- func (m *HooksPostRequestBody_config) GetUrl() *string
- func (m *HooksPostRequestBody_config) Serialize(...) error
- func (m *HooksPostRequestBody_config) SetAdditionalData(value map[string]any)
- func (m *HooksPostRequestBody_config) SetContentType(value *string)
- func (m *HooksPostRequestBody_config) SetInsecureSsl(value *string)
- func (m *HooksPostRequestBody_config) SetSecret(value *string)
- func (m *HooksPostRequestBody_config) SetUrl(value *string)
- type HooksPostRequestBody_configable
- type HooksPostRequestBodyable
- type HooksRequestBuilder
- func (m *HooksRequestBuilder) ByHook_id(hook_id int32) *HooksWithHook_ItemRequestBuilder
- func (m *HooksRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *HooksRequestBuilder) Post(ctx context.Context, body HooksPostRequestBodyable, ...) (...)
- func (m *HooksRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *HooksRequestBuilder) ToPostRequestInformation(ctx context.Context, body HooksPostRequestBodyable, ...) (...)
- func (m *HooksRequestBuilder) WithUrl(rawUrl string) *HooksRequestBuilder
- type HooksRequestBuilderGetQueryParameters
- type HooksWithHook_ItemRequestBuilder
- func (m *HooksWithHook_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *HooksWithHook_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *HooksWithHook_ItemRequestBuilder) Patch(ctx context.Context, body HooksItemWithHook_PatchRequestBodyable, ...) (...)
- func (m *HooksWithHook_ItemRequestBuilder) Pings() *HooksItemPingsRequestBuilder
- func (m *HooksWithHook_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *HooksWithHook_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *HooksWithHook_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body HooksItemWithHook_PatchRequestBodyable, ...) (...)
- func (m *HooksWithHook_ItemRequestBuilder) WithUrl(rawUrl string) *HooksWithHook_ItemRequestBuilder
- type KeysRequestBuilder
- func (m *KeysRequestBuilder) ByKey_ids(key_ids string) *KeysWithKey_idsItemRequestBuilder
- func (m *KeysRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *KeysRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *KeysRequestBuilder) WithUrl(rawUrl string) *KeysRequestBuilder
- type KeysRequestBuilderGetQueryParameters
- type KeysWithKey_idsItemRequestBuilder
- type LdapRequestBuilder
- type LdapTeamsItemMappingPatchRequestBody
- func (m *LdapTeamsItemMappingPatchRequestBody) GetAdditionalData() map[string]any
- func (m *LdapTeamsItemMappingPatchRequestBody) GetFieldDeserializers() ...
- func (m *LdapTeamsItemMappingPatchRequestBody) GetLdapDn() *string
- func (m *LdapTeamsItemMappingPatchRequestBody) Serialize(...) error
- func (m *LdapTeamsItemMappingPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *LdapTeamsItemMappingPatchRequestBody) SetLdapDn(value *string)
- type LdapTeamsItemMappingPatchRequestBodyable
- type LdapTeamsItemMappingRequestBuilder
- func (m *LdapTeamsItemMappingRequestBuilder) Patch(ctx context.Context, body LdapTeamsItemMappingPatchRequestBodyable, ...) (...)
- func (m *LdapTeamsItemMappingRequestBuilder) ToPatchRequestInformation(ctx context.Context, body LdapTeamsItemMappingPatchRequestBodyable, ...) (...)
- func (m *LdapTeamsItemMappingRequestBuilder) WithUrl(rawUrl string) *LdapTeamsItemMappingRequestBuilder
- type LdapTeamsItemSyncPostResponse
- func (m *LdapTeamsItemSyncPostResponse) GetAdditionalData() map[string]any
- func (m *LdapTeamsItemSyncPostResponse) GetFieldDeserializers() ...
- func (m *LdapTeamsItemSyncPostResponse) GetStatus() *string
- func (m *LdapTeamsItemSyncPostResponse) Serialize(...) error
- func (m *LdapTeamsItemSyncPostResponse) SetAdditionalData(value map[string]any)
- func (m *LdapTeamsItemSyncPostResponse) SetStatus(value *string)
- type LdapTeamsItemSyncPostResponseable
- type LdapTeamsItemSyncRequestBuilder
- func (m *LdapTeamsItemSyncRequestBuilder) Post(ctx context.Context, ...) (LdapTeamsItemSyncPostResponseable, error)
- func (m *LdapTeamsItemSyncRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *LdapTeamsItemSyncRequestBuilder) WithUrl(rawUrl string) *LdapTeamsItemSyncRequestBuilder
- type LdapTeamsRequestBuilder
- type LdapTeamsWithTeam_ItemRequestBuilder
- type LdapUsersItemMappingPatchRequestBody
- func (m *LdapUsersItemMappingPatchRequestBody) GetAdditionalData() map[string]any
- func (m *LdapUsersItemMappingPatchRequestBody) GetFieldDeserializers() ...
- func (m *LdapUsersItemMappingPatchRequestBody) GetLdapDn() *string
- func (m *LdapUsersItemMappingPatchRequestBody) Serialize(...) error
- func (m *LdapUsersItemMappingPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *LdapUsersItemMappingPatchRequestBody) SetLdapDn(value *string)
- type LdapUsersItemMappingPatchRequestBodyable
- type LdapUsersItemMappingRequestBuilder
- func (m *LdapUsersItemMappingRequestBuilder) Patch(ctx context.Context, body LdapUsersItemMappingPatchRequestBodyable, ...) (...)
- func (m *LdapUsersItemMappingRequestBuilder) ToPatchRequestInformation(ctx context.Context, body LdapUsersItemMappingPatchRequestBodyable, ...) (...)
- func (m *LdapUsersItemMappingRequestBuilder) WithUrl(rawUrl string) *LdapUsersItemMappingRequestBuilder
- type LdapUsersItemSyncPostResponse
- func (m *LdapUsersItemSyncPostResponse) GetAdditionalData() map[string]any
- func (m *LdapUsersItemSyncPostResponse) GetFieldDeserializers() ...
- func (m *LdapUsersItemSyncPostResponse) GetStatus() *string
- func (m *LdapUsersItemSyncPostResponse) Serialize(...) error
- func (m *LdapUsersItemSyncPostResponse) SetAdditionalData(value map[string]any)
- func (m *LdapUsersItemSyncPostResponse) SetStatus(value *string)
- type LdapUsersItemSyncPostResponseable
- type LdapUsersItemSyncRequestBuilder
- func (m *LdapUsersItemSyncRequestBuilder) Post(ctx context.Context, ...) (LdapUsersItemSyncPostResponseable, error)
- func (m *LdapUsersItemSyncRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *LdapUsersItemSyncRequestBuilder) WithUrl(rawUrl string) *LdapUsersItemSyncRequestBuilder
- type LdapUsersRequestBuilder
- type LdapUsersWithUsernameItemRequestBuilder
- type OrganizationsItemWithOrgPatchRequestBody
- func (m *OrganizationsItemWithOrgPatchRequestBody) GetAdditionalData() map[string]any
- func (m *OrganizationsItemWithOrgPatchRequestBody) GetFieldDeserializers() ...
- func (m *OrganizationsItemWithOrgPatchRequestBody) GetLogin() *string
- func (m *OrganizationsItemWithOrgPatchRequestBody) Serialize(...) error
- func (m *OrganizationsItemWithOrgPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *OrganizationsItemWithOrgPatchRequestBody) SetLogin(value *string)
- type OrganizationsItemWithOrgPatchRequestBodyable
- type OrganizationsItemWithOrgPatchResponse
- func (m *OrganizationsItemWithOrgPatchResponse) GetAdditionalData() map[string]any
- func (m *OrganizationsItemWithOrgPatchResponse) GetFieldDeserializers() ...
- func (m *OrganizationsItemWithOrgPatchResponse) GetMessage() *string
- func (m *OrganizationsItemWithOrgPatchResponse) GetUrl() *string
- func (m *OrganizationsItemWithOrgPatchResponse) Serialize(...) error
- func (m *OrganizationsItemWithOrgPatchResponse) SetAdditionalData(value map[string]any)
- func (m *OrganizationsItemWithOrgPatchResponse) SetMessage(value *string)
- func (m *OrganizationsItemWithOrgPatchResponse) SetUrl(value *string)
- type OrganizationsItemWithOrgPatchResponseable
- type OrganizationsPostRequestBody
- func (m *OrganizationsPostRequestBody) GetAdditionalData() map[string]any
- func (m *OrganizationsPostRequestBody) GetAdmin() *string
- func (m *OrganizationsPostRequestBody) GetFieldDeserializers() ...
- func (m *OrganizationsPostRequestBody) GetLogin() *string
- func (m *OrganizationsPostRequestBody) GetProfileName() *string
- func (m *OrganizationsPostRequestBody) Serialize(...) error
- func (m *OrganizationsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *OrganizationsPostRequestBody) SetAdmin(value *string)
- func (m *OrganizationsPostRequestBody) SetLogin(value *string)
- func (m *OrganizationsPostRequestBody) SetProfileName(value *string)
- type OrganizationsPostRequestBodyable
- type OrganizationsRequestBuilder
- func (m *OrganizationsRequestBuilder) ByOrg(org string) *OrganizationsWithOrgItemRequestBuilder
- func (m *OrganizationsRequestBuilder) Post(ctx context.Context, body OrganizationsPostRequestBodyable, ...) (...)
- func (m *OrganizationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body OrganizationsPostRequestBodyable, ...) (...)
- func (m *OrganizationsRequestBuilder) WithUrl(rawUrl string) *OrganizationsRequestBuilder
- type OrganizationsWithOrgItemRequestBuilder
- func (m *OrganizationsWithOrgItemRequestBuilder) Patch(ctx context.Context, body OrganizationsItemWithOrgPatchRequestBodyable, ...) (OrganizationsItemWithOrgPatchResponseable, error)
- func (m *OrganizationsWithOrgItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body OrganizationsItemWithOrgPatchRequestBodyable, ...) (...)
- func (m *OrganizationsWithOrgItemRequestBuilder) WithUrl(rawUrl string) *OrganizationsWithOrgItemRequestBuilder
- type PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder
- func NewPreReceiveEnvironmentsItemDownloadsLatestRequestBuilder(rawUrl string, ...) *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder
- func NewPreReceiveEnvironmentsItemDownloadsLatestRequestBuilderInternal(pathParameters map[string]string, ...) *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder
- func (m *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder) WithUrl(rawUrl string) *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder
- type PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) Error() string
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) GetAdditionalData() map[string]any
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) GetErrors() ...
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) GetFieldDeserializers() ...
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) GetMessage() *string
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) Serialize(...) error
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) SetAdditionalData(value map[string]any)
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) SetErrors(...)
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) SetMessage(value *string)
- type PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetAdditionalData() map[string]any
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetCode() *string
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetFieldDeserializers() ...
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetMessage() *string
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetResource() *string
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) Serialize(...) error
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) SetAdditionalData(value map[string]any)
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) SetCode(value *string)
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) SetMessage(value *string)
- func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) SetResource(value *string)
- type PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errorsable
- type PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Errorable
- type PreReceiveEnvironmentsItemDownloadsRequestBuilder
- func (m *PreReceiveEnvironmentsItemDownloadsRequestBuilder) Latest() *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder
- func (m *PreReceiveEnvironmentsItemDownloadsRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *PreReceiveEnvironmentsItemDownloadsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *PreReceiveEnvironmentsItemDownloadsRequestBuilder) WithUrl(rawUrl string) *PreReceiveEnvironmentsItemDownloadsRequestBuilder
- type PreReceiveEnvironmentsItemPreReceiveEnvironment422Error
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) Error() string
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) GetAdditionalData() map[string]any
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) GetErrors() []PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errorsable
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) GetFieldDeserializers() ...
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) GetMessage() *string
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) Serialize(...) error
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) SetAdditionalData(value map[string]any)
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) SetErrors(value []PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errorsable)
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) SetMessage(value *string)
- type PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetAdditionalData() map[string]any
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetCode() *string
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetFieldDeserializers() ...
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetMessage() *string
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetResource() *string
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) Serialize(...) error
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) SetAdditionalData(value map[string]any)
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) SetCode(value *string)
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) SetMessage(value *string)
- func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) SetResource(value *string)
- type PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errorsable
- type PreReceiveEnvironmentsItemPreReceiveEnvironment422Errorable
- type PreReceiveEnvironmentsItemWithPre_receive_environment_422Error
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) Error() string
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) GetAdditionalData() map[string]any
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) GetErrors() []PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errorsable
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) GetFieldDeserializers() ...
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) GetMessage() *string
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) Serialize(...) error
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) SetAdditionalData(value map[string]any)
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) SetErrors(...)
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) SetMessage(value *string)
- type PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetAdditionalData() map[string]any
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetCode() *string
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetFieldDeserializers() ...
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetMessage() *string
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetResource() *string
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) Serialize(...) error
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) SetAdditionalData(value map[string]any)
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) SetCode(value *string)
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) SetMessage(value *string)
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) SetResource(value *string)
- type PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errorsable
- type PreReceiveEnvironmentsItemWithPre_receive_environment_422Errorable
- type PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) GetFieldDeserializers() ...
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) GetImageUrl() *string
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) GetName() *string
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) Serialize(...) error
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) SetImageUrl(value *string)
- func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) SetName(value *string)
- type PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBodyable
- type PreReceiveEnvironmentsPostRequestBody
- func (m *PreReceiveEnvironmentsPostRequestBody) GetAdditionalData() map[string]any
- func (m *PreReceiveEnvironmentsPostRequestBody) GetFieldDeserializers() ...
- func (m *PreReceiveEnvironmentsPostRequestBody) GetImageUrl() *string
- func (m *PreReceiveEnvironmentsPostRequestBody) GetName() *string
- func (m *PreReceiveEnvironmentsPostRequestBody) Serialize(...) error
- func (m *PreReceiveEnvironmentsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *PreReceiveEnvironmentsPostRequestBody) SetImageUrl(value *string)
- func (m *PreReceiveEnvironmentsPostRequestBody) SetName(value *string)
- type PreReceiveEnvironmentsPostRequestBodyable
- type PreReceiveEnvironmentsRequestBuilder
- func (m *PreReceiveEnvironmentsRequestBuilder) ByPre_receive_environment_id(pre_receive_environment_id int32) *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder
- func (m *PreReceiveEnvironmentsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *PreReceiveEnvironmentsRequestBuilder) Post(ctx context.Context, body PreReceiveEnvironmentsPostRequestBodyable, ...) (...)
- func (m *PreReceiveEnvironmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *PreReceiveEnvironmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body PreReceiveEnvironmentsPostRequestBodyable, ...) (...)
- func (m *PreReceiveEnvironmentsRequestBuilder) WithUrl(rawUrl string) *PreReceiveEnvironmentsRequestBuilder
- type PreReceiveEnvironmentsRequestBuilderGetQueryParameters
- type PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder
- func NewPreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder(rawUrl string, ...) *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder
- func NewPreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder
- func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) Downloads() *PreReceiveEnvironmentsItemDownloadsRequestBuilder
- func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) WithUrl(rawUrl string) *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder
- type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetAllowDownstreamConfiguration() *bool
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetEnforcement() *string
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetEnvironment() PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environmentable
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetFieldDeserializers() ...
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetName() *string
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetScript() *string
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetScriptRepository() PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repositoryable
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) Serialize(...) error
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAllowDownstreamConfiguration(value *bool)
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetEnforcement(value *string)
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetEnvironment(value PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environmentable)
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetName(value *string)
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetScript(value *string)
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetScriptRepository(...)
- type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment) GetAdditionalData() map[string]any
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment) GetFieldDeserializers() ...
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment) Serialize(...) error
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment) SetAdditionalData(value map[string]any)
- type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environmentable
- type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository) GetAdditionalData() map[string]any
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository) GetFieldDeserializers() ...
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository) Serialize(...) error
- func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository) SetAdditionalData(value map[string]any)
- type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repositoryable
- type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable
- type PreReceiveHooksPostRequestBody
- func (m *PreReceiveHooksPostRequestBody) GetAdditionalData() map[string]any
- func (m *PreReceiveHooksPostRequestBody) GetAllowDownstreamConfiguration() *bool
- func (m *PreReceiveHooksPostRequestBody) GetEnforcement() *string
- func (m *PreReceiveHooksPostRequestBody) GetEnvironment() PreReceiveHooksPostRequestBody_environmentable
- func (m *PreReceiveHooksPostRequestBody) GetFieldDeserializers() ...
- func (m *PreReceiveHooksPostRequestBody) GetName() *string
- func (m *PreReceiveHooksPostRequestBody) GetScript() *string
- func (m *PreReceiveHooksPostRequestBody) GetScriptRepository() PreReceiveHooksPostRequestBody_script_repositoryable
- func (m *PreReceiveHooksPostRequestBody) Serialize(...) error
- func (m *PreReceiveHooksPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *PreReceiveHooksPostRequestBody) SetAllowDownstreamConfiguration(value *bool)
- func (m *PreReceiveHooksPostRequestBody) SetEnforcement(value *string)
- func (m *PreReceiveHooksPostRequestBody) SetEnvironment(value PreReceiveHooksPostRequestBody_environmentable)
- func (m *PreReceiveHooksPostRequestBody) SetName(value *string)
- func (m *PreReceiveHooksPostRequestBody) SetScript(value *string)
- func (m *PreReceiveHooksPostRequestBody) SetScriptRepository(value PreReceiveHooksPostRequestBody_script_repositoryable)
- type PreReceiveHooksPostRequestBody_environment
- func (m *PreReceiveHooksPostRequestBody_environment) GetAdditionalData() map[string]any
- func (m *PreReceiveHooksPostRequestBody_environment) GetFieldDeserializers() ...
- func (m *PreReceiveHooksPostRequestBody_environment) Serialize(...) error
- func (m *PreReceiveHooksPostRequestBody_environment) SetAdditionalData(value map[string]any)
- type PreReceiveHooksPostRequestBody_environmentable
- type PreReceiveHooksPostRequestBody_script_repository
- func (m *PreReceiveHooksPostRequestBody_script_repository) GetAdditionalData() map[string]any
- func (m *PreReceiveHooksPostRequestBody_script_repository) GetFieldDeserializers() ...
- func (m *PreReceiveHooksPostRequestBody_script_repository) Serialize(...) error
- func (m *PreReceiveHooksPostRequestBody_script_repository) SetAdditionalData(value map[string]any)
- type PreReceiveHooksPostRequestBody_script_repositoryable
- type PreReceiveHooksPostRequestBodyable
- type PreReceiveHooksRequestBuilder
- func (m *PreReceiveHooksRequestBuilder) ByPre_receive_hook_id(pre_receive_hook_id int32) *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- func (m *PreReceiveHooksRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *PreReceiveHooksRequestBuilder) Post(ctx context.Context, body PreReceiveHooksPostRequestBodyable, ...) (...)
- func (m *PreReceiveHooksRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *PreReceiveHooksRequestBuilder) ToPostRequestInformation(ctx context.Context, body PreReceiveHooksPostRequestBodyable, ...) (...)
- func (m *PreReceiveHooksRequestBuilder) WithUrl(rawUrl string) *PreReceiveHooksRequestBuilder
- type PreReceiveHooksRequestBuilderGetQueryParameters
- type PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- func NewPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder(rawUrl string, ...) *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- func NewPreReceiveHooksWithPre_receive_hook_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- func (m *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) WithUrl(rawUrl string) *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- type TokensRequestBuilder
- func (m *TokensRequestBuilder) ByToken_id(token_id int32) *TokensWithToken_ItemRequestBuilder
- func (m *TokensRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *TokensRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *TokensRequestBuilder) WithUrl(rawUrl string) *TokensRequestBuilder
- type TokensRequestBuilderGetQueryParameters
- type TokensWithToken_ItemRequestBuilder
- type UsersItemAuthorizationsPostRequestBody
- func (m *UsersItemAuthorizationsPostRequestBody) GetAdditionalData() map[string]any
- func (m *UsersItemAuthorizationsPostRequestBody) GetFieldDeserializers() ...
- func (m *UsersItemAuthorizationsPostRequestBody) GetScopes() []string
- func (m *UsersItemAuthorizationsPostRequestBody) Serialize(...) error
- func (m *UsersItemAuthorizationsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *UsersItemAuthorizationsPostRequestBody) SetScopes(value []string)
- type UsersItemAuthorizationsPostRequestBodyable
- type UsersItemAuthorizationsRequestBuilder
- func (m *UsersItemAuthorizationsRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *UsersItemAuthorizationsRequestBuilder) Post(ctx context.Context, body UsersItemAuthorizationsPostRequestBodyable, ...) (...)
- func (m *UsersItemAuthorizationsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *UsersItemAuthorizationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body UsersItemAuthorizationsPostRequestBodyable, ...) (...)
- func (m *UsersItemAuthorizationsRequestBuilder) WithUrl(rawUrl string) *UsersItemAuthorizationsRequestBuilder
- type UsersItemWithUsernamePatchRequestBody
- func (m *UsersItemWithUsernamePatchRequestBody) GetAdditionalData() map[string]any
- func (m *UsersItemWithUsernamePatchRequestBody) GetFieldDeserializers() ...
- func (m *UsersItemWithUsernamePatchRequestBody) GetLogin() *string
- func (m *UsersItemWithUsernamePatchRequestBody) Serialize(...) error
- func (m *UsersItemWithUsernamePatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *UsersItemWithUsernamePatchRequestBody) SetLogin(value *string)
- type UsersItemWithUsernamePatchRequestBodyable
- type UsersItemWithUsernamePatchResponse
- func (m *UsersItemWithUsernamePatchResponse) GetAdditionalData() map[string]any
- func (m *UsersItemWithUsernamePatchResponse) GetFieldDeserializers() ...
- func (m *UsersItemWithUsernamePatchResponse) GetMessage() *string
- func (m *UsersItemWithUsernamePatchResponse) GetUrl() *string
- func (m *UsersItemWithUsernamePatchResponse) Serialize(...) error
- func (m *UsersItemWithUsernamePatchResponse) SetAdditionalData(value map[string]any)
- func (m *UsersItemWithUsernamePatchResponse) SetMessage(value *string)
- func (m *UsersItemWithUsernamePatchResponse) SetUrl(value *string)
- type UsersItemWithUsernamePatchResponseable
- type UsersPostRequestBody
- func (m *UsersPostRequestBody) GetAdditionalData() map[string]any
- func (m *UsersPostRequestBody) GetEmail() *string
- func (m *UsersPostRequestBody) GetFieldDeserializers() ...
- func (m *UsersPostRequestBody) GetLogin() *string
- func (m *UsersPostRequestBody) GetSuspended() *bool
- func (m *UsersPostRequestBody) Serialize(...) error
- func (m *UsersPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *UsersPostRequestBody) SetEmail(value *string)
- func (m *UsersPostRequestBody) SetLogin(value *string)
- func (m *UsersPostRequestBody) SetSuspended(value *bool)
- type UsersPostRequestBodyable
- type UsersRequestBuilder
- func (m *UsersRequestBuilder) ByUsername(username string) *UsersWithUsernameItemRequestBuilder
- func (m *UsersRequestBuilder) Post(ctx context.Context, body UsersPostRequestBodyable, ...) (...)
- func (m *UsersRequestBuilder) ToPostRequestInformation(ctx context.Context, body UsersPostRequestBodyable, ...) (...)
- func (m *UsersRequestBuilder) WithUrl(rawUrl string) *UsersRequestBuilder
- type UsersWithUsernameItemRequestBuilder
- func (m *UsersWithUsernameItemRequestBuilder) Authorizations() *UsersItemAuthorizationsRequestBuilder
- func (m *UsersWithUsernameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *UsersWithUsernameItemRequestBuilder) Patch(ctx context.Context, body UsersItemWithUsernamePatchRequestBodyable, ...) (UsersItemWithUsernamePatchResponseable, error)
- func (m *UsersWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *UsersWithUsernameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body UsersItemWithUsernamePatchRequestBodyable, ...) (...)
- func (m *UsersWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *UsersWithUsernameItemRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue ¶
func CreateHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateHooksItemWithHook_PatchRequestBody_configFromDiscriminatorValue ¶
func CreateHooksItemWithHook_PatchRequestBody_configFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateHooksItemWithHook_PatchRequestBody_configFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateHooksPostRequestBodyFromDiscriminatorValue ¶
func CreateHooksPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateHooksPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateHooksPostRequestBody_configFromDiscriminatorValue ¶
func CreateHooksPostRequestBody_configFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateHooksPostRequestBody_configFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateLdapTeamsItemMappingPatchRequestBodyFromDiscriminatorValue ¶
func CreateLdapTeamsItemMappingPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateLdapTeamsItemMappingPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateLdapTeamsItemSyncPostResponseFromDiscriminatorValue ¶
func CreateLdapTeamsItemSyncPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateLdapTeamsItemSyncPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateLdapUsersItemMappingPatchRequestBodyFromDiscriminatorValue ¶
func CreateLdapUsersItemMappingPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateLdapUsersItemMappingPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateLdapUsersItemSyncPostResponseFromDiscriminatorValue ¶
func CreateLdapUsersItemSyncPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateLdapUsersItemSyncPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateOrganizationsItemWithOrgPatchRequestBodyFromDiscriminatorValue ¶
func CreateOrganizationsItemWithOrgPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateOrganizationsItemWithOrgPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateOrganizationsItemWithOrgPatchResponseFromDiscriminatorValue ¶
func CreateOrganizationsItemWithOrgPatchResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateOrganizationsItemWithOrgPatchResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateOrganizationsPostRequestBodyFromDiscriminatorValue ¶
func CreateOrganizationsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateOrganizationsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422ErrorFromDiscriminatorValue ¶
func CreatePreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422ErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422ErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errorsFromDiscriminatorValue ¶
func CreatePreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errorsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errorsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePreReceiveEnvironmentsItemPreReceiveEnvironment422ErrorFromDiscriminatorValue ¶
func CreatePreReceiveEnvironmentsItemPreReceiveEnvironment422ErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePreReceiveEnvironmentsItemPreReceiveEnvironment422ErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errorsFromDiscriminatorValue ¶
func CreatePreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errorsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errorsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePreReceiveEnvironmentsItemWithPre_receive_environment_422ErrorFromDiscriminatorValue ¶
func CreatePreReceiveEnvironmentsItemWithPre_receive_environment_422ErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePreReceiveEnvironmentsItemWithPre_receive_environment_422ErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errorsFromDiscriminatorValue ¶
func CreatePreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errorsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errorsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBodyFromDiscriminatorValue ¶
func CreatePreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePreReceiveEnvironmentsPostRequestBodyFromDiscriminatorValue ¶
func CreatePreReceiveEnvironmentsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePreReceiveEnvironmentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyFromDiscriminatorValue ¶
func CreatePreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environmentFromDiscriminatorValue ¶
func CreatePreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repositoryFromDiscriminatorValue ¶
func CreatePreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repositoryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repositoryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePreReceiveHooksPostRequestBodyFromDiscriminatorValue ¶
func CreatePreReceiveHooksPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePreReceiveHooksPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePreReceiveHooksPostRequestBody_environmentFromDiscriminatorValue ¶
func CreatePreReceiveHooksPostRequestBody_environmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePreReceiveHooksPostRequestBody_environmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePreReceiveHooksPostRequestBody_script_repositoryFromDiscriminatorValue ¶
func CreatePreReceiveHooksPostRequestBody_script_repositoryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePreReceiveHooksPostRequestBody_script_repositoryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateUsersItemAuthorizationsPostRequestBodyFromDiscriminatorValue ¶
func CreateUsersItemAuthorizationsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateUsersItemAuthorizationsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateUsersItemWithUsernamePatchRequestBodyFromDiscriminatorValue ¶
func CreateUsersItemWithUsernamePatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateUsersItemWithUsernamePatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateUsersItemWithUsernamePatchResponseFromDiscriminatorValue ¶
func CreateUsersItemWithUsernamePatchResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateUsersItemWithUsernamePatchResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateUsersPostRequestBodyFromDiscriminatorValue ¶
func CreateUsersPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateUsersPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
Types ¶
type AdminRequestBuilder ¶
type AdminRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
AdminRequestBuilder builds and executes requests for operations under \admin
func NewAdminRequestBuilder ¶
func NewAdminRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AdminRequestBuilder
NewAdminRequestBuilder instantiates a new AdminRequestBuilder and sets the default values.
func NewAdminRequestBuilderInternal ¶
func NewAdminRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AdminRequestBuilder
NewAdminRequestBuilderInternal instantiates a new AdminRequestBuilder and sets the default values.
func (*AdminRequestBuilder) Hooks ¶
func (m *AdminRequestBuilder) Hooks() *HooksRequestBuilder
Hooks the hooks property returns a *HooksRequestBuilder when successful
func (*AdminRequestBuilder) Keys ¶
func (m *AdminRequestBuilder) Keys() *KeysRequestBuilder
Keys the keys property returns a *KeysRequestBuilder when successful
func (*AdminRequestBuilder) Ldap ¶
func (m *AdminRequestBuilder) Ldap() *LdapRequestBuilder
Ldap the ldap property returns a *LdapRequestBuilder when successful
func (*AdminRequestBuilder) Organizations ¶
func (m *AdminRequestBuilder) Organizations() *OrganizationsRequestBuilder
Organizations the organizations property returns a *OrganizationsRequestBuilder when successful
func (*AdminRequestBuilder) PreReceiveEnvironments ¶
func (m *AdminRequestBuilder) PreReceiveEnvironments() *PreReceiveEnvironmentsRequestBuilder
PreReceiveEnvironments the preReceiveEnvironments property returns a *PreReceiveEnvironmentsRequestBuilder when successful
func (*AdminRequestBuilder) PreReceiveHooks ¶
func (m *AdminRequestBuilder) PreReceiveHooks() *PreReceiveHooksRequestBuilder
PreReceiveHooks the preReceiveHooks property returns a *PreReceiveHooksRequestBuilder when successful
func (*AdminRequestBuilder) Tokens ¶
func (m *AdminRequestBuilder) Tokens() *TokensRequestBuilder
Tokens the tokens property returns a *TokensRequestBuilder when successful
func (*AdminRequestBuilder) Users ¶
func (m *AdminRequestBuilder) Users() *UsersRequestBuilder
Users the users property returns a *UsersRequestBuilder when successful
type HooksItemPingsRequestBuilder ¶
type HooksItemPingsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
HooksItemPingsRequestBuilder builds and executes requests for operations under \admin\hooks\{hook_id}\pings
func NewHooksItemPingsRequestBuilder ¶
func NewHooksItemPingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *HooksItemPingsRequestBuilder
NewHooksItemPingsRequestBuilder instantiates a new HooksItemPingsRequestBuilder and sets the default values.
func NewHooksItemPingsRequestBuilderInternal ¶
func NewHooksItemPingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *HooksItemPingsRequestBuilder
NewHooksItemPingsRequestBuilderInternal instantiates a new HooksItemPingsRequestBuilder and sets the default values.
func (*HooksItemPingsRequestBuilder) Post ¶
func (m *HooksItemPingsRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Post this will trigger a [ping event](https://docs.github.com/enterprise-server@3.12/webhooks/#ping-event) to be sent to the webhook. API method documentation
func (*HooksItemPingsRequestBuilder) ToPostRequestInformation ¶
func (m *HooksItemPingsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation this will trigger a [ping event](https://docs.github.com/enterprise-server@3.12/webhooks/#ping-event) to be sent to the webhook. returns a *RequestInformation when successful
func (*HooksItemPingsRequestBuilder) WithUrl ¶
func (m *HooksItemPingsRequestBuilder) WithUrl(rawUrl string) *HooksItemPingsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *HooksItemPingsRequestBuilder when successful
type HooksItemWithHook_PatchRequestBody ¶
type HooksItemWithHook_PatchRequestBody struct {
// contains filtered or unexported fields
}
func NewHooksItemWithHook_PatchRequestBody ¶
func NewHooksItemWithHook_PatchRequestBody() *HooksItemWithHook_PatchRequestBody
NewHooksItemWithHook_PatchRequestBody instantiates a new HooksItemWithHook_PatchRequestBody and sets the default values.
func (*HooksItemWithHook_PatchRequestBody) GetActive ¶
func (m *HooksItemWithHook_PatchRequestBody) GetActive() *bool
GetActive gets the active property value. Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. returns a *bool when successful
func (*HooksItemWithHook_PatchRequestBody) GetAdditionalData ¶
func (m *HooksItemWithHook_PatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*HooksItemWithHook_PatchRequestBody) GetConfig ¶
func (m *HooksItemWithHook_PatchRequestBody) GetConfig() HooksItemWithHook_PatchRequestBody_configable
GetConfig gets the config property value. Key/value pairs to provide settings for this webhook. returns a HooksItemWithHook_PatchRequestBody_configable when successful
func (*HooksItemWithHook_PatchRequestBody) GetEvents ¶
func (m *HooksItemWithHook_PatchRequestBody) GetEvents() []string
GetEvents gets the events property value. The [events](https://docs.github.com/enterprise-server@3.12/webhooks/event-payloads) that trigger this webhook. A global webhook can be triggered by `user` and `organization` events. Default: `user` and `organization`. returns a []string when successful
func (*HooksItemWithHook_PatchRequestBody) GetFieldDeserializers ¶
func (m *HooksItemWithHook_PatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*HooksItemWithHook_PatchRequestBody) Serialize ¶
func (m *HooksItemWithHook_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*HooksItemWithHook_PatchRequestBody) SetActive ¶
func (m *HooksItemWithHook_PatchRequestBody) SetActive(value *bool)
SetActive sets the active property value. Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
func (*HooksItemWithHook_PatchRequestBody) SetAdditionalData ¶
func (m *HooksItemWithHook_PatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*HooksItemWithHook_PatchRequestBody) SetConfig ¶
func (m *HooksItemWithHook_PatchRequestBody) SetConfig(value HooksItemWithHook_PatchRequestBody_configable)
SetConfig sets the config property value. Key/value pairs to provide settings for this webhook.
func (*HooksItemWithHook_PatchRequestBody) SetEvents ¶
func (m *HooksItemWithHook_PatchRequestBody) SetEvents(value []string)
SetEvents sets the events property value. The [events](https://docs.github.com/enterprise-server@3.12/webhooks/event-payloads) that trigger this webhook. A global webhook can be triggered by `user` and `organization` events. Default: `user` and `organization`.
type HooksItemWithHook_PatchRequestBody_config ¶
type HooksItemWithHook_PatchRequestBody_config struct {
// contains filtered or unexported fields
}
HooksItemWithHook_PatchRequestBody_config key/value pairs to provide settings for this webhook.
func NewHooksItemWithHook_PatchRequestBody_config ¶
func NewHooksItemWithHook_PatchRequestBody_config() *HooksItemWithHook_PatchRequestBody_config
NewHooksItemWithHook_PatchRequestBody_config instantiates a new HooksItemWithHook_PatchRequestBody_config and sets the default values.
func (*HooksItemWithHook_PatchRequestBody_config) GetAdditionalData ¶
func (m *HooksItemWithHook_PatchRequestBody_config) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*HooksItemWithHook_PatchRequestBody_config) GetContentType ¶
func (m *HooksItemWithHook_PatchRequestBody_config) GetContentType() *string
GetContentType gets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`. returns a *string when successful
func (*HooksItemWithHook_PatchRequestBody_config) GetFieldDeserializers ¶
func (m *HooksItemWithHook_PatchRequestBody_config) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*HooksItemWithHook_PatchRequestBody_config) GetInsecureSsl ¶
func (m *HooksItemWithHook_PatchRequestBody_config) GetInsecureSsl() *string
GetInsecureSsl gets the insecure_ssl property value. Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.** returns a *string when successful
func (*HooksItemWithHook_PatchRequestBody_config) GetSecret ¶
func (m *HooksItemWithHook_PatchRequestBody_config) GetSecret() *string
GetSecret gets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value in the [`X-Hub-Signature`](https://docs.github.com/enterprise-server@3.12/webhooks/event-payloads/#delivery-headers) header. returns a *string when successful
func (*HooksItemWithHook_PatchRequestBody_config) GetUrl ¶
func (m *HooksItemWithHook_PatchRequestBody_config) GetUrl() *string
GetUrl gets the url property value. The URL to which the payloads will be delivered. returns a *string when successful
func (*HooksItemWithHook_PatchRequestBody_config) Serialize ¶
func (m *HooksItemWithHook_PatchRequestBody_config) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*HooksItemWithHook_PatchRequestBody_config) SetAdditionalData ¶
func (m *HooksItemWithHook_PatchRequestBody_config) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*HooksItemWithHook_PatchRequestBody_config) SetContentType ¶
func (m *HooksItemWithHook_PatchRequestBody_config) SetContentType(value *string)
SetContentType sets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.
func (*HooksItemWithHook_PatchRequestBody_config) SetInsecureSsl ¶
func (m *HooksItemWithHook_PatchRequestBody_config) SetInsecureSsl(value *string)
SetInsecureSsl sets the insecure_ssl property value. Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.**
func (*HooksItemWithHook_PatchRequestBody_config) SetSecret ¶
func (m *HooksItemWithHook_PatchRequestBody_config) SetSecret(value *string)
SetSecret sets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value in the [`X-Hub-Signature`](https://docs.github.com/enterprise-server@3.12/webhooks/event-payloads/#delivery-headers) header.
func (*HooksItemWithHook_PatchRequestBody_config) SetUrl ¶
func (m *HooksItemWithHook_PatchRequestBody_config) SetUrl(value *string)
SetUrl sets the url property value. The URL to which the payloads will be delivered.
type HooksItemWithHook_PatchRequestBody_configable ¶
type HooksItemWithHook_PatchRequestBody_configable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContentType() *string GetInsecureSsl() *string GetSecret() *string GetUrl() *string SetContentType(value *string) SetInsecureSsl(value *string) SetSecret(value *string) SetUrl(value *string) }
type HooksItemWithHook_PatchRequestBodyable ¶
type HooksItemWithHook_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetActive() *bool GetConfig() HooksItemWithHook_PatchRequestBody_configable GetEvents() []string SetActive(value *bool) SetConfig(value HooksItemWithHook_PatchRequestBody_configable) SetEvents(value []string) }
type HooksPostRequestBody ¶
type HooksPostRequestBody struct {
// contains filtered or unexported fields
}
func NewHooksPostRequestBody ¶
func NewHooksPostRequestBody() *HooksPostRequestBody
NewHooksPostRequestBody instantiates a new HooksPostRequestBody and sets the default values.
func (*HooksPostRequestBody) GetActive ¶
func (m *HooksPostRequestBody) GetActive() *bool
GetActive gets the active property value. Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. returns a *bool when successful
func (*HooksPostRequestBody) GetAdditionalData ¶
func (m *HooksPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*HooksPostRequestBody) GetConfig ¶
func (m *HooksPostRequestBody) GetConfig() HooksPostRequestBody_configable
GetConfig gets the config property value. Key/value pairs to provide settings for this webhook. returns a HooksPostRequestBody_configable when successful
func (*HooksPostRequestBody) GetEvents ¶
func (m *HooksPostRequestBody) GetEvents() []string
GetEvents gets the events property value. The [events](https://docs.github.com/enterprise-server@3.12/webhooks/event-payloads) that trigger this webhook. A global webhook can be triggered by `user` and `organization` events. Default: `user` and `organization`. returns a []string when successful
func (*HooksPostRequestBody) GetFieldDeserializers ¶
func (m *HooksPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*HooksPostRequestBody) GetName ¶
func (m *HooksPostRequestBody) GetName() *string
GetName gets the name property value. Must be passed as "web". returns a *string when successful
func (*HooksPostRequestBody) Serialize ¶
func (m *HooksPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*HooksPostRequestBody) SetActive ¶
func (m *HooksPostRequestBody) SetActive(value *bool)
SetActive sets the active property value. Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
func (*HooksPostRequestBody) SetAdditionalData ¶
func (m *HooksPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*HooksPostRequestBody) SetConfig ¶
func (m *HooksPostRequestBody) SetConfig(value HooksPostRequestBody_configable)
SetConfig sets the config property value. Key/value pairs to provide settings for this webhook.
func (*HooksPostRequestBody) SetEvents ¶
func (m *HooksPostRequestBody) SetEvents(value []string)
SetEvents sets the events property value. The [events](https://docs.github.com/enterprise-server@3.12/webhooks/event-payloads) that trigger this webhook. A global webhook can be triggered by `user` and `organization` events. Default: `user` and `organization`.
func (*HooksPostRequestBody) SetName ¶
func (m *HooksPostRequestBody) SetName(value *string)
SetName sets the name property value. Must be passed as "web".
type HooksPostRequestBody_config ¶
type HooksPostRequestBody_config struct {
// contains filtered or unexported fields
}
HooksPostRequestBody_config key/value pairs to provide settings for this webhook.
func NewHooksPostRequestBody_config ¶
func NewHooksPostRequestBody_config() *HooksPostRequestBody_config
NewHooksPostRequestBody_config instantiates a new HooksPostRequestBody_config and sets the default values.
func (*HooksPostRequestBody_config) GetAdditionalData ¶
func (m *HooksPostRequestBody_config) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*HooksPostRequestBody_config) GetContentType ¶
func (m *HooksPostRequestBody_config) GetContentType() *string
GetContentType gets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`. returns a *string when successful
func (*HooksPostRequestBody_config) GetFieldDeserializers ¶
func (m *HooksPostRequestBody_config) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*HooksPostRequestBody_config) GetInsecureSsl ¶
func (m *HooksPostRequestBody_config) GetInsecureSsl() *string
GetInsecureSsl gets the insecure_ssl property value. Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.** returns a *string when successful
func (*HooksPostRequestBody_config) GetSecret ¶
func (m *HooksPostRequestBody_config) GetSecret() *string
GetSecret gets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value in the [`X-Hub-Signature`](https://docs.github.com/enterprise-server@3.12/webhooks/event-payloads/#delivery-headers) header. returns a *string when successful
func (*HooksPostRequestBody_config) GetUrl ¶
func (m *HooksPostRequestBody_config) GetUrl() *string
GetUrl gets the url property value. The URL to which the payloads will be delivered. returns a *string when successful
func (*HooksPostRequestBody_config) Serialize ¶
func (m *HooksPostRequestBody_config) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*HooksPostRequestBody_config) SetAdditionalData ¶
func (m *HooksPostRequestBody_config) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*HooksPostRequestBody_config) SetContentType ¶
func (m *HooksPostRequestBody_config) SetContentType(value *string)
SetContentType sets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.
func (*HooksPostRequestBody_config) SetInsecureSsl ¶
func (m *HooksPostRequestBody_config) SetInsecureSsl(value *string)
SetInsecureSsl sets the insecure_ssl property value. Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.**
func (*HooksPostRequestBody_config) SetSecret ¶
func (m *HooksPostRequestBody_config) SetSecret(value *string)
SetSecret sets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value in the [`X-Hub-Signature`](https://docs.github.com/enterprise-server@3.12/webhooks/event-payloads/#delivery-headers) header.
func (*HooksPostRequestBody_config) SetUrl ¶
func (m *HooksPostRequestBody_config) SetUrl(value *string)
SetUrl sets the url property value. The URL to which the payloads will be delivered.
type HooksPostRequestBody_configable ¶
type HooksPostRequestBody_configable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContentType() *string GetInsecureSsl() *string GetSecret() *string GetUrl() *string SetContentType(value *string) SetInsecureSsl(value *string) SetSecret(value *string) SetUrl(value *string) }
type HooksPostRequestBodyable ¶
type HooksPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetActive() *bool GetConfig() HooksPostRequestBody_configable GetEvents() []string GetName() *string SetActive(value *bool) SetConfig(value HooksPostRequestBody_configable) SetEvents(value []string) SetName(value *string) }
type HooksRequestBuilder ¶
type HooksRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
HooksRequestBuilder builds and executes requests for operations under \admin\hooks
func NewHooksRequestBuilder ¶
func NewHooksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *HooksRequestBuilder
NewHooksRequestBuilder instantiates a new HooksRequestBuilder and sets the default values.
func NewHooksRequestBuilderInternal ¶
func NewHooksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *HooksRequestBuilder
NewHooksRequestBuilderInternal instantiates a new HooksRequestBuilder and sets the default values.
func (*HooksRequestBuilder) ByHook_id ¶
func (m *HooksRequestBuilder) ByHook_id(hook_id int32) *HooksWithHook_ItemRequestBuilder
ByHook_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.admin.hooks.item collection returns a *HooksWithHook_ItemRequestBuilder when successful
func (*HooksRequestBuilder) Get ¶
func (m *HooksRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[HooksRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GlobalHookable, error)
Get list global webhooks returns a []GlobalHookable when successful API method documentation
func (*HooksRequestBuilder) Post ¶
func (m *HooksRequestBuilder) Post(ctx context.Context, body HooksPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GlobalHookable, error)
Post create a global webhook returns a GlobalHookable when successful API method documentation
func (*HooksRequestBuilder) ToGetRequestInformation ¶
func (m *HooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[HooksRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*HooksRequestBuilder) ToPostRequestInformation ¶
func (m *HooksRequestBuilder) ToPostRequestInformation(ctx context.Context, body HooksPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*HooksRequestBuilder) WithUrl ¶
func (m *HooksRequestBuilder) WithUrl(rawUrl string) *HooksRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *HooksRequestBuilder when successful
type HooksRequestBuilderGetQueryParameters ¶
type HooksRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.12/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.12/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
HooksRequestBuilderGetQueryParameters list global webhooks
type HooksWithHook_ItemRequestBuilder ¶
type HooksWithHook_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
HooksWithHook_ItemRequestBuilder builds and executes requests for operations under \admin\hooks\{hook_id}
func NewHooksWithHook_ItemRequestBuilder ¶
func NewHooksWithHook_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *HooksWithHook_ItemRequestBuilder
NewHooksWithHook_ItemRequestBuilder instantiates a new HooksWithHook_ItemRequestBuilder and sets the default values.
func NewHooksWithHook_ItemRequestBuilderInternal ¶
func NewHooksWithHook_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *HooksWithHook_ItemRequestBuilder
NewHooksWithHook_ItemRequestBuilderInternal instantiates a new HooksWithHook_ItemRequestBuilder and sets the default values.
func (*HooksWithHook_ItemRequestBuilder) Delete ¶
func (m *HooksWithHook_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete delete a global webhook API method documentation
func (*HooksWithHook_ItemRequestBuilder) Get ¶
func (m *HooksWithHook_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GlobalHookable, error)
Get get a global webhook returns a GlobalHookable when successful API method documentation
func (*HooksWithHook_ItemRequestBuilder) Patch ¶
func (m *HooksWithHook_ItemRequestBuilder) Patch(ctx context.Context, body HooksItemWithHook_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GlobalHook2able, error)
Patch parameters that are not provided will be overwritten with the default value or removed if no default exists. returns a GlobalHook2able when successful API method documentation
func (*HooksWithHook_ItemRequestBuilder) Pings ¶
func (m *HooksWithHook_ItemRequestBuilder) Pings() *HooksItemPingsRequestBuilder
Pings the pings property returns a *HooksItemPingsRequestBuilder when successful
func (*HooksWithHook_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *HooksWithHook_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*HooksWithHook_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *HooksWithHook_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*HooksWithHook_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *HooksWithHook_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body HooksItemWithHook_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation parameters that are not provided will be overwritten with the default value or removed if no default exists. returns a *RequestInformation when successful
func (*HooksWithHook_ItemRequestBuilder) WithUrl ¶
func (m *HooksWithHook_ItemRequestBuilder) WithUrl(rawUrl string) *HooksWithHook_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *HooksWithHook_ItemRequestBuilder when successful
type KeysRequestBuilder ¶
type KeysRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
KeysRequestBuilder builds and executes requests for operations under \admin\keys
func NewKeysRequestBuilder ¶
func NewKeysRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *KeysRequestBuilder
NewKeysRequestBuilder instantiates a new KeysRequestBuilder and sets the default values.
func NewKeysRequestBuilderInternal ¶
func NewKeysRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *KeysRequestBuilder
NewKeysRequestBuilderInternal instantiates a new KeysRequestBuilder and sets the default values.
func (*KeysRequestBuilder) ByKey_ids ¶
func (m *KeysRequestBuilder) ByKey_ids(key_ids string) *KeysWithKey_idsItemRequestBuilder
ByKey_ids gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.admin.keys.item collection returns a *KeysWithKey_idsItemRequestBuilder when successful
func (*KeysRequestBuilder) Get ¶
func (m *KeysRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[KeysRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PublicKeyFullable, error)
Get list public keys returns a []PublicKeyFullable when successful API method documentation
func (*KeysRequestBuilder) ToGetRequestInformation ¶
func (m *KeysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[KeysRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*KeysRequestBuilder) WithUrl ¶
func (m *KeysRequestBuilder) WithUrl(rawUrl string) *KeysRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *KeysRequestBuilder when successful
type KeysRequestBuilderGetQueryParameters ¶
type KeysRequestBuilderGetQueryParameters struct { // The direction to sort the results by. Direction *i7b5e92fdca75c4784d3f41cbe18fab270185eef539028487994d96e4d2495c56.GetDirectionQueryParameterType `uriparametername:"direction"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.12/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.12/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // Only show public keys accessed after the given time. Since *string `uriparametername:"since"` Sort *i7b5e92fdca75c4784d3f41cbe18fab270185eef539028487994d96e4d2495c56.GetSortQueryParameterType `uriparametername:"sort"` }
KeysRequestBuilderGetQueryParameters list public keys
type KeysWithKey_idsItemRequestBuilder ¶
type KeysWithKey_idsItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
KeysWithKey_idsItemRequestBuilder builds and executes requests for operations under \admin\keys\{key_ids}
func NewKeysWithKey_idsItemRequestBuilder ¶
func NewKeysWithKey_idsItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *KeysWithKey_idsItemRequestBuilder
NewKeysWithKey_idsItemRequestBuilder instantiates a new KeysWithKey_idsItemRequestBuilder and sets the default values.
func NewKeysWithKey_idsItemRequestBuilderInternal ¶
func NewKeysWithKey_idsItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *KeysWithKey_idsItemRequestBuilder
NewKeysWithKey_idsItemRequestBuilderInternal instantiates a new KeysWithKey_idsItemRequestBuilder and sets the default values.
func (*KeysWithKey_idsItemRequestBuilder) Delete ¶
func (m *KeysWithKey_idsItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete delete a public key API method documentation
func (*KeysWithKey_idsItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *KeysWithKey_idsItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*KeysWithKey_idsItemRequestBuilder) WithUrl ¶
func (m *KeysWithKey_idsItemRequestBuilder) WithUrl(rawUrl string) *KeysWithKey_idsItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *KeysWithKey_idsItemRequestBuilder when successful
type LdapRequestBuilder ¶
type LdapRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
LdapRequestBuilder builds and executes requests for operations under \admin\ldap
func NewLdapRequestBuilder ¶
func NewLdapRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapRequestBuilder
NewLdapRequestBuilder instantiates a new LdapRequestBuilder and sets the default values.
func NewLdapRequestBuilderInternal ¶
func NewLdapRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapRequestBuilder
NewLdapRequestBuilderInternal instantiates a new LdapRequestBuilder and sets the default values.
func (*LdapRequestBuilder) Teams ¶
func (m *LdapRequestBuilder) Teams() *LdapTeamsRequestBuilder
Teams the teams property returns a *LdapTeamsRequestBuilder when successful
func (*LdapRequestBuilder) Users ¶
func (m *LdapRequestBuilder) Users() *LdapUsersRequestBuilder
Users the users property returns a *LdapUsersRequestBuilder when successful
type LdapTeamsItemMappingPatchRequestBody ¶
type LdapTeamsItemMappingPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewLdapTeamsItemMappingPatchRequestBody ¶
func NewLdapTeamsItemMappingPatchRequestBody() *LdapTeamsItemMappingPatchRequestBody
NewLdapTeamsItemMappingPatchRequestBody instantiates a new LdapTeamsItemMappingPatchRequestBody and sets the default values.
func (*LdapTeamsItemMappingPatchRequestBody) GetAdditionalData ¶
func (m *LdapTeamsItemMappingPatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*LdapTeamsItemMappingPatchRequestBody) GetFieldDeserializers ¶
func (m *LdapTeamsItemMappingPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*LdapTeamsItemMappingPatchRequestBody) GetLdapDn ¶
func (m *LdapTeamsItemMappingPatchRequestBody) GetLdapDn() *string
GetLdapDn gets the ldap_dn property value. The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. returns a *string when successful
func (*LdapTeamsItemMappingPatchRequestBody) Serialize ¶
func (m *LdapTeamsItemMappingPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*LdapTeamsItemMappingPatchRequestBody) SetAdditionalData ¶
func (m *LdapTeamsItemMappingPatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*LdapTeamsItemMappingPatchRequestBody) SetLdapDn ¶
func (m *LdapTeamsItemMappingPatchRequestBody) SetLdapDn(value *string)
SetLdapDn sets the ldap_dn property value. The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.
type LdapTeamsItemMappingPatchRequestBodyable ¶
type LdapTeamsItemMappingPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLdapDn() *string SetLdapDn(value *string) }
type LdapTeamsItemMappingRequestBuilder ¶
type LdapTeamsItemMappingRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
LdapTeamsItemMappingRequestBuilder builds and executes requests for operations under \admin\ldap\teams\{team_id}\mapping
func NewLdapTeamsItemMappingRequestBuilder ¶
func NewLdapTeamsItemMappingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapTeamsItemMappingRequestBuilder
NewLdapTeamsItemMappingRequestBuilder instantiates a new LdapTeamsItemMappingRequestBuilder and sets the default values.
func NewLdapTeamsItemMappingRequestBuilderInternal ¶
func NewLdapTeamsItemMappingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapTeamsItemMappingRequestBuilder
NewLdapTeamsItemMappingRequestBuilderInternal instantiates a new LdapTeamsItemMappingRequestBuilder and sets the default values.
func (*LdapTeamsItemMappingRequestBuilder) Patch ¶
func (m *LdapTeamsItemMappingRequestBuilder) Patch(ctx context.Context, body LdapTeamsItemMappingPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.LdapMappingTeamable, error)
Patch updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://docs.github.com/enterprise-server@3.12/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@3.12/rest/teams/teams/#create-a-team) endpoint to create a team with LDAP mapping. returns a LdapMappingTeamable when successful API method documentation
func (*LdapTeamsItemMappingRequestBuilder) ToPatchRequestInformation ¶
func (m *LdapTeamsItemMappingRequestBuilder) ToPatchRequestInformation(ctx context.Context, body LdapTeamsItemMappingPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://docs.github.com/enterprise-server@3.12/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://docs.github.com/enterprise-server@3.12/rest/teams/teams/#create-a-team) endpoint to create a team with LDAP mapping. returns a *RequestInformation when successful
func (*LdapTeamsItemMappingRequestBuilder) WithUrl ¶
func (m *LdapTeamsItemMappingRequestBuilder) WithUrl(rawUrl string) *LdapTeamsItemMappingRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *LdapTeamsItemMappingRequestBuilder when successful
type LdapTeamsItemSyncPostResponse ¶
type LdapTeamsItemSyncPostResponse struct {
// contains filtered or unexported fields
}
func NewLdapTeamsItemSyncPostResponse ¶
func NewLdapTeamsItemSyncPostResponse() *LdapTeamsItemSyncPostResponse
NewLdapTeamsItemSyncPostResponse instantiates a new LdapTeamsItemSyncPostResponse and sets the default values.
func (*LdapTeamsItemSyncPostResponse) GetAdditionalData ¶
func (m *LdapTeamsItemSyncPostResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*LdapTeamsItemSyncPostResponse) GetFieldDeserializers ¶
func (m *LdapTeamsItemSyncPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*LdapTeamsItemSyncPostResponse) GetStatus ¶
func (m *LdapTeamsItemSyncPostResponse) GetStatus() *string
GetStatus gets the status property value. The status property returns a *string when successful
func (*LdapTeamsItemSyncPostResponse) Serialize ¶
func (m *LdapTeamsItemSyncPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*LdapTeamsItemSyncPostResponse) SetAdditionalData ¶
func (m *LdapTeamsItemSyncPostResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*LdapTeamsItemSyncPostResponse) SetStatus ¶
func (m *LdapTeamsItemSyncPostResponse) SetStatus(value *string)
SetStatus sets the status property value. The status property
type LdapTeamsItemSyncPostResponseable ¶
type LdapTeamsItemSyncPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetStatus() *string SetStatus(value *string) }
type LdapTeamsItemSyncRequestBuilder ¶
type LdapTeamsItemSyncRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
LdapTeamsItemSyncRequestBuilder builds and executes requests for operations under \admin\ldap\teams\{team_id}\sync
func NewLdapTeamsItemSyncRequestBuilder ¶
func NewLdapTeamsItemSyncRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapTeamsItemSyncRequestBuilder
NewLdapTeamsItemSyncRequestBuilder instantiates a new LdapTeamsItemSyncRequestBuilder and sets the default values.
func NewLdapTeamsItemSyncRequestBuilderInternal ¶
func NewLdapTeamsItemSyncRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapTeamsItemSyncRequestBuilder
NewLdapTeamsItemSyncRequestBuilderInternal instantiates a new LdapTeamsItemSyncRequestBuilder and sets the default values.
func (*LdapTeamsItemSyncRequestBuilder) Post ¶
func (m *LdapTeamsItemSyncRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (LdapTeamsItemSyncPostResponseable, error)
Post note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready. returns a LdapTeamsItemSyncPostResponseable when successful API method documentation
func (*LdapTeamsItemSyncRequestBuilder) ToPostRequestInformation ¶
func (m *LdapTeamsItemSyncRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready. returns a *RequestInformation when successful
func (*LdapTeamsItemSyncRequestBuilder) WithUrl ¶
func (m *LdapTeamsItemSyncRequestBuilder) WithUrl(rawUrl string) *LdapTeamsItemSyncRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *LdapTeamsItemSyncRequestBuilder when successful
type LdapTeamsRequestBuilder ¶
type LdapTeamsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
LdapTeamsRequestBuilder builds and executes requests for operations under \admin\ldap\teams
func NewLdapTeamsRequestBuilder ¶
func NewLdapTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapTeamsRequestBuilder
NewLdapTeamsRequestBuilder instantiates a new LdapTeamsRequestBuilder and sets the default values.
func NewLdapTeamsRequestBuilderInternal ¶
func NewLdapTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapTeamsRequestBuilder
NewLdapTeamsRequestBuilderInternal instantiates a new LdapTeamsRequestBuilder and sets the default values.
func (*LdapTeamsRequestBuilder) ByTeam_id ¶
func (m *LdapTeamsRequestBuilder) ByTeam_id(team_id int32) *LdapTeamsWithTeam_ItemRequestBuilder
ByTeam_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.admin.ldap.teams.item collection returns a *LdapTeamsWithTeam_ItemRequestBuilder when successful
type LdapTeamsWithTeam_ItemRequestBuilder ¶
type LdapTeamsWithTeam_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
LdapTeamsWithTeam_ItemRequestBuilder builds and executes requests for operations under \admin\ldap\teams\{team_id}
func NewLdapTeamsWithTeam_ItemRequestBuilder ¶
func NewLdapTeamsWithTeam_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapTeamsWithTeam_ItemRequestBuilder
NewLdapTeamsWithTeam_ItemRequestBuilder instantiates a new LdapTeamsWithTeam_ItemRequestBuilder and sets the default values.
func NewLdapTeamsWithTeam_ItemRequestBuilderInternal ¶
func NewLdapTeamsWithTeam_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapTeamsWithTeam_ItemRequestBuilder
NewLdapTeamsWithTeam_ItemRequestBuilderInternal instantiates a new LdapTeamsWithTeam_ItemRequestBuilder and sets the default values.
func (*LdapTeamsWithTeam_ItemRequestBuilder) Mapping ¶
func (m *LdapTeamsWithTeam_ItemRequestBuilder) Mapping() *LdapTeamsItemMappingRequestBuilder
Mapping the mapping property returns a *LdapTeamsItemMappingRequestBuilder when successful
func (*LdapTeamsWithTeam_ItemRequestBuilder) Sync ¶
func (m *LdapTeamsWithTeam_ItemRequestBuilder) Sync() *LdapTeamsItemSyncRequestBuilder
Sync the sync property returns a *LdapTeamsItemSyncRequestBuilder when successful
type LdapUsersItemMappingPatchRequestBody ¶
type LdapUsersItemMappingPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewLdapUsersItemMappingPatchRequestBody ¶
func NewLdapUsersItemMappingPatchRequestBody() *LdapUsersItemMappingPatchRequestBody
NewLdapUsersItemMappingPatchRequestBody instantiates a new LdapUsersItemMappingPatchRequestBody and sets the default values.
func (*LdapUsersItemMappingPatchRequestBody) GetAdditionalData ¶
func (m *LdapUsersItemMappingPatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*LdapUsersItemMappingPatchRequestBody) GetFieldDeserializers ¶
func (m *LdapUsersItemMappingPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*LdapUsersItemMappingPatchRequestBody) GetLdapDn ¶
func (m *LdapUsersItemMappingPatchRequestBody) GetLdapDn() *string
GetLdapDn gets the ldap_dn property value. The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. returns a *string when successful
func (*LdapUsersItemMappingPatchRequestBody) Serialize ¶
func (m *LdapUsersItemMappingPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*LdapUsersItemMappingPatchRequestBody) SetAdditionalData ¶
func (m *LdapUsersItemMappingPatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*LdapUsersItemMappingPatchRequestBody) SetLdapDn ¶
func (m *LdapUsersItemMappingPatchRequestBody) SetLdapDn(value *string)
SetLdapDn sets the ldap_dn property value. The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.
type LdapUsersItemMappingPatchRequestBodyable ¶
type LdapUsersItemMappingPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLdapDn() *string SetLdapDn(value *string) }
type LdapUsersItemMappingRequestBuilder ¶
type LdapUsersItemMappingRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
LdapUsersItemMappingRequestBuilder builds and executes requests for operations under \admin\ldap\users\{username}\mapping
func NewLdapUsersItemMappingRequestBuilder ¶
func NewLdapUsersItemMappingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapUsersItemMappingRequestBuilder
NewLdapUsersItemMappingRequestBuilder instantiates a new LdapUsersItemMappingRequestBuilder and sets the default values.
func NewLdapUsersItemMappingRequestBuilderInternal ¶
func NewLdapUsersItemMappingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapUsersItemMappingRequestBuilder
NewLdapUsersItemMappingRequestBuilderInternal instantiates a new LdapUsersItemMappingRequestBuilder and sets the default values.
func (*LdapUsersItemMappingRequestBuilder) Patch ¶
func (m *LdapUsersItemMappingRequestBuilder) Patch(ctx context.Context, body LdapUsersItemMappingPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.LdapMappingUserable, error)
Patch update LDAP mapping for a user returns a LdapMappingUserable when successful API method documentation
func (*LdapUsersItemMappingRequestBuilder) ToPatchRequestInformation ¶
func (m *LdapUsersItemMappingRequestBuilder) ToPatchRequestInformation(ctx context.Context, body LdapUsersItemMappingPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*LdapUsersItemMappingRequestBuilder) WithUrl ¶
func (m *LdapUsersItemMappingRequestBuilder) WithUrl(rawUrl string) *LdapUsersItemMappingRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *LdapUsersItemMappingRequestBuilder when successful
type LdapUsersItemSyncPostResponse ¶
type LdapUsersItemSyncPostResponse struct {
// contains filtered or unexported fields
}
func NewLdapUsersItemSyncPostResponse ¶
func NewLdapUsersItemSyncPostResponse() *LdapUsersItemSyncPostResponse
NewLdapUsersItemSyncPostResponse instantiates a new LdapUsersItemSyncPostResponse and sets the default values.
func (*LdapUsersItemSyncPostResponse) GetAdditionalData ¶
func (m *LdapUsersItemSyncPostResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*LdapUsersItemSyncPostResponse) GetFieldDeserializers ¶
func (m *LdapUsersItemSyncPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*LdapUsersItemSyncPostResponse) GetStatus ¶
func (m *LdapUsersItemSyncPostResponse) GetStatus() *string
GetStatus gets the status property value. The status property returns a *string when successful
func (*LdapUsersItemSyncPostResponse) Serialize ¶
func (m *LdapUsersItemSyncPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*LdapUsersItemSyncPostResponse) SetAdditionalData ¶
func (m *LdapUsersItemSyncPostResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*LdapUsersItemSyncPostResponse) SetStatus ¶
func (m *LdapUsersItemSyncPostResponse) SetStatus(value *string)
SetStatus sets the status property value. The status property
type LdapUsersItemSyncPostResponseable ¶
type LdapUsersItemSyncPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetStatus() *string SetStatus(value *string) }
type LdapUsersItemSyncRequestBuilder ¶
type LdapUsersItemSyncRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
LdapUsersItemSyncRequestBuilder builds and executes requests for operations under \admin\ldap\users\{username}\sync
func NewLdapUsersItemSyncRequestBuilder ¶
func NewLdapUsersItemSyncRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapUsersItemSyncRequestBuilder
NewLdapUsersItemSyncRequestBuilder instantiates a new LdapUsersItemSyncRequestBuilder and sets the default values.
func NewLdapUsersItemSyncRequestBuilderInternal ¶
func NewLdapUsersItemSyncRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapUsersItemSyncRequestBuilder
NewLdapUsersItemSyncRequestBuilderInternal instantiates a new LdapUsersItemSyncRequestBuilder and sets the default values.
func (*LdapUsersItemSyncRequestBuilder) Post ¶
func (m *LdapUsersItemSyncRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (LdapUsersItemSyncPostResponseable, error)
Post note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready. returns a LdapUsersItemSyncPostResponseable when successful API method documentation
func (*LdapUsersItemSyncRequestBuilder) ToPostRequestInformation ¶
func (m *LdapUsersItemSyncRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready. returns a *RequestInformation when successful
func (*LdapUsersItemSyncRequestBuilder) WithUrl ¶
func (m *LdapUsersItemSyncRequestBuilder) WithUrl(rawUrl string) *LdapUsersItemSyncRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *LdapUsersItemSyncRequestBuilder when successful
type LdapUsersRequestBuilder ¶
type LdapUsersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
LdapUsersRequestBuilder builds and executes requests for operations under \admin\ldap\users
func NewLdapUsersRequestBuilder ¶
func NewLdapUsersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapUsersRequestBuilder
NewLdapUsersRequestBuilder instantiates a new LdapUsersRequestBuilder and sets the default values.
func NewLdapUsersRequestBuilderInternal ¶
func NewLdapUsersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapUsersRequestBuilder
NewLdapUsersRequestBuilderInternal instantiates a new LdapUsersRequestBuilder and sets the default values.
func (*LdapUsersRequestBuilder) ByUsername ¶
func (m *LdapUsersRequestBuilder) ByUsername(username string) *LdapUsersWithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.admin.ldap.users.item collection returns a *LdapUsersWithUsernameItemRequestBuilder when successful
type LdapUsersWithUsernameItemRequestBuilder ¶
type LdapUsersWithUsernameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
LdapUsersWithUsernameItemRequestBuilder builds and executes requests for operations under \admin\ldap\users\{username}
func NewLdapUsersWithUsernameItemRequestBuilder ¶
func NewLdapUsersWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapUsersWithUsernameItemRequestBuilder
NewLdapUsersWithUsernameItemRequestBuilder instantiates a new LdapUsersWithUsernameItemRequestBuilder and sets the default values.
func NewLdapUsersWithUsernameItemRequestBuilderInternal ¶
func NewLdapUsersWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *LdapUsersWithUsernameItemRequestBuilder
NewLdapUsersWithUsernameItemRequestBuilderInternal instantiates a new LdapUsersWithUsernameItemRequestBuilder and sets the default values.
func (*LdapUsersWithUsernameItemRequestBuilder) Mapping ¶
func (m *LdapUsersWithUsernameItemRequestBuilder) Mapping() *LdapUsersItemMappingRequestBuilder
Mapping the mapping property returns a *LdapUsersItemMappingRequestBuilder when successful
func (*LdapUsersWithUsernameItemRequestBuilder) Sync ¶
func (m *LdapUsersWithUsernameItemRequestBuilder) Sync() *LdapUsersItemSyncRequestBuilder
Sync the sync property returns a *LdapUsersItemSyncRequestBuilder when successful
type OrganizationsItemWithOrgPatchRequestBody ¶
type OrganizationsItemWithOrgPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewOrganizationsItemWithOrgPatchRequestBody ¶
func NewOrganizationsItemWithOrgPatchRequestBody() *OrganizationsItemWithOrgPatchRequestBody
NewOrganizationsItemWithOrgPatchRequestBody instantiates a new OrganizationsItemWithOrgPatchRequestBody and sets the default values.
func (*OrganizationsItemWithOrgPatchRequestBody) GetAdditionalData ¶
func (m *OrganizationsItemWithOrgPatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*OrganizationsItemWithOrgPatchRequestBody) GetFieldDeserializers ¶
func (m *OrganizationsItemWithOrgPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*OrganizationsItemWithOrgPatchRequestBody) GetLogin ¶
func (m *OrganizationsItemWithOrgPatchRequestBody) GetLogin() *string
GetLogin gets the login property value. The organization's new name. returns a *string when successful
func (*OrganizationsItemWithOrgPatchRequestBody) Serialize ¶
func (m *OrganizationsItemWithOrgPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*OrganizationsItemWithOrgPatchRequestBody) SetAdditionalData ¶
func (m *OrganizationsItemWithOrgPatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*OrganizationsItemWithOrgPatchRequestBody) SetLogin ¶
func (m *OrganizationsItemWithOrgPatchRequestBody) SetLogin(value *string)
SetLogin sets the login property value. The organization's new name.
type OrganizationsItemWithOrgPatchRequestBodyable ¶
type OrganizationsItemWithOrgPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLogin() *string SetLogin(value *string) }
type OrganizationsItemWithOrgPatchResponse ¶
type OrganizationsItemWithOrgPatchResponse struct {
// contains filtered or unexported fields
}
func NewOrganizationsItemWithOrgPatchResponse ¶
func NewOrganizationsItemWithOrgPatchResponse() *OrganizationsItemWithOrgPatchResponse
NewOrganizationsItemWithOrgPatchResponse instantiates a new OrganizationsItemWithOrgPatchResponse and sets the default values.
func (*OrganizationsItemWithOrgPatchResponse) GetAdditionalData ¶
func (m *OrganizationsItemWithOrgPatchResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*OrganizationsItemWithOrgPatchResponse) GetFieldDeserializers ¶
func (m *OrganizationsItemWithOrgPatchResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*OrganizationsItemWithOrgPatchResponse) GetMessage ¶
func (m *OrganizationsItemWithOrgPatchResponse) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*OrganizationsItemWithOrgPatchResponse) GetUrl ¶
func (m *OrganizationsItemWithOrgPatchResponse) GetUrl() *string
GetUrl gets the url property value. The url property returns a *string when successful
func (*OrganizationsItemWithOrgPatchResponse) Serialize ¶
func (m *OrganizationsItemWithOrgPatchResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*OrganizationsItemWithOrgPatchResponse) SetAdditionalData ¶
func (m *OrganizationsItemWithOrgPatchResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*OrganizationsItemWithOrgPatchResponse) SetMessage ¶
func (m *OrganizationsItemWithOrgPatchResponse) SetMessage(value *string)
SetMessage sets the message property value. The message property
func (*OrganizationsItemWithOrgPatchResponse) SetUrl ¶
func (m *OrganizationsItemWithOrgPatchResponse) SetUrl(value *string)
SetUrl sets the url property value. The url property
type OrganizationsItemWithOrgPatchResponseable ¶
type OrganizationsItemWithOrgPatchResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetMessage() *string GetUrl() *string SetMessage(value *string) SetUrl(value *string) }
type OrganizationsPostRequestBody ¶
type OrganizationsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewOrganizationsPostRequestBody ¶
func NewOrganizationsPostRequestBody() *OrganizationsPostRequestBody
NewOrganizationsPostRequestBody instantiates a new OrganizationsPostRequestBody and sets the default values.
func (*OrganizationsPostRequestBody) GetAdditionalData ¶
func (m *OrganizationsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*OrganizationsPostRequestBody) GetAdmin ¶
func (m *OrganizationsPostRequestBody) GetAdmin() *string
GetAdmin gets the admin property value. The login of the user who will manage this organization. returns a *string when successful
func (*OrganizationsPostRequestBody) GetFieldDeserializers ¶
func (m *OrganizationsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*OrganizationsPostRequestBody) GetLogin ¶
func (m *OrganizationsPostRequestBody) GetLogin() *string
GetLogin gets the login property value. The organization's username. returns a *string when successful
func (*OrganizationsPostRequestBody) GetProfileName ¶
func (m *OrganizationsPostRequestBody) GetProfileName() *string
GetProfileName gets the profile_name property value. The organization's display name. returns a *string when successful
func (*OrganizationsPostRequestBody) Serialize ¶
func (m *OrganizationsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*OrganizationsPostRequestBody) SetAdditionalData ¶
func (m *OrganizationsPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*OrganizationsPostRequestBody) SetAdmin ¶
func (m *OrganizationsPostRequestBody) SetAdmin(value *string)
SetAdmin sets the admin property value. The login of the user who will manage this organization.
func (*OrganizationsPostRequestBody) SetLogin ¶
func (m *OrganizationsPostRequestBody) SetLogin(value *string)
SetLogin sets the login property value. The organization's username.
func (*OrganizationsPostRequestBody) SetProfileName ¶
func (m *OrganizationsPostRequestBody) SetProfileName(value *string)
SetProfileName sets the profile_name property value. The organization's display name.
type OrganizationsPostRequestBodyable ¶
type OrganizationsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAdmin() *string GetLogin() *string GetProfileName() *string SetAdmin(value *string) SetLogin(value *string) SetProfileName(value *string) }
type OrganizationsRequestBuilder ¶
type OrganizationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
OrganizationsRequestBuilder builds and executes requests for operations under \admin\organizations
func NewOrganizationsRequestBuilder ¶
func NewOrganizationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OrganizationsRequestBuilder
NewOrganizationsRequestBuilder instantiates a new OrganizationsRequestBuilder and sets the default values.
func NewOrganizationsRequestBuilderInternal ¶
func NewOrganizationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OrganizationsRequestBuilder
NewOrganizationsRequestBuilderInternal instantiates a new OrganizationsRequestBuilder and sets the default values.
func (*OrganizationsRequestBuilder) ByOrg ¶
func (m *OrganizationsRequestBuilder) ByOrg(org string) *OrganizationsWithOrgItemRequestBuilder
ByOrg gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.admin.organizations.item collection returns a *OrganizationsWithOrgItemRequestBuilder when successful
func (*OrganizationsRequestBuilder) Post ¶
func (m *OrganizationsRequestBuilder) Post(ctx context.Context, body OrganizationsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationSimpleable, error)
Post create an organization returns a OrganizationSimpleable when successful API method documentation
func (*OrganizationsRequestBuilder) ToPostRequestInformation ¶
func (m *OrganizationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body OrganizationsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*OrganizationsRequestBuilder) WithUrl ¶
func (m *OrganizationsRequestBuilder) WithUrl(rawUrl string) *OrganizationsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *OrganizationsRequestBuilder when successful
type OrganizationsWithOrgItemRequestBuilder ¶
type OrganizationsWithOrgItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
OrganizationsWithOrgItemRequestBuilder builds and executes requests for operations under \admin\organizations\{org}
func NewOrganizationsWithOrgItemRequestBuilder ¶
func NewOrganizationsWithOrgItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OrganizationsWithOrgItemRequestBuilder
NewOrganizationsWithOrgItemRequestBuilder instantiates a new OrganizationsWithOrgItemRequestBuilder and sets the default values.
func NewOrganizationsWithOrgItemRequestBuilderInternal ¶
func NewOrganizationsWithOrgItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OrganizationsWithOrgItemRequestBuilder
NewOrganizationsWithOrgItemRequestBuilderInternal instantiates a new OrganizationsWithOrgItemRequestBuilder and sets the default values.
func (*OrganizationsWithOrgItemRequestBuilder) Patch ¶
func (m *OrganizationsWithOrgItemRequestBuilder) Patch(ctx context.Context, body OrganizationsItemWithOrgPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (OrganizationsItemWithOrgPatchResponseable, error)
Patch update an organization name returns a OrganizationsItemWithOrgPatchResponseable when successful API method documentation
func (*OrganizationsWithOrgItemRequestBuilder) ToPatchRequestInformation ¶
func (m *OrganizationsWithOrgItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body OrganizationsItemWithOrgPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*OrganizationsWithOrgItemRequestBuilder) WithUrl ¶
func (m *OrganizationsWithOrgItemRequestBuilder) WithUrl(rawUrl string) *OrganizationsWithOrgItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *OrganizationsWithOrgItemRequestBuilder when successful
type PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder ¶
type PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder builds and executes requests for operations under \admin\pre-receive-environments\{pre_receive_environment_id}\downloads\latest
func NewPreReceiveEnvironmentsItemDownloadsLatestRequestBuilder ¶
func NewPreReceiveEnvironmentsItemDownloadsLatestRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder
NewPreReceiveEnvironmentsItemDownloadsLatestRequestBuilder instantiates a new PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder and sets the default values.
func NewPreReceiveEnvironmentsItemDownloadsLatestRequestBuilderInternal ¶
func NewPreReceiveEnvironmentsItemDownloadsLatestRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder
NewPreReceiveEnvironmentsItemDownloadsLatestRequestBuilderInternal instantiates a new PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder and sets the default values.
func (*PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder) Get ¶
func (m *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PreReceiveEnvironmentDownloadStatusable, error)
Get in addition to seeing the download status at the "[Get a pre-receive environment](#get-a-pre-receive-environment)" endpoint, there is also this separate endpoint for just the download status. returns a PreReceiveEnvironmentDownloadStatusable when successful API method documentation
func (*PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder) ToGetRequestInformation ¶
func (m *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation in addition to seeing the download status at the "[Get a pre-receive environment](#get-a-pre-receive-environment)" endpoint, there is also this separate endpoint for just the download status. returns a *RequestInformation when successful
func (*PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder) WithUrl ¶
func (m *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder) WithUrl(rawUrl string) *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder when successful
type PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error ¶
type PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError // contains filtered or unexported fields }
func NewPreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error ¶
func NewPreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error() *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error
NewPreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error instantiates a new PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error and sets the default values.
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) Error ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) Error() string
Error the primary error message. returns a string when successful
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) GetAdditionalData ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) GetErrors ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) GetErrors() []PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errorsable
GetErrors gets the errors property value. The errors property returns a []PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errorsable when successful
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) GetFieldDeserializers ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) GetMessage ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) Serialize ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) SetAdditionalData ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) SetErrors ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) SetErrors(value []PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errorsable)
SetErrors sets the errors property value. The errors property
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) SetMessage ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error) SetMessage(value *string)
SetMessage sets the message property value. The message property
type PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors ¶
type PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors struct {
// contains filtered or unexported fields
}
func NewPreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors ¶
func NewPreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors() *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors
NewPreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors instantiates a new PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors and sets the default values.
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetAdditionalData ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetCode ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetCode() *string
GetCode gets the code property value. The code property returns a *string when successful
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetFieldDeserializers ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetMessage ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetResource ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) GetResource() *string
GetResource gets the resource property value. The resource property returns a *string when successful
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) Serialize ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) SetAdditionalData ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) SetCode ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) SetCode(value *string)
SetCode sets the code property value. The code property
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) SetMessage ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) SetMessage(value *string)
SetMessage sets the message property value. The message property
func (*PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) SetResource ¶
func (m *PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errors) SetResource(value *string)
SetResource sets the resource property value. The resource property
type PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errorsable ¶
type PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errorsable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCode() *string GetMessage() *string GetResource() *string SetCode(value *string) SetMessage(value *string) SetResource(value *string) }
type PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Errorable ¶
type PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Errorable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetErrors() []PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errorsable GetMessage() *string SetErrors(value []PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error_errorsable) SetMessage(value *string) }
type PreReceiveEnvironmentsItemDownloadsRequestBuilder ¶
type PreReceiveEnvironmentsItemDownloadsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
PreReceiveEnvironmentsItemDownloadsRequestBuilder builds and executes requests for operations under \admin\pre-receive-environments\{pre_receive_environment_id}\downloads
func NewPreReceiveEnvironmentsItemDownloadsRequestBuilder ¶
func NewPreReceiveEnvironmentsItemDownloadsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PreReceiveEnvironmentsItemDownloadsRequestBuilder
NewPreReceiveEnvironmentsItemDownloadsRequestBuilder instantiates a new PreReceiveEnvironmentsItemDownloadsRequestBuilder and sets the default values.
func NewPreReceiveEnvironmentsItemDownloadsRequestBuilderInternal ¶
func NewPreReceiveEnvironmentsItemDownloadsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PreReceiveEnvironmentsItemDownloadsRequestBuilder
NewPreReceiveEnvironmentsItemDownloadsRequestBuilderInternal instantiates a new PreReceiveEnvironmentsItemDownloadsRequestBuilder and sets the default values.
func (*PreReceiveEnvironmentsItemDownloadsRequestBuilder) Latest ¶
func (m *PreReceiveEnvironmentsItemDownloadsRequestBuilder) Latest() *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder
Latest the latest property returns a *PreReceiveEnvironmentsItemDownloadsLatestRequestBuilder when successful
func (*PreReceiveEnvironmentsItemDownloadsRequestBuilder) Post ¶
func (m *PreReceiveEnvironmentsItemDownloadsRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PreReceiveEnvironmentDownloadStatusable, error)
Post triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.If a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.The possible error messages are:* _Cannot modify or delete the default environment_* _Can not start a new download when a download is in progress_ returns a PreReceiveEnvironmentDownloadStatusable when successful returns a PreReceiveEnvironmentsItemDownloadsPreReceiveEnvironmentDownloadStatus422Error error when the service returns a 422 status code API method documentation
func (*PreReceiveEnvironmentsItemDownloadsRequestBuilder) ToPostRequestInformation ¶
func (m *PreReceiveEnvironmentsItemDownloadsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.If a download cannot be triggered, you will receive a `422 Unprocessable Entity` response.The possible error messages are:* _Cannot modify or delete the default environment_* _Can not start a new download when a download is in progress_ returns a *RequestInformation when successful
func (*PreReceiveEnvironmentsItemDownloadsRequestBuilder) WithUrl ¶
func (m *PreReceiveEnvironmentsItemDownloadsRequestBuilder) WithUrl(rawUrl string) *PreReceiveEnvironmentsItemDownloadsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *PreReceiveEnvironmentsItemDownloadsRequestBuilder when successful
type PreReceiveEnvironmentsItemPreReceiveEnvironment422Error ¶
type PreReceiveEnvironmentsItemPreReceiveEnvironment422Error struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError // contains filtered or unexported fields }
func NewPreReceiveEnvironmentsItemPreReceiveEnvironment422Error ¶
func NewPreReceiveEnvironmentsItemPreReceiveEnvironment422Error() *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error
NewPreReceiveEnvironmentsItemPreReceiveEnvironment422Error instantiates a new PreReceiveEnvironmentsItemPreReceiveEnvironment422Error and sets the default values.
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) Error ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) Error() string
Error the primary error message. returns a string when successful
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) GetAdditionalData ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) GetErrors ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) GetErrors() []PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errorsable
GetErrors gets the errors property value. The errors property returns a []PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errorsable when successful
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) GetFieldDeserializers ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) GetMessage ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) Serialize ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) SetAdditionalData ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) SetErrors ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) SetErrors(value []PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errorsable)
SetErrors sets the errors property value. The errors property
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) SetMessage ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error) SetMessage(value *string)
SetMessage sets the message property value. The message property
type PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors ¶
type PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors struct {
// contains filtered or unexported fields
}
func NewPreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors ¶
func NewPreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors() *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors
NewPreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors instantiates a new PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors and sets the default values.
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetAdditionalData ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetCode ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetCode() *string
GetCode gets the code property value. The code property returns a *string when successful
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetFieldDeserializers ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetMessage ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetResource ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) GetResource() *string
GetResource gets the resource property value. The resource property returns a *string when successful
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) Serialize ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) SetAdditionalData ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) SetCode ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) SetCode(value *string)
SetCode sets the code property value. The code property
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) SetMessage ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) SetMessage(value *string)
SetMessage sets the message property value. The message property
func (*PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) SetResource ¶
func (m *PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errors) SetResource(value *string)
SetResource sets the resource property value. The resource property
type PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errorsable ¶
type PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errorsable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCode() *string GetMessage() *string GetResource() *string SetCode(value *string) SetMessage(value *string) SetResource(value *string) }
type PreReceiveEnvironmentsItemPreReceiveEnvironment422Errorable ¶
type PreReceiveEnvironmentsItemPreReceiveEnvironment422Errorable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetErrors() []PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errorsable GetMessage() *string SetErrors(value []PreReceiveEnvironmentsItemPreReceiveEnvironment422Error_errorsable) SetMessage(value *string) }
type PreReceiveEnvironmentsItemWithPre_receive_environment_422Error ¶
type PreReceiveEnvironmentsItemWithPre_receive_environment_422Error struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError // contains filtered or unexported fields }
func NewPreReceiveEnvironmentsItemWithPre_receive_environment_422Error ¶
func NewPreReceiveEnvironmentsItemWithPre_receive_environment_422Error() *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error
NewPreReceiveEnvironmentsItemWithPre_receive_environment_422Error instantiates a new PreReceiveEnvironmentsItemWithPre_receive_environment_422Error and sets the default values.
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) Error ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) Error() string
Error the primary error message. returns a string when successful
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) GetAdditionalData ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) GetErrors ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) GetErrors() []PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errorsable
GetErrors gets the errors property value. The errors property returns a []PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errorsable when successful
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) GetFieldDeserializers ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) GetMessage ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) Serialize ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) SetAdditionalData ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) SetErrors ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) SetErrors(value []PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errorsable)
SetErrors sets the errors property value. The errors property
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) SetMessage ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error) SetMessage(value *string)
SetMessage sets the message property value. The message property
type PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors ¶
type PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors struct {
// contains filtered or unexported fields
}
func NewPreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors ¶
func NewPreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors() *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors
NewPreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors instantiates a new PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors and sets the default values.
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetAdditionalData ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetCode ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetCode() *string
GetCode gets the code property value. The code property returns a *string when successful
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetFieldDeserializers ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetMessage ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetResource ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) GetResource() *string
GetResource gets the resource property value. The resource property returns a *string when successful
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) Serialize ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) SetAdditionalData ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) SetCode ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) SetCode(value *string)
SetCode sets the code property value. The code property
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) SetMessage ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) SetMessage(value *string)
SetMessage sets the message property value. The message property
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) SetResource ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errors) SetResource(value *string)
SetResource sets the resource property value. The resource property
type PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errorsable ¶
type PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errorsable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCode() *string GetMessage() *string GetResource() *string SetCode(value *string) SetMessage(value *string) SetResource(value *string) }
type PreReceiveEnvironmentsItemWithPre_receive_environment_422Errorable ¶
type PreReceiveEnvironmentsItemWithPre_receive_environment_422Errorable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetErrors() []PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errorsable GetMessage() *string SetErrors(value []PreReceiveEnvironmentsItemWithPre_receive_environment_422Error_errorsable) SetMessage(value *string) }
type PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody ¶
type PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody struct {
// contains filtered or unexported fields
}
func NewPreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody ¶
func NewPreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody() *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody
NewPreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody instantiates a new PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody and sets the default values.
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) GetAdditionalData ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) GetFieldDeserializers ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) GetImageUrl ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) GetImageUrl() *string
GetImageUrl gets the image_url property value. URL from which to download a tarball of this environment. returns a *string when successful
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) GetName ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) GetName() *string
GetName gets the name property value. This pre-receive environment's new name. returns a *string when successful
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) Serialize ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) SetAdditionalData ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) SetImageUrl ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) SetImageUrl(value *string)
SetImageUrl sets the image_url property value. URL from which to download a tarball of this environment.
func (*PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) SetName ¶
func (m *PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBody) SetName(value *string)
SetName sets the name property value. This pre-receive environment's new name.
type PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBodyable ¶
type PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetImageUrl() *string GetName() *string SetImageUrl(value *string) SetName(value *string) }
type PreReceiveEnvironmentsPostRequestBody ¶
type PreReceiveEnvironmentsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewPreReceiveEnvironmentsPostRequestBody ¶
func NewPreReceiveEnvironmentsPostRequestBody() *PreReceiveEnvironmentsPostRequestBody
NewPreReceiveEnvironmentsPostRequestBody instantiates a new PreReceiveEnvironmentsPostRequestBody and sets the default values.
func (*PreReceiveEnvironmentsPostRequestBody) GetAdditionalData ¶
func (m *PreReceiveEnvironmentsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*PreReceiveEnvironmentsPostRequestBody) GetFieldDeserializers ¶
func (m *PreReceiveEnvironmentsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*PreReceiveEnvironmentsPostRequestBody) GetImageUrl ¶
func (m *PreReceiveEnvironmentsPostRequestBody) GetImageUrl() *string
GetImageUrl gets the image_url property value. URL from which to download a tarball of this environment. returns a *string when successful
func (*PreReceiveEnvironmentsPostRequestBody) GetName ¶
func (m *PreReceiveEnvironmentsPostRequestBody) GetName() *string
GetName gets the name property value. The new pre-receive environment's name. returns a *string when successful
func (*PreReceiveEnvironmentsPostRequestBody) Serialize ¶
func (m *PreReceiveEnvironmentsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*PreReceiveEnvironmentsPostRequestBody) SetAdditionalData ¶
func (m *PreReceiveEnvironmentsPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*PreReceiveEnvironmentsPostRequestBody) SetImageUrl ¶
func (m *PreReceiveEnvironmentsPostRequestBody) SetImageUrl(value *string)
SetImageUrl sets the image_url property value. URL from which to download a tarball of this environment.
func (*PreReceiveEnvironmentsPostRequestBody) SetName ¶
func (m *PreReceiveEnvironmentsPostRequestBody) SetName(value *string)
SetName sets the name property value. The new pre-receive environment's name.
type PreReceiveEnvironmentsPostRequestBodyable ¶
type PreReceiveEnvironmentsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetImageUrl() *string GetName() *string SetImageUrl(value *string) SetName(value *string) }
type PreReceiveEnvironmentsRequestBuilder ¶
type PreReceiveEnvironmentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
PreReceiveEnvironmentsRequestBuilder builds and executes requests for operations under \admin\pre-receive-environments
func NewPreReceiveEnvironmentsRequestBuilder ¶
func NewPreReceiveEnvironmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PreReceiveEnvironmentsRequestBuilder
NewPreReceiveEnvironmentsRequestBuilder instantiates a new PreReceiveEnvironmentsRequestBuilder and sets the default values.
func NewPreReceiveEnvironmentsRequestBuilderInternal ¶
func NewPreReceiveEnvironmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PreReceiveEnvironmentsRequestBuilder
NewPreReceiveEnvironmentsRequestBuilderInternal instantiates a new PreReceiveEnvironmentsRequestBuilder and sets the default values.
func (*PreReceiveEnvironmentsRequestBuilder) ByPre_receive_environment_id ¶
func (m *PreReceiveEnvironmentsRequestBuilder) ByPre_receive_environment_id(pre_receive_environment_id int32) *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder
ByPre_receive_environment_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.admin.preReceiveEnvironments.item collection returns a *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder when successful
func (*PreReceiveEnvironmentsRequestBuilder) Get ¶
func (m *PreReceiveEnvironmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[PreReceiveEnvironmentsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PreReceiveEnvironmentable, error)
Get list pre-receive environments returns a []PreReceiveEnvironmentable when successful API method documentation
func (*PreReceiveEnvironmentsRequestBuilder) Post ¶
func (m *PreReceiveEnvironmentsRequestBuilder) Post(ctx context.Context, body PreReceiveEnvironmentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PreReceiveEnvironmentable, error)
Post create a pre-receive environment returns a PreReceiveEnvironmentable when successful API method documentation
func (*PreReceiveEnvironmentsRequestBuilder) ToGetRequestInformation ¶
func (m *PreReceiveEnvironmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[PreReceiveEnvironmentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*PreReceiveEnvironmentsRequestBuilder) ToPostRequestInformation ¶
func (m *PreReceiveEnvironmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body PreReceiveEnvironmentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*PreReceiveEnvironmentsRequestBuilder) WithUrl ¶
func (m *PreReceiveEnvironmentsRequestBuilder) WithUrl(rawUrl string) *PreReceiveEnvironmentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *PreReceiveEnvironmentsRequestBuilder when successful
type PreReceiveEnvironmentsRequestBuilderGetQueryParameters ¶
type PreReceiveEnvironmentsRequestBuilderGetQueryParameters struct { // The direction to sort the results by. Direction *ia19977d2cea6ae9d082220e4d6bf123ad448b9e828531d1ac9afdbee0875c77b.GetDirectionQueryParameterType `uriparametername:"direction"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.12/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.12/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` Sort *ia19977d2cea6ae9d082220e4d6bf123ad448b9e828531d1ac9afdbee0875c77b.GetSortQueryParameterType `uriparametername:"sort"` }
PreReceiveEnvironmentsRequestBuilderGetQueryParameters list pre-receive environments
type PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder ¶
type PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder builds and executes requests for operations under \admin\pre-receive-environments\{pre_receive_environment_id}
func NewPreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder ¶
func NewPreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder
NewPreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder instantiates a new PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder and sets the default values.
func NewPreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilderInternal ¶
func NewPreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder
NewPreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilderInternal instantiates a new PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder and sets the default values.
func (*PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) Delete ¶
func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete if you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.The possible error messages are:* _Cannot modify or delete the default environment_* _Cannot delete environment that has hooks_* _Cannot delete environment when download is in progress_ returns a PreReceiveEnvironmentsItemWithPre_receive_environment_422Error error when the service returns a 422 status code API method documentation
func (*PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) Downloads ¶
func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) Downloads() *PreReceiveEnvironmentsItemDownloadsRequestBuilder
Downloads the downloads property returns a *PreReceiveEnvironmentsItemDownloadsRequestBuilder when successful
func (*PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) Get ¶
func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PreReceiveEnvironmentable, error)
Get get a pre-receive environment returns a PreReceiveEnvironmentable when successful API method documentation
func (*PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) Patch ¶
func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) Patch(ctx context.Context, body PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PreReceiveEnvironmentable, error)
Patch you cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response. returns a PreReceiveEnvironmentable when successful returns a PreReceiveEnvironmentsItemPreReceiveEnvironment422Error error when the service returns a 422 status code API method documentation
func (*PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation if you attempt to delete an environment that cannot be deleted, you will receive a `422 Unprocessable Entity` response.The possible error messages are:* _Cannot modify or delete the default environment_* _Cannot delete environment that has hooks_* _Cannot delete environment when download is in progress_ returns a *RequestInformation when successful
func (*PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body PreReceiveEnvironmentsItemWithPre_receive_environment_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation you cannot modify the default environment. If you attempt to modify the default environment, you will receive a `422 Unprocessable Entity` response. returns a *RequestInformation when successful
func (*PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) WithUrl ¶
func (m *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder) WithUrl(rawUrl string) *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *PreReceiveEnvironmentsWithPre_receive_environment_ItemRequestBuilder when successful
type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody ¶
type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody struct {
// contains filtered or unexported fields
}
func NewPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody ¶
func NewPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody() *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody
NewPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody instantiates a new PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody and sets the default values.
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetAdditionalData ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetAllowDownstreamConfiguration ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetAllowDownstreamConfiguration() *bool
GetAllowDownstreamConfiguration gets the allow_downstream_configuration property value. Whether enforcement can be overridden at the org or repo level. returns a *bool when successful
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetEnforcement ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetEnforcement() *string
GetEnforcement gets the enforcement property value. The state of enforcement for this hook. returns a *string when successful
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetEnvironment ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetEnvironment() PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environmentable
GetEnvironment gets the environment property value. The pre-receive environment where the script is executed. returns a PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environmentable when successful
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetFieldDeserializers ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetName ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetName() *string
GetName gets the name property value. The name of the hook. returns a *string when successful
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetScript ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetScript() *string
GetScript gets the script property value. The script that the hook runs. returns a *string when successful
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetScriptRepository ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetScriptRepository() PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repositoryable
GetScriptRepository gets the script_repository property value. The GitHub repository where the script is kept. returns a PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repositoryable when successful
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) Serialize ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAdditionalData ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAllowDownstreamConfiguration ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAllowDownstreamConfiguration(value *bool)
SetAllowDownstreamConfiguration sets the allow_downstream_configuration property value. Whether enforcement can be overridden at the org or repo level.
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetEnforcement ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetEnforcement(value *string)
SetEnforcement sets the enforcement property value. The state of enforcement for this hook.
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetEnvironment ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetEnvironment(value PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environmentable)
SetEnvironment sets the environment property value. The pre-receive environment where the script is executed.
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetName ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetName(value *string)
SetName sets the name property value. The name of the hook.
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetScript ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetScript(value *string)
SetScript sets the script property value. The script that the hook runs.
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetScriptRepository ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetScriptRepository(value PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repositoryable)
SetScriptRepository sets the script_repository property value. The GitHub repository where the script is kept.
type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment ¶
type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment struct {
// contains filtered or unexported fields
}
PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment the pre-receive environment where the script is executed.
func NewPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment ¶
func NewPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment() *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment
NewPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment instantiates a new PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment and sets the default values.
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment) GetAdditionalData ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment) GetFieldDeserializers ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment) Serialize ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment) SetAdditionalData ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environment) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environmentable ¶
type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environmentable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository ¶
type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository struct {
// contains filtered or unexported fields
}
PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository the GitHub repository where the script is kept.
func NewPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository ¶
func NewPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository() *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository
NewPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository instantiates a new PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository and sets the default values.
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository) GetAdditionalData ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository) GetFieldDeserializers ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository) Serialize ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository) SetAdditionalData ¶
func (m *PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repository) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repositoryable ¶
type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repositoryable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable ¶
type PreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAllowDownstreamConfiguration() *bool GetEnforcement() *string GetEnvironment() PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environmentable GetName() *string GetScript() *string GetScriptRepository() PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repositoryable SetAllowDownstreamConfiguration(value *bool) SetEnforcement(value *string) SetEnvironment(value PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_environmentable) SetName(value *string) SetScript(value *string) SetScriptRepository(value PreReceiveHooksItemWithPre_receive_hook_PatchRequestBody_script_repositoryable) }
type PreReceiveHooksPostRequestBody ¶
type PreReceiveHooksPostRequestBody struct {
// contains filtered or unexported fields
}
func NewPreReceiveHooksPostRequestBody ¶
func NewPreReceiveHooksPostRequestBody() *PreReceiveHooksPostRequestBody
NewPreReceiveHooksPostRequestBody instantiates a new PreReceiveHooksPostRequestBody and sets the default values.
func (*PreReceiveHooksPostRequestBody) GetAdditionalData ¶
func (m *PreReceiveHooksPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*PreReceiveHooksPostRequestBody) GetAllowDownstreamConfiguration ¶
func (m *PreReceiveHooksPostRequestBody) GetAllowDownstreamConfiguration() *bool
GetAllowDownstreamConfiguration gets the allow_downstream_configuration property value. Whether enforcement can be overridden at the org or repo level. default: `false` returns a *bool when successful
func (*PreReceiveHooksPostRequestBody) GetEnforcement ¶
func (m *PreReceiveHooksPostRequestBody) GetEnforcement() *string
GetEnforcement gets the enforcement property value. The state of enforcement for this hook. default: `disabled` returns a *string when successful
func (*PreReceiveHooksPostRequestBody) GetEnvironment ¶
func (m *PreReceiveHooksPostRequestBody) GetEnvironment() PreReceiveHooksPostRequestBody_environmentable
GetEnvironment gets the environment property value. The pre-receive environment where the script is executed. returns a PreReceiveHooksPostRequestBody_environmentable when successful
func (*PreReceiveHooksPostRequestBody) GetFieldDeserializers ¶
func (m *PreReceiveHooksPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*PreReceiveHooksPostRequestBody) GetName ¶
func (m *PreReceiveHooksPostRequestBody) GetName() *string
GetName gets the name property value. The name of the hook. returns a *string when successful
func (*PreReceiveHooksPostRequestBody) GetScript ¶
func (m *PreReceiveHooksPostRequestBody) GetScript() *string
GetScript gets the script property value. The script that the hook runs. returns a *string when successful
func (*PreReceiveHooksPostRequestBody) GetScriptRepository ¶
func (m *PreReceiveHooksPostRequestBody) GetScriptRepository() PreReceiveHooksPostRequestBody_script_repositoryable
GetScriptRepository gets the script_repository property value. The GitHub repository where the script is kept. returns a PreReceiveHooksPostRequestBody_script_repositoryable when successful
func (*PreReceiveHooksPostRequestBody) Serialize ¶
func (m *PreReceiveHooksPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*PreReceiveHooksPostRequestBody) SetAdditionalData ¶
func (m *PreReceiveHooksPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*PreReceiveHooksPostRequestBody) SetAllowDownstreamConfiguration ¶
func (m *PreReceiveHooksPostRequestBody) SetAllowDownstreamConfiguration(value *bool)
SetAllowDownstreamConfiguration sets the allow_downstream_configuration property value. Whether enforcement can be overridden at the org or repo level. default: `false`
func (*PreReceiveHooksPostRequestBody) SetEnforcement ¶
func (m *PreReceiveHooksPostRequestBody) SetEnforcement(value *string)
SetEnforcement sets the enforcement property value. The state of enforcement for this hook. default: `disabled`
func (*PreReceiveHooksPostRequestBody) SetEnvironment ¶
func (m *PreReceiveHooksPostRequestBody) SetEnvironment(value PreReceiveHooksPostRequestBody_environmentable)
SetEnvironment sets the environment property value. The pre-receive environment where the script is executed.
func (*PreReceiveHooksPostRequestBody) SetName ¶
func (m *PreReceiveHooksPostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the hook.
func (*PreReceiveHooksPostRequestBody) SetScript ¶
func (m *PreReceiveHooksPostRequestBody) SetScript(value *string)
SetScript sets the script property value. The script that the hook runs.
func (*PreReceiveHooksPostRequestBody) SetScriptRepository ¶
func (m *PreReceiveHooksPostRequestBody) SetScriptRepository(value PreReceiveHooksPostRequestBody_script_repositoryable)
SetScriptRepository sets the script_repository property value. The GitHub repository where the script is kept.
type PreReceiveHooksPostRequestBody_environment ¶
type PreReceiveHooksPostRequestBody_environment struct {
// contains filtered or unexported fields
}
PreReceiveHooksPostRequestBody_environment the pre-receive environment where the script is executed.
func NewPreReceiveHooksPostRequestBody_environment ¶
func NewPreReceiveHooksPostRequestBody_environment() *PreReceiveHooksPostRequestBody_environment
NewPreReceiveHooksPostRequestBody_environment instantiates a new PreReceiveHooksPostRequestBody_environment and sets the default values.
func (*PreReceiveHooksPostRequestBody_environment) GetAdditionalData ¶
func (m *PreReceiveHooksPostRequestBody_environment) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*PreReceiveHooksPostRequestBody_environment) GetFieldDeserializers ¶
func (m *PreReceiveHooksPostRequestBody_environment) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*PreReceiveHooksPostRequestBody_environment) Serialize ¶
func (m *PreReceiveHooksPostRequestBody_environment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*PreReceiveHooksPostRequestBody_environment) SetAdditionalData ¶
func (m *PreReceiveHooksPostRequestBody_environment) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
type PreReceiveHooksPostRequestBody_environmentable ¶
type PreReceiveHooksPostRequestBody_environmentable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type PreReceiveHooksPostRequestBody_script_repository ¶
type PreReceiveHooksPostRequestBody_script_repository struct {
// contains filtered or unexported fields
}
PreReceiveHooksPostRequestBody_script_repository the GitHub repository where the script is kept.
func NewPreReceiveHooksPostRequestBody_script_repository ¶
func NewPreReceiveHooksPostRequestBody_script_repository() *PreReceiveHooksPostRequestBody_script_repository
NewPreReceiveHooksPostRequestBody_script_repository instantiates a new PreReceiveHooksPostRequestBody_script_repository and sets the default values.
func (*PreReceiveHooksPostRequestBody_script_repository) GetAdditionalData ¶
func (m *PreReceiveHooksPostRequestBody_script_repository) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*PreReceiveHooksPostRequestBody_script_repository) GetFieldDeserializers ¶
func (m *PreReceiveHooksPostRequestBody_script_repository) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*PreReceiveHooksPostRequestBody_script_repository) Serialize ¶
func (m *PreReceiveHooksPostRequestBody_script_repository) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*PreReceiveHooksPostRequestBody_script_repository) SetAdditionalData ¶
func (m *PreReceiveHooksPostRequestBody_script_repository) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
type PreReceiveHooksPostRequestBody_script_repositoryable ¶
type PreReceiveHooksPostRequestBody_script_repositoryable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type PreReceiveHooksPostRequestBodyable ¶
type PreReceiveHooksPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAllowDownstreamConfiguration() *bool GetEnforcement() *string GetEnvironment() PreReceiveHooksPostRequestBody_environmentable GetName() *string GetScript() *string GetScriptRepository() PreReceiveHooksPostRequestBody_script_repositoryable SetAllowDownstreamConfiguration(value *bool) SetEnforcement(value *string) SetEnvironment(value PreReceiveHooksPostRequestBody_environmentable) SetName(value *string) SetScript(value *string) SetScriptRepository(value PreReceiveHooksPostRequestBody_script_repositoryable) }
type PreReceiveHooksRequestBuilder ¶
type PreReceiveHooksRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
PreReceiveHooksRequestBuilder builds and executes requests for operations under \admin\pre-receive-hooks
func NewPreReceiveHooksRequestBuilder ¶
func NewPreReceiveHooksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PreReceiveHooksRequestBuilder
NewPreReceiveHooksRequestBuilder instantiates a new PreReceiveHooksRequestBuilder and sets the default values.
func NewPreReceiveHooksRequestBuilderInternal ¶
func NewPreReceiveHooksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PreReceiveHooksRequestBuilder
NewPreReceiveHooksRequestBuilderInternal instantiates a new PreReceiveHooksRequestBuilder and sets the default values.
func (*PreReceiveHooksRequestBuilder) ByPre_receive_hook_id ¶
func (m *PreReceiveHooksRequestBuilder) ByPre_receive_hook_id(pre_receive_hook_id int32) *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
ByPre_receive_hook_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.admin.preReceiveHooks.item collection returns a *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder when successful
func (*PreReceiveHooksRequestBuilder) Get ¶
func (m *PreReceiveHooksRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[PreReceiveHooksRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PreReceiveHookable, error)
Get list pre-receive hooks returns a []PreReceiveHookable when successful API method documentation
func (*PreReceiveHooksRequestBuilder) Post ¶
func (m *PreReceiveHooksRequestBuilder) Post(ctx context.Context, body PreReceiveHooksPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PreReceiveHookable, error)
Post create a pre-receive hook returns a PreReceiveHookable when successful API method documentation
func (*PreReceiveHooksRequestBuilder) ToGetRequestInformation ¶
func (m *PreReceiveHooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[PreReceiveHooksRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*PreReceiveHooksRequestBuilder) ToPostRequestInformation ¶
func (m *PreReceiveHooksRequestBuilder) ToPostRequestInformation(ctx context.Context, body PreReceiveHooksPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*PreReceiveHooksRequestBuilder) WithUrl ¶
func (m *PreReceiveHooksRequestBuilder) WithUrl(rawUrl string) *PreReceiveHooksRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *PreReceiveHooksRequestBuilder when successful
type PreReceiveHooksRequestBuilderGetQueryParameters ¶
type PreReceiveHooksRequestBuilderGetQueryParameters struct { // The direction to sort the results by. Direction *i24ee6165ab19c8a2e0c2d9a788ca00150f57243a6a5375502e37e96ab12549d1.GetDirectionQueryParameterType `uriparametername:"direction"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.12/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.12/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // The property to sort the results by. Sort *i24ee6165ab19c8a2e0c2d9a788ca00150f57243a6a5375502e37e96ab12549d1.GetSortQueryParameterType `uriparametername:"sort"` }
PreReceiveHooksRequestBuilderGetQueryParameters list pre-receive hooks
type PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder ¶
type PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder builds and executes requests for operations under \admin\pre-receive-hooks\{pre_receive_hook_id}
func NewPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder ¶
func NewPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
NewPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder instantiates a new PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder and sets the default values.
func NewPreReceiveHooksWithPre_receive_hook_ItemRequestBuilderInternal ¶
func NewPreReceiveHooksWithPre_receive_hook_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
NewPreReceiveHooksWithPre_receive_hook_ItemRequestBuilderInternal instantiates a new PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder and sets the default values.
func (*PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Delete ¶
func (m *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete delete a pre-receive hook API method documentation
func (*PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Get ¶
func (m *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PreReceiveHookable, error)
Get get a pre-receive hook returns a PreReceiveHookable when successful API method documentation
func (*PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Patch ¶
func (m *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Patch(ctx context.Context, body PreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PreReceiveHookable, error)
Patch update a pre-receive hook returns a PreReceiveHookable when successful API method documentation
func (*PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body PreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) WithUrl ¶
func (m *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) WithUrl(rawUrl string) *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *PreReceiveHooksWithPre_receive_hook_ItemRequestBuilder when successful
type TokensRequestBuilder ¶
type TokensRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
TokensRequestBuilder builds and executes requests for operations under \admin\tokens
func NewTokensRequestBuilder ¶
func NewTokensRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TokensRequestBuilder
NewTokensRequestBuilder instantiates a new TokensRequestBuilder and sets the default values.
func NewTokensRequestBuilderInternal ¶
func NewTokensRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TokensRequestBuilder
NewTokensRequestBuilderInternal instantiates a new TokensRequestBuilder and sets the default values.
func (*TokensRequestBuilder) ByToken_id ¶
func (m *TokensRequestBuilder) ByToken_id(token_id int32) *TokensWithToken_ItemRequestBuilder
ByToken_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.admin.tokens.item collection returns a *TokensWithToken_ItemRequestBuilder when successful
func (*TokensRequestBuilder) Get ¶
func (m *TokensRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[TokensRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Authorizationable, error)
Get lists personal access tokens for all users, including admin users. returns a []Authorizationable when successful API method documentation
func (*TokensRequestBuilder) ToGetRequestInformation ¶
func (m *TokensRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[TokensRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists personal access tokens for all users, including admin users. returns a *RequestInformation when successful
func (*TokensRequestBuilder) WithUrl ¶
func (m *TokensRequestBuilder) WithUrl(rawUrl string) *TokensRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *TokensRequestBuilder when successful
type TokensRequestBuilderGetQueryParameters ¶
type TokensRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.12/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.12/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
TokensRequestBuilderGetQueryParameters lists personal access tokens for all users, including admin users.
type TokensWithToken_ItemRequestBuilder ¶
type TokensWithToken_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
TokensWithToken_ItemRequestBuilder builds and executes requests for operations under \admin\tokens\{token_id}
func NewTokensWithToken_ItemRequestBuilder ¶
func NewTokensWithToken_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TokensWithToken_ItemRequestBuilder
NewTokensWithToken_ItemRequestBuilder instantiates a new TokensWithToken_ItemRequestBuilder and sets the default values.
func NewTokensWithToken_ItemRequestBuilderInternal ¶
func NewTokensWithToken_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *TokensWithToken_ItemRequestBuilder
NewTokensWithToken_ItemRequestBuilderInternal instantiates a new TokensWithToken_ItemRequestBuilder and sets the default values.
func (*TokensWithToken_ItemRequestBuilder) Delete ¶
func (m *TokensWithToken_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error. API method documentation
func (*TokensWithToken_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *TokensWithToken_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error. returns a *RequestInformation when successful
func (*TokensWithToken_ItemRequestBuilder) WithUrl ¶
func (m *TokensWithToken_ItemRequestBuilder) WithUrl(rawUrl string) *TokensWithToken_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *TokensWithToken_ItemRequestBuilder when successful
type UsersItemAuthorizationsPostRequestBody ¶
type UsersItemAuthorizationsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewUsersItemAuthorizationsPostRequestBody ¶
func NewUsersItemAuthorizationsPostRequestBody() *UsersItemAuthorizationsPostRequestBody
NewUsersItemAuthorizationsPostRequestBody instantiates a new UsersItemAuthorizationsPostRequestBody and sets the default values.
func (*UsersItemAuthorizationsPostRequestBody) GetAdditionalData ¶
func (m *UsersItemAuthorizationsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*UsersItemAuthorizationsPostRequestBody) GetFieldDeserializers ¶
func (m *UsersItemAuthorizationsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*UsersItemAuthorizationsPostRequestBody) GetScopes ¶
func (m *UsersItemAuthorizationsPostRequestBody) GetScopes() []string
GetScopes gets the scopes property value. A list of [scopes](https://docs.github.com/enterprise-server@3.12/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). returns a []string when successful
func (*UsersItemAuthorizationsPostRequestBody) Serialize ¶
func (m *UsersItemAuthorizationsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*UsersItemAuthorizationsPostRequestBody) SetAdditionalData ¶
func (m *UsersItemAuthorizationsPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*UsersItemAuthorizationsPostRequestBody) SetScopes ¶
func (m *UsersItemAuthorizationsPostRequestBody) SetScopes(value []string)
SetScopes sets the scopes property value. A list of [scopes](https://docs.github.com/enterprise-server@3.12/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
type UsersItemAuthorizationsPostRequestBodyable ¶
type UsersItemAuthorizationsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetScopes() []string SetScopes(value []string) }
type UsersItemAuthorizationsRequestBuilder ¶
type UsersItemAuthorizationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
UsersItemAuthorizationsRequestBuilder builds and executes requests for operations under \admin\users\{username}\authorizations
func NewUsersItemAuthorizationsRequestBuilder ¶
func NewUsersItemAuthorizationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *UsersItemAuthorizationsRequestBuilder
NewUsersItemAuthorizationsRequestBuilder instantiates a new UsersItemAuthorizationsRequestBuilder and sets the default values.
func NewUsersItemAuthorizationsRequestBuilderInternal ¶
func NewUsersItemAuthorizationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *UsersItemAuthorizationsRequestBuilder
NewUsersItemAuthorizationsRequestBuilderInternal instantiates a new UsersItemAuthorizationsRequestBuilder and sets the default values.
func (*UsersItemAuthorizationsRequestBuilder) Delete ¶
func (m *UsersItemAuthorizationsRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete delete an impersonation OAuth token API method documentation
func (*UsersItemAuthorizationsRequestBuilder) Post ¶
func (m *UsersItemAuthorizationsRequestBuilder) Post(ctx context.Context, body UsersItemAuthorizationsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Authorizationable, error)
Post create an impersonation OAuth token returns a Authorizationable when successful API method documentation
func (*UsersItemAuthorizationsRequestBuilder) ToDeleteRequestInformation ¶
func (m *UsersItemAuthorizationsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*UsersItemAuthorizationsRequestBuilder) ToPostRequestInformation ¶
func (m *UsersItemAuthorizationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body UsersItemAuthorizationsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*UsersItemAuthorizationsRequestBuilder) WithUrl ¶
func (m *UsersItemAuthorizationsRequestBuilder) WithUrl(rawUrl string) *UsersItemAuthorizationsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *UsersItemAuthorizationsRequestBuilder when successful
type UsersItemWithUsernamePatchRequestBody ¶
type UsersItemWithUsernamePatchRequestBody struct {
// contains filtered or unexported fields
}
func NewUsersItemWithUsernamePatchRequestBody ¶
func NewUsersItemWithUsernamePatchRequestBody() *UsersItemWithUsernamePatchRequestBody
NewUsersItemWithUsernamePatchRequestBody instantiates a new UsersItemWithUsernamePatchRequestBody and sets the default values.
func (*UsersItemWithUsernamePatchRequestBody) GetAdditionalData ¶
func (m *UsersItemWithUsernamePatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*UsersItemWithUsernamePatchRequestBody) GetFieldDeserializers ¶
func (m *UsersItemWithUsernamePatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*UsersItemWithUsernamePatchRequestBody) GetLogin ¶
func (m *UsersItemWithUsernamePatchRequestBody) GetLogin() *string
GetLogin gets the login property value. The user's new username. returns a *string when successful
func (*UsersItemWithUsernamePatchRequestBody) Serialize ¶
func (m *UsersItemWithUsernamePatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*UsersItemWithUsernamePatchRequestBody) SetAdditionalData ¶
func (m *UsersItemWithUsernamePatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*UsersItemWithUsernamePatchRequestBody) SetLogin ¶
func (m *UsersItemWithUsernamePatchRequestBody) SetLogin(value *string)
SetLogin sets the login property value. The user's new username.
type UsersItemWithUsernamePatchRequestBodyable ¶
type UsersItemWithUsernamePatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLogin() *string SetLogin(value *string) }
type UsersItemWithUsernamePatchResponse ¶
type UsersItemWithUsernamePatchResponse struct {
// contains filtered or unexported fields
}
func NewUsersItemWithUsernamePatchResponse ¶
func NewUsersItemWithUsernamePatchResponse() *UsersItemWithUsernamePatchResponse
NewUsersItemWithUsernamePatchResponse instantiates a new UsersItemWithUsernamePatchResponse and sets the default values.
func (*UsersItemWithUsernamePatchResponse) GetAdditionalData ¶
func (m *UsersItemWithUsernamePatchResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*UsersItemWithUsernamePatchResponse) GetFieldDeserializers ¶
func (m *UsersItemWithUsernamePatchResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*UsersItemWithUsernamePatchResponse) GetMessage ¶
func (m *UsersItemWithUsernamePatchResponse) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*UsersItemWithUsernamePatchResponse) GetUrl ¶
func (m *UsersItemWithUsernamePatchResponse) GetUrl() *string
GetUrl gets the url property value. The url property returns a *string when successful
func (*UsersItemWithUsernamePatchResponse) Serialize ¶
func (m *UsersItemWithUsernamePatchResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*UsersItemWithUsernamePatchResponse) SetAdditionalData ¶
func (m *UsersItemWithUsernamePatchResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*UsersItemWithUsernamePatchResponse) SetMessage ¶
func (m *UsersItemWithUsernamePatchResponse) SetMessage(value *string)
SetMessage sets the message property value. The message property
func (*UsersItemWithUsernamePatchResponse) SetUrl ¶
func (m *UsersItemWithUsernamePatchResponse) SetUrl(value *string)
SetUrl sets the url property value. The url property
type UsersItemWithUsernamePatchResponseable ¶
type UsersItemWithUsernamePatchResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetMessage() *string GetUrl() *string SetMessage(value *string) SetUrl(value *string) }
type UsersPostRequestBody ¶
type UsersPostRequestBody struct {
// contains filtered or unexported fields
}
func NewUsersPostRequestBody ¶
func NewUsersPostRequestBody() *UsersPostRequestBody
NewUsersPostRequestBody instantiates a new UsersPostRequestBody and sets the default values.
func (*UsersPostRequestBody) GetAdditionalData ¶
func (m *UsersPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*UsersPostRequestBody) GetEmail ¶
func (m *UsersPostRequestBody) GetEmail() *string
GetEmail gets the email property value. **Required for built-in authentication.** The user's emailaddress. This parameter can be omitted when using CAS, LDAP, or SAML.For more information, see "[About authentication for your enterprise](https://docs.github.com/enterprise-server@3.12/admin/identity-and-access-management/managing-iam-for-your-enterprise/about-authentication-for-your-enterprise)." returns a *string when successful
func (*UsersPostRequestBody) GetFieldDeserializers ¶
func (m *UsersPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*UsersPostRequestBody) GetLogin ¶
func (m *UsersPostRequestBody) GetLogin() *string
GetLogin gets the login property value. The user's username. returns a *string when successful
func (*UsersPostRequestBody) GetSuspended ¶
func (m *UsersPostRequestBody) GetSuspended() *bool
GetSuspended gets the suspended property value. Whether to set the user as suspended when the user is created. returns a *bool when successful
func (*UsersPostRequestBody) Serialize ¶
func (m *UsersPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*UsersPostRequestBody) SetAdditionalData ¶
func (m *UsersPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*UsersPostRequestBody) SetEmail ¶
func (m *UsersPostRequestBody) SetEmail(value *string)
SetEmail sets the email property value. **Required for built-in authentication.** The user's emailaddress. This parameter can be omitted when using CAS, LDAP, or SAML.For more information, see "[About authentication for your enterprise](https://docs.github.com/enterprise-server@3.12/admin/identity-and-access-management/managing-iam-for-your-enterprise/about-authentication-for-your-enterprise)."
func (*UsersPostRequestBody) SetLogin ¶
func (m *UsersPostRequestBody) SetLogin(value *string)
SetLogin sets the login property value. The user's username.
func (*UsersPostRequestBody) SetSuspended ¶
func (m *UsersPostRequestBody) SetSuspended(value *bool)
SetSuspended sets the suspended property value. Whether to set the user as suspended when the user is created.
type UsersPostRequestBodyable ¶
type UsersPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEmail() *string GetLogin() *string GetSuspended() *bool SetEmail(value *string) SetLogin(value *string) SetSuspended(value *bool) }
type UsersRequestBuilder ¶
type UsersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
UsersRequestBuilder builds and executes requests for operations under \admin\users
func NewUsersRequestBuilder ¶
func NewUsersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *UsersRequestBuilder
NewUsersRequestBuilder instantiates a new UsersRequestBuilder and sets the default values.
func NewUsersRequestBuilderInternal ¶
func NewUsersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *UsersRequestBuilder
NewUsersRequestBuilderInternal instantiates a new UsersRequestBuilder and sets the default values.
func (*UsersRequestBuilder) ByUsername ¶
func (m *UsersRequestBuilder) ByUsername(username string) *UsersWithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.admin.users.item collection returns a *UsersWithUsernameItemRequestBuilder when successful
func (*UsersRequestBuilder) Post ¶
func (m *UsersRequestBuilder) Post(ctx context.Context, body UsersPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SimpleUserable, error)
Post if an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-user) for the user.The login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `"octo_cat"` as the login, a user named `"octo-cat"` will be created.If the login name or email address is already associated with an account, the server will return a `422` response. returns a SimpleUserable when successful API method documentation
func (*UsersRequestBuilder) ToPostRequestInformation ¶
func (m *UsersRequestBuilder) ToPostRequestInformation(ctx context.Context, body UsersPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation if an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-user) for the user.The login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `"octo_cat"` as the login, a user named `"octo-cat"` will be created.If the login name or email address is already associated with an account, the server will return a `422` response. returns a *RequestInformation when successful
func (*UsersRequestBuilder) WithUrl ¶
func (m *UsersRequestBuilder) WithUrl(rawUrl string) *UsersRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *UsersRequestBuilder when successful
type UsersWithUsernameItemRequestBuilder ¶
type UsersWithUsernameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
UsersWithUsernameItemRequestBuilder builds and executes requests for operations under \admin\users\{username}
func NewUsersWithUsernameItemRequestBuilder ¶
func NewUsersWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *UsersWithUsernameItemRequestBuilder
NewUsersWithUsernameItemRequestBuilder instantiates a new UsersWithUsernameItemRequestBuilder and sets the default values.
func NewUsersWithUsernameItemRequestBuilderInternal ¶
func NewUsersWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *UsersWithUsernameItemRequestBuilder
NewUsersWithUsernameItemRequestBuilderInternal instantiates a new UsersWithUsernameItemRequestBuilder and sets the default values.
func (*UsersWithUsernameItemRequestBuilder) Authorizations ¶
func (m *UsersWithUsernameItemRequestBuilder) Authorizations() *UsersItemAuthorizationsRequestBuilder
Authorizations the authorizations property returns a *UsersItemAuthorizationsRequestBuilder when successful
func (*UsersWithUsernameItemRequestBuilder) Delete ¶
func (m *UsersWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/users#suspend-a-user) is often a better option.You can delete any user account except your own. API method documentation
func (*UsersWithUsernameItemRequestBuilder) Patch ¶
func (m *UsersWithUsernameItemRequestBuilder) Patch(ctx context.Context, body UsersItemWithUsernamePatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (UsersItemWithUsernamePatchResponseable, error)
Patch update the username for a user returns a UsersItemWithUsernamePatchResponseable when successful API method documentation
func (*UsersWithUsernameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *UsersWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/users#suspend-a-user) is often a better option.You can delete any user account except your own. returns a *RequestInformation when successful
func (*UsersWithUsernameItemRequestBuilder) ToPatchRequestInformation ¶
func (m *UsersWithUsernameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body UsersItemWithUsernamePatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*UsersWithUsernameItemRequestBuilder) WithUrl ¶
func (m *UsersWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *UsersWithUsernameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *UsersWithUsernameItemRequestBuilder when successful
Source Files
¶
- 67ab66da8db366423ad0facdb6f8b1e5dad61229af1b0c4ac50a251cf04595be.go
- 775bdc99ce10383000702391eba2548e0181496ff48011378ab54206e41b5a9a.go
- 88615ee744494439a1555e2db05d17f151781caa3c7b7bf997e5acd322956f9d.go
- 97d9df8496f487e3095e248e106c1415abd8dcbfff770ad750d5f0326e5e07dc.go
- 9f1e533177ee8902b054b9c7820f4f7e1f5deda2df7064e47ee7eef0a78956f9.go
- admin_request_builder.go
- hooks_item_pings_request_builder.go
- hooks_item_with_hook_escaped_patch_request_body.go
- hooks_item_with_hook_escaped_patch_request_body_escaped_config.go
- hooks_post_request_body.go
- hooks_post_request_body_escaped_config.go
- hooks_request_builder.go
- hooks_with_hook_escaped_item_request_builder.go
- keys_request_builder.go
- keys_with_key_escaped_ids_item_request_builder.go
- ldap_request_builder.go
- ldap_teams_item_mapping_patch_request_body.go
- ldap_teams_item_mapping_request_builder.go
- ldap_teams_item_sync_post_response.go
- ldap_teams_item_sync_request_builder.go
- ldap_teams_request_builder.go
- ldap_teams_with_team_escaped_item_request_builder.go
- ldap_users_item_mapping_patch_request_body.go
- ldap_users_item_mapping_request_builder.go
- ldap_users_item_sync_post_response.go
- ldap_users_item_sync_request_builder.go
- ldap_users_request_builder.go
- ldap_users_with_username_item_request_builder.go
- organizations_item_with_org_patch_request_body.go
- organizations_item_with_org_patch_response.go
- organizations_post_request_body.go
- organizations_request_builder.go
- organizations_with_org_item_request_builder.go
- pre_receive_environments_item_downloads_latest_request_builder.go
- pre_receive_environments_item_downloads_pre_receive_environment_download_status422_error.go
- pre_receive_environments_item_downloads_request_builder.go
- pre_receive_environments_item_pre_receive_environment422_error.go
- pre_receive_environments_item_pre_receive_environment422_error_escaped_errors.go
- pre_receive_environments_item_with_pre_escaped_receive_escaped_environment_escaped_422_error.go
- pre_receive_environments_post_request_body.go
- pre_receive_environments_request_builder.go
- pre_receive_environments_with_pre_escaped_receive_escaped_environment_escaped_item_request_builder.go
- pre_receive_hooks_item_with_pre_escaped_receive_escaped_hook_escaped_patch_request_body.go
- pre_receive_hooks_post_request_body.go
- pre_receive_hooks_post_request_body_escaped_environment.go
- pre_receive_hooks_post_request_body_escaped_script_escaped_repository.go
- pre_receive_hooks_request_builder.go
- pre_receive_hooks_with_pre_escaped_receive_escaped_hook_escaped_item_request_builder.go
- tokens_request_builder.go
- tokens_with_token_escaped_item_request_builder.go
- users_item_authorizations_post_request_body.go
- users_item_authorizations_request_builder.go
- users_item_with_username_patch_request_body.go
- users_item_with_username_patch_response.go
- users_post_request_body.go
- users_request_builder.go
- users_with_username_item_request_builder.go