Documentation ¶
Index ¶
- func PossibleValuesForState() []string
- func ValidateApiID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateIssueID(input interface{}, key string) (warnings []string, errors []error)
- type ApiId
- type ApiIssueClient
- func (c ApiIssueClient) CreateOrUpdate(ctx context.Context, id IssueId, input IssueContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ApiIssueClient) Delete(ctx context.Context, id IssueId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ApiIssueClient) Get(ctx context.Context, id IssueId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c ApiIssueClient) GetEntityTag(ctx context.Context, id IssueId) (result GetEntityTagOperationResponse, err error)
- func (c ApiIssueClient) ListByService(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
- func (c ApiIssueClient) ListByServiceComplete(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c ApiIssueClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByServiceOperationOptions, ...) (resp ListByServiceCompleteResult, err error)
- func (c ApiIssueClient) Update(ctx context.Context, id IssueId, input IssueUpdateContract, ...) (result UpdateOperationResponse, err error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type IssueContract
- type IssueContractOperationPredicate
- type IssueContractProperties
- type IssueId
- type IssueUpdateContract
- type IssueUpdateContractProperties
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type State
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForState ¶
func PossibleValuesForState() []string
func ValidateApiID ¶
ValidateApiID checks that 'input' can be parsed as a Api ID
func ValidateIssueID ¶
ValidateIssueID checks that 'input' can be parsed as a Issue ID
Types ¶
type ApiId ¶
type ApiId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string }
ApiId is a struct representing the Resource ID for a Api
func NewApiID ¶
func NewApiID(subscriptionId string, resourceGroupName string, serviceName string, apiId string) ApiId
NewApiID returns a new ApiId struct
func ParseApiID ¶
ParseApiID parses 'input' into a ApiId
func ParseApiIDInsensitively ¶
ParseApiIDInsensitively parses 'input' case-insensitively into a ApiId note: this method should only be used for API response data and not user input
func (ApiId) Segments ¶
func (id ApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api ID
type ApiIssueClient ¶
func NewApiIssueClientWithBaseURI ¶
func NewApiIssueClientWithBaseURI(endpoint string) ApiIssueClient
func (ApiIssueClient) CreateOrUpdate ¶
func (c ApiIssueClient) CreateOrUpdate(ctx context.Context, id IssueId, input IssueContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApiIssueClient) Delete ¶
func (c ApiIssueClient) Delete(ctx context.Context, id IssueId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ApiIssueClient) Get ¶
func (c ApiIssueClient) Get(ctx context.Context, id IssueId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (ApiIssueClient) GetEntityTag ¶
func (c ApiIssueClient) GetEntityTag(ctx context.Context, id IssueId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (ApiIssueClient) ListByService ¶
func (c ApiIssueClient) ListByService(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (ApiIssueClient) ListByServiceComplete ¶
func (c ApiIssueClient) ListByServiceComplete(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (ApiIssueClient) ListByServiceCompleteMatchingPredicate ¶
func (c ApiIssueClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByServiceOperationOptions, predicate IssueContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ApiIssueClient) Update ¶
func (c ApiIssueClient) Update(ctx context.Context, id IssueId, input IssueUpdateContract, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *IssueContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
ExpandCommentsAttachments *bool
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *IssueContract }
type IssueContract ¶
type IssueContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *IssueContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type IssueContractOperationPredicate ¶
func (IssueContractOperationPredicate) Matches ¶
func (p IssueContractOperationPredicate) Matches(input IssueContract) bool
type IssueContractProperties ¶
type IssueContractProperties struct { ApiId *string `json:"apiId,omitempty"` CreatedDate *string `json:"createdDate,omitempty"` Description string `json:"description"` State *State `json:"state,omitempty"` Title string `json:"title"` UserId string `json:"userId"` }
func (*IssueContractProperties) GetCreatedDateAsTime ¶
func (o *IssueContractProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*IssueContractProperties) SetCreatedDateAsTime ¶
func (o *IssueContractProperties) SetCreatedDateAsTime(input time.Time)
type IssueId ¶
type IssueId struct { SubscriptionId string ResourceGroupName string ServiceName string IssueId string }
IssueId is a struct representing the Resource ID for a Issue
func NewIssueID ¶
func NewIssueID(subscriptionId string, resourceGroupName string, serviceName string, issueId string) IssueId
NewIssueID returns a new IssueId struct
func ParseIssueID ¶
ParseIssueID parses 'input' into a IssueId
func ParseIssueIDInsensitively ¶
ParseIssueIDInsensitively parses 'input' case-insensitively into a IssueId note: this method should only be used for API response data and not user input
func (IssueId) Segments ¶
func (id IssueId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Issue ID
type IssueUpdateContract ¶
type IssueUpdateContract struct {
Properties *IssueUpdateContractProperties `json:"properties,omitempty"`
}
type IssueUpdateContractProperties ¶
type IssueUpdateContractProperties struct { ApiId *string `json:"apiId,omitempty"` CreatedDate *string `json:"createdDate,omitempty"` Description *string `json:"description,omitempty"` State *State `json:"state,omitempty"` Title *string `json:"title,omitempty"` UserId *string `json:"userId,omitempty"` }
func (*IssueUpdateContractProperties) GetCreatedDateAsTime ¶
func (o *IssueUpdateContractProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*IssueUpdateContractProperties) SetCreatedDateAsTime ¶
func (o *IssueUpdateContractProperties) SetCreatedDateAsTime(input time.Time)
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []IssueContract
}
type ListByServiceOperationOptions ¶
type ListByServiceOperationOptions struct { ExpandCommentsAttachments *bool Filter *string Skip *int64 Top *int64 }
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]IssueContract // contains filtered or unexported fields }
func (ListByServiceOperationResponse) HasMore ¶
func (r ListByServiceOperationResponse) HasMore() bool
func (ListByServiceOperationResponse) LoadMore ¶
func (r ListByServiceOperationResponse) LoadMore(ctx context.Context) (resp ListByServiceOperationResponse, err error)
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *IssueContract }
Source Files ¶
- client.go
- constants.go
- id_api.go
- id_issue.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getentitytag_autorest.go
- method_listbyservice_autorest.go
- method_update_autorest.go
- model_issuecontract.go
- model_issuecontractproperties.go
- model_issueupdatecontract.go
- model_issueupdatecontractproperties.go
- predicates.go
- version.go