Documentation ¶
Index ¶
- func PossibleValuesForState() []string
- func ValidateIssueID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type IssueClient
- func (c IssueClient) Get(ctx context.Context, id IssueId) (result GetOperationResponse, err error)
- func (c IssueClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
- func (c IssueClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c IssueClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (resp ListByServiceCompleteResult, err error)
- type IssueContract
- type IssueContractOperationPredicate
- type IssueContractProperties
- type IssueId
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ServiceId
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForState ¶
func PossibleValuesForState() []string
func ValidateIssueID ¶
ValidateIssueID checks that 'input' can be parsed as a Issue ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *IssueContract }
type IssueClient ¶
func NewIssueClientWithBaseURI ¶
func NewIssueClientWithBaseURI(endpoint string) IssueClient
func (IssueClient) Get ¶
func (c IssueClient) Get(ctx context.Context, id IssueId) (result GetOperationResponse, err error)
Get ...
func (IssueClient) ListByService ¶
func (c IssueClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (IssueClient) ListByServiceComplete ¶
func (c IssueClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (IssueClient) ListByServiceCompleteMatchingPredicate ¶
func (c IssueClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate IssueContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type IssueContract ¶
type IssueContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *IssueContractProperties `json:"properties"` 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 ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []IssueContract
}
type ListByServiceOperationOptions ¶
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 ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID