Documentation
¶
Index ¶
- func CreateItemAuthenticationTokensGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemAuthenticationTokensGetResponse_metaFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemGithubAppOauthTokensGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemGithubAppOauthTokensGetResponse_metaFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type ItemAuthenticationTokensGetResponse
- func (m *ItemAuthenticationTokensGetResponse) GetAdditionalData() map[string]any
- func (m *ItemAuthenticationTokensGetResponse) GetData() ...
- func (m *ItemAuthenticationTokensGetResponse) GetFieldDeserializers() ...
- func (m *ItemAuthenticationTokensGetResponse) GetLinks() ...
- func (m *ItemAuthenticationTokensGetResponse) GetMeta() ItemAuthenticationTokensGetResponse_metaable
- func (m *ItemAuthenticationTokensGetResponse) Serialize(...) error
- func (m *ItemAuthenticationTokensGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemAuthenticationTokensGetResponse) SetData(...)
- func (m *ItemAuthenticationTokensGetResponse) SetLinks(...)
- func (m *ItemAuthenticationTokensGetResponse) SetMeta(value ItemAuthenticationTokensGetResponse_metaable)
- type ItemAuthenticationTokensGetResponse_meta
- func (m *ItemAuthenticationTokensGetResponse_meta) GetAdditionalData() map[string]any
- func (m *ItemAuthenticationTokensGetResponse_meta) GetFieldDeserializers() ...
- func (m *ItemAuthenticationTokensGetResponse_meta) GetPagination() ...
- func (m *ItemAuthenticationTokensGetResponse_meta) Serialize(...) error
- func (m *ItemAuthenticationTokensGetResponse_meta) SetAdditionalData(value map[string]any)
- func (m *ItemAuthenticationTokensGetResponse_meta) SetPagination(...)
- type ItemAuthenticationTokensGetResponse_metaable
- type ItemAuthenticationTokensGetResponseable
- type ItemAuthenticationTokensRequestBuilder
- func (m *ItemAuthenticationTokensRequestBuilder) Get(ctx context.Context, ...) (ItemAuthenticationTokensGetResponseable, error)
- func (m *ItemAuthenticationTokensRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemAuthenticationTokensRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemAuthenticationTokensRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemAuthenticationTokensRequestBuilder) WithUrl(rawUrl string) *ItemAuthenticationTokensRequestBuilder
- type ItemAuthenticationTokensRequestBuilderGetQueryParameters
- type ItemGithubAppOauthTokensGetResponse
- func (m *ItemGithubAppOauthTokensGetResponse) GetAdditionalData() map[string]any
- func (m *ItemGithubAppOauthTokensGetResponse) GetData() ...
- func (m *ItemGithubAppOauthTokensGetResponse) GetFieldDeserializers() ...
- func (m *ItemGithubAppOauthTokensGetResponse) GetLinks() ...
- func (m *ItemGithubAppOauthTokensGetResponse) GetMeta() ItemGithubAppOauthTokensGetResponse_metaable
- func (m *ItemGithubAppOauthTokensGetResponse) Serialize(...) error
- func (m *ItemGithubAppOauthTokensGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemGithubAppOauthTokensGetResponse) SetData(...)
- func (m *ItemGithubAppOauthTokensGetResponse) SetLinks(...)
- func (m *ItemGithubAppOauthTokensGetResponse) SetMeta(value ItemGithubAppOauthTokensGetResponse_metaable)
- type ItemGithubAppOauthTokensGetResponse_meta
- func (m *ItemGithubAppOauthTokensGetResponse_meta) GetAdditionalData() map[string]any
- func (m *ItemGithubAppOauthTokensGetResponse_meta) GetFieldDeserializers() ...
- func (m *ItemGithubAppOauthTokensGetResponse_meta) GetPagination() ...
- func (m *ItemGithubAppOauthTokensGetResponse_meta) Serialize(...) error
- func (m *ItemGithubAppOauthTokensGetResponse_meta) SetAdditionalData(value map[string]any)
- func (m *ItemGithubAppOauthTokensGetResponse_meta) SetPagination(...)
- type ItemGithubAppOauthTokensGetResponse_metaable
- type ItemGithubAppOauthTokensGetResponseable
- type ItemGithubAppOauthTokensRequestBuilder
- func (m *ItemGithubAppOauthTokensRequestBuilder) Get(ctx context.Context, ...) (ItemGithubAppOauthTokensGetResponseable, error)
- func (m *ItemGithubAppOauthTokensRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemGithubAppOauthTokensRequestBuilder) WithUrl(rawUrl string) *ItemGithubAppOauthTokensRequestBuilder
- type ItemGithubAppOauthTokensRequestBuilderGetQueryParameters
- type UsersRequestBuilder
- type WithUser_ItemRequestBuilder
- func (m *WithUser_ItemRequestBuilder) AuthenticationTokens() *ItemAuthenticationTokensRequestBuilder
- func (m *WithUser_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *WithUser_ItemRequestBuilder) GithubAppOauthTokens() *ItemGithubAppOauthTokensRequestBuilder
- func (m *WithUser_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *WithUser_ItemRequestBuilder) WithUrl(rawUrl string) *WithUser_ItemRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateItemAuthenticationTokensGetResponseFromDiscriminatorValue ¶
func CreateItemAuthenticationTokensGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemAuthenticationTokensGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemAuthenticationTokensGetResponse_metaFromDiscriminatorValue ¶
func CreateItemAuthenticationTokensGetResponse_metaFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemAuthenticationTokensGetResponse_metaFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemGithubAppOauthTokensGetResponseFromDiscriminatorValue ¶
func CreateItemGithubAppOauthTokensGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemGithubAppOauthTokensGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemGithubAppOauthTokensGetResponse_metaFromDiscriminatorValue ¶
func CreateItemGithubAppOauthTokensGetResponse_metaFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemGithubAppOauthTokensGetResponse_metaFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
Types ¶
type ItemAuthenticationTokensGetResponse ¶
type ItemAuthenticationTokensGetResponse struct {
// contains filtered or unexported fields
}
func NewItemAuthenticationTokensGetResponse ¶
func NewItemAuthenticationTokensGetResponse() *ItemAuthenticationTokensGetResponse
NewItemAuthenticationTokensGetResponse instantiates a new ItemAuthenticationTokensGetResponse and sets the default values.
func (*ItemAuthenticationTokensGetResponse) GetAdditionalData ¶
func (m *ItemAuthenticationTokensGetResponse) 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 (*ItemAuthenticationTokensGetResponse) GetData ¶
func (m *ItemAuthenticationTokensGetResponse) GetData() []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.AuthenticationTokensable
GetData gets the data property value. The data property returns a []AuthenticationTokensable when successful
func (*ItemAuthenticationTokensGetResponse) GetFieldDeserializers ¶
func (m *ItemAuthenticationTokensGetResponse) 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 (*ItemAuthenticationTokensGetResponse) GetLinks ¶
func (m *ItemAuthenticationTokensGetResponse) GetLinks() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable
GetLinks gets the links property value. The links property returns a SelfWithPaginationable when successful
func (*ItemAuthenticationTokensGetResponse) GetMeta ¶
func (m *ItemAuthenticationTokensGetResponse) GetMeta() ItemAuthenticationTokensGetResponse_metaable
GetMeta gets the meta property value. The meta property returns a ItemAuthenticationTokensGetResponse_metaable when successful
func (*ItemAuthenticationTokensGetResponse) Serialize ¶
func (m *ItemAuthenticationTokensGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemAuthenticationTokensGetResponse) SetAdditionalData ¶
func (m *ItemAuthenticationTokensGetResponse) 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 (*ItemAuthenticationTokensGetResponse) SetData ¶
func (m *ItemAuthenticationTokensGetResponse) SetData(value []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.AuthenticationTokensable)
SetData sets the data property value. The data property
func (*ItemAuthenticationTokensGetResponse) SetLinks ¶
func (m *ItemAuthenticationTokensGetResponse) SetLinks(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable)
SetLinks sets the links property value. The links property
func (*ItemAuthenticationTokensGetResponse) SetMeta ¶
func (m *ItemAuthenticationTokensGetResponse) SetMeta(value ItemAuthenticationTokensGetResponse_metaable)
SetMeta sets the meta property value. The meta property
type ItemAuthenticationTokensGetResponse_meta ¶
type ItemAuthenticationTokensGetResponse_meta struct {
// contains filtered or unexported fields
}
func NewItemAuthenticationTokensGetResponse_meta ¶
func NewItemAuthenticationTokensGetResponse_meta() *ItemAuthenticationTokensGetResponse_meta
NewItemAuthenticationTokensGetResponse_meta instantiates a new ItemAuthenticationTokensGetResponse_meta and sets the default values.
func (*ItemAuthenticationTokensGetResponse_meta) GetAdditionalData ¶
func (m *ItemAuthenticationTokensGetResponse_meta) 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 (*ItemAuthenticationTokensGetResponse_meta) GetFieldDeserializers ¶
func (m *ItemAuthenticationTokensGetResponse_meta) 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 (*ItemAuthenticationTokensGetResponse_meta) GetPagination ¶
func (m *ItemAuthenticationTokensGetResponse_meta) GetPagination() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable
GetPagination gets the pagination property value. The pagination property returns a Paginationable when successful
func (*ItemAuthenticationTokensGetResponse_meta) Serialize ¶
func (m *ItemAuthenticationTokensGetResponse_meta) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemAuthenticationTokensGetResponse_meta) SetAdditionalData ¶
func (m *ItemAuthenticationTokensGetResponse_meta) 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 (*ItemAuthenticationTokensGetResponse_meta) SetPagination ¶
func (m *ItemAuthenticationTokensGetResponse_meta) SetPagination(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable)
SetPagination sets the pagination property value. The pagination property
type ItemAuthenticationTokensGetResponse_metaable ¶
type ItemAuthenticationTokensGetResponse_metaable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetPagination() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable
SetPagination(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable)
}
type ItemAuthenticationTokensGetResponseable ¶
type ItemAuthenticationTokensGetResponseable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetData() []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.AuthenticationTokensable
GetLinks() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable
GetMeta() ItemAuthenticationTokensGetResponse_metaable
SetData(value []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.AuthenticationTokensable)
SetLinks(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable)
SetMeta(value ItemAuthenticationTokensGetResponse_metaable)
}
type ItemAuthenticationTokensRequestBuilder ¶
type ItemAuthenticationTokensRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemAuthenticationTokensRequestBuilder builds and executes requests for operations under \users\{user_id}\authentication-tokens
func NewItemAuthenticationTokensRequestBuilder ¶
func NewItemAuthenticationTokensRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAuthenticationTokensRequestBuilder
NewItemAuthenticationTokensRequestBuilder instantiates a new ItemAuthenticationTokensRequestBuilder and sets the default values.
func NewItemAuthenticationTokensRequestBuilderInternal ¶
func NewItemAuthenticationTokensRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAuthenticationTokensRequestBuilder
NewItemAuthenticationTokensRequestBuilderInternal instantiates a new ItemAuthenticationTokensRequestBuilder and sets the default values.
func (*ItemAuthenticationTokensRequestBuilder) Get ¶
func (m *ItemAuthenticationTokensRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemAuthenticationTokensRequestBuilderGetQueryParameters]) (ItemAuthenticationTokensGetResponseable, error)
Get list all tokens for a specified user returns a ItemAuthenticationTokensGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code
func (*ItemAuthenticationTokensRequestBuilder) Post ¶
func (m *ItemAuthenticationTokensRequestBuilder) Post(ctx context.Context, body i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.AuthenticationTokensEnvelopeable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.AuthenticationTokensEnvelopeable, error)
Post create a user token returns a AuthenticationTokensEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code
func (*ItemAuthenticationTokensRequestBuilder) ToGetRequestInformation ¶
func (m *ItemAuthenticationTokensRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemAuthenticationTokensRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list all tokens for a specified user returns a *RequestInformation when successful
func (*ItemAuthenticationTokensRequestBuilder) ToPostRequestInformation ¶
func (m *ItemAuthenticationTokensRequestBuilder) ToPostRequestInformation(ctx context.Context, body i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.AuthenticationTokensEnvelopeable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a user token returns a *RequestInformation when successful
func (*ItemAuthenticationTokensRequestBuilder) WithUrl ¶
func (m *ItemAuthenticationTokensRequestBuilder) WithUrl(rawUrl string) *ItemAuthenticationTokensRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemAuthenticationTokensRequestBuilder when successful
type ItemAuthenticationTokensRequestBuilderGetQueryParameters ¶
type ItemAuthenticationTokensRequestBuilderGetQueryParameters struct {
// The page number to retrieve.
Pagenumber *int32 "uriparametername:\"page%5Bnumber%5D\""
// The number of items to retrieve per page. Defaults to 20.
Pagesize *int32 "uriparametername:\"page%5Bsize%5D\""
}
ItemAuthenticationTokensRequestBuilderGetQueryParameters list all tokens for a specified user
type ItemGithubAppOauthTokensGetResponse ¶
type ItemGithubAppOauthTokensGetResponse struct {
// contains filtered or unexported fields
}
func NewItemGithubAppOauthTokensGetResponse ¶
func NewItemGithubAppOauthTokensGetResponse() *ItemGithubAppOauthTokensGetResponse
NewItemGithubAppOauthTokensGetResponse instantiates a new ItemGithubAppOauthTokensGetResponse and sets the default values.
func (*ItemGithubAppOauthTokensGetResponse) GetAdditionalData ¶
func (m *ItemGithubAppOauthTokensGetResponse) 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 (*ItemGithubAppOauthTokensGetResponse) GetData ¶
func (m *ItemGithubAppOauthTokensGetResponse) GetData() []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.GithubAppOauthTokensable
GetData gets the data property value. The data property returns a []GithubAppOauthTokensable when successful
func (*ItemGithubAppOauthTokensGetResponse) GetFieldDeserializers ¶
func (m *ItemGithubAppOauthTokensGetResponse) 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 (*ItemGithubAppOauthTokensGetResponse) GetLinks ¶
func (m *ItemGithubAppOauthTokensGetResponse) GetLinks() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable
GetLinks gets the links property value. The links property returns a SelfWithPaginationable when successful
func (*ItemGithubAppOauthTokensGetResponse) GetMeta ¶
func (m *ItemGithubAppOauthTokensGetResponse) GetMeta() ItemGithubAppOauthTokensGetResponse_metaable
GetMeta gets the meta property value. The meta property returns a ItemGithubAppOauthTokensGetResponse_metaable when successful
func (*ItemGithubAppOauthTokensGetResponse) Serialize ¶
func (m *ItemGithubAppOauthTokensGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemGithubAppOauthTokensGetResponse) SetAdditionalData ¶
func (m *ItemGithubAppOauthTokensGetResponse) 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 (*ItemGithubAppOauthTokensGetResponse) SetData ¶
func (m *ItemGithubAppOauthTokensGetResponse) SetData(value []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.GithubAppOauthTokensable)
SetData sets the data property value. The data property
func (*ItemGithubAppOauthTokensGetResponse) SetLinks ¶
func (m *ItemGithubAppOauthTokensGetResponse) SetLinks(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable)
SetLinks sets the links property value. The links property
func (*ItemGithubAppOauthTokensGetResponse) SetMeta ¶
func (m *ItemGithubAppOauthTokensGetResponse) SetMeta(value ItemGithubAppOauthTokensGetResponse_metaable)
SetMeta sets the meta property value. The meta property
type ItemGithubAppOauthTokensGetResponse_meta ¶
type ItemGithubAppOauthTokensGetResponse_meta struct {
// contains filtered or unexported fields
}
func NewItemGithubAppOauthTokensGetResponse_meta ¶
func NewItemGithubAppOauthTokensGetResponse_meta() *ItemGithubAppOauthTokensGetResponse_meta
NewItemGithubAppOauthTokensGetResponse_meta instantiates a new ItemGithubAppOauthTokensGetResponse_meta and sets the default values.
func (*ItemGithubAppOauthTokensGetResponse_meta) GetAdditionalData ¶
func (m *ItemGithubAppOauthTokensGetResponse_meta) 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 (*ItemGithubAppOauthTokensGetResponse_meta) GetFieldDeserializers ¶
func (m *ItemGithubAppOauthTokensGetResponse_meta) 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 (*ItemGithubAppOauthTokensGetResponse_meta) GetPagination ¶
func (m *ItemGithubAppOauthTokensGetResponse_meta) GetPagination() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable
GetPagination gets the pagination property value. The pagination property returns a Paginationable when successful
func (*ItemGithubAppOauthTokensGetResponse_meta) Serialize ¶
func (m *ItemGithubAppOauthTokensGetResponse_meta) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemGithubAppOauthTokensGetResponse_meta) SetAdditionalData ¶
func (m *ItemGithubAppOauthTokensGetResponse_meta) 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 (*ItemGithubAppOauthTokensGetResponse_meta) SetPagination ¶
func (m *ItemGithubAppOauthTokensGetResponse_meta) SetPagination(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable)
SetPagination sets the pagination property value. The pagination property
type ItemGithubAppOauthTokensGetResponse_metaable ¶
type ItemGithubAppOauthTokensGetResponse_metaable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetPagination() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable
SetPagination(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable)
}
type ItemGithubAppOauthTokensGetResponseable ¶
type ItemGithubAppOauthTokensGetResponseable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetData() []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.GithubAppOauthTokensable
GetLinks() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable
GetMeta() ItemGithubAppOauthTokensGetResponse_metaable
SetData(value []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.GithubAppOauthTokensable)
SetLinks(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable)
SetMeta(value ItemGithubAppOauthTokensGetResponse_metaable)
}
type ItemGithubAppOauthTokensRequestBuilder ¶
type ItemGithubAppOauthTokensRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemGithubAppOauthTokensRequestBuilder builds and executes requests for operations under \users\{user_id}\github-app-oauth-tokens
func NewItemGithubAppOauthTokensRequestBuilder ¶
func NewItemGithubAppOauthTokensRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemGithubAppOauthTokensRequestBuilder
NewItemGithubAppOauthTokensRequestBuilder instantiates a new ItemGithubAppOauthTokensRequestBuilder and sets the default values.
func NewItemGithubAppOauthTokensRequestBuilderInternal ¶
func NewItemGithubAppOauthTokensRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemGithubAppOauthTokensRequestBuilder
NewItemGithubAppOauthTokensRequestBuilderInternal instantiates a new ItemGithubAppOauthTokensRequestBuilder and sets the default values.
func (*ItemGithubAppOauthTokensRequestBuilder) Get ¶
func (m *ItemGithubAppOauthTokensRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemGithubAppOauthTokensRequestBuilderGetQueryParameters]) (ItemGithubAppOauthTokensGetResponseable, error)
Get list GitHub App OAuth tokens for a given user. returns a ItemGithubAppOauthTokensGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code
func (*ItemGithubAppOauthTokensRequestBuilder) ToGetRequestInformation ¶
func (m *ItemGithubAppOauthTokensRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemGithubAppOauthTokensRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list GitHub App OAuth tokens for a given user. returns a *RequestInformation when successful
func (*ItemGithubAppOauthTokensRequestBuilder) WithUrl ¶
func (m *ItemGithubAppOauthTokensRequestBuilder) WithUrl(rawUrl string) *ItemGithubAppOauthTokensRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemGithubAppOauthTokensRequestBuilder when successful
type ItemGithubAppOauthTokensRequestBuilderGetQueryParameters ¶
type ItemGithubAppOauthTokensRequestBuilderGetQueryParameters struct {
// The page number to retrieve.
Pagenumber *int32 "uriparametername:\"page%5Bnumber%5D\""
// The number of items to retrieve per page. Defaults to 20.
Pagesize *int32 "uriparametername:\"page%5Bsize%5D\""
}
ItemGithubAppOauthTokensRequestBuilderGetQueryParameters list GitHub App OAuth tokens for a given user.
type UsersRequestBuilder ¶
type UsersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
UsersRequestBuilder builds and executes requests for operations under \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) ByUser_id ¶
func (m *UsersRequestBuilder) ByUser_id(user_id string) *WithUser_ItemRequestBuilder
ByUser_id gets an item from the github.com/hashicorp/go-tfe/v2/api.users.item collection returns a *WithUser_ItemRequestBuilder when successful
type WithUser_ItemRequestBuilder ¶
type WithUser_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
WithUser_ItemRequestBuilder builds and executes requests for operations under \users\{user_id}
func NewWithUser_ItemRequestBuilder ¶
func NewWithUser_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithUser_ItemRequestBuilder
NewWithUser_ItemRequestBuilder instantiates a new WithUser_ItemRequestBuilder and sets the default values.
func NewWithUser_ItemRequestBuilderInternal ¶
func NewWithUser_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithUser_ItemRequestBuilder
NewWithUser_ItemRequestBuilderInternal instantiates a new WithUser_ItemRequestBuilder and sets the default values.
func (*WithUser_ItemRequestBuilder) AuthenticationTokens ¶
func (m *WithUser_ItemRequestBuilder) AuthenticationTokens() *ItemAuthenticationTokensRequestBuilder
AuthenticationTokens the authenticationTokens property returns a *ItemAuthenticationTokensRequestBuilder when successful
func (*WithUser_ItemRequestBuilder) Get ¶
func (m *WithUser_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.UsersEnvelopeable, error)
Get shows details for a given user. returns a UsersEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code
func (*WithUser_ItemRequestBuilder) GithubAppOauthTokens ¶
func (m *WithUser_ItemRequestBuilder) GithubAppOauthTokens() *ItemGithubAppOauthTokensRequestBuilder
GithubAppOauthTokens the githubAppOauthTokens property returns a *ItemGithubAppOauthTokensRequestBuilder when successful
func (*WithUser_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *WithUser_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation shows details for a given user. returns a *RequestInformation when successful
func (*WithUser_ItemRequestBuilder) WithUrl ¶
func (m *WithUser_ItemRequestBuilder) WithUrl(rawUrl string) *WithUser_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 *WithUser_ItemRequestBuilder when successful
Source Files
¶
- item_authentication_tokens_get_response.go
- item_authentication_tokens_get_response_escaped_meta.go
- item_authentication_tokens_request_builder.go
- item_github_app_oauth_tokens_get_response.go
- item_github_app_oauth_tokens_get_response_escaped_meta.go
- item_github_app_oauth_tokens_request_builder.go
- users_request_builder.go
- with_user_escaped_item_request_builder.go