Documentation ¶
Index ¶
- func ValidateCommentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateIssueID(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 IssueId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
- func (c ApiIssueCommentClient) ListByServiceComplete(ctx context.Context, id IssueId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c ApiIssueCommentClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id IssueId, options ListByServiceOperationOptions, ...) (resp ListByServiceCompleteResult, err error)
- type CommentId
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type IssueCommentContract
- type IssueCommentContractOperationPredicate
- type IssueCommentContractProperties
- type IssueId
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCommentID ¶
ValidateCommentID checks that 'input' can be parsed as a Comment ID
func ValidateIssueID ¶
ValidateIssueID checks that 'input' can be parsed as a Issue ID
Types ¶
type ApiIssueCommentClient ¶
type ApiIssueCommentClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewApiIssueCommentClientWithBaseURI ¶
func NewApiIssueCommentClientWithBaseURI(endpoint string) ApiIssueCommentClient
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 IssueId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (ApiIssueCommentClient) ListByServiceComplete ¶
func (c ApiIssueCommentClient) ListByServiceComplete(ctx context.Context, id IssueId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (ApiIssueCommentClient) ListByServiceCompleteMatchingPredicate ¶
func (c ApiIssueCommentClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id IssueId, options ListByServiceOperationOptions, predicate IssueCommentContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
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) 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
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *IssueCommentContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response 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 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 ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []IssueCommentContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]IssueCommentContract // 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)