Documentation ¶
Index ¶
- func ValidateApiIssueID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCommentID(input interface{}, key string) (warnings []string, errors []error)
- type ApiIssueCommentClient
- func (c ApiIssueCommentClient) CreateOrUpdate(ctx context.Context, id CommentId, input IssueCommentContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ApiIssueCommentClient) Delete(ctx context.Context, id CommentId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ApiIssueCommentClient) Get(ctx context.Context, id CommentId) (result GetOperationResponse, err error)
- func (c ApiIssueCommentClient) GetEntityTag(ctx context.Context, id CommentId) (result GetEntityTagOperationResponse, err error)
- func (c ApiIssueCommentClient) ListByService(ctx context.Context, id ApiIssueId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c ApiIssueCommentClient) ListByServiceComplete(ctx context.Context, id ApiIssueId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c ApiIssueCommentClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiIssueId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- type ApiIssueId
- type CommentId
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type IssueCommentContract
- type IssueCommentContractOperationPredicate
- type IssueCommentContractProperties
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateApiIssueID ¶ added in v0.20230727.1090744
ValidateApiIssueID checks that 'input' can be parsed as a Api Issue ID
func ValidateCommentID ¶
ValidateCommentID checks that 'input' can be parsed as a Comment ID
Types ¶
type ApiIssueCommentClient ¶
type ApiIssueCommentClient struct {
Client *resourcemanager.Client
}
func NewApiIssueCommentClientWithBaseURI ¶
func NewApiIssueCommentClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiIssueCommentClient, error)
func (ApiIssueCommentClient) CreateOrUpdate ¶
func (c ApiIssueCommentClient) CreateOrUpdate(ctx context.Context, id CommentId, input IssueCommentContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApiIssueCommentClient) Delete ¶
func (c ApiIssueCommentClient) Delete(ctx context.Context, id CommentId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ApiIssueCommentClient) Get ¶
func (c ApiIssueCommentClient) Get(ctx context.Context, id CommentId) (result GetOperationResponse, err error)
Get ...
func (ApiIssueCommentClient) GetEntityTag ¶
func (c ApiIssueCommentClient) GetEntityTag(ctx context.Context, id CommentId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (ApiIssueCommentClient) ListByService ¶
func (c ApiIssueCommentClient) ListByService(ctx context.Context, id ApiIssueId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (ApiIssueCommentClient) ListByServiceComplete ¶
func (c ApiIssueCommentClient) ListByServiceComplete(ctx context.Context, id ApiIssueId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (ApiIssueCommentClient) ListByServiceCompleteMatchingPredicate ¶
func (c ApiIssueCommentClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiIssueId, options ListByServiceOperationOptions, predicate IssueCommentContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ApiIssueId ¶ added in v0.20230727.1090744
type ApiIssueId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string IssueId string }
ApiIssueId is a struct representing the Resource ID for a Api Issue
func NewApiIssueID ¶ added in v0.20230727.1090744
func NewApiIssueID(subscriptionId string, resourceGroupName string, serviceName string, apiId string, issueId string) ApiIssueId
NewApiIssueID returns a new ApiIssueId struct
func ParseApiIssueID ¶ added in v0.20230727.1090744
func ParseApiIssueID(input string) (*ApiIssueId, error)
ParseApiIssueID parses 'input' into a ApiIssueId
func ParseApiIssueIDInsensitively ¶ added in v0.20230727.1090744
func ParseApiIssueIDInsensitively(input string) (*ApiIssueId, error)
ParseApiIssueIDInsensitively parses 'input' case-insensitively into a ApiIssueId note: this method should only be used for API response data and not user input
func (*ApiIssueId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ApiIssueId) FromParseResult(input resourceids.ParseResult) error
func (ApiIssueId) ID ¶ added in v0.20230727.1090744
func (id ApiIssueId) ID() string
ID returns the formatted Api Issue ID
func (ApiIssueId) Segments ¶ added in v0.20230727.1090744
func (id ApiIssueId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api Issue ID
func (ApiIssueId) String ¶ added in v0.20230727.1090744
func (id ApiIssueId) String() string
String returns a human-readable description of this Api Issue ID
type CommentId ¶
type CommentId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string IssueId string CommentId string }
CommentId is a struct representing the Resource ID for a Comment
func NewCommentID ¶
func NewCommentID(subscriptionId string, resourceGroupName string, serviceName string, apiId string, issueId string, commentId string) CommentId
NewCommentID returns a new CommentId struct
func ParseCommentID ¶
ParseCommentID parses 'input' into a CommentId
func ParseCommentIDInsensitively ¶
ParseCommentIDInsensitively parses 'input' case-insensitively into a CommentId note: this method should only be used for API response data and not user input
func (*CommentId) FromParseResult ¶ added in v0.20231127.1171502
func (id *CommentId) FromParseResult(input resourceids.ParseResult) error
func (CommentId) Segments ¶
func (id CommentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Comment ID
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *IssueCommentContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *IssueCommentContract }
type IssueCommentContract ¶
type IssueCommentContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *IssueCommentContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type IssueCommentContractOperationPredicate ¶
func (IssueCommentContractOperationPredicate) Matches ¶
func (p IssueCommentContractOperationPredicate) Matches(input IssueCommentContract) bool
type IssueCommentContractProperties ¶
type IssueCommentContractProperties struct { CreatedDate *string `json:"createdDate,omitempty"` Text string `json:"text"` UserId string `json:"userId"` }
func (*IssueCommentContractProperties) GetCreatedDateAsTime ¶
func (o *IssueCommentContractProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*IssueCommentContractProperties) SetCreatedDateAsTime ¶
func (o *IssueCommentContractProperties) SetCreatedDateAsTime(input time.Time)
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []IssueCommentContract }
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]IssueCommentContract }