Documentation
¶
Index ¶
- func CreateItemAgentsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemAgentsGetResponse_metaFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemAuthenticationTokensGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemAuthenticationTokensGetResponse_metaFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type AgentPoolsRequestBuilder
- type ItemAgentsGetResponse
- func (m *ItemAgentsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemAgentsGetResponse) GetData() []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Agentsable
- func (m *ItemAgentsGetResponse) GetFieldDeserializers() ...
- func (m *ItemAgentsGetResponse) GetLinks() ...
- func (m *ItemAgentsGetResponse) GetMeta() ItemAgentsGetResponse_metaable
- func (m *ItemAgentsGetResponse) Serialize(...) error
- func (m *ItemAgentsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemAgentsGetResponse) SetData(...)
- func (m *ItemAgentsGetResponse) SetLinks(...)
- func (m *ItemAgentsGetResponse) SetMeta(value ItemAgentsGetResponse_metaable)
- type ItemAgentsGetResponse_meta
- func (m *ItemAgentsGetResponse_meta) GetAdditionalData() map[string]any
- func (m *ItemAgentsGetResponse_meta) GetFieldDeserializers() ...
- func (m *ItemAgentsGetResponse_meta) GetPagination() ...
- func (m *ItemAgentsGetResponse_meta) Serialize(...) error
- func (m *ItemAgentsGetResponse_meta) SetAdditionalData(value map[string]any)
- func (m *ItemAgentsGetResponse_meta) SetPagination(...)
- type ItemAgentsGetResponse_metaable
- type ItemAgentsGetResponseable
- type ItemAgentsRequestBuilder
- type ItemAgentsRequestBuilderGetQueryParameters
- 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 WithAgent_pool_ItemRequestBuilder
- func (m *WithAgent_pool_ItemRequestBuilder) Agents() *ItemAgentsRequestBuilder
- func (m *WithAgent_pool_ItemRequestBuilder) AuthenticationTokens() *ItemAuthenticationTokensRequestBuilder
- func (m *WithAgent_pool_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *WithAgent_pool_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *WithAgent_pool_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *WithAgent_pool_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *WithAgent_pool_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *WithAgent_pool_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *WithAgent_pool_ItemRequestBuilder) WithUrl(rawUrl string) *WithAgent_pool_ItemRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateItemAgentsGetResponseFromDiscriminatorValue ¶
func CreateItemAgentsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemAgentsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemAgentsGetResponse_metaFromDiscriminatorValue ¶
func CreateItemAgentsGetResponse_metaFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemAgentsGetResponse_metaFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
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
Types ¶
type AgentPoolsRequestBuilder ¶
type AgentPoolsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
AgentPoolsRequestBuilder builds and executes requests for operations under \agent-pools
func NewAgentPoolsRequestBuilder ¶
func NewAgentPoolsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AgentPoolsRequestBuilder
NewAgentPoolsRequestBuilder instantiates a new AgentPoolsRequestBuilder and sets the default values.
func NewAgentPoolsRequestBuilderInternal ¶
func NewAgentPoolsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AgentPoolsRequestBuilder
NewAgentPoolsRequestBuilderInternal instantiates a new AgentPoolsRequestBuilder and sets the default values.
func (*AgentPoolsRequestBuilder) ByAgent_pool_id ¶
func (m *AgentPoolsRequestBuilder) ByAgent_pool_id(agent_pool_id string) *WithAgent_pool_ItemRequestBuilder
ByAgent_pool_id gets an item from the github.com/hashicorp/go-tfe/v2/api.agentPools.item collection returns a *WithAgent_pool_ItemRequestBuilder when successful
type ItemAgentsGetResponse ¶
type ItemAgentsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemAgentsGetResponse ¶
func NewItemAgentsGetResponse() *ItemAgentsGetResponse
NewItemAgentsGetResponse instantiates a new ItemAgentsGetResponse and sets the default values.
func (*ItemAgentsGetResponse) GetAdditionalData ¶
func (m *ItemAgentsGetResponse) 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 (*ItemAgentsGetResponse) GetData ¶
func (m *ItemAgentsGetResponse) GetData() []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Agentsable
GetData gets the data property value. The data property returns a []Agentsable when successful
func (*ItemAgentsGetResponse) GetFieldDeserializers ¶
func (m *ItemAgentsGetResponse) 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 (*ItemAgentsGetResponse) GetLinks ¶
func (m *ItemAgentsGetResponse) GetLinks() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable
GetLinks gets the links property value. The links property returns a SelfWithPaginationable when successful
func (*ItemAgentsGetResponse) GetMeta ¶
func (m *ItemAgentsGetResponse) GetMeta() ItemAgentsGetResponse_metaable
GetMeta gets the meta property value. The meta property returns a ItemAgentsGetResponse_metaable when successful
func (*ItemAgentsGetResponse) Serialize ¶
func (m *ItemAgentsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemAgentsGetResponse) SetAdditionalData ¶
func (m *ItemAgentsGetResponse) 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 (*ItemAgentsGetResponse) SetData ¶
func (m *ItemAgentsGetResponse) SetData(value []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Agentsable)
SetData sets the data property value. The data property
func (*ItemAgentsGetResponse) SetLinks ¶
func (m *ItemAgentsGetResponse) SetLinks(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable)
SetLinks sets the links property value. The links property
func (*ItemAgentsGetResponse) SetMeta ¶
func (m *ItemAgentsGetResponse) SetMeta(value ItemAgentsGetResponse_metaable)
SetMeta sets the meta property value. The meta property
type ItemAgentsGetResponse_meta ¶
type ItemAgentsGetResponse_meta struct {
// contains filtered or unexported fields
}
func NewItemAgentsGetResponse_meta ¶
func NewItemAgentsGetResponse_meta() *ItemAgentsGetResponse_meta
NewItemAgentsGetResponse_meta instantiates a new ItemAgentsGetResponse_meta and sets the default values.
func (*ItemAgentsGetResponse_meta) GetAdditionalData ¶
func (m *ItemAgentsGetResponse_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 (*ItemAgentsGetResponse_meta) GetFieldDeserializers ¶
func (m *ItemAgentsGetResponse_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 (*ItemAgentsGetResponse_meta) GetPagination ¶
func (m *ItemAgentsGetResponse_meta) GetPagination() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable
GetPagination gets the pagination property value. The pagination property returns a Paginationable when successful
func (*ItemAgentsGetResponse_meta) Serialize ¶
func (m *ItemAgentsGetResponse_meta) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemAgentsGetResponse_meta) SetAdditionalData ¶
func (m *ItemAgentsGetResponse_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 (*ItemAgentsGetResponse_meta) SetPagination ¶
func (m *ItemAgentsGetResponse_meta) SetPagination(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable)
SetPagination sets the pagination property value. The pagination property
type ItemAgentsGetResponse_metaable ¶
type ItemAgentsGetResponse_metaable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetPagination() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable
SetPagination(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Paginationable)
}
type ItemAgentsGetResponseable ¶
type ItemAgentsGetResponseable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetData() []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Agentsable
GetLinks() i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable
GetMeta() ItemAgentsGetResponse_metaable
SetData(value []i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.Agentsable)
SetLinks(value i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.SelfWithPaginationable)
SetMeta(value ItemAgentsGetResponse_metaable)
}
type ItemAgentsRequestBuilder ¶
type ItemAgentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemAgentsRequestBuilder builds and executes requests for operations under \agent-pools\{agent_pool_id}\agents
func NewItemAgentsRequestBuilder ¶
func NewItemAgentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAgentsRequestBuilder
NewItemAgentsRequestBuilder instantiates a new ItemAgentsRequestBuilder and sets the default values.
func NewItemAgentsRequestBuilderInternal ¶
func NewItemAgentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAgentsRequestBuilder
NewItemAgentsRequestBuilderInternal instantiates a new ItemAgentsRequestBuilder and sets the default values.
func (*ItemAgentsRequestBuilder) Get ¶
func (m *ItemAgentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemAgentsRequestBuilderGetQueryParameters]) (ItemAgentsGetResponseable, error)
Get list all agents in the specified agent pool. returns a ItemAgentsGetResponseable when successful returns a Errors error when the service returns a 4XX or 5XX status code
func (*ItemAgentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemAgentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemAgentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list all agents in the specified agent pool. returns a *RequestInformation when successful
func (*ItemAgentsRequestBuilder) WithUrl ¶
func (m *ItemAgentsRequestBuilder) WithUrl(rawUrl string) *ItemAgentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemAgentsRequestBuilder when successful
type ItemAgentsRequestBuilderGetQueryParameters ¶
type ItemAgentsRequestBuilderGetQueryParameters struct {
// Accepts a date in ISO8601 format (ex. `2020-08-11T10:41:23Z`).
FilterlastPingSince *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time "uriparametername:\"filter%5Blast%2Dping%2Dsince%5D\""
// 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\""
// Allows sorting the returned agents. Valid value is "created-at". Prepending a hyphen to the sort parameter will reverse the order (e.g. "-name").
Sort *string "uriparametername:\"sort\""
}
ItemAgentsRequestBuilderGetQueryParameters list all agents in the specified agent pool.
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 \agent-pools\{agent_pool_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 the specified agent pool. 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 an agent token returns a AuthenticationTokensEnvelopeable when successful returns a Errors error when the service returns a 404 status code returns a Errors error when the service returns a 422 status code returns a Errors error when the service returns a 500 status code 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 the specified agent pool. 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 an agent 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 the specified agent pool.
type WithAgent_pool_ItemRequestBuilder ¶
type WithAgent_pool_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
WithAgent_pool_ItemRequestBuilder builds and executes requests for operations under \agent-pools\{agent_pool_id}
func NewWithAgent_pool_ItemRequestBuilder ¶
func NewWithAgent_pool_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithAgent_pool_ItemRequestBuilder
NewWithAgent_pool_ItemRequestBuilder instantiates a new WithAgent_pool_ItemRequestBuilder and sets the default values.
func NewWithAgent_pool_ItemRequestBuilderInternal ¶
func NewWithAgent_pool_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithAgent_pool_ItemRequestBuilder
NewWithAgent_pool_ItemRequestBuilderInternal instantiates a new WithAgent_pool_ItemRequestBuilder and sets the default values.
func (*WithAgent_pool_ItemRequestBuilder) Agents ¶
func (m *WithAgent_pool_ItemRequestBuilder) Agents() *ItemAgentsRequestBuilder
Agents the agents property returns a *ItemAgentsRequestBuilder when successful
func (*WithAgent_pool_ItemRequestBuilder) AuthenticationTokens ¶
func (m *WithAgent_pool_ItemRequestBuilder) AuthenticationTokens() *ItemAuthenticationTokensRequestBuilder
AuthenticationTokens the authenticationTokens property returns a *ItemAuthenticationTokensRequestBuilder when successful
func (*WithAgent_pool_ItemRequestBuilder) Delete ¶
func (m *WithAgent_pool_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete delete an agent pool returns a Errors error when the service returns a 4XX or 5XX status code
func (*WithAgent_pool_ItemRequestBuilder) Get ¶
func (m *WithAgent_pool_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.AgentPoolsEnvelopeable, error)
Get get details about an agent pool returns a AgentPoolsEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code
func (*WithAgent_pool_ItemRequestBuilder) Patch ¶
func (m *WithAgent_pool_ItemRequestBuilder) Patch(ctx context.Context, body i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.AgentPoolsEnvelopeable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.AgentPoolsEnvelopeable, error)
Patch update an agent pool returns a AgentPoolsEnvelopeable when successful returns a Errors error when the service returns a 4XX or 5XX status code
func (*WithAgent_pool_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *WithAgent_pool_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation delete an agent pool returns a *RequestInformation when successful
func (*WithAgent_pool_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *WithAgent_pool_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get details about an agent pool returns a *RequestInformation when successful
func (*WithAgent_pool_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *WithAgent_pool_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i05d5aa6b14db285c2e8df48c915f7a7082b77b17cca0def522e18528f80bec16.AgentPoolsEnvelopeable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation update an agent pool returns a *RequestInformation when successful
func (*WithAgent_pool_ItemRequestBuilder) WithUrl ¶
func (m *WithAgent_pool_ItemRequestBuilder) WithUrl(rawUrl string) *WithAgent_pool_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 *WithAgent_pool_ItemRequestBuilder when successful
Source Files
¶
- agent_pools_request_builder.go
- item_agents_get_response.go
- item_agents_get_response_escaped_meta.go
- item_agents_request_builder.go
- item_authentication_tokens_get_response.go
- item_authentication_tokens_get_response_escaped_meta.go
- item_authentication_tokens_request_builder.go
- with_agent_escaped_pool_escaped_item_request_builder.go