Documentation ¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type ArtifactDownloadURL
- func (s *ArtifactDownloadURL) Decode(d *jx.Decoder) error
- func (s *ArtifactDownloadURL) Encode(e *jx.Encoder)
- func (s *ArtifactDownloadURL) GetExpiresAt() int
- func (s *ArtifactDownloadURL) GetURL() string
- func (s *ArtifactDownloadURL) MarshalJSON() ([]byte, error)
- func (s *ArtifactDownloadURL) SetExpiresAt(val int)
- func (s *ArtifactDownloadURL) SetURL(val string)
- func (s *ArtifactDownloadURL) UnmarshalJSON(data []byte) error
- type ArtifactMultipartUploadPart
- type ArtifactMultipartUploadParts
- func (s *ArtifactMultipartUploadParts) Decode(d *jx.Decoder) error
- func (s *ArtifactMultipartUploadParts) Encode(e *jx.Encoder)
- func (s *ArtifactMultipartUploadParts) GetParts() []ArtifactMultipartUploadPartsPartsItem
- func (s *ArtifactMultipartUploadParts) GetUploadID() string
- func (s *ArtifactMultipartUploadParts) MarshalJSON() ([]byte, error)
- func (s *ArtifactMultipartUploadParts) SetParts(val []ArtifactMultipartUploadPartsPartsItem)
- func (s *ArtifactMultipartUploadParts) SetUploadID(val string)
- func (s *ArtifactMultipartUploadParts) UnmarshalJSON(data []byte) error
- func (s *ArtifactMultipartUploadParts) Validate() error
- type ArtifactMultipartUploadPartsPartsItem
- func (s *ArtifactMultipartUploadPartsPartsItem) Decode(d *jx.Decoder) error
- func (s *ArtifactMultipartUploadPartsPartsItem) Encode(e *jx.Encoder)
- func (s *ArtifactMultipartUploadPartsPartsItem) GetEtag() string
- func (s *ArtifactMultipartUploadPartsPartsItem) GetPartNumber() int
- func (s *ArtifactMultipartUploadPartsPartsItem) MarshalJSON() ([]byte, error)
- func (s *ArtifactMultipartUploadPartsPartsItem) SetEtag(val string)
- func (s *ArtifactMultipartUploadPartsPartsItem) SetPartNumber(val int)
- func (s *ArtifactMultipartUploadPartsPartsItem) UnmarshalJSON(data []byte) error
- type ArtifactMultipartUploadURL
- func (s *ArtifactMultipartUploadURL) Decode(d *jx.Decoder) error
- func (s *ArtifactMultipartUploadURL) Encode(e *jx.Encoder)
- func (s *ArtifactMultipartUploadURL) GetData() ArtifactMultipartUploadURLData
- func (s *ArtifactMultipartUploadURL) GetStatus() ArtifactMultipartUploadURLStatus
- func (s *ArtifactMultipartUploadURL) MarshalJSON() ([]byte, error)
- func (s *ArtifactMultipartUploadURL) SetData(val ArtifactMultipartUploadURLData)
- func (s *ArtifactMultipartUploadURL) SetStatus(val ArtifactMultipartUploadURLStatus)
- func (s *ArtifactMultipartUploadURL) UnmarshalJSON(data []byte) error
- func (s *ArtifactMultipartUploadURL) Validate() error
- type ArtifactMultipartUploadURLData
- func (s *ArtifactMultipartUploadURLData) Decode(d *jx.Decoder) error
- func (s *ArtifactMultipartUploadURLData) Encode(e *jx.Encoder)
- func (s *ArtifactMultipartUploadURLData) GetURL() string
- func (s *ArtifactMultipartUploadURLData) MarshalJSON() ([]byte, error)
- func (s *ArtifactMultipartUploadURLData) SetURL(val string)
- func (s *ArtifactMultipartUploadURLData) UnmarshalJSON(data []byte) error
- type ArtifactMultipartUploadURLStatus
- func (ArtifactMultipartUploadURLStatus) AllValues() []ArtifactMultipartUploadURLStatus
- func (s *ArtifactMultipartUploadURLStatus) Decode(d *jx.Decoder) error
- func (s ArtifactMultipartUploadURLStatus) Encode(e *jx.Encoder)
- func (s ArtifactMultipartUploadURLStatus) MarshalJSON() ([]byte, error)
- func (s ArtifactMultipartUploadURLStatus) MarshalText() ([]byte, error)
- func (s *ArtifactMultipartUploadURLStatus) UnmarshalJSON(data []byte) error
- func (s *ArtifactMultipartUploadURLStatus) UnmarshalText(data []byte) error
- func (s ArtifactMultipartUploadURLStatus) Validate() error
- type ArtifactUploadID
- func (s *ArtifactUploadID) Decode(d *jx.Decoder) error
- func (s *ArtifactUploadID) Encode(e *jx.Encoder)
- func (s *ArtifactUploadID) GetData() ArtifactUploadIDData
- func (s *ArtifactUploadID) GetStatus() ArtifactUploadIDStatus
- func (s *ArtifactUploadID) MarshalJSON() ([]byte, error)
- func (s *ArtifactUploadID) SetData(val ArtifactUploadIDData)
- func (s *ArtifactUploadID) SetStatus(val ArtifactUploadIDStatus)
- func (s *ArtifactUploadID) UnmarshalJSON(data []byte) error
- func (s *ArtifactUploadID) Validate() error
- type ArtifactUploadIDData
- func (s *ArtifactUploadIDData) Decode(d *jx.Decoder) error
- func (s *ArtifactUploadIDData) Encode(e *jx.Encoder)
- func (s *ArtifactUploadIDData) GetUploadID() string
- func (s *ArtifactUploadIDData) MarshalJSON() ([]byte, error)
- func (s *ArtifactUploadIDData) SetUploadID(val string)
- func (s *ArtifactUploadIDData) UnmarshalJSON(data []byte) error
- type ArtifactUploadIDStatus
- func (ArtifactUploadIDStatus) AllValues() []ArtifactUploadIDStatus
- func (s *ArtifactUploadIDStatus) Decode(d *jx.Decoder) error
- func (s ArtifactUploadIDStatus) Encode(e *jx.Encoder)
- func (s ArtifactUploadIDStatus) MarshalJSON() ([]byte, error)
- func (s ArtifactUploadIDStatus) MarshalText() ([]byte, error)
- func (s *ArtifactUploadIDStatus) UnmarshalJSON(data []byte) error
- func (s *ArtifactUploadIDStatus) UnmarshalText(data []byte) error
- func (s ArtifactUploadIDStatus) Validate() error
- type AuthenticateReq
- func (s *AuthenticateReq) Decode(d *jx.Decoder) error
- func (s *AuthenticateReq) Encode(e *jx.Encoder)
- func (s *AuthenticateReq) GetEmail() string
- func (s *AuthenticateReq) GetPassword() string
- func (s *AuthenticateReq) MarshalJSON() ([]byte, error)
- func (s *AuthenticateReq) SetEmail(val string)
- func (s *AuthenticateReq) SetPassword(val string)
- func (s *AuthenticateReq) UnmarshalJSON(data []byte) error
- type AuthenticateRes
- type AuthenticationTokens
- func (s *AuthenticationTokens) Decode(d *jx.Decoder) error
- func (s *AuthenticationTokens) Encode(e *jx.Encoder)
- func (s *AuthenticationTokens) GetAccessToken() string
- func (s *AuthenticationTokens) GetRefreshToken() string
- func (s *AuthenticationTokens) MarshalJSON() ([]byte, error)
- func (s *AuthenticationTokens) SetAccessToken(val string)
- func (s *AuthenticationTokens) SetRefreshToken(val string)
- func (s *AuthenticationTokens) UnmarshalJSON(data []byte) error
- type Authorization
- type CacheActionItem
- func (s *CacheActionItem) Decode(d *jx.Decoder) error
- func (s *CacheActionItem) Encode(e *jx.Encoder)
- func (s *CacheActionItem) GetHash() string
- func (s *CacheActionItem) MarshalJSON() ([]byte, error)
- func (s *CacheActionItem) SetHash(val string)
- func (s *CacheActionItem) UnmarshalJSON(data []byte) error
- type CacheArtifactDownloadURL
- func (s *CacheArtifactDownloadURL) Decode(d *jx.Decoder) error
- func (s *CacheArtifactDownloadURL) Encode(e *jx.Encoder)
- func (s *CacheArtifactDownloadURL) GetData() CacheArtifactDownloadURLData
- func (s *CacheArtifactDownloadURL) GetStatus() CacheArtifactDownloadURLStatus
- func (s *CacheArtifactDownloadURL) MarshalJSON() ([]byte, error)
- func (s *CacheArtifactDownloadURL) SetData(val CacheArtifactDownloadURLData)
- func (s *CacheArtifactDownloadURL) SetStatus(val CacheArtifactDownloadURLStatus)
- func (s *CacheArtifactDownloadURL) UnmarshalJSON(data []byte) error
- func (s *CacheArtifactDownloadURL) Validate() error
- type CacheArtifactDownloadURLData
- func (s *CacheArtifactDownloadURLData) Decode(d *jx.Decoder) error
- func (s *CacheArtifactDownloadURLData) Encode(e *jx.Encoder)
- func (s *CacheArtifactDownloadURLData) GetExpiresAt() int
- func (s *CacheArtifactDownloadURLData) GetURL() string
- func (s *CacheArtifactDownloadURLData) MarshalJSON() ([]byte, error)
- func (s *CacheArtifactDownloadURLData) SetExpiresAt(val int)
- func (s *CacheArtifactDownloadURLData) SetURL(val string)
- func (s *CacheArtifactDownloadURLData) UnmarshalJSON(data []byte) error
- type CacheArtifactDownloadURLStatus
- func (CacheArtifactDownloadURLStatus) AllValues() []CacheArtifactDownloadURLStatus
- func (s *CacheArtifactDownloadURLStatus) Decode(d *jx.Decoder) error
- func (s CacheArtifactDownloadURLStatus) Encode(e *jx.Encoder)
- func (s CacheArtifactDownloadURLStatus) MarshalJSON() ([]byte, error)
- func (s CacheArtifactDownloadURLStatus) MarshalText() ([]byte, error)
- func (s *CacheArtifactDownloadURLStatus) UnmarshalJSON(data []byte) error
- func (s *CacheArtifactDownloadURLStatus) UnmarshalText(data []byte) error
- func (s CacheArtifactDownloadURLStatus) Validate() error
- type CacheArtifactExistsForbidden
- type CacheArtifactExistsNotFound
- func (s *CacheArtifactExistsNotFound) Decode(d *jx.Decoder) error
- func (s *CacheArtifactExistsNotFound) Encode(e *jx.Encoder)
- func (s *CacheArtifactExistsNotFound) GetError() []CacheArtifactExistsNotFoundErrorItem
- func (s *CacheArtifactExistsNotFound) MarshalJSON() ([]byte, error)
- func (s *CacheArtifactExistsNotFound) SetError(val []CacheArtifactExistsNotFoundErrorItem)
- func (s *CacheArtifactExistsNotFound) UnmarshalJSON(data []byte) error
- type CacheArtifactExistsNotFoundErrorItem
- func (s *CacheArtifactExistsNotFoundErrorItem) Decode(d *jx.Decoder) error
- func (s *CacheArtifactExistsNotFoundErrorItem) Encode(e *jx.Encoder)
- func (s *CacheArtifactExistsNotFoundErrorItem) GetCode() OptString
- func (s *CacheArtifactExistsNotFoundErrorItem) GetMessage() OptString
- func (s *CacheArtifactExistsNotFoundErrorItem) MarshalJSON() ([]byte, error)
- func (s *CacheArtifactExistsNotFoundErrorItem) SetCode(val OptString)
- func (s *CacheArtifactExistsNotFoundErrorItem) SetMessage(val OptString)
- func (s *CacheArtifactExistsNotFoundErrorItem) UnmarshalJSON(data []byte) error
- type CacheArtifactExistsOK
- func (s *CacheArtifactExistsOK) Decode(d *jx.Decoder) error
- func (s *CacheArtifactExistsOK) Encode(e *jx.Encoder)
- func (s *CacheArtifactExistsOK) GetData() *CacheArtifactExistsOKData
- func (s *CacheArtifactExistsOK) GetStatus() OptCacheArtifactExistsOKStatus
- func (s *CacheArtifactExistsOK) MarshalJSON() ([]byte, error)
- func (s *CacheArtifactExistsOK) SetData(val *CacheArtifactExistsOKData)
- func (s *CacheArtifactExistsOK) SetStatus(val OptCacheArtifactExistsOKStatus)
- func (s *CacheArtifactExistsOK) UnmarshalJSON(data []byte) error
- func (s *CacheArtifactExistsOK) Validate() error
- type CacheArtifactExistsOKData
- type CacheArtifactExistsOKStatus
- func (CacheArtifactExistsOKStatus) AllValues() []CacheArtifactExistsOKStatus
- func (s *CacheArtifactExistsOKStatus) Decode(d *jx.Decoder) error
- func (s CacheArtifactExistsOKStatus) Encode(e *jx.Encoder)
- func (s CacheArtifactExistsOKStatus) MarshalJSON() ([]byte, error)
- func (s CacheArtifactExistsOKStatus) MarshalText() ([]byte, error)
- func (s *CacheArtifactExistsOKStatus) UnmarshalJSON(data []byte) error
- func (s *CacheArtifactExistsOKStatus) UnmarshalText(data []byte) error
- func (s CacheArtifactExistsOKStatus) Validate() error
- type CacheArtifactExistsParams
- type CacheArtifactExistsPaymentRequired
- type CacheArtifactExistsRes
- type CacheArtifactExistsUnauthorized
- type CacheCategory
- type CleanCacheForbidden
- type CleanCacheNoContent
- type CleanCacheNotFound
- type CleanCacheParams
- type CleanCacheRes
- type CleanCacheUnauthorized
- type Client
- func (c *Client) Authenticate(ctx context.Context, request OptAuthenticateReq) (AuthenticateRes, error)
- func (c *Client) CacheArtifactExists(ctx context.Context, params CacheArtifactExistsParams) (CacheArtifactExistsRes, error)deprecated
- func (c *Client) CleanCache(ctx context.Context, params CleanCacheParams) (CleanCacheRes, error)
- func (c *Client) CompleteAnalyticsArtifactMultipartUpload(ctx context.Context, request OptCompleteAnalyticsArtifactMultipartUploadReq, ...) (CompleteAnalyticsArtifactMultipartUploadRes, error)
- func (c *Client) CompleteAnalyticsArtifactsUploads(ctx context.Context, request OptCompleteAnalyticsArtifactsUploadsReq, ...) (CompleteAnalyticsArtifactsUploadsRes, error)
- func (c *Client) CompleteCacheArtifactMultipartUpload(ctx context.Context, request OptCompleteCacheArtifactMultipartUploadReq, ...) (CompleteCacheArtifactMultipartUploadRes, error)
- func (c *Client) CompletePreviewsMultipartUpload(ctx context.Context, request OptCompletePreviewsMultipartUploadReq, ...) (CompletePreviewsMultipartUploadRes, error)
- func (c *Client) CreateCommandEvent(ctx context.Context, request OptCreateCommandEventReq, ...) (CreateCommandEventRes, error)
- func (c *Client) CreateInvitation(ctx context.Context, request OptCreateInvitationReq, ...) (CreateInvitationRes, error)
- func (c *Client) CreateOrganization(ctx context.Context, request OptCreateOrganizationReq) (CreateOrganizationRes, error)
- func (c *Client) CreateProject(ctx context.Context, request OptCreateProjectReq) (CreateProjectRes, error)
- func (c *Client) CreateProjectToken(ctx context.Context, params CreateProjectTokenParams) (CreateProjectTokenRes, error)
- func (c *Client) DeleteOrganization(ctx context.Context, params DeleteOrganizationParams) (DeleteOrganizationRes, error)
- func (c *Client) DeleteProject(ctx context.Context, params DeleteProjectParams) (DeleteProjectRes, error)
- func (c *Client) DownloadCacheArtifact(ctx context.Context, params DownloadCacheArtifactParams) (DownloadCacheArtifactRes, error)
- func (c *Client) DownloadPreview(ctx context.Context, params DownloadPreviewParams) (DownloadPreviewRes, error)
- func (c *Client) GenerateAnalyticsArtifactMultipartUploadURL(ctx context.Context, request OptGenerateAnalyticsArtifactMultipartUploadURLReq, ...) (GenerateAnalyticsArtifactMultipartUploadURLRes, error)
- func (c *Client) GenerateCacheArtifactMultipartUploadURL(ctx context.Context, params GenerateCacheArtifactMultipartUploadURLParams) (GenerateCacheArtifactMultipartUploadURLRes, error)
- func (c *Client) GeneratePreviewsMultipartUploadURL(ctx context.Context, request OptGeneratePreviewsMultipartUploadURLReq, ...) (GeneratePreviewsMultipartUploadURLRes, error)
- func (c *Client) GetCacheActionItem(ctx context.Context, params GetCacheActionItemParams) (GetCacheActionItemRes, error)
- func (c *Client) GetDeviceCode(ctx context.Context, params GetDeviceCodeParams) (GetDeviceCodeRes, error)
- func (c *Client) ListOrganizations(ctx context.Context) (ListOrganizationsRes, error)
- func (c *Client) ListProjectTokens(ctx context.Context, params ListProjectTokensParams) (ListProjectTokensRes, error)
- func (c *Client) ListProjects(ctx context.Context) (ListProjectsRes, error)
- func (c *Client) RefreshToken(ctx context.Context, request OptRefreshTokenReq) (RefreshTokenRes, error)
- func (c *Client) RevokeProjectToken(ctx context.Context, params RevokeProjectTokenParams) (RevokeProjectTokenRes, error)
- func (c *Client) ShowOrganization(ctx context.Context, params ShowOrganizationParams) (ShowOrganizationRes, error)
- func (c *Client) ShowOrganizationUsage(ctx context.Context, params ShowOrganizationUsageParams) (ShowOrganizationUsageRes, error)
- func (c *Client) ShowProject(ctx context.Context, params ShowProjectParams) (ShowProjectRes, error)
- func (c *Client) StartAnalyticsArtifactMultipartUpload(ctx context.Context, request CommandEventArtifact, ...) (StartAnalyticsArtifactMultipartUploadRes, error)
- func (c *Client) StartCacheArtifactMultipartUpload(ctx context.Context, params StartCacheArtifactMultipartUploadParams) (StartCacheArtifactMultipartUploadRes, error)
- func (c *Client) StartPreviewsMultipartUpload(ctx context.Context, request OptStartPreviewsMultipartUploadReq, ...) (StartPreviewsMultipartUploadRes, error)
- func (c *Client) UpdateOrganization(ctx context.Context, request OptUpdateOrganizationReq, ...) (UpdateOrganizationRes, error)
- func (c *Client) UpdateOrganization2(ctx context.Context, request OptUpdateOrganization2Req, ...) (UpdateOrganization2Res, error)
- func (c *Client) UpdateOrganizationMember(ctx context.Context, request OptUpdateOrganizationMemberReq, ...) (UpdateOrganizationMemberRes, error)
- func (c *Client) UpdateProject(ctx context.Context, request OptUpdateProjectReq, params UpdateProjectParams) (UpdateProjectRes, error)
- func (c *Client) UploadCacheActionItem(ctx context.Context, request OptUploadCacheActionItemReq, ...) (UploadCacheActionItemRes, error)
- type ClientOption
- type CommandEvent
- func (s *CommandEvent) Decode(d *jx.Decoder) error
- func (s *CommandEvent) Encode(e *jx.Encoder)
- func (s *CommandEvent) GetID() float64
- func (s *CommandEvent) GetName() string
- func (s *CommandEvent) GetURL() string
- func (s *CommandEvent) MarshalJSON() ([]byte, error)
- func (s *CommandEvent) SetID(val float64)
- func (s *CommandEvent) SetName(val string)
- func (s *CommandEvent) SetURL(val string)
- func (s *CommandEvent) UnmarshalJSON(data []byte) error
- func (s *CommandEvent) Validate() error
- type CommandEventArtifact
- type CompleteAnalyticsArtifactMultipartUploadForbidden
- func (s *CompleteAnalyticsArtifactMultipartUploadForbidden) Decode(d *jx.Decoder) error
- func (s *CompleteAnalyticsArtifactMultipartUploadForbidden) Encode(e *jx.Encoder)
- func (s *CompleteAnalyticsArtifactMultipartUploadForbidden) MarshalJSON() ([]byte, error)
- func (s *CompleteAnalyticsArtifactMultipartUploadForbidden) UnmarshalJSON(data []byte) error
- type CompleteAnalyticsArtifactMultipartUploadInternalServerError
- func (s *CompleteAnalyticsArtifactMultipartUploadInternalServerError) Decode(d *jx.Decoder) error
- func (s *CompleteAnalyticsArtifactMultipartUploadInternalServerError) Encode(e *jx.Encoder)
- func (s *CompleteAnalyticsArtifactMultipartUploadInternalServerError) MarshalJSON() ([]byte, error)
- func (s *CompleteAnalyticsArtifactMultipartUploadInternalServerError) UnmarshalJSON(data []byte) error
- type CompleteAnalyticsArtifactMultipartUploadNoContent
- type CompleteAnalyticsArtifactMultipartUploadNotFound
- func (s *CompleteAnalyticsArtifactMultipartUploadNotFound) Decode(d *jx.Decoder) error
- func (s *CompleteAnalyticsArtifactMultipartUploadNotFound) Encode(e *jx.Encoder)
- func (s *CompleteAnalyticsArtifactMultipartUploadNotFound) MarshalJSON() ([]byte, error)
- func (s *CompleteAnalyticsArtifactMultipartUploadNotFound) UnmarshalJSON(data []byte) error
- type CompleteAnalyticsArtifactMultipartUploadParams
- type CompleteAnalyticsArtifactMultipartUploadReq
- func (s *CompleteAnalyticsArtifactMultipartUploadReq) Decode(d *jx.Decoder) error
- func (s *CompleteAnalyticsArtifactMultipartUploadReq) Encode(e *jx.Encoder)
- func (s *CompleteAnalyticsArtifactMultipartUploadReq) GetCommandEventArtifact() CommandEventArtifact
- func (s *CompleteAnalyticsArtifactMultipartUploadReq) GetMultipartUploadParts() ArtifactMultipartUploadParts
- func (s *CompleteAnalyticsArtifactMultipartUploadReq) MarshalJSON() ([]byte, error)
- func (s *CompleteAnalyticsArtifactMultipartUploadReq) SetCommandEventArtifact(val CommandEventArtifact)
- func (s *CompleteAnalyticsArtifactMultipartUploadReq) SetMultipartUploadParts(val ArtifactMultipartUploadParts)
- func (s *CompleteAnalyticsArtifactMultipartUploadReq) UnmarshalJSON(data []byte) error
- func (s *CompleteAnalyticsArtifactMultipartUploadReq) Validate() error
- type CompleteAnalyticsArtifactMultipartUploadRes
- type CompleteAnalyticsArtifactMultipartUploadUnauthorized
- func (s *CompleteAnalyticsArtifactMultipartUploadUnauthorized) Decode(d *jx.Decoder) error
- func (s *CompleteAnalyticsArtifactMultipartUploadUnauthorized) Encode(e *jx.Encoder)
- func (s *CompleteAnalyticsArtifactMultipartUploadUnauthorized) MarshalJSON() ([]byte, error)
- func (s *CompleteAnalyticsArtifactMultipartUploadUnauthorized) UnmarshalJSON(data []byte) error
- type CompleteAnalyticsArtifactsUploadsForbidden
- func (s *CompleteAnalyticsArtifactsUploadsForbidden) Decode(d *jx.Decoder) error
- func (s *CompleteAnalyticsArtifactsUploadsForbidden) Encode(e *jx.Encoder)
- func (s *CompleteAnalyticsArtifactsUploadsForbidden) MarshalJSON() ([]byte, error)
- func (s *CompleteAnalyticsArtifactsUploadsForbidden) UnmarshalJSON(data []byte) error
- type CompleteAnalyticsArtifactsUploadsNoContent
- type CompleteAnalyticsArtifactsUploadsNotFound
- func (s *CompleteAnalyticsArtifactsUploadsNotFound) Decode(d *jx.Decoder) error
- func (s *CompleteAnalyticsArtifactsUploadsNotFound) Encode(e *jx.Encoder)
- func (s *CompleteAnalyticsArtifactsUploadsNotFound) MarshalJSON() ([]byte, error)
- func (s *CompleteAnalyticsArtifactsUploadsNotFound) UnmarshalJSON(data []byte) error
- type CompleteAnalyticsArtifactsUploadsParams
- type CompleteAnalyticsArtifactsUploadsReq
- func (s *CompleteAnalyticsArtifactsUploadsReq) Decode(d *jx.Decoder) error
- func (s *CompleteAnalyticsArtifactsUploadsReq) Encode(e *jx.Encoder)
- func (s *CompleteAnalyticsArtifactsUploadsReq) GetModules() []Module
- func (s *CompleteAnalyticsArtifactsUploadsReq) MarshalJSON() ([]byte, error)
- func (s *CompleteAnalyticsArtifactsUploadsReq) SetModules(val []Module)
- func (s *CompleteAnalyticsArtifactsUploadsReq) UnmarshalJSON(data []byte) error
- func (s *CompleteAnalyticsArtifactsUploadsReq) Validate() error
- type CompleteAnalyticsArtifactsUploadsRes
- type CompleteAnalyticsArtifactsUploadsUnauthorized
- func (s *CompleteAnalyticsArtifactsUploadsUnauthorized) Decode(d *jx.Decoder) error
- func (s *CompleteAnalyticsArtifactsUploadsUnauthorized) Encode(e *jx.Encoder)
- func (s *CompleteAnalyticsArtifactsUploadsUnauthorized) MarshalJSON() ([]byte, error)
- func (s *CompleteAnalyticsArtifactsUploadsUnauthorized) UnmarshalJSON(data []byte) error
- type CompleteCacheArtifactMultipartUploadForbidden
- func (s *CompleteCacheArtifactMultipartUploadForbidden) Decode(d *jx.Decoder) error
- func (s *CompleteCacheArtifactMultipartUploadForbidden) Encode(e *jx.Encoder)
- func (s *CompleteCacheArtifactMultipartUploadForbidden) MarshalJSON() ([]byte, error)
- func (s *CompleteCacheArtifactMultipartUploadForbidden) UnmarshalJSON(data []byte) error
- type CompleteCacheArtifactMultipartUploadNotFound
- func (s *CompleteCacheArtifactMultipartUploadNotFound) Decode(d *jx.Decoder) error
- func (s *CompleteCacheArtifactMultipartUploadNotFound) Encode(e *jx.Encoder)
- func (s *CompleteCacheArtifactMultipartUploadNotFound) MarshalJSON() ([]byte, error)
- func (s *CompleteCacheArtifactMultipartUploadNotFound) UnmarshalJSON(data []byte) error
- type CompleteCacheArtifactMultipartUploadOK
- func (s *CompleteCacheArtifactMultipartUploadOK) Decode(d *jx.Decoder) error
- func (s *CompleteCacheArtifactMultipartUploadOK) Encode(e *jx.Encoder)
- func (s *CompleteCacheArtifactMultipartUploadOK) GetData() *CompleteCacheArtifactMultipartUploadOKData
- func (s *CompleteCacheArtifactMultipartUploadOK) GetStatus() OptCompleteCacheArtifactMultipartUploadOKStatus
- func (s *CompleteCacheArtifactMultipartUploadOK) MarshalJSON() ([]byte, error)
- func (s *CompleteCacheArtifactMultipartUploadOK) SetData(val *CompleteCacheArtifactMultipartUploadOKData)
- func (s *CompleteCacheArtifactMultipartUploadOK) SetStatus(val OptCompleteCacheArtifactMultipartUploadOKStatus)
- func (s *CompleteCacheArtifactMultipartUploadOK) UnmarshalJSON(data []byte) error
- func (s *CompleteCacheArtifactMultipartUploadOK) Validate() error
- type CompleteCacheArtifactMultipartUploadOKData
- func (s *CompleteCacheArtifactMultipartUploadOKData) Decode(d *jx.Decoder) error
- func (s *CompleteCacheArtifactMultipartUploadOKData) Encode(e *jx.Encoder)
- func (s *CompleteCacheArtifactMultipartUploadOKData) MarshalJSON() ([]byte, error)
- func (s *CompleteCacheArtifactMultipartUploadOKData) UnmarshalJSON(data []byte) error
- type CompleteCacheArtifactMultipartUploadOKStatus
- func (CompleteCacheArtifactMultipartUploadOKStatus) AllValues() []CompleteCacheArtifactMultipartUploadOKStatus
- func (s *CompleteCacheArtifactMultipartUploadOKStatus) Decode(d *jx.Decoder) error
- func (s CompleteCacheArtifactMultipartUploadOKStatus) Encode(e *jx.Encoder)
- func (s CompleteCacheArtifactMultipartUploadOKStatus) MarshalJSON() ([]byte, error)
- func (s CompleteCacheArtifactMultipartUploadOKStatus) MarshalText() ([]byte, error)
- func (s *CompleteCacheArtifactMultipartUploadOKStatus) UnmarshalJSON(data []byte) error
- func (s *CompleteCacheArtifactMultipartUploadOKStatus) UnmarshalText(data []byte) error
- func (s CompleteCacheArtifactMultipartUploadOKStatus) Validate() error
- type CompleteCacheArtifactMultipartUploadParams
- type CompleteCacheArtifactMultipartUploadPaymentRequired
- func (s *CompleteCacheArtifactMultipartUploadPaymentRequired) Decode(d *jx.Decoder) error
- func (s *CompleteCacheArtifactMultipartUploadPaymentRequired) Encode(e *jx.Encoder)
- func (s *CompleteCacheArtifactMultipartUploadPaymentRequired) MarshalJSON() ([]byte, error)
- func (s *CompleteCacheArtifactMultipartUploadPaymentRequired) UnmarshalJSON(data []byte) error
- type CompleteCacheArtifactMultipartUploadReq
- func (s *CompleteCacheArtifactMultipartUploadReq) Decode(d *jx.Decoder) error
- func (s *CompleteCacheArtifactMultipartUploadReq) Encode(e *jx.Encoder)
- func (s *CompleteCacheArtifactMultipartUploadReq) GetParts() []CompleteCacheArtifactMultipartUploadReqPartsItem
- func (s *CompleteCacheArtifactMultipartUploadReq) MarshalJSON() ([]byte, error)
- func (s *CompleteCacheArtifactMultipartUploadReq) SetParts(val []CompleteCacheArtifactMultipartUploadReqPartsItem)
- func (s *CompleteCacheArtifactMultipartUploadReq) UnmarshalJSON(data []byte) error
- type CompleteCacheArtifactMultipartUploadReqPartsItem
- func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) Decode(d *jx.Decoder) error
- func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) Encode(e *jx.Encoder)
- func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) GetEtag() OptString
- func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) GetPartNumber() OptInt
- func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) MarshalJSON() ([]byte, error)
- func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) SetEtag(val OptString)
- func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) SetPartNumber(val OptInt)
- func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) UnmarshalJSON(data []byte) error
- type CompleteCacheArtifactMultipartUploadRes
- type CompleteCacheArtifactMultipartUploadUnauthorized
- func (s *CompleteCacheArtifactMultipartUploadUnauthorized) Decode(d *jx.Decoder) error
- func (s *CompleteCacheArtifactMultipartUploadUnauthorized) Encode(e *jx.Encoder)
- func (s *CompleteCacheArtifactMultipartUploadUnauthorized) MarshalJSON() ([]byte, error)
- func (s *CompleteCacheArtifactMultipartUploadUnauthorized) UnmarshalJSON(data []byte) error
- type CompletePreviewsMultipartUploadForbidden
- func (s *CompletePreviewsMultipartUploadForbidden) Decode(d *jx.Decoder) error
- func (s *CompletePreviewsMultipartUploadForbidden) Encode(e *jx.Encoder)
- func (s *CompletePreviewsMultipartUploadForbidden) MarshalJSON() ([]byte, error)
- func (s *CompletePreviewsMultipartUploadForbidden) UnmarshalJSON(data []byte) error
- type CompletePreviewsMultipartUploadNotFound
- func (s *CompletePreviewsMultipartUploadNotFound) Decode(d *jx.Decoder) error
- func (s *CompletePreviewsMultipartUploadNotFound) Encode(e *jx.Encoder)
- func (s *CompletePreviewsMultipartUploadNotFound) MarshalJSON() ([]byte, error)
- func (s *CompletePreviewsMultipartUploadNotFound) UnmarshalJSON(data []byte) error
- type CompletePreviewsMultipartUploadOK
- func (s *CompletePreviewsMultipartUploadOK) Decode(d *jx.Decoder) error
- func (s *CompletePreviewsMultipartUploadOK) Encode(e *jx.Encoder)
- func (s *CompletePreviewsMultipartUploadOK) GetURL() string
- func (s *CompletePreviewsMultipartUploadOK) MarshalJSON() ([]byte, error)
- func (s *CompletePreviewsMultipartUploadOK) SetURL(val string)
- func (s *CompletePreviewsMultipartUploadOK) UnmarshalJSON(data []byte) error
- type CompletePreviewsMultipartUploadParams
- type CompletePreviewsMultipartUploadReq
- func (s *CompletePreviewsMultipartUploadReq) Decode(d *jx.Decoder) error
- func (s *CompletePreviewsMultipartUploadReq) Encode(e *jx.Encoder)
- func (s *CompletePreviewsMultipartUploadReq) GetMultipartUploadParts() ArtifactMultipartUploadParts
- func (s *CompletePreviewsMultipartUploadReq) GetPreviewID() string
- func (s *CompletePreviewsMultipartUploadReq) MarshalJSON() ([]byte, error)
- func (s *CompletePreviewsMultipartUploadReq) SetMultipartUploadParts(val ArtifactMultipartUploadParts)
- func (s *CompletePreviewsMultipartUploadReq) SetPreviewID(val string)
- func (s *CompletePreviewsMultipartUploadReq) UnmarshalJSON(data []byte) error
- func (s *CompletePreviewsMultipartUploadReq) Validate() error
- type CompletePreviewsMultipartUploadRes
- type CompletePreviewsMultipartUploadUnauthorized
- func (s *CompletePreviewsMultipartUploadUnauthorized) Decode(d *jx.Decoder) error
- func (s *CompletePreviewsMultipartUploadUnauthorized) Encode(e *jx.Encoder)
- func (s *CompletePreviewsMultipartUploadUnauthorized) MarshalJSON() ([]byte, error)
- func (s *CompletePreviewsMultipartUploadUnauthorized) UnmarshalJSON(data []byte) error
- type Cookie
- type CreateCommandEventForbidden
- type CreateCommandEventParams
- type CreateCommandEventReq
- func (s *CreateCommandEventReq) Decode(d *jx.Decoder) error
- func (s *CreateCommandEventReq) Encode(e *jx.Encoder)
- func (s *CreateCommandEventReq) GetClientID() string
- func (s *CreateCommandEventReq) GetCommandArguments() []string
- func (s *CreateCommandEventReq) GetDuration() float64
- func (s *CreateCommandEventReq) GetErrorMessage() OptString
- func (s *CreateCommandEventReq) GetGitCommitSha() OptString
- func (s *CreateCommandEventReq) GetGitRef() OptString
- func (s *CreateCommandEventReq) GetGitRemoteURLOrigin() OptString
- func (s *CreateCommandEventReq) GetIsCi() bool
- func (s *CreateCommandEventReq) GetMacosVersion() string
- func (s *CreateCommandEventReq) GetName() string
- func (s *CreateCommandEventReq) GetParams() OptCreateCommandEventReqParams
- func (s *CreateCommandEventReq) GetPreviewID() OptString
- func (s *CreateCommandEventReq) GetStatus() OptCreateCommandEventReqStatus
- func (s *CreateCommandEventReq) GetSubcommand() OptString
- func (s *CreateCommandEventReq) GetSwiftVersion() string
- func (s *CreateCommandEventReq) GetTuistVersion() string
- func (s *CreateCommandEventReq) MarshalJSON() ([]byte, error)
- func (s *CreateCommandEventReq) SetClientID(val string)
- func (s *CreateCommandEventReq) SetCommandArguments(val []string)
- func (s *CreateCommandEventReq) SetDuration(val float64)
- func (s *CreateCommandEventReq) SetErrorMessage(val OptString)
- func (s *CreateCommandEventReq) SetGitCommitSha(val OptString)
- func (s *CreateCommandEventReq) SetGitRef(val OptString)
- func (s *CreateCommandEventReq) SetGitRemoteURLOrigin(val OptString)
- func (s *CreateCommandEventReq) SetIsCi(val bool)
- func (s *CreateCommandEventReq) SetMacosVersion(val string)
- func (s *CreateCommandEventReq) SetName(val string)
- func (s *CreateCommandEventReq) SetParams(val OptCreateCommandEventReqParams)
- func (s *CreateCommandEventReq) SetPreviewID(val OptString)
- func (s *CreateCommandEventReq) SetStatus(val OptCreateCommandEventReqStatus)
- func (s *CreateCommandEventReq) SetSubcommand(val OptString)
- func (s *CreateCommandEventReq) SetSwiftVersion(val string)
- func (s *CreateCommandEventReq) SetTuistVersion(val string)
- func (s *CreateCommandEventReq) UnmarshalJSON(data []byte) error
- func (s *CreateCommandEventReq) Validate() error
- type CreateCommandEventReqParams
- func (s *CreateCommandEventReqParams) Decode(d *jx.Decoder) error
- func (s *CreateCommandEventReqParams) Encode(e *jx.Encoder)
- func (s *CreateCommandEventReqParams) GetCacheableTargets() []string
- func (s *CreateCommandEventReqParams) GetLocalCacheTargetHits() []string
- func (s *CreateCommandEventReqParams) GetLocalTestTargetHits() []string
- func (s *CreateCommandEventReqParams) GetRemoteCacheTargetHits() []string
- func (s *CreateCommandEventReqParams) GetRemoteTestTargetHits() []string
- func (s *CreateCommandEventReqParams) GetTestTargets() []string
- func (s *CreateCommandEventReqParams) MarshalJSON() ([]byte, error)
- func (s *CreateCommandEventReqParams) SetCacheableTargets(val []string)
- func (s *CreateCommandEventReqParams) SetLocalCacheTargetHits(val []string)
- func (s *CreateCommandEventReqParams) SetLocalTestTargetHits(val []string)
- func (s *CreateCommandEventReqParams) SetRemoteCacheTargetHits(val []string)
- func (s *CreateCommandEventReqParams) SetRemoteTestTargetHits(val []string)
- func (s *CreateCommandEventReqParams) SetTestTargets(val []string)
- func (s *CreateCommandEventReqParams) UnmarshalJSON(data []byte) error
- type CreateCommandEventReqStatus
- func (CreateCommandEventReqStatus) AllValues() []CreateCommandEventReqStatus
- func (s *CreateCommandEventReqStatus) Decode(d *jx.Decoder) error
- func (s CreateCommandEventReqStatus) Encode(e *jx.Encoder)
- func (s CreateCommandEventReqStatus) MarshalJSON() ([]byte, error)
- func (s CreateCommandEventReqStatus) MarshalText() ([]byte, error)
- func (s *CreateCommandEventReqStatus) UnmarshalJSON(data []byte) error
- func (s *CreateCommandEventReqStatus) UnmarshalText(data []byte) error
- func (s CreateCommandEventReqStatus) Validate() error
- type CreateCommandEventRes
- type CreateCommandEventUnauthorized
- type CreateInvitationBadRequest
- type CreateInvitationForbidden
- type CreateInvitationNotFound
- type CreateInvitationParams
- type CreateInvitationReq
- func (s *CreateInvitationReq) Decode(d *jx.Decoder) error
- func (s *CreateInvitationReq) Encode(e *jx.Encoder)
- func (s *CreateInvitationReq) GetInviteeEmail() string
- func (s *CreateInvitationReq) MarshalJSON() ([]byte, error)
- func (s *CreateInvitationReq) SetInviteeEmail(val string)
- func (s *CreateInvitationReq) UnmarshalJSON(data []byte) error
- type CreateInvitationRes
- type CreateInvitationUnauthorized
- type CreateOrganizationReq
- func (s *CreateOrganizationReq) Decode(d *jx.Decoder) error
- func (s *CreateOrganizationReq) Encode(e *jx.Encoder)
- func (s *CreateOrganizationReq) GetName() string
- func (s *CreateOrganizationReq) MarshalJSON() ([]byte, error)
- func (s *CreateOrganizationReq) SetName(val string)
- func (s *CreateOrganizationReq) UnmarshalJSON(data []byte) error
- type CreateOrganizationRes
- type CreateProjectBadRequest
- type CreateProjectForbidden
- type CreateProjectReq
- func (s *CreateProjectReq) Decode(d *jx.Decoder) error
- func (s *CreateProjectReq) Encode(e *jx.Encoder)
- func (s *CreateProjectReq) GetFullHandle() OptString
- func (s *CreateProjectReq) GetName() OptString
- func (s *CreateProjectReq) GetOrganization() OptString
- func (s *CreateProjectReq) MarshalJSON() ([]byte, error)
- func (s *CreateProjectReq) SetFullHandle(val OptString)
- func (s *CreateProjectReq) SetName(val OptString)
- func (s *CreateProjectReq) SetOrganization(val OptString)
- func (s *CreateProjectReq) UnmarshalJSON(data []byte) error
- type CreateProjectRes
- type CreateProjectTokenForbidden
- type CreateProjectTokenNotFound
- type CreateProjectTokenOK
- func (s *CreateProjectTokenOK) Decode(d *jx.Decoder) error
- func (s *CreateProjectTokenOK) Encode(e *jx.Encoder)
- func (s *CreateProjectTokenOK) GetToken() string
- func (s *CreateProjectTokenOK) MarshalJSON() ([]byte, error)
- func (s *CreateProjectTokenOK) SetToken(val string)
- func (s *CreateProjectTokenOK) UnmarshalJSON(data []byte) error
- type CreateProjectTokenParams
- type CreateProjectTokenRes
- type CreateProjectTokenUnauthorized
- type CreateProjectUnauthorized
- type DeleteOrganizationForbidden
- type DeleteOrganizationNoContent
- type DeleteOrganizationNotFound
- type DeleteOrganizationParams
- type DeleteOrganizationRes
- type DeleteOrganizationUnauthorized
- type DeleteProjectForbidden
- type DeleteProjectNoContent
- type DeleteProjectNotFound
- type DeleteProjectParams
- type DeleteProjectRes
- type DeleteProjectUnauthorized
- type DownloadCacheArtifactForbidden
- type DownloadCacheArtifactNotFound
- type DownloadCacheArtifactParams
- type DownloadCacheArtifactPaymentRequired
- func (s *DownloadCacheArtifactPaymentRequired) Decode(d *jx.Decoder) error
- func (s *DownloadCacheArtifactPaymentRequired) Encode(e *jx.Encoder)
- func (s *DownloadCacheArtifactPaymentRequired) MarshalJSON() ([]byte, error)
- func (s *DownloadCacheArtifactPaymentRequired) UnmarshalJSON(data []byte) error
- type DownloadCacheArtifactRes
- type DownloadCacheArtifactUnauthorized
- type DownloadPreviewForbidden
- type DownloadPreviewNotFound
- type DownloadPreviewParams
- type DownloadPreviewRes
- type DownloadPreviewUnauthorized
- type Error
- type ErrorHandler
- type GenerateAnalyticsArtifactMultipartUploadURLForbidden
- func (s *GenerateAnalyticsArtifactMultipartUploadURLForbidden) Decode(d *jx.Decoder) error
- func (s *GenerateAnalyticsArtifactMultipartUploadURLForbidden) Encode(e *jx.Encoder)
- func (s *GenerateAnalyticsArtifactMultipartUploadURLForbidden) MarshalJSON() ([]byte, error)
- func (s *GenerateAnalyticsArtifactMultipartUploadURLForbidden) UnmarshalJSON(data []byte) error
- type GenerateAnalyticsArtifactMultipartUploadURLNotFound
- func (s *GenerateAnalyticsArtifactMultipartUploadURLNotFound) Decode(d *jx.Decoder) error
- func (s *GenerateAnalyticsArtifactMultipartUploadURLNotFound) Encode(e *jx.Encoder)
- func (s *GenerateAnalyticsArtifactMultipartUploadURLNotFound) MarshalJSON() ([]byte, error)
- func (s *GenerateAnalyticsArtifactMultipartUploadURLNotFound) UnmarshalJSON(data []byte) error
- type GenerateAnalyticsArtifactMultipartUploadURLParams
- type GenerateAnalyticsArtifactMultipartUploadURLReq
- func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) Decode(d *jx.Decoder) error
- func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) Encode(e *jx.Encoder)
- func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) GetCommandEventArtifact() CommandEventArtifact
- func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) GetMultipartUploadPart() ArtifactMultipartUploadPart
- func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) MarshalJSON() ([]byte, error)
- func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) SetCommandEventArtifact(val CommandEventArtifact)
- func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) SetMultipartUploadPart(val ArtifactMultipartUploadPart)
- func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) UnmarshalJSON(data []byte) error
- type GenerateAnalyticsArtifactMultipartUploadURLRes
- type GenerateAnalyticsArtifactMultipartUploadURLUnauthorized
- func (s *GenerateAnalyticsArtifactMultipartUploadURLUnauthorized) Decode(d *jx.Decoder) error
- func (s *GenerateAnalyticsArtifactMultipartUploadURLUnauthorized) Encode(e *jx.Encoder)
- func (s *GenerateAnalyticsArtifactMultipartUploadURLUnauthorized) MarshalJSON() ([]byte, error)
- func (s *GenerateAnalyticsArtifactMultipartUploadURLUnauthorized) UnmarshalJSON(data []byte) error
- type GenerateCacheArtifactMultipartUploadURLForbidden
- func (s *GenerateCacheArtifactMultipartUploadURLForbidden) Decode(d *jx.Decoder) error
- func (s *GenerateCacheArtifactMultipartUploadURLForbidden) Encode(e *jx.Encoder)
- func (s *GenerateCacheArtifactMultipartUploadURLForbidden) MarshalJSON() ([]byte, error)
- func (s *GenerateCacheArtifactMultipartUploadURLForbidden) UnmarshalJSON(data []byte) error
- type GenerateCacheArtifactMultipartUploadURLNotFound
- func (s *GenerateCacheArtifactMultipartUploadURLNotFound) Decode(d *jx.Decoder) error
- func (s *GenerateCacheArtifactMultipartUploadURLNotFound) Encode(e *jx.Encoder)
- func (s *GenerateCacheArtifactMultipartUploadURLNotFound) MarshalJSON() ([]byte, error)
- func (s *GenerateCacheArtifactMultipartUploadURLNotFound) UnmarshalJSON(data []byte) error
- type GenerateCacheArtifactMultipartUploadURLParams
- type GenerateCacheArtifactMultipartUploadURLPaymentRequired
- func (s *GenerateCacheArtifactMultipartUploadURLPaymentRequired) Decode(d *jx.Decoder) error
- func (s *GenerateCacheArtifactMultipartUploadURLPaymentRequired) Encode(e *jx.Encoder)
- func (s *GenerateCacheArtifactMultipartUploadURLPaymentRequired) MarshalJSON() ([]byte, error)
- func (s *GenerateCacheArtifactMultipartUploadURLPaymentRequired) UnmarshalJSON(data []byte) error
- type GenerateCacheArtifactMultipartUploadURLRes
- type GenerateCacheArtifactMultipartUploadURLUnauthorized
- func (s *GenerateCacheArtifactMultipartUploadURLUnauthorized) Decode(d *jx.Decoder) error
- func (s *GenerateCacheArtifactMultipartUploadURLUnauthorized) Encode(e *jx.Encoder)
- func (s *GenerateCacheArtifactMultipartUploadURLUnauthorized) MarshalJSON() ([]byte, error)
- func (s *GenerateCacheArtifactMultipartUploadURLUnauthorized) UnmarshalJSON(data []byte) error
- type GeneratePreviewsMultipartUploadURLForbidden
- func (s *GeneratePreviewsMultipartUploadURLForbidden) Decode(d *jx.Decoder) error
- func (s *GeneratePreviewsMultipartUploadURLForbidden) Encode(e *jx.Encoder)
- func (s *GeneratePreviewsMultipartUploadURLForbidden) MarshalJSON() ([]byte, error)
- func (s *GeneratePreviewsMultipartUploadURLForbidden) UnmarshalJSON(data []byte) error
- type GeneratePreviewsMultipartUploadURLNotFound
- func (s *GeneratePreviewsMultipartUploadURLNotFound) Decode(d *jx.Decoder) error
- func (s *GeneratePreviewsMultipartUploadURLNotFound) Encode(e *jx.Encoder)
- func (s *GeneratePreviewsMultipartUploadURLNotFound) MarshalJSON() ([]byte, error)
- func (s *GeneratePreviewsMultipartUploadURLNotFound) UnmarshalJSON(data []byte) error
- type GeneratePreviewsMultipartUploadURLParams
- type GeneratePreviewsMultipartUploadURLReq
- func (s *GeneratePreviewsMultipartUploadURLReq) Decode(d *jx.Decoder) error
- func (s *GeneratePreviewsMultipartUploadURLReq) Encode(e *jx.Encoder)
- func (s *GeneratePreviewsMultipartUploadURLReq) GetMultipartUploadPart() ArtifactMultipartUploadPart
- func (s *GeneratePreviewsMultipartUploadURLReq) GetPreviewID() string
- func (s *GeneratePreviewsMultipartUploadURLReq) MarshalJSON() ([]byte, error)
- func (s *GeneratePreviewsMultipartUploadURLReq) SetMultipartUploadPart(val ArtifactMultipartUploadPart)
- func (s *GeneratePreviewsMultipartUploadURLReq) SetPreviewID(val string)
- func (s *GeneratePreviewsMultipartUploadURLReq) UnmarshalJSON(data []byte) error
- type GeneratePreviewsMultipartUploadURLRes
- type GeneratePreviewsMultipartUploadURLUnauthorized
- func (s *GeneratePreviewsMultipartUploadURLUnauthorized) Decode(d *jx.Decoder) error
- func (s *GeneratePreviewsMultipartUploadURLUnauthorized) Encode(e *jx.Encoder)
- func (s *GeneratePreviewsMultipartUploadURLUnauthorized) MarshalJSON() ([]byte, error)
- func (s *GeneratePreviewsMultipartUploadURLUnauthorized) UnmarshalJSON(data []byte) error
- type GetCacheActionItemForbidden
- type GetCacheActionItemNotFound
- type GetCacheActionItemParams
- type GetCacheActionItemPaymentRequired
- type GetCacheActionItemRes
- type GetCacheActionItemUnauthorized
- type GetDeviceCodeAccepted
- type GetDeviceCodeOK
- func (s *GetDeviceCodeOK) Decode(d *jx.Decoder) error
- func (s *GetDeviceCodeOK) Encode(e *jx.Encoder)
- func (s *GetDeviceCodeOK) GetAccessToken() OptString
- func (s *GetDeviceCodeOK) GetRefreshToken() OptString
- func (s *GetDeviceCodeOK) GetToken() OptString
- func (s *GetDeviceCodeOK) MarshalJSON() ([]byte, error)
- func (s *GetDeviceCodeOK) SetAccessToken(val OptString)
- func (s *GetDeviceCodeOK) SetRefreshToken(val OptString)
- func (s *GetDeviceCodeOK) SetToken(val OptString)
- func (s *GetDeviceCodeOK) UnmarshalJSON(data []byte) error
- type GetDeviceCodeParams
- type GetDeviceCodeRes
- type Handler
- type Invitation
- func (s *Invitation) Decode(d *jx.Decoder) error
- func (s *Invitation) Encode(e *jx.Encoder)
- func (s *Invitation) GetID() float64
- func (s *Invitation) GetInviteeEmail() string
- func (s *Invitation) GetInviter() User
- func (s *Invitation) GetOrganizationID() float64
- func (s *Invitation) GetToken() string
- func (s *Invitation) MarshalJSON() ([]byte, error)
- func (s *Invitation) SetID(val float64)
- func (s *Invitation) SetInviteeEmail(val string)
- func (s *Invitation) SetInviter(val User)
- func (s *Invitation) SetOrganizationID(val float64)
- func (s *Invitation) SetToken(val string)
- func (s *Invitation) UnmarshalJSON(data []byte) error
- func (s *Invitation) Validate() error
- type Invoker
- type Labeler
- type ListOrganizationsForbidden
- type ListOrganizationsOK
- func (s *ListOrganizationsOK) Decode(d *jx.Decoder) error
- func (s *ListOrganizationsOK) Encode(e *jx.Encoder)
- func (s *ListOrganizationsOK) GetOrganizations() []Organization
- func (s *ListOrganizationsOK) MarshalJSON() ([]byte, error)
- func (s *ListOrganizationsOK) SetOrganizations(val []Organization)
- func (s *ListOrganizationsOK) UnmarshalJSON(data []byte) error
- func (s *ListOrganizationsOK) Validate() error
- type ListOrganizationsRes
- type ListOrganizationsUnauthorized
- type ListProjectTokensForbidden
- type ListProjectTokensNotFound
- type ListProjectTokensOK
- func (s *ListProjectTokensOK) Decode(d *jx.Decoder) error
- func (s *ListProjectTokensOK) Encode(e *jx.Encoder)
- func (s *ListProjectTokensOK) GetTokens() []ProjectToken
- func (s *ListProjectTokensOK) MarshalJSON() ([]byte, error)
- func (s *ListProjectTokensOK) SetTokens(val []ProjectToken)
- func (s *ListProjectTokensOK) UnmarshalJSON(data []byte) error
- func (s *ListProjectTokensOK) Validate() error
- type ListProjectTokensParams
- type ListProjectTokensRes
- type ListProjectTokensUnauthorized
- type ListProjectsOK
- func (s *ListProjectsOK) Decode(d *jx.Decoder) error
- func (s *ListProjectsOK) Encode(e *jx.Encoder)
- func (s *ListProjectsOK) GetProjects() []Project
- func (s *ListProjectsOK) MarshalJSON() ([]byte, error)
- func (s *ListProjectsOK) SetProjects(val []Project)
- func (s *ListProjectsOK) UnmarshalJSON(data []byte) error
- func (s *ListProjectsOK) Validate() error
- type ListProjectsRes
- type Middleware
- type Module
- func (s *Module) Decode(d *jx.Decoder) error
- func (s *Module) Encode(e *jx.Encoder)
- func (s *Module) GetHash() string
- func (s *Module) GetName() string
- func (s *Module) GetProjectIdentifier() string
- func (s *Module) MarshalJSON() ([]byte, error)
- func (s *Module) SetHash(val string)
- func (s *Module) SetName(val string)
- func (s *Module) SetProjectIdentifier(val string)
- func (s *Module) UnmarshalJSON(data []byte) error
- type OptAuthenticateReq
- func (o *OptAuthenticateReq) Decode(d *jx.Decoder) error
- func (o OptAuthenticateReq) Encode(e *jx.Encoder)
- func (o OptAuthenticateReq) Get() (v AuthenticateReq, ok bool)
- func (o OptAuthenticateReq) IsSet() bool
- func (s OptAuthenticateReq) MarshalJSON() ([]byte, error)
- func (o OptAuthenticateReq) Or(d AuthenticateReq) AuthenticateReq
- func (o *OptAuthenticateReq) Reset()
- func (o *OptAuthenticateReq) SetTo(v AuthenticateReq)
- func (s *OptAuthenticateReq) UnmarshalJSON(data []byte) error
- type OptCacheArtifactExistsOKStatus
- func (o *OptCacheArtifactExistsOKStatus) Decode(d *jx.Decoder) error
- func (o OptCacheArtifactExistsOKStatus) Encode(e *jx.Encoder)
- func (o OptCacheArtifactExistsOKStatus) Get() (v CacheArtifactExistsOKStatus, ok bool)
- func (o OptCacheArtifactExistsOKStatus) IsSet() bool
- func (s OptCacheArtifactExistsOKStatus) MarshalJSON() ([]byte, error)
- func (o OptCacheArtifactExistsOKStatus) Or(d CacheArtifactExistsOKStatus) CacheArtifactExistsOKStatus
- func (o *OptCacheArtifactExistsOKStatus) Reset()
- func (o *OptCacheArtifactExistsOKStatus) SetTo(v CacheArtifactExistsOKStatus)
- func (s *OptCacheArtifactExistsOKStatus) UnmarshalJSON(data []byte) error
- type OptCacheCategory
- type OptCompleteAnalyticsArtifactMultipartUploadReq
- func (o *OptCompleteAnalyticsArtifactMultipartUploadReq) Decode(d *jx.Decoder) error
- func (o OptCompleteAnalyticsArtifactMultipartUploadReq) Encode(e *jx.Encoder)
- func (o OptCompleteAnalyticsArtifactMultipartUploadReq) Get() (v CompleteAnalyticsArtifactMultipartUploadReq, ok bool)
- func (o OptCompleteAnalyticsArtifactMultipartUploadReq) IsSet() bool
- func (s OptCompleteAnalyticsArtifactMultipartUploadReq) MarshalJSON() ([]byte, error)
- func (o OptCompleteAnalyticsArtifactMultipartUploadReq) Or(d CompleteAnalyticsArtifactMultipartUploadReq) CompleteAnalyticsArtifactMultipartUploadReq
- func (o *OptCompleteAnalyticsArtifactMultipartUploadReq) Reset()
- func (o *OptCompleteAnalyticsArtifactMultipartUploadReq) SetTo(v CompleteAnalyticsArtifactMultipartUploadReq)
- func (s *OptCompleteAnalyticsArtifactMultipartUploadReq) UnmarshalJSON(data []byte) error
- type OptCompleteAnalyticsArtifactsUploadsReq
- func (o *OptCompleteAnalyticsArtifactsUploadsReq) Decode(d *jx.Decoder) error
- func (o OptCompleteAnalyticsArtifactsUploadsReq) Encode(e *jx.Encoder)
- func (o OptCompleteAnalyticsArtifactsUploadsReq) Get() (v CompleteAnalyticsArtifactsUploadsReq, ok bool)
- func (o OptCompleteAnalyticsArtifactsUploadsReq) IsSet() bool
- func (s OptCompleteAnalyticsArtifactsUploadsReq) MarshalJSON() ([]byte, error)
- func (o OptCompleteAnalyticsArtifactsUploadsReq) Or(d CompleteAnalyticsArtifactsUploadsReq) CompleteAnalyticsArtifactsUploadsReq
- func (o *OptCompleteAnalyticsArtifactsUploadsReq) Reset()
- func (o *OptCompleteAnalyticsArtifactsUploadsReq) SetTo(v CompleteAnalyticsArtifactsUploadsReq)
- func (s *OptCompleteAnalyticsArtifactsUploadsReq) UnmarshalJSON(data []byte) error
- type OptCompleteCacheArtifactMultipartUploadOKStatus
- func (o *OptCompleteCacheArtifactMultipartUploadOKStatus) Decode(d *jx.Decoder) error
- func (o OptCompleteCacheArtifactMultipartUploadOKStatus) Encode(e *jx.Encoder)
- func (o OptCompleteCacheArtifactMultipartUploadOKStatus) Get() (v CompleteCacheArtifactMultipartUploadOKStatus, ok bool)
- func (o OptCompleteCacheArtifactMultipartUploadOKStatus) IsSet() bool
- func (s OptCompleteCacheArtifactMultipartUploadOKStatus) MarshalJSON() ([]byte, error)
- func (o OptCompleteCacheArtifactMultipartUploadOKStatus) Or(d CompleteCacheArtifactMultipartUploadOKStatus) CompleteCacheArtifactMultipartUploadOKStatus
- func (o *OptCompleteCacheArtifactMultipartUploadOKStatus) Reset()
- func (o *OptCompleteCacheArtifactMultipartUploadOKStatus) SetTo(v CompleteCacheArtifactMultipartUploadOKStatus)
- func (s *OptCompleteCacheArtifactMultipartUploadOKStatus) UnmarshalJSON(data []byte) error
- type OptCompleteCacheArtifactMultipartUploadReq
- func (o *OptCompleteCacheArtifactMultipartUploadReq) Decode(d *jx.Decoder) error
- func (o OptCompleteCacheArtifactMultipartUploadReq) Encode(e *jx.Encoder)
- func (o OptCompleteCacheArtifactMultipartUploadReq) Get() (v CompleteCacheArtifactMultipartUploadReq, ok bool)
- func (o OptCompleteCacheArtifactMultipartUploadReq) IsSet() bool
- func (s OptCompleteCacheArtifactMultipartUploadReq) MarshalJSON() ([]byte, error)
- func (o OptCompleteCacheArtifactMultipartUploadReq) Or(d CompleteCacheArtifactMultipartUploadReq) CompleteCacheArtifactMultipartUploadReq
- func (o *OptCompleteCacheArtifactMultipartUploadReq) Reset()
- func (o *OptCompleteCacheArtifactMultipartUploadReq) SetTo(v CompleteCacheArtifactMultipartUploadReq)
- func (s *OptCompleteCacheArtifactMultipartUploadReq) UnmarshalJSON(data []byte) error
- type OptCompletePreviewsMultipartUploadReq
- func (o *OptCompletePreviewsMultipartUploadReq) Decode(d *jx.Decoder) error
- func (o OptCompletePreviewsMultipartUploadReq) Encode(e *jx.Encoder)
- func (o OptCompletePreviewsMultipartUploadReq) Get() (v CompletePreviewsMultipartUploadReq, ok bool)
- func (o OptCompletePreviewsMultipartUploadReq) IsSet() bool
- func (s OptCompletePreviewsMultipartUploadReq) MarshalJSON() ([]byte, error)
- func (o OptCompletePreviewsMultipartUploadReq) Or(d CompletePreviewsMultipartUploadReq) CompletePreviewsMultipartUploadReq
- func (o *OptCompletePreviewsMultipartUploadReq) Reset()
- func (o *OptCompletePreviewsMultipartUploadReq) SetTo(v CompletePreviewsMultipartUploadReq)
- func (s *OptCompletePreviewsMultipartUploadReq) UnmarshalJSON(data []byte) error
- type OptCreateCommandEventReq
- func (o *OptCreateCommandEventReq) Decode(d *jx.Decoder) error
- func (o OptCreateCommandEventReq) Encode(e *jx.Encoder)
- func (o OptCreateCommandEventReq) Get() (v CreateCommandEventReq, ok bool)
- func (o OptCreateCommandEventReq) IsSet() bool
- func (s OptCreateCommandEventReq) MarshalJSON() ([]byte, error)
- func (o OptCreateCommandEventReq) Or(d CreateCommandEventReq) CreateCommandEventReq
- func (o *OptCreateCommandEventReq) Reset()
- func (o *OptCreateCommandEventReq) SetTo(v CreateCommandEventReq)
- func (s *OptCreateCommandEventReq) UnmarshalJSON(data []byte) error
- type OptCreateCommandEventReqParams
- func (o *OptCreateCommandEventReqParams) Decode(d *jx.Decoder) error
- func (o OptCreateCommandEventReqParams) Encode(e *jx.Encoder)
- func (o OptCreateCommandEventReqParams) Get() (v CreateCommandEventReqParams, ok bool)
- func (o OptCreateCommandEventReqParams) IsSet() bool
- func (s OptCreateCommandEventReqParams) MarshalJSON() ([]byte, error)
- func (o OptCreateCommandEventReqParams) Or(d CreateCommandEventReqParams) CreateCommandEventReqParams
- func (o *OptCreateCommandEventReqParams) Reset()
- func (o *OptCreateCommandEventReqParams) SetTo(v CreateCommandEventReqParams)
- func (s *OptCreateCommandEventReqParams) UnmarshalJSON(data []byte) error
- type OptCreateCommandEventReqStatus
- func (o *OptCreateCommandEventReqStatus) Decode(d *jx.Decoder) error
- func (o OptCreateCommandEventReqStatus) Encode(e *jx.Encoder)
- func (o OptCreateCommandEventReqStatus) Get() (v CreateCommandEventReqStatus, ok bool)
- func (o OptCreateCommandEventReqStatus) IsSet() bool
- func (s OptCreateCommandEventReqStatus) MarshalJSON() ([]byte, error)
- func (o OptCreateCommandEventReqStatus) Or(d CreateCommandEventReqStatus) CreateCommandEventReqStatus
- func (o *OptCreateCommandEventReqStatus) Reset()
- func (o *OptCreateCommandEventReqStatus) SetTo(v CreateCommandEventReqStatus)
- func (s *OptCreateCommandEventReqStatus) UnmarshalJSON(data []byte) error
- type OptCreateInvitationReq
- func (o *OptCreateInvitationReq) Decode(d *jx.Decoder) error
- func (o OptCreateInvitationReq) Encode(e *jx.Encoder)
- func (o OptCreateInvitationReq) Get() (v CreateInvitationReq, ok bool)
- func (o OptCreateInvitationReq) IsSet() bool
- func (s OptCreateInvitationReq) MarshalJSON() ([]byte, error)
- func (o OptCreateInvitationReq) Or(d CreateInvitationReq) CreateInvitationReq
- func (o *OptCreateInvitationReq) Reset()
- func (o *OptCreateInvitationReq) SetTo(v CreateInvitationReq)
- func (s *OptCreateInvitationReq) UnmarshalJSON(data []byte) error
- type OptCreateOrganizationReq
- func (o *OptCreateOrganizationReq) Decode(d *jx.Decoder) error
- func (o OptCreateOrganizationReq) Encode(e *jx.Encoder)
- func (o OptCreateOrganizationReq) Get() (v CreateOrganizationReq, ok bool)
- func (o OptCreateOrganizationReq) IsSet() bool
- func (s OptCreateOrganizationReq) MarshalJSON() ([]byte, error)
- func (o OptCreateOrganizationReq) Or(d CreateOrganizationReq) CreateOrganizationReq
- func (o *OptCreateOrganizationReq) Reset()
- func (o *OptCreateOrganizationReq) SetTo(v CreateOrganizationReq)
- func (s *OptCreateOrganizationReq) UnmarshalJSON(data []byte) error
- type OptCreateProjectReq
- func (o *OptCreateProjectReq) Decode(d *jx.Decoder) error
- func (o OptCreateProjectReq) Encode(e *jx.Encoder)
- func (o OptCreateProjectReq) Get() (v CreateProjectReq, ok bool)
- func (o OptCreateProjectReq) IsSet() bool
- func (s OptCreateProjectReq) MarshalJSON() ([]byte, error)
- func (o OptCreateProjectReq) Or(d CreateProjectReq) CreateProjectReq
- func (o *OptCreateProjectReq) Reset()
- func (o *OptCreateProjectReq) SetTo(v CreateProjectReq)
- func (s *OptCreateProjectReq) UnmarshalJSON(data []byte) error
- type OptGenerateAnalyticsArtifactMultipartUploadURLReq
- func (o *OptGenerateAnalyticsArtifactMultipartUploadURLReq) Decode(d *jx.Decoder) error
- func (o OptGenerateAnalyticsArtifactMultipartUploadURLReq) Encode(e *jx.Encoder)
- func (o OptGenerateAnalyticsArtifactMultipartUploadURLReq) Get() (v GenerateAnalyticsArtifactMultipartUploadURLReq, ok bool)
- func (o OptGenerateAnalyticsArtifactMultipartUploadURLReq) IsSet() bool
- func (s OptGenerateAnalyticsArtifactMultipartUploadURLReq) MarshalJSON() ([]byte, error)
- func (o OptGenerateAnalyticsArtifactMultipartUploadURLReq) Or(d GenerateAnalyticsArtifactMultipartUploadURLReq) GenerateAnalyticsArtifactMultipartUploadURLReq
- func (o *OptGenerateAnalyticsArtifactMultipartUploadURLReq) Reset()
- func (o *OptGenerateAnalyticsArtifactMultipartUploadURLReq) SetTo(v GenerateAnalyticsArtifactMultipartUploadURLReq)
- func (s *OptGenerateAnalyticsArtifactMultipartUploadURLReq) UnmarshalJSON(data []byte) error
- type OptGeneratePreviewsMultipartUploadURLReq
- func (o *OptGeneratePreviewsMultipartUploadURLReq) Decode(d *jx.Decoder) error
- func (o OptGeneratePreviewsMultipartUploadURLReq) Encode(e *jx.Encoder)
- func (o OptGeneratePreviewsMultipartUploadURLReq) Get() (v GeneratePreviewsMultipartUploadURLReq, ok bool)
- func (o OptGeneratePreviewsMultipartUploadURLReq) IsSet() bool
- func (s OptGeneratePreviewsMultipartUploadURLReq) MarshalJSON() ([]byte, error)
- func (o OptGeneratePreviewsMultipartUploadURLReq) Or(d GeneratePreviewsMultipartUploadURLReq) GeneratePreviewsMultipartUploadURLReq
- func (o *OptGeneratePreviewsMultipartUploadURLReq) Reset()
- func (o *OptGeneratePreviewsMultipartUploadURLReq) SetTo(v GeneratePreviewsMultipartUploadURLReq)
- func (s *OptGeneratePreviewsMultipartUploadURLReq) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptNilString
- func (o *OptNilString) Decode(d *jx.Decoder) error
- func (o OptNilString) Encode(e *jx.Encoder)
- func (o OptNilString) Get() (v string, ok bool)
- func (o OptNilString) IsNull() bool
- func (o OptNilString) IsSet() bool
- func (s OptNilString) MarshalJSON() ([]byte, error)
- func (o OptNilString) Or(d string) string
- func (o *OptNilString) Reset()
- func (o *OptNilString) SetTo(v string)
- func (o *OptNilString) SetToNull()
- func (s *OptNilString) UnmarshalJSON(data []byte) error
- type OptOrganizationSSOProvider
- func (o *OptOrganizationSSOProvider) Decode(d *jx.Decoder) error
- func (o OptOrganizationSSOProvider) Encode(e *jx.Encoder)
- func (o OptOrganizationSSOProvider) Get() (v OrganizationSSOProvider, ok bool)
- func (o OptOrganizationSSOProvider) IsSet() bool
- func (s OptOrganizationSSOProvider) MarshalJSON() ([]byte, error)
- func (o OptOrganizationSSOProvider) Or(d OrganizationSSOProvider) OrganizationSSOProvider
- func (o *OptOrganizationSSOProvider) Reset()
- func (o *OptOrganizationSSOProvider) SetTo(v OrganizationSSOProvider)
- func (s *OptOrganizationSSOProvider) UnmarshalJSON(data []byte) error
- type OptRefreshTokenReq
- func (o *OptRefreshTokenReq) Decode(d *jx.Decoder) error
- func (o OptRefreshTokenReq) Encode(e *jx.Encoder)
- func (o OptRefreshTokenReq) Get() (v RefreshTokenReq, ok bool)
- func (o OptRefreshTokenReq) IsSet() bool
- func (s OptRefreshTokenReq) MarshalJSON() ([]byte, error)
- func (o OptRefreshTokenReq) Or(d RefreshTokenReq) RefreshTokenReq
- func (o *OptRefreshTokenReq) Reset()
- func (o *OptRefreshTokenReq) SetTo(v RefreshTokenReq)
- func (s *OptRefreshTokenReq) UnmarshalJSON(data []byte) error
- type OptStartPreviewsMultipartUploadReq
- func (o *OptStartPreviewsMultipartUploadReq) Decode(d *jx.Decoder) error
- func (o OptStartPreviewsMultipartUploadReq) Encode(e *jx.Encoder)
- func (o OptStartPreviewsMultipartUploadReq) Get() (v StartPreviewsMultipartUploadReq, ok bool)
- func (o OptStartPreviewsMultipartUploadReq) IsSet() bool
- func (s OptStartPreviewsMultipartUploadReq) MarshalJSON() ([]byte, error)
- func (o OptStartPreviewsMultipartUploadReq) Or(d StartPreviewsMultipartUploadReq) StartPreviewsMultipartUploadReq
- func (o *OptStartPreviewsMultipartUploadReq) Reset()
- func (o *OptStartPreviewsMultipartUploadReq) SetTo(v StartPreviewsMultipartUploadReq)
- func (s *OptStartPreviewsMultipartUploadReq) UnmarshalJSON(data []byte) error
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type OptUpdateOrganization2Req
- func (o *OptUpdateOrganization2Req) Decode(d *jx.Decoder) error
- func (o OptUpdateOrganization2Req) Encode(e *jx.Encoder)
- func (o OptUpdateOrganization2Req) Get() (v UpdateOrganization2Req, ok bool)
- func (o OptUpdateOrganization2Req) IsSet() bool
- func (s OptUpdateOrganization2Req) MarshalJSON() ([]byte, error)
- func (o OptUpdateOrganization2Req) Or(d UpdateOrganization2Req) UpdateOrganization2Req
- func (o *OptUpdateOrganization2Req) Reset()
- func (o *OptUpdateOrganization2Req) SetTo(v UpdateOrganization2Req)
- func (s *OptUpdateOrganization2Req) UnmarshalJSON(data []byte) error
- type OptUpdateOrganization2ReqSSOProvider
- func (o *OptUpdateOrganization2ReqSSOProvider) Decode(d *jx.Decoder) error
- func (o OptUpdateOrganization2ReqSSOProvider) Encode(e *jx.Encoder)
- func (o OptUpdateOrganization2ReqSSOProvider) Get() (v UpdateOrganization2ReqSSOProvider, ok bool)
- func (o OptUpdateOrganization2ReqSSOProvider) IsSet() bool
- func (s OptUpdateOrganization2ReqSSOProvider) MarshalJSON() ([]byte, error)
- func (o OptUpdateOrganization2ReqSSOProvider) Or(d UpdateOrganization2ReqSSOProvider) UpdateOrganization2ReqSSOProvider
- func (o *OptUpdateOrganization2ReqSSOProvider) Reset()
- func (o *OptUpdateOrganization2ReqSSOProvider) SetTo(v UpdateOrganization2ReqSSOProvider)
- func (s *OptUpdateOrganization2ReqSSOProvider) UnmarshalJSON(data []byte) error
- type OptUpdateOrganizationMemberReq
- func (o *OptUpdateOrganizationMemberReq) Decode(d *jx.Decoder) error
- func (o OptUpdateOrganizationMemberReq) Encode(e *jx.Encoder)
- func (o OptUpdateOrganizationMemberReq) Get() (v UpdateOrganizationMemberReq, ok bool)
- func (o OptUpdateOrganizationMemberReq) IsSet() bool
- func (s OptUpdateOrganizationMemberReq) MarshalJSON() ([]byte, error)
- func (o OptUpdateOrganizationMemberReq) Or(d UpdateOrganizationMemberReq) UpdateOrganizationMemberReq
- func (o *OptUpdateOrganizationMemberReq) Reset()
- func (o *OptUpdateOrganizationMemberReq) SetTo(v UpdateOrganizationMemberReq)
- func (s *OptUpdateOrganizationMemberReq) UnmarshalJSON(data []byte) error
- type OptUpdateOrganizationReq
- func (o *OptUpdateOrganizationReq) Decode(d *jx.Decoder) error
- func (o OptUpdateOrganizationReq) Encode(e *jx.Encoder)
- func (o OptUpdateOrganizationReq) Get() (v UpdateOrganizationReq, ok bool)
- func (o OptUpdateOrganizationReq) IsSet() bool
- func (s OptUpdateOrganizationReq) MarshalJSON() ([]byte, error)
- func (o OptUpdateOrganizationReq) Or(d UpdateOrganizationReq) UpdateOrganizationReq
- func (o *OptUpdateOrganizationReq) Reset()
- func (o *OptUpdateOrganizationReq) SetTo(v UpdateOrganizationReq)
- func (s *OptUpdateOrganizationReq) UnmarshalJSON(data []byte) error
- type OptUpdateOrganizationReqSSOProvider
- func (o *OptUpdateOrganizationReqSSOProvider) Decode(d *jx.Decoder) error
- func (o OptUpdateOrganizationReqSSOProvider) Encode(e *jx.Encoder)
- func (o OptUpdateOrganizationReqSSOProvider) Get() (v UpdateOrganizationReqSSOProvider, ok bool)
- func (o OptUpdateOrganizationReqSSOProvider) IsSet() bool
- func (s OptUpdateOrganizationReqSSOProvider) MarshalJSON() ([]byte, error)
- func (o OptUpdateOrganizationReqSSOProvider) Or(d UpdateOrganizationReqSSOProvider) UpdateOrganizationReqSSOProvider
- func (o *OptUpdateOrganizationReqSSOProvider) Reset()
- func (o *OptUpdateOrganizationReqSSOProvider) SetTo(v UpdateOrganizationReqSSOProvider)
- func (s *OptUpdateOrganizationReqSSOProvider) UnmarshalJSON(data []byte) error
- type OptUpdateProjectReq
- func (o *OptUpdateProjectReq) Decode(d *jx.Decoder) error
- func (o OptUpdateProjectReq) Encode(e *jx.Encoder)
- func (o OptUpdateProjectReq) Get() (v UpdateProjectReq, ok bool)
- func (o OptUpdateProjectReq) IsSet() bool
- func (s OptUpdateProjectReq) MarshalJSON() ([]byte, error)
- func (o OptUpdateProjectReq) Or(d UpdateProjectReq) UpdateProjectReq
- func (o *OptUpdateProjectReq) Reset()
- func (o *OptUpdateProjectReq) SetTo(v UpdateProjectReq)
- func (s *OptUpdateProjectReq) UnmarshalJSON(data []byte) error
- type OptUploadCacheActionItemReq
- func (o *OptUploadCacheActionItemReq) Decode(d *jx.Decoder) error
- func (o OptUploadCacheActionItemReq) Encode(e *jx.Encoder)
- func (o OptUploadCacheActionItemReq) Get() (v UploadCacheActionItemReq, ok bool)
- func (o OptUploadCacheActionItemReq) IsSet() bool
- func (s OptUploadCacheActionItemReq) MarshalJSON() ([]byte, error)
- func (o OptUploadCacheActionItemReq) Or(d UploadCacheActionItemReq) UploadCacheActionItemReq
- func (o *OptUploadCacheActionItemReq) Reset()
- func (o *OptUploadCacheActionItemReq) SetTo(v UploadCacheActionItemReq)
- func (s *OptUploadCacheActionItemReq) UnmarshalJSON(data []byte) error
- type Option
- type Organization
- func (s *Organization) Decode(d *jx.Decoder) error
- func (s *Organization) Encode(e *jx.Encoder)
- func (s *Organization) GetID() float64
- func (s *Organization) GetInvitations() []Invitation
- func (s *Organization) GetMembers() []OrganizationMember
- func (s *Organization) GetName() string
- func (s *Organization) GetPlan() OrganizationPlan
- func (s *Organization) GetSSOOrganizationID() OptString
- func (s *Organization) GetSSOProvider() OptOrganizationSSOProvider
- func (s *Organization) MarshalJSON() ([]byte, error)
- func (s *Organization) SetID(val float64)
- func (s *Organization) SetInvitations(val []Invitation)
- func (s *Organization) SetMembers(val []OrganizationMember)
- func (s *Organization) SetName(val string)
- func (s *Organization) SetPlan(val OrganizationPlan)
- func (s *Organization) SetSSOOrganizationID(val OptString)
- func (s *Organization) SetSSOProvider(val OptOrganizationSSOProvider)
- func (s *Organization) UnmarshalJSON(data []byte) error
- func (s *Organization) Validate() error
- type OrganizationMember
- func (s *OrganizationMember) Decode(d *jx.Decoder) error
- func (s *OrganizationMember) Encode(e *jx.Encoder)
- func (s *OrganizationMember) GetEmail() string
- func (s *OrganizationMember) GetID() float64
- func (s *OrganizationMember) GetName() string
- func (s *OrganizationMember) GetRole() OrganizationMemberRole
- func (s *OrganizationMember) MarshalJSON() ([]byte, error)
- func (s *OrganizationMember) SetEmail(val string)
- func (s *OrganizationMember) SetID(val float64)
- func (s *OrganizationMember) SetName(val string)
- func (s *OrganizationMember) SetRole(val OrganizationMemberRole)
- func (s *OrganizationMember) UnmarshalJSON(data []byte) error
- func (s *OrganizationMember) Validate() error
- type OrganizationMemberRole
- func (OrganizationMemberRole) AllValues() []OrganizationMemberRole
- func (s *OrganizationMemberRole) Decode(d *jx.Decoder) error
- func (s OrganizationMemberRole) Encode(e *jx.Encoder)
- func (s OrganizationMemberRole) MarshalJSON() ([]byte, error)
- func (s OrganizationMemberRole) MarshalText() ([]byte, error)
- func (s *OrganizationMemberRole) UnmarshalJSON(data []byte) error
- func (s *OrganizationMemberRole) UnmarshalText(data []byte) error
- func (s OrganizationMemberRole) Validate() error
- type OrganizationPlan
- func (OrganizationPlan) AllValues() []OrganizationPlan
- func (s *OrganizationPlan) Decode(d *jx.Decoder) error
- func (s OrganizationPlan) Encode(e *jx.Encoder)
- func (s OrganizationPlan) MarshalJSON() ([]byte, error)
- func (s OrganizationPlan) MarshalText() ([]byte, error)
- func (s *OrganizationPlan) UnmarshalJSON(data []byte) error
- func (s *OrganizationPlan) UnmarshalText(data []byte) error
- func (s OrganizationPlan) Validate() error
- type OrganizationSSOProvider
- func (OrganizationSSOProvider) AllValues() []OrganizationSSOProvider
- func (s *OrganizationSSOProvider) Decode(d *jx.Decoder) error
- func (s OrganizationSSOProvider) Encode(e *jx.Encoder)
- func (s OrganizationSSOProvider) MarshalJSON() ([]byte, error)
- func (s OrganizationSSOProvider) MarshalText() ([]byte, error)
- func (s *OrganizationSSOProvider) UnmarshalJSON(data []byte) error
- func (s *OrganizationSSOProvider) UnmarshalText(data []byte) error
- func (s OrganizationSSOProvider) Validate() error
- type OrganizationUsage
- func (s *OrganizationUsage) Decode(d *jx.Decoder) error
- func (s *OrganizationUsage) Encode(e *jx.Encoder)
- func (s *OrganizationUsage) GetCurrentMonthRemoteCacheHits() float64
- func (s *OrganizationUsage) MarshalJSON() ([]byte, error)
- func (s *OrganizationUsage) SetCurrentMonthRemoteCacheHits(val float64)
- func (s *OrganizationUsage) UnmarshalJSON(data []byte) error
- func (s *OrganizationUsage) Validate() error
- type Project
- func (s *Project) Decode(d *jx.Decoder) error
- func (s *Project) Encode(e *jx.Encoder)
- func (s *Project) GetDefaultBranch() string
- func (s *Project) GetFullName() string
- func (s *Project) GetID() float64
- func (s *Project) GetRepositoryURL() OptString
- func (s *Project) GetToken() string
- func (s *Project) MarshalJSON() ([]byte, error)
- func (s *Project) SetDefaultBranch(val string)
- func (s *Project) SetFullName(val string)
- func (s *Project) SetID(val float64)
- func (s *Project) SetRepositoryURL(val OptString)
- func (s *Project) SetToken(val string)
- func (s *Project) UnmarshalJSON(data []byte) error
- func (s *Project) Validate() error
- type ProjectToken
- func (s *ProjectToken) Decode(d *jx.Decoder) error
- func (s *ProjectToken) Encode(e *jx.Encoder)
- func (s *ProjectToken) GetID() string
- func (s *ProjectToken) GetInsertedAt() time.Time
- func (s *ProjectToken) MarshalJSON() ([]byte, error)
- func (s *ProjectToken) SetID(val string)
- func (s *ProjectToken) SetInsertedAt(val time.Time)
- func (s *ProjectToken) UnmarshalJSON(data []byte) error
- type RefreshTokenReq
- func (s *RefreshTokenReq) Decode(d *jx.Decoder) error
- func (s *RefreshTokenReq) Encode(e *jx.Encoder)
- func (s *RefreshTokenReq) GetRefreshToken() string
- func (s *RefreshTokenReq) MarshalJSON() ([]byte, error)
- func (s *RefreshTokenReq) SetRefreshToken(val string)
- func (s *RefreshTokenReq) UnmarshalJSON(data []byte) error
- type RefreshTokenRes
- type RevokeProjectTokenBadRequest
- type RevokeProjectTokenForbidden
- type RevokeProjectTokenNoContent
- type RevokeProjectTokenNotFound
- type RevokeProjectTokenParams
- type RevokeProjectTokenRes
- type RevokeProjectTokenUnauthorized
- type Route
- type SecurityHandler
- type SecuritySource
- type Server
- type ServerOption
- func WithErrorHandler(h ErrorHandler) ServerOption
- func WithMaxMultipartMemory(max int64) ServerOption
- func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
- func WithMiddleware(m ...Middleware) ServerOption
- func WithNotFound(notFound http.HandlerFunc) ServerOption
- func WithPathPrefix(prefix string) ServerOption
- type ShowOrganizationForbidden
- type ShowOrganizationNotFound
- type ShowOrganizationParams
- type ShowOrganizationRes
- type ShowOrganizationUnauthorized
- type ShowOrganizationUsageForbidden
- type ShowOrganizationUsageNotFound
- type ShowOrganizationUsageParams
- type ShowOrganizationUsageRes
- type ShowOrganizationUsageUnauthorized
- type ShowProjectForbidden
- type ShowProjectNotFound
- type ShowProjectParams
- type ShowProjectRes
- type ShowProjectUnauthorized
- type StartAnalyticsArtifactMultipartUploadForbidden
- func (s *StartAnalyticsArtifactMultipartUploadForbidden) Decode(d *jx.Decoder) error
- func (s *StartAnalyticsArtifactMultipartUploadForbidden) Encode(e *jx.Encoder)
- func (s *StartAnalyticsArtifactMultipartUploadForbidden) MarshalJSON() ([]byte, error)
- func (s *StartAnalyticsArtifactMultipartUploadForbidden) UnmarshalJSON(data []byte) error
- type StartAnalyticsArtifactMultipartUploadNotFound
- func (s *StartAnalyticsArtifactMultipartUploadNotFound) Decode(d *jx.Decoder) error
- func (s *StartAnalyticsArtifactMultipartUploadNotFound) Encode(e *jx.Encoder)
- func (s *StartAnalyticsArtifactMultipartUploadNotFound) MarshalJSON() ([]byte, error)
- func (s *StartAnalyticsArtifactMultipartUploadNotFound) UnmarshalJSON(data []byte) error
- type StartAnalyticsArtifactMultipartUploadParams
- type StartAnalyticsArtifactMultipartUploadRes
- type StartAnalyticsArtifactMultipartUploadUnauthorized
- func (s *StartAnalyticsArtifactMultipartUploadUnauthorized) Decode(d *jx.Decoder) error
- func (s *StartAnalyticsArtifactMultipartUploadUnauthorized) Encode(e *jx.Encoder)
- func (s *StartAnalyticsArtifactMultipartUploadUnauthorized) MarshalJSON() ([]byte, error)
- func (s *StartAnalyticsArtifactMultipartUploadUnauthorized) UnmarshalJSON(data []byte) error
- type StartCacheArtifactMultipartUploadForbidden
- func (s *StartCacheArtifactMultipartUploadForbidden) Decode(d *jx.Decoder) error
- func (s *StartCacheArtifactMultipartUploadForbidden) Encode(e *jx.Encoder)
- func (s *StartCacheArtifactMultipartUploadForbidden) MarshalJSON() ([]byte, error)
- func (s *StartCacheArtifactMultipartUploadForbidden) UnmarshalJSON(data []byte) error
- type StartCacheArtifactMultipartUploadNotFound
- func (s *StartCacheArtifactMultipartUploadNotFound) Decode(d *jx.Decoder) error
- func (s *StartCacheArtifactMultipartUploadNotFound) Encode(e *jx.Encoder)
- func (s *StartCacheArtifactMultipartUploadNotFound) MarshalJSON() ([]byte, error)
- func (s *StartCacheArtifactMultipartUploadNotFound) UnmarshalJSON(data []byte) error
- type StartCacheArtifactMultipartUploadParams
- type StartCacheArtifactMultipartUploadPaymentRequired
- func (s *StartCacheArtifactMultipartUploadPaymentRequired) Decode(d *jx.Decoder) error
- func (s *StartCacheArtifactMultipartUploadPaymentRequired) Encode(e *jx.Encoder)
- func (s *StartCacheArtifactMultipartUploadPaymentRequired) MarshalJSON() ([]byte, error)
- func (s *StartCacheArtifactMultipartUploadPaymentRequired) UnmarshalJSON(data []byte) error
- type StartCacheArtifactMultipartUploadRes
- type StartCacheArtifactMultipartUploadUnauthorized
- func (s *StartCacheArtifactMultipartUploadUnauthorized) Decode(d *jx.Decoder) error
- func (s *StartCacheArtifactMultipartUploadUnauthorized) Encode(e *jx.Encoder)
- func (s *StartCacheArtifactMultipartUploadUnauthorized) MarshalJSON() ([]byte, error)
- func (s *StartCacheArtifactMultipartUploadUnauthorized) UnmarshalJSON(data []byte) error
- type StartPreviewsMultipartUploadForbidden
- func (s *StartPreviewsMultipartUploadForbidden) Decode(d *jx.Decoder) error
- func (s *StartPreviewsMultipartUploadForbidden) Encode(e *jx.Encoder)
- func (s *StartPreviewsMultipartUploadForbidden) MarshalJSON() ([]byte, error)
- func (s *StartPreviewsMultipartUploadForbidden) UnmarshalJSON(data []byte) error
- type StartPreviewsMultipartUploadNotFound
- func (s *StartPreviewsMultipartUploadNotFound) Decode(d *jx.Decoder) error
- func (s *StartPreviewsMultipartUploadNotFound) Encode(e *jx.Encoder)
- func (s *StartPreviewsMultipartUploadNotFound) MarshalJSON() ([]byte, error)
- func (s *StartPreviewsMultipartUploadNotFound) UnmarshalJSON(data []byte) error
- type StartPreviewsMultipartUploadOK
- func (s *StartPreviewsMultipartUploadOK) Decode(d *jx.Decoder) error
- func (s *StartPreviewsMultipartUploadOK) Encode(e *jx.Encoder)
- func (s *StartPreviewsMultipartUploadOK) GetData() StartPreviewsMultipartUploadOKData
- func (s *StartPreviewsMultipartUploadOK) GetStatus() StartPreviewsMultipartUploadOKStatus
- func (s *StartPreviewsMultipartUploadOK) MarshalJSON() ([]byte, error)
- func (s *StartPreviewsMultipartUploadOK) SetData(val StartPreviewsMultipartUploadOKData)
- func (s *StartPreviewsMultipartUploadOK) SetStatus(val StartPreviewsMultipartUploadOKStatus)
- func (s *StartPreviewsMultipartUploadOK) UnmarshalJSON(data []byte) error
- func (s *StartPreviewsMultipartUploadOK) Validate() error
- type StartPreviewsMultipartUploadOKData
- func (s *StartPreviewsMultipartUploadOKData) Decode(d *jx.Decoder) error
- func (s *StartPreviewsMultipartUploadOKData) Encode(e *jx.Encoder)
- func (s *StartPreviewsMultipartUploadOKData) GetPreviewID() string
- func (s *StartPreviewsMultipartUploadOKData) GetUploadID() string
- func (s *StartPreviewsMultipartUploadOKData) MarshalJSON() ([]byte, error)
- func (s *StartPreviewsMultipartUploadOKData) SetPreviewID(val string)
- func (s *StartPreviewsMultipartUploadOKData) SetUploadID(val string)
- func (s *StartPreviewsMultipartUploadOKData) UnmarshalJSON(data []byte) error
- type StartPreviewsMultipartUploadOKStatus
- func (StartPreviewsMultipartUploadOKStatus) AllValues() []StartPreviewsMultipartUploadOKStatus
- func (s *StartPreviewsMultipartUploadOKStatus) Decode(d *jx.Decoder) error
- func (s StartPreviewsMultipartUploadOKStatus) Encode(e *jx.Encoder)
- func (s StartPreviewsMultipartUploadOKStatus) MarshalJSON() ([]byte, error)
- func (s StartPreviewsMultipartUploadOKStatus) MarshalText() ([]byte, error)
- func (s *StartPreviewsMultipartUploadOKStatus) UnmarshalJSON(data []byte) error
- func (s *StartPreviewsMultipartUploadOKStatus) UnmarshalText(data []byte) error
- func (s StartPreviewsMultipartUploadOKStatus) Validate() error
- type StartPreviewsMultipartUploadParams
- type StartPreviewsMultipartUploadReq
- func (s *StartPreviewsMultipartUploadReq) Decode(d *jx.Decoder) error
- func (s *StartPreviewsMultipartUploadReq) Encode(e *jx.Encoder)
- func (s *StartPreviewsMultipartUploadReq) GetDisplayName() OptString
- func (s *StartPreviewsMultipartUploadReq) MarshalJSON() ([]byte, error)
- func (s *StartPreviewsMultipartUploadReq) SetDisplayName(val OptString)
- func (s *StartPreviewsMultipartUploadReq) UnmarshalJSON(data []byte) error
- type StartPreviewsMultipartUploadRes
- type StartPreviewsMultipartUploadUnauthorized
- func (s *StartPreviewsMultipartUploadUnauthorized) Decode(d *jx.Decoder) error
- func (s *StartPreviewsMultipartUploadUnauthorized) Encode(e *jx.Encoder)
- func (s *StartPreviewsMultipartUploadUnauthorized) MarshalJSON() ([]byte, error)
- func (s *StartPreviewsMultipartUploadUnauthorized) UnmarshalJSON(data []byte) error
- type UnimplementedHandler
- func (UnimplementedHandler) Authenticate(ctx context.Context, req OptAuthenticateReq) (r AuthenticateRes, _ error)
- func (UnimplementedHandler) CacheArtifactExists(ctx context.Context, params CacheArtifactExistsParams) (r CacheArtifactExistsRes, _ error)deprecated
- func (UnimplementedHandler) CleanCache(ctx context.Context, params CleanCacheParams) (r CleanCacheRes, _ error)
- func (UnimplementedHandler) CompleteAnalyticsArtifactMultipartUpload(ctx context.Context, req OptCompleteAnalyticsArtifactMultipartUploadReq, ...) (r CompleteAnalyticsArtifactMultipartUploadRes, _ error)
- func (UnimplementedHandler) CompleteAnalyticsArtifactsUploads(ctx context.Context, req OptCompleteAnalyticsArtifactsUploadsReq, ...) (r CompleteAnalyticsArtifactsUploadsRes, _ error)
- func (UnimplementedHandler) CompleteCacheArtifactMultipartUpload(ctx context.Context, req OptCompleteCacheArtifactMultipartUploadReq, ...) (r CompleteCacheArtifactMultipartUploadRes, _ error)
- func (UnimplementedHandler) CompletePreviewsMultipartUpload(ctx context.Context, req OptCompletePreviewsMultipartUploadReq, ...) (r CompletePreviewsMultipartUploadRes, _ error)
- func (UnimplementedHandler) CreateCommandEvent(ctx context.Context, req OptCreateCommandEventReq, ...) (r CreateCommandEventRes, _ error)
- func (UnimplementedHandler) CreateInvitation(ctx context.Context, req OptCreateInvitationReq, params CreateInvitationParams) (r CreateInvitationRes, _ error)
- func (UnimplementedHandler) CreateOrganization(ctx context.Context, req OptCreateOrganizationReq) (r CreateOrganizationRes, _ error)
- func (UnimplementedHandler) CreateProject(ctx context.Context, req OptCreateProjectReq) (r CreateProjectRes, _ error)
- func (UnimplementedHandler) CreateProjectToken(ctx context.Context, params CreateProjectTokenParams) (r CreateProjectTokenRes, _ error)
- func (UnimplementedHandler) DeleteOrganization(ctx context.Context, params DeleteOrganizationParams) (r DeleteOrganizationRes, _ error)
- func (UnimplementedHandler) DeleteProject(ctx context.Context, params DeleteProjectParams) (r DeleteProjectRes, _ error)
- func (UnimplementedHandler) DownloadCacheArtifact(ctx context.Context, params DownloadCacheArtifactParams) (r DownloadCacheArtifactRes, _ error)
- func (UnimplementedHandler) DownloadPreview(ctx context.Context, params DownloadPreviewParams) (r DownloadPreviewRes, _ error)
- func (UnimplementedHandler) GenerateAnalyticsArtifactMultipartUploadURL(ctx context.Context, req OptGenerateAnalyticsArtifactMultipartUploadURLReq, ...) (r GenerateAnalyticsArtifactMultipartUploadURLRes, _ error)
- func (UnimplementedHandler) GenerateCacheArtifactMultipartUploadURL(ctx context.Context, params GenerateCacheArtifactMultipartUploadURLParams) (r GenerateCacheArtifactMultipartUploadURLRes, _ error)
- func (UnimplementedHandler) GeneratePreviewsMultipartUploadURL(ctx context.Context, req OptGeneratePreviewsMultipartUploadURLReq, ...) (r GeneratePreviewsMultipartUploadURLRes, _ error)
- func (UnimplementedHandler) GetCacheActionItem(ctx context.Context, params GetCacheActionItemParams) (r GetCacheActionItemRes, _ error)
- func (UnimplementedHandler) GetDeviceCode(ctx context.Context, params GetDeviceCodeParams) (r GetDeviceCodeRes, _ error)
- func (UnimplementedHandler) ListOrganizations(ctx context.Context) (r ListOrganizationsRes, _ error)
- func (UnimplementedHandler) ListProjectTokens(ctx context.Context, params ListProjectTokensParams) (r ListProjectTokensRes, _ error)
- func (UnimplementedHandler) ListProjects(ctx context.Context) (r ListProjectsRes, _ error)
- func (UnimplementedHandler) RefreshToken(ctx context.Context, req OptRefreshTokenReq) (r RefreshTokenRes, _ error)
- func (UnimplementedHandler) RevokeProjectToken(ctx context.Context, params RevokeProjectTokenParams) (r RevokeProjectTokenRes, _ error)
- func (UnimplementedHandler) ShowOrganization(ctx context.Context, params ShowOrganizationParams) (r ShowOrganizationRes, _ error)
- func (UnimplementedHandler) ShowOrganizationUsage(ctx context.Context, params ShowOrganizationUsageParams) (r ShowOrganizationUsageRes, _ error)
- func (UnimplementedHandler) ShowProject(ctx context.Context, params ShowProjectParams) (r ShowProjectRes, _ error)
- func (UnimplementedHandler) StartAnalyticsArtifactMultipartUpload(ctx context.Context, req CommandEventArtifact, ...) (r StartAnalyticsArtifactMultipartUploadRes, _ error)
- func (UnimplementedHandler) StartCacheArtifactMultipartUpload(ctx context.Context, params StartCacheArtifactMultipartUploadParams) (r StartCacheArtifactMultipartUploadRes, _ error)
- func (UnimplementedHandler) StartPreviewsMultipartUpload(ctx context.Context, req OptStartPreviewsMultipartUploadReq, ...) (r StartPreviewsMultipartUploadRes, _ error)
- func (UnimplementedHandler) UpdateOrganization(ctx context.Context, req OptUpdateOrganizationReq, ...) (r UpdateOrganizationRes, _ error)
- func (UnimplementedHandler) UpdateOrganization2(ctx context.Context, req OptUpdateOrganization2Req, ...) (r UpdateOrganization2Res, _ error)
- func (UnimplementedHandler) UpdateOrganizationMember(ctx context.Context, req OptUpdateOrganizationMemberReq, ...) (r UpdateOrganizationMemberRes, _ error)
- func (UnimplementedHandler) UpdateProject(ctx context.Context, req OptUpdateProjectReq, params UpdateProjectParams) (r UpdateProjectRes, _ error)
- func (UnimplementedHandler) UploadCacheActionItem(ctx context.Context, req OptUploadCacheActionItemReq, ...) (r UploadCacheActionItemRes, _ error)
- type UpdateOrganization2BadRequest
- type UpdateOrganization2Forbidden
- type UpdateOrganization2NotFound
- type UpdateOrganization2Params
- type UpdateOrganization2Req
- func (s *UpdateOrganization2Req) Decode(d *jx.Decoder) error
- func (s *UpdateOrganization2Req) Encode(e *jx.Encoder)
- func (s *UpdateOrganization2Req) GetSSOOrganizationID() OptNilString
- func (s *UpdateOrganization2Req) GetSSOProvider() OptUpdateOrganization2ReqSSOProvider
- func (s *UpdateOrganization2Req) MarshalJSON() ([]byte, error)
- func (s *UpdateOrganization2Req) SetSSOOrganizationID(val OptNilString)
- func (s *UpdateOrganization2Req) SetSSOProvider(val OptUpdateOrganization2ReqSSOProvider)
- func (s *UpdateOrganization2Req) UnmarshalJSON(data []byte) error
- func (s *UpdateOrganization2Req) Validate() error
- type UpdateOrganization2ReqSSOProvider
- func (UpdateOrganization2ReqSSOProvider) AllValues() []UpdateOrganization2ReqSSOProvider
- func (s *UpdateOrganization2ReqSSOProvider) Decode(d *jx.Decoder) error
- func (s UpdateOrganization2ReqSSOProvider) Encode(e *jx.Encoder)
- func (s UpdateOrganization2ReqSSOProvider) MarshalJSON() ([]byte, error)
- func (s UpdateOrganization2ReqSSOProvider) MarshalText() ([]byte, error)
- func (s *UpdateOrganization2ReqSSOProvider) UnmarshalJSON(data []byte) error
- func (s *UpdateOrganization2ReqSSOProvider) UnmarshalText(data []byte) error
- func (s UpdateOrganization2ReqSSOProvider) Validate() error
- type UpdateOrganization2Res
- type UpdateOrganization2Unauthorized
- type UpdateOrganizationBadRequest
- type UpdateOrganizationForbidden
- type UpdateOrganizationMemberBadRequest
- type UpdateOrganizationMemberForbidden
- type UpdateOrganizationMemberNotFound
- type UpdateOrganizationMemberParams
- type UpdateOrganizationMemberReq
- func (s *UpdateOrganizationMemberReq) Decode(d *jx.Decoder) error
- func (s *UpdateOrganizationMemberReq) Encode(e *jx.Encoder)
- func (s *UpdateOrganizationMemberReq) GetRole() UpdateOrganizationMemberReqRole
- func (s *UpdateOrganizationMemberReq) MarshalJSON() ([]byte, error)
- func (s *UpdateOrganizationMemberReq) SetRole(val UpdateOrganizationMemberReqRole)
- func (s *UpdateOrganizationMemberReq) UnmarshalJSON(data []byte) error
- func (s *UpdateOrganizationMemberReq) Validate() error
- type UpdateOrganizationMemberReqRole
- func (UpdateOrganizationMemberReqRole) AllValues() []UpdateOrganizationMemberReqRole
- func (s *UpdateOrganizationMemberReqRole) Decode(d *jx.Decoder) error
- func (s UpdateOrganizationMemberReqRole) Encode(e *jx.Encoder)
- func (s UpdateOrganizationMemberReqRole) MarshalJSON() ([]byte, error)
- func (s UpdateOrganizationMemberReqRole) MarshalText() ([]byte, error)
- func (s *UpdateOrganizationMemberReqRole) UnmarshalJSON(data []byte) error
- func (s *UpdateOrganizationMemberReqRole) UnmarshalText(data []byte) error
- func (s UpdateOrganizationMemberReqRole) Validate() error
- type UpdateOrganizationMemberRes
- type UpdateOrganizationMemberUnauthorized
- func (s *UpdateOrganizationMemberUnauthorized) Decode(d *jx.Decoder) error
- func (s *UpdateOrganizationMemberUnauthorized) Encode(e *jx.Encoder)
- func (s *UpdateOrganizationMemberUnauthorized) MarshalJSON() ([]byte, error)
- func (s *UpdateOrganizationMemberUnauthorized) UnmarshalJSON(data []byte) error
- type UpdateOrganizationNotFound
- type UpdateOrganizationParams
- type UpdateOrganizationReq
- func (s *UpdateOrganizationReq) Decode(d *jx.Decoder) error
- func (s *UpdateOrganizationReq) Encode(e *jx.Encoder)
- func (s *UpdateOrganizationReq) GetSSOOrganizationID() OptNilString
- func (s *UpdateOrganizationReq) GetSSOProvider() OptUpdateOrganizationReqSSOProvider
- func (s *UpdateOrganizationReq) MarshalJSON() ([]byte, error)
- func (s *UpdateOrganizationReq) SetSSOOrganizationID(val OptNilString)
- func (s *UpdateOrganizationReq) SetSSOProvider(val OptUpdateOrganizationReqSSOProvider)
- func (s *UpdateOrganizationReq) UnmarshalJSON(data []byte) error
- func (s *UpdateOrganizationReq) Validate() error
- type UpdateOrganizationReqSSOProvider
- func (UpdateOrganizationReqSSOProvider) AllValues() []UpdateOrganizationReqSSOProvider
- func (s *UpdateOrganizationReqSSOProvider) Decode(d *jx.Decoder) error
- func (s UpdateOrganizationReqSSOProvider) Encode(e *jx.Encoder)
- func (s UpdateOrganizationReqSSOProvider) MarshalJSON() ([]byte, error)
- func (s UpdateOrganizationReqSSOProvider) MarshalText() ([]byte, error)
- func (s *UpdateOrganizationReqSSOProvider) UnmarshalJSON(data []byte) error
- func (s *UpdateOrganizationReqSSOProvider) UnmarshalText(data []byte) error
- func (s UpdateOrganizationReqSSOProvider) Validate() error
- type UpdateOrganizationRes
- type UpdateOrganizationUnauthorized
- type UpdateProjectBadRequest
- type UpdateProjectForbidden
- type UpdateProjectNotFound
- type UpdateProjectParams
- type UpdateProjectReq
- func (s *UpdateProjectReq) Decode(d *jx.Decoder) error
- func (s *UpdateProjectReq) Encode(e *jx.Encoder)
- func (s *UpdateProjectReq) GetDefaultBranch() OptString
- func (s *UpdateProjectReq) GetRepositoryURL() OptString
- func (s *UpdateProjectReq) MarshalJSON() ([]byte, error)
- func (s *UpdateProjectReq) SetDefaultBranch(val OptString)
- func (s *UpdateProjectReq) SetRepositoryURL(val OptString)
- func (s *UpdateProjectReq) UnmarshalJSON(data []byte) error
- type UpdateProjectRes
- type UpdateProjectUnauthorized
- type UploadCacheActionItemBadRequest
- type UploadCacheActionItemCreated
- type UploadCacheActionItemForbidden
- type UploadCacheActionItemNotFound
- type UploadCacheActionItemOK
- type UploadCacheActionItemParams
- type UploadCacheActionItemPaymentRequired
- func (s *UploadCacheActionItemPaymentRequired) Decode(d *jx.Decoder) error
- func (s *UploadCacheActionItemPaymentRequired) Encode(e *jx.Encoder)
- func (s *UploadCacheActionItemPaymentRequired) MarshalJSON() ([]byte, error)
- func (s *UploadCacheActionItemPaymentRequired) UnmarshalJSON(data []byte) error
- type UploadCacheActionItemReq
- func (s *UploadCacheActionItemReq) Decode(d *jx.Decoder) error
- func (s *UploadCacheActionItemReq) Encode(e *jx.Encoder)
- func (s *UploadCacheActionItemReq) GetHash() OptString
- func (s *UploadCacheActionItemReq) MarshalJSON() ([]byte, error)
- func (s *UploadCacheActionItemReq) SetHash(val OptString)
- func (s *UploadCacheActionItemReq) UnmarshalJSON(data []byte) error
- type UploadCacheActionItemRes
- type UploadCacheActionItemUnauthorized
- type User
- func (s *User) Decode(d *jx.Decoder) error
- func (s *User) Encode(e *jx.Encoder)
- func (s *User) GetEmail() string
- func (s *User) GetID() float64
- func (s *User) GetName() string
- func (s *User) MarshalJSON() ([]byte, error)
- func (s *User) SetEmail(val string)
- func (s *User) SetID(val float64)
- func (s *User) SetName(val string)
- func (s *User) UnmarshalJSON(data []byte) error
- func (s *User) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArtifactDownloadURL ¶
type ArtifactDownloadURL struct { // The UNIX timestamp when the URL expires. ExpiresAt int `json:"expires_at"` // The URL to download the artifact. URL string `json:"url"` }
The URL to download an artifact. Ref: #/components/schemas/ArtifactDownloadURL
func (*ArtifactDownloadURL) Decode ¶
func (s *ArtifactDownloadURL) Decode(d *jx.Decoder) error
Decode decodes ArtifactDownloadURL from json.
func (*ArtifactDownloadURL) Encode ¶
func (s *ArtifactDownloadURL) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ArtifactDownloadURL) GetExpiresAt ¶
func (s *ArtifactDownloadURL) GetExpiresAt() int
GetExpiresAt returns the value of ExpiresAt.
func (*ArtifactDownloadURL) GetURL ¶
func (s *ArtifactDownloadURL) GetURL() string
GetURL returns the value of URL.
func (*ArtifactDownloadURL) MarshalJSON ¶
func (s *ArtifactDownloadURL) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ArtifactDownloadURL) SetExpiresAt ¶
func (s *ArtifactDownloadURL) SetExpiresAt(val int)
SetExpiresAt sets the value of ExpiresAt.
func (*ArtifactDownloadURL) SetURL ¶
func (s *ArtifactDownloadURL) SetURL(val string)
SetURL sets the value of URL.
func (*ArtifactDownloadURL) UnmarshalJSON ¶
func (s *ArtifactDownloadURL) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ArtifactMultipartUploadPart ¶
func (*ArtifactMultipartUploadPart) Decode ¶
func (s *ArtifactMultipartUploadPart) Decode(d *jx.Decoder) error
Decode decodes ArtifactMultipartUploadPart from json.
func (ArtifactMultipartUploadPart) Encode ¶
func (s ArtifactMultipartUploadPart) Encode(e *jx.Encoder)
Encode encodes ArtifactMultipartUploadPart as json.
func (ArtifactMultipartUploadPart) MarshalJSON ¶
func (s ArtifactMultipartUploadPart) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ArtifactMultipartUploadPart) UnmarshalJSON ¶
func (s *ArtifactMultipartUploadPart) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ArtifactMultipartUploadParts ¶
type ArtifactMultipartUploadParts struct { Parts []ArtifactMultipartUploadPartsPartsItem `json:"parts"` // The upload ID. UploadID string `json:"upload_id"` }
It represents a part that has been uploaded using multipart uploads. The part is identified by its number and the etag. Ref: #/components/schemas/ArtifactMultipartUploadParts
func (*ArtifactMultipartUploadParts) Decode ¶
func (s *ArtifactMultipartUploadParts) Decode(d *jx.Decoder) error
Decode decodes ArtifactMultipartUploadParts from json.
func (*ArtifactMultipartUploadParts) Encode ¶
func (s *ArtifactMultipartUploadParts) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ArtifactMultipartUploadParts) GetParts ¶
func (s *ArtifactMultipartUploadParts) GetParts() []ArtifactMultipartUploadPartsPartsItem
GetParts returns the value of Parts.
func (*ArtifactMultipartUploadParts) GetUploadID ¶
func (s *ArtifactMultipartUploadParts) GetUploadID() string
GetUploadID returns the value of UploadID.
func (*ArtifactMultipartUploadParts) MarshalJSON ¶
func (s *ArtifactMultipartUploadParts) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ArtifactMultipartUploadParts) SetParts ¶
func (s *ArtifactMultipartUploadParts) SetParts(val []ArtifactMultipartUploadPartsPartsItem)
SetParts sets the value of Parts.
func (*ArtifactMultipartUploadParts) SetUploadID ¶
func (s *ArtifactMultipartUploadParts) SetUploadID(val string)
SetUploadID sets the value of UploadID.
func (*ArtifactMultipartUploadParts) UnmarshalJSON ¶
func (s *ArtifactMultipartUploadParts) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ArtifactMultipartUploadParts) Validate ¶
func (s *ArtifactMultipartUploadParts) Validate() error
type ArtifactMultipartUploadPartsPartsItem ¶
type ArtifactMultipartUploadPartsPartsItem struct { // The ETag of the part. Etag string `json:"etag"` // The part number. PartNumber int `json:"part_number"` }
func (*ArtifactMultipartUploadPartsPartsItem) Decode ¶
func (s *ArtifactMultipartUploadPartsPartsItem) Decode(d *jx.Decoder) error
Decode decodes ArtifactMultipartUploadPartsPartsItem from json.
func (*ArtifactMultipartUploadPartsPartsItem) Encode ¶
func (s *ArtifactMultipartUploadPartsPartsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ArtifactMultipartUploadPartsPartsItem) GetEtag ¶
func (s *ArtifactMultipartUploadPartsPartsItem) GetEtag() string
GetEtag returns the value of Etag.
func (*ArtifactMultipartUploadPartsPartsItem) GetPartNumber ¶
func (s *ArtifactMultipartUploadPartsPartsItem) GetPartNumber() int
GetPartNumber returns the value of PartNumber.
func (*ArtifactMultipartUploadPartsPartsItem) MarshalJSON ¶
func (s *ArtifactMultipartUploadPartsPartsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ArtifactMultipartUploadPartsPartsItem) SetEtag ¶
func (s *ArtifactMultipartUploadPartsPartsItem) SetEtag(val string)
SetEtag sets the value of Etag.
func (*ArtifactMultipartUploadPartsPartsItem) SetPartNumber ¶
func (s *ArtifactMultipartUploadPartsPartsItem) SetPartNumber(val int)
SetPartNumber sets the value of PartNumber.
func (*ArtifactMultipartUploadPartsPartsItem) UnmarshalJSON ¶
func (s *ArtifactMultipartUploadPartsPartsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ArtifactMultipartUploadURL ¶
type ArtifactMultipartUploadURL struct { Data ArtifactMultipartUploadURLData `json:"data"` Status ArtifactMultipartUploadURLStatus `json:"status"` }
The URL to upload a multipart part. Ref: #/components/schemas/ArtifactMultipartUploadURL
func (*ArtifactMultipartUploadURL) Decode ¶
func (s *ArtifactMultipartUploadURL) Decode(d *jx.Decoder) error
Decode decodes ArtifactMultipartUploadURL from json.
func (*ArtifactMultipartUploadURL) Encode ¶
func (s *ArtifactMultipartUploadURL) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ArtifactMultipartUploadURL) GetData ¶
func (s *ArtifactMultipartUploadURL) GetData() ArtifactMultipartUploadURLData
GetData returns the value of Data.
func (*ArtifactMultipartUploadURL) GetStatus ¶
func (s *ArtifactMultipartUploadURL) GetStatus() ArtifactMultipartUploadURLStatus
GetStatus returns the value of Status.
func (*ArtifactMultipartUploadURL) MarshalJSON ¶
func (s *ArtifactMultipartUploadURL) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ArtifactMultipartUploadURL) SetData ¶
func (s *ArtifactMultipartUploadURL) SetData(val ArtifactMultipartUploadURLData)
SetData sets the value of Data.
func (*ArtifactMultipartUploadURL) SetStatus ¶
func (s *ArtifactMultipartUploadURL) SetStatus(val ArtifactMultipartUploadURLStatus)
SetStatus sets the value of Status.
func (*ArtifactMultipartUploadURL) UnmarshalJSON ¶
func (s *ArtifactMultipartUploadURL) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ArtifactMultipartUploadURL) Validate ¶
func (s *ArtifactMultipartUploadURL) Validate() error
type ArtifactMultipartUploadURLData ¶
type ArtifactMultipartUploadURLData struct { // The URL to upload the part. URL string `json:"url"` }
func (*ArtifactMultipartUploadURLData) Decode ¶
func (s *ArtifactMultipartUploadURLData) Decode(d *jx.Decoder) error
Decode decodes ArtifactMultipartUploadURLData from json.
func (*ArtifactMultipartUploadURLData) Encode ¶
func (s *ArtifactMultipartUploadURLData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ArtifactMultipartUploadURLData) GetURL ¶
func (s *ArtifactMultipartUploadURLData) GetURL() string
GetURL returns the value of URL.
func (*ArtifactMultipartUploadURLData) MarshalJSON ¶
func (s *ArtifactMultipartUploadURLData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ArtifactMultipartUploadURLData) SetURL ¶
func (s *ArtifactMultipartUploadURLData) SetURL(val string)
SetURL sets the value of URL.
func (*ArtifactMultipartUploadURLData) UnmarshalJSON ¶
func (s *ArtifactMultipartUploadURLData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ArtifactMultipartUploadURLStatus ¶
type ArtifactMultipartUploadURLStatus string
const (
ArtifactMultipartUploadURLStatusSuccess ArtifactMultipartUploadURLStatus = "success"
)
func (ArtifactMultipartUploadURLStatus) AllValues ¶
func (ArtifactMultipartUploadURLStatus) AllValues() []ArtifactMultipartUploadURLStatus
AllValues returns all ArtifactMultipartUploadURLStatus values.
func (*ArtifactMultipartUploadURLStatus) Decode ¶
func (s *ArtifactMultipartUploadURLStatus) Decode(d *jx.Decoder) error
Decode decodes ArtifactMultipartUploadURLStatus from json.
func (ArtifactMultipartUploadURLStatus) Encode ¶
func (s ArtifactMultipartUploadURLStatus) Encode(e *jx.Encoder)
Encode encodes ArtifactMultipartUploadURLStatus as json.
func (ArtifactMultipartUploadURLStatus) MarshalJSON ¶
func (s ArtifactMultipartUploadURLStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ArtifactMultipartUploadURLStatus) MarshalText ¶
func (s ArtifactMultipartUploadURLStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ArtifactMultipartUploadURLStatus) UnmarshalJSON ¶
func (s *ArtifactMultipartUploadURLStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ArtifactMultipartUploadURLStatus) UnmarshalText ¶
func (s *ArtifactMultipartUploadURLStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ArtifactMultipartUploadURLStatus) Validate ¶
func (s ArtifactMultipartUploadURLStatus) Validate() error
type ArtifactUploadID ¶
type ArtifactUploadID struct { // Data that contains ID that's associated with the multipart upload to use when uploading parts. Data ArtifactUploadIDData `json:"data"` Status ArtifactUploadIDStatus `json:"status"` }
The upload has been initiated and a ID is returned to upload the various parts using multi-part uploads. Ref: #/components/schemas/ArtifactUploadID
func (*ArtifactUploadID) Decode ¶
func (s *ArtifactUploadID) Decode(d *jx.Decoder) error
Decode decodes ArtifactUploadID from json.
func (*ArtifactUploadID) Encode ¶
func (s *ArtifactUploadID) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ArtifactUploadID) GetData ¶
func (s *ArtifactUploadID) GetData() ArtifactUploadIDData
GetData returns the value of Data.
func (*ArtifactUploadID) GetStatus ¶
func (s *ArtifactUploadID) GetStatus() ArtifactUploadIDStatus
GetStatus returns the value of Status.
func (*ArtifactUploadID) MarshalJSON ¶
func (s *ArtifactUploadID) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ArtifactUploadID) SetData ¶
func (s *ArtifactUploadID) SetData(val ArtifactUploadIDData)
SetData sets the value of Data.
func (*ArtifactUploadID) SetStatus ¶
func (s *ArtifactUploadID) SetStatus(val ArtifactUploadIDStatus)
SetStatus sets the value of Status.
func (*ArtifactUploadID) UnmarshalJSON ¶
func (s *ArtifactUploadID) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ArtifactUploadID) Validate ¶
func (s *ArtifactUploadID) Validate() error
type ArtifactUploadIDData ¶
type ArtifactUploadIDData struct { // The upload ID. UploadID string `json:"upload_id"` }
Data that contains ID that's associated with the multipart upload to use when uploading parts.
func (*ArtifactUploadIDData) Decode ¶
func (s *ArtifactUploadIDData) Decode(d *jx.Decoder) error
Decode decodes ArtifactUploadIDData from json.
func (*ArtifactUploadIDData) Encode ¶
func (s *ArtifactUploadIDData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ArtifactUploadIDData) GetUploadID ¶
func (s *ArtifactUploadIDData) GetUploadID() string
GetUploadID returns the value of UploadID.
func (*ArtifactUploadIDData) MarshalJSON ¶
func (s *ArtifactUploadIDData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ArtifactUploadIDData) SetUploadID ¶
func (s *ArtifactUploadIDData) SetUploadID(val string)
SetUploadID sets the value of UploadID.
func (*ArtifactUploadIDData) UnmarshalJSON ¶
func (s *ArtifactUploadIDData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ArtifactUploadIDStatus ¶
type ArtifactUploadIDStatus string
const (
ArtifactUploadIDStatusSuccess ArtifactUploadIDStatus = "success"
)
func (ArtifactUploadIDStatus) AllValues ¶
func (ArtifactUploadIDStatus) AllValues() []ArtifactUploadIDStatus
AllValues returns all ArtifactUploadIDStatus values.
func (*ArtifactUploadIDStatus) Decode ¶
func (s *ArtifactUploadIDStatus) Decode(d *jx.Decoder) error
Decode decodes ArtifactUploadIDStatus from json.
func (ArtifactUploadIDStatus) Encode ¶
func (s ArtifactUploadIDStatus) Encode(e *jx.Encoder)
Encode encodes ArtifactUploadIDStatus as json.
func (ArtifactUploadIDStatus) MarshalJSON ¶
func (s ArtifactUploadIDStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ArtifactUploadIDStatus) MarshalText ¶
func (s ArtifactUploadIDStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ArtifactUploadIDStatus) UnmarshalJSON ¶
func (s *ArtifactUploadIDStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ArtifactUploadIDStatus) UnmarshalText ¶
func (s *ArtifactUploadIDStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ArtifactUploadIDStatus) Validate ¶
func (s ArtifactUploadIDStatus) Validate() error
type AuthenticateReq ¶
type AuthenticateReq struct { // The email to authenticate with. Email string `json:"email"` // The password to authenticate with. Password string `json:"password"` }
func (*AuthenticateReq) Decode ¶
func (s *AuthenticateReq) Decode(d *jx.Decoder) error
Decode decodes AuthenticateReq from json.
func (*AuthenticateReq) Encode ¶
func (s *AuthenticateReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AuthenticateReq) GetEmail ¶
func (s *AuthenticateReq) GetEmail() string
GetEmail returns the value of Email.
func (*AuthenticateReq) GetPassword ¶
func (s *AuthenticateReq) GetPassword() string
GetPassword returns the value of Password.
func (*AuthenticateReq) MarshalJSON ¶
func (s *AuthenticateReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AuthenticateReq) SetEmail ¶
func (s *AuthenticateReq) SetEmail(val string)
SetEmail sets the value of Email.
func (*AuthenticateReq) SetPassword ¶
func (s *AuthenticateReq) SetPassword(val string)
SetPassword sets the value of Password.
func (*AuthenticateReq) UnmarshalJSON ¶
func (s *AuthenticateReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AuthenticateRes ¶
type AuthenticateRes interface {
// contains filtered or unexported methods
}
type AuthenticationTokens ¶
type AuthenticationTokens struct { // API access token. AccessToken string `json:"access_token"` // A token to generate new API access tokens when they expire. RefreshToken string `json:"refresh_token"` }
A pair of access token to authenticate requests and refresh token to generate new access tokens when they expire. Ref: #/components/schemas/AuthenticationTokens
func (*AuthenticationTokens) Decode ¶
func (s *AuthenticationTokens) Decode(d *jx.Decoder) error
Decode decodes AuthenticationTokens from json.
func (*AuthenticationTokens) Encode ¶
func (s *AuthenticationTokens) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AuthenticationTokens) GetAccessToken ¶
func (s *AuthenticationTokens) GetAccessToken() string
GetAccessToken returns the value of AccessToken.
func (*AuthenticationTokens) GetRefreshToken ¶
func (s *AuthenticationTokens) GetRefreshToken() string
GetRefreshToken returns the value of RefreshToken.
func (*AuthenticationTokens) MarshalJSON ¶
func (s *AuthenticationTokens) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AuthenticationTokens) SetAccessToken ¶
func (s *AuthenticationTokens) SetAccessToken(val string)
SetAccessToken sets the value of AccessToken.
func (*AuthenticationTokens) SetRefreshToken ¶
func (s *AuthenticationTokens) SetRefreshToken(val string)
SetRefreshToken sets the value of RefreshToken.
func (*AuthenticationTokens) UnmarshalJSON ¶
func (s *AuthenticationTokens) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Authorization ¶
type Authorization struct {
Token string
}
func (*Authorization) GetToken ¶
func (s *Authorization) GetToken() string
GetToken returns the value of Token.
func (*Authorization) SetToken ¶
func (s *Authorization) SetToken(val string)
SetToken sets the value of Token.
type CacheActionItem ¶
type CacheActionItem struct { // The hash that uniquely identifies the artifact in the cache. Hash string `json:"hash"` }
Represents an action item stored in the cache. Ref: #/components/schemas/CacheActionItem
func (*CacheActionItem) Decode ¶
func (s *CacheActionItem) Decode(d *jx.Decoder) error
Decode decodes CacheActionItem from json.
func (*CacheActionItem) Encode ¶
func (s *CacheActionItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CacheActionItem) GetHash ¶
func (s *CacheActionItem) GetHash() string
GetHash returns the value of Hash.
func (*CacheActionItem) MarshalJSON ¶
func (s *CacheActionItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CacheActionItem) SetHash ¶
func (s *CacheActionItem) SetHash(val string)
SetHash sets the value of Hash.
func (*CacheActionItem) UnmarshalJSON ¶
func (s *CacheActionItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CacheArtifactDownloadURL ¶
type CacheArtifactDownloadURL struct { Data CacheArtifactDownloadURLData `json:"data"` Status CacheArtifactDownloadURLStatus `json:"status"` }
The URL to download the artifact from the cache. Ref: #/components/schemas/CacheArtifactDownloadURL
func (*CacheArtifactDownloadURL) Decode ¶
func (s *CacheArtifactDownloadURL) Decode(d *jx.Decoder) error
Decode decodes CacheArtifactDownloadURL from json.
func (*CacheArtifactDownloadURL) Encode ¶
func (s *CacheArtifactDownloadURL) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CacheArtifactDownloadURL) GetData ¶
func (s *CacheArtifactDownloadURL) GetData() CacheArtifactDownloadURLData
GetData returns the value of Data.
func (*CacheArtifactDownloadURL) GetStatus ¶
func (s *CacheArtifactDownloadURL) GetStatus() CacheArtifactDownloadURLStatus
GetStatus returns the value of Status.
func (*CacheArtifactDownloadURL) MarshalJSON ¶
func (s *CacheArtifactDownloadURL) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CacheArtifactDownloadURL) SetData ¶
func (s *CacheArtifactDownloadURL) SetData(val CacheArtifactDownloadURLData)
SetData sets the value of Data.
func (*CacheArtifactDownloadURL) SetStatus ¶
func (s *CacheArtifactDownloadURL) SetStatus(val CacheArtifactDownloadURLStatus)
SetStatus sets the value of Status.
func (*CacheArtifactDownloadURL) UnmarshalJSON ¶
func (s *CacheArtifactDownloadURL) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CacheArtifactDownloadURL) Validate ¶
func (s *CacheArtifactDownloadURL) Validate() error
type CacheArtifactDownloadURLData ¶
type CacheArtifactDownloadURLData struct { // The UNIX timestamp when the URL expires. ExpiresAt int `json:"expires_at"` // The URL to download the artifact from the cache. URL string `json:"url"` }
func (*CacheArtifactDownloadURLData) Decode ¶
func (s *CacheArtifactDownloadURLData) Decode(d *jx.Decoder) error
Decode decodes CacheArtifactDownloadURLData from json.
func (*CacheArtifactDownloadURLData) Encode ¶
func (s *CacheArtifactDownloadURLData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CacheArtifactDownloadURLData) GetExpiresAt ¶
func (s *CacheArtifactDownloadURLData) GetExpiresAt() int
GetExpiresAt returns the value of ExpiresAt.
func (*CacheArtifactDownloadURLData) GetURL ¶
func (s *CacheArtifactDownloadURLData) GetURL() string
GetURL returns the value of URL.
func (*CacheArtifactDownloadURLData) MarshalJSON ¶
func (s *CacheArtifactDownloadURLData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CacheArtifactDownloadURLData) SetExpiresAt ¶
func (s *CacheArtifactDownloadURLData) SetExpiresAt(val int)
SetExpiresAt sets the value of ExpiresAt.
func (*CacheArtifactDownloadURLData) SetURL ¶
func (s *CacheArtifactDownloadURLData) SetURL(val string)
SetURL sets the value of URL.
func (*CacheArtifactDownloadURLData) UnmarshalJSON ¶
func (s *CacheArtifactDownloadURLData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CacheArtifactDownloadURLStatus ¶
type CacheArtifactDownloadURLStatus string
const (
CacheArtifactDownloadURLStatusSuccess CacheArtifactDownloadURLStatus = "success"
)
func (CacheArtifactDownloadURLStatus) AllValues ¶
func (CacheArtifactDownloadURLStatus) AllValues() []CacheArtifactDownloadURLStatus
AllValues returns all CacheArtifactDownloadURLStatus values.
func (*CacheArtifactDownloadURLStatus) Decode ¶
func (s *CacheArtifactDownloadURLStatus) Decode(d *jx.Decoder) error
Decode decodes CacheArtifactDownloadURLStatus from json.
func (CacheArtifactDownloadURLStatus) Encode ¶
func (s CacheArtifactDownloadURLStatus) Encode(e *jx.Encoder)
Encode encodes CacheArtifactDownloadURLStatus as json.
func (CacheArtifactDownloadURLStatus) MarshalJSON ¶
func (s CacheArtifactDownloadURLStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CacheArtifactDownloadURLStatus) MarshalText ¶
func (s CacheArtifactDownloadURLStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CacheArtifactDownloadURLStatus) UnmarshalJSON ¶
func (s *CacheArtifactDownloadURLStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CacheArtifactDownloadURLStatus) UnmarshalText ¶
func (s *CacheArtifactDownloadURLStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CacheArtifactDownloadURLStatus) Validate ¶
func (s CacheArtifactDownloadURLStatus) Validate() error
type CacheArtifactExistsForbidden ¶
type CacheArtifactExistsForbidden Error
func (*CacheArtifactExistsForbidden) Decode ¶
func (s *CacheArtifactExistsForbidden) Decode(d *jx.Decoder) error
Decode decodes CacheArtifactExistsForbidden from json.
func (*CacheArtifactExistsForbidden) Encode ¶
func (s *CacheArtifactExistsForbidden) Encode(e *jx.Encoder)
Encode encodes CacheArtifactExistsForbidden as json.
func (*CacheArtifactExistsForbidden) MarshalJSON ¶
func (s *CacheArtifactExistsForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CacheArtifactExistsForbidden) UnmarshalJSON ¶
func (s *CacheArtifactExistsForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CacheArtifactExistsNotFound ¶
type CacheArtifactExistsNotFound struct {
Error []CacheArtifactExistsNotFoundErrorItem `json:"error"`
}
func (*CacheArtifactExistsNotFound) Decode ¶
func (s *CacheArtifactExistsNotFound) Decode(d *jx.Decoder) error
Decode decodes CacheArtifactExistsNotFound from json.
func (*CacheArtifactExistsNotFound) Encode ¶
func (s *CacheArtifactExistsNotFound) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CacheArtifactExistsNotFound) GetError ¶
func (s *CacheArtifactExistsNotFound) GetError() []CacheArtifactExistsNotFoundErrorItem
GetError returns the value of Error.
func (*CacheArtifactExistsNotFound) MarshalJSON ¶
func (s *CacheArtifactExistsNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CacheArtifactExistsNotFound) SetError ¶
func (s *CacheArtifactExistsNotFound) SetError(val []CacheArtifactExistsNotFoundErrorItem)
SetError sets the value of Error.
func (*CacheArtifactExistsNotFound) UnmarshalJSON ¶
func (s *CacheArtifactExistsNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CacheArtifactExistsNotFoundErrorItem ¶
type CacheArtifactExistsNotFoundErrorItem struct { Code OptString `json:"code"` Message OptString `json:"message"` }
func (*CacheArtifactExistsNotFoundErrorItem) Decode ¶
func (s *CacheArtifactExistsNotFoundErrorItem) Decode(d *jx.Decoder) error
Decode decodes CacheArtifactExistsNotFoundErrorItem from json.
func (*CacheArtifactExistsNotFoundErrorItem) Encode ¶
func (s *CacheArtifactExistsNotFoundErrorItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CacheArtifactExistsNotFoundErrorItem) GetCode ¶
func (s *CacheArtifactExistsNotFoundErrorItem) GetCode() OptString
GetCode returns the value of Code.
func (*CacheArtifactExistsNotFoundErrorItem) GetMessage ¶
func (s *CacheArtifactExistsNotFoundErrorItem) GetMessage() OptString
GetMessage returns the value of Message.
func (*CacheArtifactExistsNotFoundErrorItem) MarshalJSON ¶
func (s *CacheArtifactExistsNotFoundErrorItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CacheArtifactExistsNotFoundErrorItem) SetCode ¶
func (s *CacheArtifactExistsNotFoundErrorItem) SetCode(val OptString)
SetCode sets the value of Code.
func (*CacheArtifactExistsNotFoundErrorItem) SetMessage ¶
func (s *CacheArtifactExistsNotFoundErrorItem) SetMessage(val OptString)
SetMessage sets the value of Message.
func (*CacheArtifactExistsNotFoundErrorItem) UnmarshalJSON ¶
func (s *CacheArtifactExistsNotFoundErrorItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CacheArtifactExistsOK ¶
type CacheArtifactExistsOK struct { Data *CacheArtifactExistsOKData `json:"data"` Status OptCacheArtifactExistsOKStatus `json:"status"` }
The artifact exists in the cache and can be downloaded.
func (*CacheArtifactExistsOK) Decode ¶
func (s *CacheArtifactExistsOK) Decode(d *jx.Decoder) error
Decode decodes CacheArtifactExistsOK from json.
func (*CacheArtifactExistsOK) Encode ¶
func (s *CacheArtifactExistsOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CacheArtifactExistsOK) GetData ¶
func (s *CacheArtifactExistsOK) GetData() *CacheArtifactExistsOKData
GetData returns the value of Data.
func (*CacheArtifactExistsOK) GetStatus ¶
func (s *CacheArtifactExistsOK) GetStatus() OptCacheArtifactExistsOKStatus
GetStatus returns the value of Status.
func (*CacheArtifactExistsOK) MarshalJSON ¶
func (s *CacheArtifactExistsOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CacheArtifactExistsOK) SetData ¶
func (s *CacheArtifactExistsOK) SetData(val *CacheArtifactExistsOKData)
SetData sets the value of Data.
func (*CacheArtifactExistsOK) SetStatus ¶
func (s *CacheArtifactExistsOK) SetStatus(val OptCacheArtifactExistsOKStatus)
SetStatus sets the value of Status.
func (*CacheArtifactExistsOK) UnmarshalJSON ¶
func (s *CacheArtifactExistsOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CacheArtifactExistsOK) Validate ¶
func (s *CacheArtifactExistsOK) Validate() error
type CacheArtifactExistsOKData ¶
type CacheArtifactExistsOKData struct{}
func (*CacheArtifactExistsOKData) Decode ¶
func (s *CacheArtifactExistsOKData) Decode(d *jx.Decoder) error
Decode decodes CacheArtifactExistsOKData from json.
func (*CacheArtifactExistsOKData) Encode ¶
func (s *CacheArtifactExistsOKData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CacheArtifactExistsOKData) MarshalJSON ¶
func (s *CacheArtifactExistsOKData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CacheArtifactExistsOKData) UnmarshalJSON ¶
func (s *CacheArtifactExistsOKData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CacheArtifactExistsOKStatus ¶
type CacheArtifactExistsOKStatus string
const (
CacheArtifactExistsOKStatusSuccess CacheArtifactExistsOKStatus = "success"
)
func (CacheArtifactExistsOKStatus) AllValues ¶
func (CacheArtifactExistsOKStatus) AllValues() []CacheArtifactExistsOKStatus
AllValues returns all CacheArtifactExistsOKStatus values.
func (*CacheArtifactExistsOKStatus) Decode ¶
func (s *CacheArtifactExistsOKStatus) Decode(d *jx.Decoder) error
Decode decodes CacheArtifactExistsOKStatus from json.
func (CacheArtifactExistsOKStatus) Encode ¶
func (s CacheArtifactExistsOKStatus) Encode(e *jx.Encoder)
Encode encodes CacheArtifactExistsOKStatus as json.
func (CacheArtifactExistsOKStatus) MarshalJSON ¶
func (s CacheArtifactExistsOKStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CacheArtifactExistsOKStatus) MarshalText ¶
func (s CacheArtifactExistsOKStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CacheArtifactExistsOKStatus) UnmarshalJSON ¶
func (s *CacheArtifactExistsOKStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CacheArtifactExistsOKStatus) UnmarshalText ¶
func (s *CacheArtifactExistsOKStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CacheArtifactExistsOKStatus) Validate ¶
func (s CacheArtifactExistsOKStatus) Validate() error
type CacheArtifactExistsParams ¶
type CacheArtifactExistsParams struct { // The category of the cache. It's used to differentiate between different types of caches. CacheCategory OptCacheCategory // The project identifier '{account_name}/{project_name}'. ProjectID string // The hash that uniquely identifies the artifact in the cache. Hash string // The name of the artifact. Name string }
CacheArtifactExistsParams is parameters of cacheArtifactExists operation.
type CacheArtifactExistsPaymentRequired ¶
type CacheArtifactExistsPaymentRequired Error
func (*CacheArtifactExistsPaymentRequired) Decode ¶
func (s *CacheArtifactExistsPaymentRequired) Decode(d *jx.Decoder) error
Decode decodes CacheArtifactExistsPaymentRequired from json.
func (*CacheArtifactExistsPaymentRequired) Encode ¶
func (s *CacheArtifactExistsPaymentRequired) Encode(e *jx.Encoder)
Encode encodes CacheArtifactExistsPaymentRequired as json.
func (*CacheArtifactExistsPaymentRequired) MarshalJSON ¶
func (s *CacheArtifactExistsPaymentRequired) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CacheArtifactExistsPaymentRequired) UnmarshalJSON ¶
func (s *CacheArtifactExistsPaymentRequired) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CacheArtifactExistsRes ¶
type CacheArtifactExistsRes interface {
// contains filtered or unexported methods
}
type CacheArtifactExistsUnauthorized ¶
type CacheArtifactExistsUnauthorized Error
func (*CacheArtifactExistsUnauthorized) Decode ¶
func (s *CacheArtifactExistsUnauthorized) Decode(d *jx.Decoder) error
Decode decodes CacheArtifactExistsUnauthorized from json.
func (*CacheArtifactExistsUnauthorized) Encode ¶
func (s *CacheArtifactExistsUnauthorized) Encode(e *jx.Encoder)
Encode encodes CacheArtifactExistsUnauthorized as json.
func (*CacheArtifactExistsUnauthorized) MarshalJSON ¶
func (s *CacheArtifactExistsUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CacheArtifactExistsUnauthorized) UnmarshalJSON ¶
func (s *CacheArtifactExistsUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CacheCategory ¶
type CacheCategory string
The category of the cache. Ref: #/components/schemas/CacheCategory
const ( CacheCategoryTests CacheCategory = "tests" CacheCategoryBuilds CacheCategory = "builds" )
func (CacheCategory) AllValues ¶
func (CacheCategory) AllValues() []CacheCategory
AllValues returns all CacheCategory values.
func (CacheCategory) MarshalText ¶
func (s CacheCategory) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CacheCategory) UnmarshalText ¶
func (s *CacheCategory) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CacheCategory) Validate ¶
func (s CacheCategory) Validate() error
type CleanCacheForbidden ¶
type CleanCacheForbidden Error
func (*CleanCacheForbidden) Decode ¶
func (s *CleanCacheForbidden) Decode(d *jx.Decoder) error
Decode decodes CleanCacheForbidden from json.
func (*CleanCacheForbidden) Encode ¶
func (s *CleanCacheForbidden) Encode(e *jx.Encoder)
Encode encodes CleanCacheForbidden as json.
func (*CleanCacheForbidden) MarshalJSON ¶
func (s *CleanCacheForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CleanCacheForbidden) UnmarshalJSON ¶
func (s *CleanCacheForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CleanCacheNoContent ¶
type CleanCacheNoContent struct{}
CleanCacheNoContent is response for CleanCache operation.
type CleanCacheNotFound ¶
type CleanCacheNotFound Error
func (*CleanCacheNotFound) Decode ¶
func (s *CleanCacheNotFound) Decode(d *jx.Decoder) error
Decode decodes CleanCacheNotFound from json.
func (*CleanCacheNotFound) Encode ¶
func (s *CleanCacheNotFound) Encode(e *jx.Encoder)
Encode encodes CleanCacheNotFound as json.
func (*CleanCacheNotFound) MarshalJSON ¶
func (s *CleanCacheNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CleanCacheNotFound) UnmarshalJSON ¶
func (s *CleanCacheNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CleanCacheParams ¶
type CleanCacheParams struct { // The name of the account that the project belongs to. AccountHandle string // The name of the project to clean cache for. ProjectHandle string }
CleanCacheParams is parameters of cleanCache operation.
type CleanCacheRes ¶
type CleanCacheRes interface {
// contains filtered or unexported methods
}
type CleanCacheUnauthorized ¶
type CleanCacheUnauthorized Error
func (*CleanCacheUnauthorized) Decode ¶
func (s *CleanCacheUnauthorized) Decode(d *jx.Decoder) error
Decode decodes CleanCacheUnauthorized from json.
func (*CleanCacheUnauthorized) Encode ¶
func (s *CleanCacheUnauthorized) Encode(e *jx.Encoder)
Encode encodes CleanCacheUnauthorized as json.
func (*CleanCacheUnauthorized) MarshalJSON ¶
func (s *CleanCacheUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CleanCacheUnauthorized) UnmarshalJSON ¶
func (s *CleanCacheUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements OAS client.
func NewClient ¶
func NewClient(serverURL string, sec SecuritySource, opts ...ClientOption) (*Client, error)
NewClient initializes new Client defined by OAS.
func (*Client) Authenticate ¶
func (c *Client) Authenticate(ctx context.Context, request OptAuthenticateReq) (AuthenticateRes, error)
Authenticate invokes authenticate operation.
This endpoint returns API tokens for a given email and password.
POST /api/auth
func (*Client) CacheArtifactExists
deprecated
func (c *Client) CacheArtifactExists(ctx context.Context, params CacheArtifactExistsParams) (CacheArtifactExistsRes, error)
CacheArtifactExists invokes cacheArtifactExists operation.
This endpoint checks if an artifact exists in the cache. It returns a 404 status code if the artifact does not exist.
Deprecated: schema marks this operation as deprecated.
GET /api/cache/exists
func (*Client) CleanCache ¶
func (c *Client) CleanCache(ctx context.Context, params CleanCacheParams) (CleanCacheRes, error)
CleanCache invokes cleanCache operation.
Cleans cache for a given project.
PUT /api/projects/{account_handle}/{project_handle}/cache/clean
func (*Client) CompleteAnalyticsArtifactMultipartUpload ¶
func (c *Client) CompleteAnalyticsArtifactMultipartUpload(ctx context.Context, request OptCompleteAnalyticsArtifactMultipartUploadReq, params CompleteAnalyticsArtifactMultipartUploadParams) (CompleteAnalyticsArtifactMultipartUploadRes, error)
CompleteAnalyticsArtifactMultipartUpload invokes completeAnalyticsArtifactMultipartUpload operation.
Given the upload ID and all the parts with their ETags, this endpoint completes the multipart upload.
POST /api/runs/{run_id}/complete
func (*Client) CompleteAnalyticsArtifactsUploads ¶
func (c *Client) CompleteAnalyticsArtifactsUploads(ctx context.Context, request OptCompleteAnalyticsArtifactsUploadsReq, params CompleteAnalyticsArtifactsUploadsParams) (CompleteAnalyticsArtifactsUploadsRes, error)
CompleteAnalyticsArtifactsUploads invokes completeAnalyticsArtifactsUploads operation.
Given a command event, it marks all artifact uploads as finished and does extra processing of a given command run, such as test flakiness detection.
PUT /api/runs/{run_id}/complete_artifacts_uploads
func (*Client) CompleteCacheArtifactMultipartUpload ¶
func (c *Client) CompleteCacheArtifactMultipartUpload(ctx context.Context, request OptCompleteCacheArtifactMultipartUploadReq, params CompleteCacheArtifactMultipartUploadParams) (CompleteCacheArtifactMultipartUploadRes, error)
CompleteCacheArtifactMultipartUpload invokes completeCacheArtifactMultipartUpload operation.
Given the upload ID and all the parts with their ETags, this endpoint completes the multipart upload. The cache will then be able to serve the artifact.
POST /api/cache/multipart/complete
func (*Client) CompletePreviewsMultipartUpload ¶
func (c *Client) CompletePreviewsMultipartUpload(ctx context.Context, request OptCompletePreviewsMultipartUploadReq, params CompletePreviewsMultipartUploadParams) (CompletePreviewsMultipartUploadRes, error)
CompletePreviewsMultipartUpload invokes completePreviewsMultipartUpload operation.
Given the upload ID and all the parts with their ETags, this endpoint completes the multipart upload.
POST /api/projects/{account_handle}/{project_handle}/previews/complete
func (*Client) CreateCommandEvent ¶
func (c *Client) CreateCommandEvent(ctx context.Context, request OptCreateCommandEventReq, params CreateCommandEventParams) (CreateCommandEventRes, error)
CreateCommandEvent invokes createCommandEvent operation.
Create a a new command analytics event.
POST /api/analytics
func (*Client) CreateInvitation ¶
func (c *Client) CreateInvitation(ctx context.Context, request OptCreateInvitationReq, params CreateInvitationParams) (CreateInvitationRes, error)
CreateInvitation invokes createInvitation operation.
Invites a user with a given email to a given organization.
POST /api/organizations/{organization_name}/invitations
func (*Client) CreateOrganization ¶
func (c *Client) CreateOrganization(ctx context.Context, request OptCreateOrganizationReq) (CreateOrganizationRes, error)
CreateOrganization invokes createOrganization operation.
Creates an organization with the given name.
POST /api/organizations
func (*Client) CreateProject ¶
func (c *Client) CreateProject(ctx context.Context, request OptCreateProjectReq) (CreateProjectRes, error)
CreateProject invokes createProject operation.
Create a new project.
POST /api/projects
func (*Client) CreateProjectToken ¶
func (c *Client) CreateProjectToken(ctx context.Context, params CreateProjectTokenParams) (CreateProjectTokenRes, error)
CreateProjectToken invokes createProjectToken operation.
This endpoint returns a new project token.
POST /api/projects/{account_handle}/{project_handle}/tokens
func (*Client) DeleteOrganization ¶
func (c *Client) DeleteOrganization(ctx context.Context, params DeleteOrganizationParams) (DeleteOrganizationRes, error)
DeleteOrganization invokes deleteOrganization operation.
Deletes the organization with the given name.
DELETE /api/organizations/{organization_name}
func (*Client) DeleteProject ¶
func (c *Client) DeleteProject(ctx context.Context, params DeleteProjectParams) (DeleteProjectRes, error)
DeleteProject invokes deleteProject operation.
Deletes a project with a given id.
DELETE /api/projects/{id}
func (*Client) DownloadCacheArtifact ¶
func (c *Client) DownloadCacheArtifact(ctx context.Context, params DownloadCacheArtifactParams) (DownloadCacheArtifactRes, error)
DownloadCacheArtifact invokes downloadCacheArtifact operation.
This endpoint returns a signed URL that can be used to download an artifact from the cache.
GET /api/cache
func (*Client) DownloadPreview ¶
func (c *Client) DownloadPreview(ctx context.Context, params DownloadPreviewParams) (DownloadPreviewRes, error)
DownloadPreview invokes downloadPreview operation.
This endpoint returns a signed URL that can be used to download a preview.
GET /api/projects/{account_handle}/{project_handle}/previews/{preview_id}
func (*Client) GenerateAnalyticsArtifactMultipartUploadURL ¶
func (c *Client) GenerateAnalyticsArtifactMultipartUploadURL(ctx context.Context, request OptGenerateAnalyticsArtifactMultipartUploadURLReq, params GenerateAnalyticsArtifactMultipartUploadURLParams) (GenerateAnalyticsArtifactMultipartUploadURLRes, error)
GenerateAnalyticsArtifactMultipartUploadURL invokes generateAnalyticsArtifactMultipartUploadURL operation.
Given an upload ID and a part number, this endpoint returns a signed URL that can be used to upload a part of a multipart upload. The URL is short-lived and expires in 120 seconds.
POST /api/runs/{run_id}/generate-url
func (*Client) GenerateCacheArtifactMultipartUploadURL ¶
func (c *Client) GenerateCacheArtifactMultipartUploadURL(ctx context.Context, params GenerateCacheArtifactMultipartUploadURLParams) (GenerateCacheArtifactMultipartUploadURLRes, error)
GenerateCacheArtifactMultipartUploadURL invokes generateCacheArtifactMultipartUploadURL operation.
Given an upload ID and a part number, this endpoint returns a signed URL that can be used to upload a part of a multipart upload. The URL is short-lived and expires in 120 seconds.
POST /api/cache/multipart/generate-url
func (*Client) GeneratePreviewsMultipartUploadURL ¶
func (c *Client) GeneratePreviewsMultipartUploadURL(ctx context.Context, request OptGeneratePreviewsMultipartUploadURLReq, params GeneratePreviewsMultipartUploadURLParams) (GeneratePreviewsMultipartUploadURLRes, error)
GeneratePreviewsMultipartUploadURL invokes generatePreviewsMultipartUploadURL operation.
Given an upload ID and a part number, this endpoint returns a signed URL that can be used to upload a part of a multipart upload. The URL is short-lived and expires in 120 seconds.
POST /api/projects/{account_handle}/{project_handle}/previews/generate-url
func (*Client) GetCacheActionItem ¶
func (c *Client) GetCacheActionItem(ctx context.Context, params GetCacheActionItemParams) (GetCacheActionItemRes, error)
GetCacheActionItem invokes getCacheActionItem operation.
This endpoint gets an item from the action cache.
GET /api/projects/{account_handle}/{project_handle}/cache/ac/{hash}
func (*Client) GetDeviceCode ¶
func (c *Client) GetDeviceCode(ctx context.Context, params GetDeviceCodeParams) (GetDeviceCodeRes, error)
GetDeviceCode invokes getDeviceCode operation.
This endpoint returns a token for a given device code if the device code is authenticated.
GET /api/auth/device_code/{device_code}
func (*Client) ListOrganizations ¶
func (c *Client) ListOrganizations(ctx context.Context) (ListOrganizationsRes, error)
ListOrganizations invokes listOrganizations operation.
Returns all the organizations the authenticated subject is part of.
GET /api/organizations
func (*Client) ListProjectTokens ¶
func (c *Client) ListProjectTokens(ctx context.Context, params ListProjectTokensParams) (ListProjectTokensRes, error)
ListProjectTokens invokes listProjectTokens operation.
This endpoint returns all tokens for a given project.
GET /api/projects/{account_handle}/{project_handle}/tokens
func (*Client) ListProjects ¶
func (c *Client) ListProjects(ctx context.Context) (ListProjectsRes, error)
ListProjects invokes listProjects operation.
List projects the authenticated user has access to.
GET /api/projects
func (*Client) RefreshToken ¶
func (c *Client) RefreshToken(ctx context.Context, request OptRefreshTokenReq) (RefreshTokenRes, error)
RefreshToken invokes refreshToken operation.
This endpoint returns new tokens for a given refresh token if the refresh token is valid.
POST /api/auth/refresh_token
func (*Client) RevokeProjectToken ¶
func (c *Client) RevokeProjectToken(ctx context.Context, params RevokeProjectTokenParams) (RevokeProjectTokenRes, error)
RevokeProjectToken invokes revokeProjectToken operation.
Revokes a project token.
DELETE /api/projects/{account_handle}/{project_handle}/tokens/{id}
func (*Client) ShowOrganization ¶
func (c *Client) ShowOrganization(ctx context.Context, params ShowOrganizationParams) (ShowOrganizationRes, error)
ShowOrganization invokes showOrganization operation.
Returns the organization with the given identifier.
GET /api/organizations/{organization_name}
func (*Client) ShowOrganizationUsage ¶
func (c *Client) ShowOrganizationUsage(ctx context.Context, params ShowOrganizationUsageParams) (ShowOrganizationUsageRes, error)
ShowOrganizationUsage invokes showOrganizationUsage operation.
Returns the usage of the organization with the given identifier. (e.g. number of remote cache hits).
GET /api/organizations/{organization_name}/usage
func (*Client) ShowProject ¶
func (c *Client) ShowProject(ctx context.Context, params ShowProjectParams) (ShowProjectRes, error)
ShowProject invokes showProject operation.
Returns a project based on the handle.
GET /api/projects/{account_handle}/{project_handle}
func (*Client) StartAnalyticsArtifactMultipartUpload ¶
func (c *Client) StartAnalyticsArtifactMultipartUpload(ctx context.Context, request CommandEventArtifact, params StartAnalyticsArtifactMultipartUploadParams) (StartAnalyticsArtifactMultipartUploadRes, error)
StartAnalyticsArtifactMultipartUpload invokes startAnalyticsArtifactMultipartUpload operation.
The endpoint returns an upload ID that can be used to generate URLs for the individual parts and complete the upload.
POST /api/runs/{run_id}/start
func (*Client) StartCacheArtifactMultipartUpload ¶
func (c *Client) StartCacheArtifactMultipartUpload(ctx context.Context, params StartCacheArtifactMultipartUploadParams) (StartCacheArtifactMultipartUploadRes, error)
StartCacheArtifactMultipartUpload invokes startCacheArtifactMultipartUpload operation.
The endpoint returns an upload ID that can be used to generate URLs for the individual parts and complete the upload.
POST /api/cache/multipart/start
func (*Client) StartPreviewsMultipartUpload ¶
func (c *Client) StartPreviewsMultipartUpload(ctx context.Context, request OptStartPreviewsMultipartUploadReq, params StartPreviewsMultipartUploadParams) (StartPreviewsMultipartUploadRes, error)
StartPreviewsMultipartUpload invokes startPreviewsMultipartUpload operation.
The endpoint returns an upload ID that can be used to generate URLs for the individual parts and complete the upload.
POST /api/projects/{account_handle}/{project_handle}/previews/start
func (*Client) UpdateOrganization ¶
func (c *Client) UpdateOrganization(ctx context.Context, request OptUpdateOrganizationReq, params UpdateOrganizationParams) (UpdateOrganizationRes, error)
UpdateOrganization invokes updateOrganization operation.
Updates an organization with given parameters.
PUT /api/organizations/{organization_name}
func (*Client) UpdateOrganization2 ¶
func (c *Client) UpdateOrganization2(ctx context.Context, request OptUpdateOrganization2Req, params UpdateOrganization2Params) (UpdateOrganization2Res, error)
UpdateOrganization2 invokes updateOrganization (2) operation.
Updates an organization with given parameters.
PATCH /api/organizations/{organization_name}
func (*Client) UpdateOrganizationMember ¶
func (c *Client) UpdateOrganizationMember(ctx context.Context, request OptUpdateOrganizationMemberReq, params UpdateOrganizationMemberParams) (UpdateOrganizationMemberRes, error)
UpdateOrganizationMember invokes updateOrganizationMember operation.
Updates a member in a given organization.
PUT /api/organizations/{organization_name}/members/{user_name}
func (*Client) UpdateProject ¶
func (c *Client) UpdateProject(ctx context.Context, request OptUpdateProjectReq, params UpdateProjectParams) (UpdateProjectRes, error)
UpdateProject invokes updateProject operation.
Updates a project with given parameters.
PUT /api/projects/{account_handle}/{project_handle}
func (*Client) UploadCacheActionItem ¶
func (c *Client) UploadCacheActionItem(ctx context.Context, request OptUploadCacheActionItemReq, params UploadCacheActionItemParams) (UploadCacheActionItemRes, error)
UploadCacheActionItem invokes uploadCacheActionItem operation.
The endpoint caches a given action item without uploading a file. To upload files, use the multipart upload instead.
POST /api/projects/{account_handle}/{project_handle}/cache/ac
type ClientOption ¶
type ClientOption interface {
// contains filtered or unexported methods
}
ClientOption is client config option.
func WithClient ¶
func WithClient(client ht.Client) ClientOption
WithClient specifies http client to use.
type CommandEvent ¶
type CommandEvent struct { // ID of the command event. ID float64 `json:"id"` // Name of the command. Name string `json:"name"` // URL to the command event. URL string `json:"url"` }
The schema for the command analytics event. Ref: #/components/schemas/CommandEvent
func (*CommandEvent) Decode ¶
func (s *CommandEvent) Decode(d *jx.Decoder) error
Decode decodes CommandEvent from json.
func (*CommandEvent) Encode ¶
func (s *CommandEvent) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CommandEvent) GetName ¶
func (s *CommandEvent) GetName() string
GetName returns the value of Name.
func (*CommandEvent) GetURL ¶
func (s *CommandEvent) GetURL() string
GetURL returns the value of URL.
func (*CommandEvent) MarshalJSON ¶
func (s *CommandEvent) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CommandEvent) SetName ¶
func (s *CommandEvent) SetName(val string)
SetName sets the value of Name.
func (*CommandEvent) SetURL ¶
func (s *CommandEvent) SetURL(val string)
SetURL sets the value of URL.
func (*CommandEvent) UnmarshalJSON ¶
func (s *CommandEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CommandEvent) Validate ¶
func (s *CommandEvent) Validate() error
type CommandEventArtifact ¶
func (*CommandEventArtifact) Decode ¶
func (s *CommandEventArtifact) Decode(d *jx.Decoder) error
Decode decodes CommandEventArtifact from json.
func (CommandEventArtifact) Encode ¶
func (s CommandEventArtifact) Encode(e *jx.Encoder)
Encode encodes CommandEventArtifact as json.
func (CommandEventArtifact) MarshalJSON ¶
func (s CommandEventArtifact) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CommandEventArtifact) UnmarshalJSON ¶
func (s *CommandEventArtifact) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteAnalyticsArtifactMultipartUploadForbidden ¶
type CompleteAnalyticsArtifactMultipartUploadForbidden Error
func (*CompleteAnalyticsArtifactMultipartUploadForbidden) Decode ¶
func (s *CompleteAnalyticsArtifactMultipartUploadForbidden) Decode(d *jx.Decoder) error
Decode decodes CompleteAnalyticsArtifactMultipartUploadForbidden from json.
func (*CompleteAnalyticsArtifactMultipartUploadForbidden) Encode ¶
func (s *CompleteAnalyticsArtifactMultipartUploadForbidden) Encode(e *jx.Encoder)
Encode encodes CompleteAnalyticsArtifactMultipartUploadForbidden as json.
func (*CompleteAnalyticsArtifactMultipartUploadForbidden) MarshalJSON ¶
func (s *CompleteAnalyticsArtifactMultipartUploadForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteAnalyticsArtifactMultipartUploadForbidden) UnmarshalJSON ¶
func (s *CompleteAnalyticsArtifactMultipartUploadForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteAnalyticsArtifactMultipartUploadInternalServerError ¶
type CompleteAnalyticsArtifactMultipartUploadInternalServerError Error
func (*CompleteAnalyticsArtifactMultipartUploadInternalServerError) Decode ¶
func (s *CompleteAnalyticsArtifactMultipartUploadInternalServerError) Decode(d *jx.Decoder) error
Decode decodes CompleteAnalyticsArtifactMultipartUploadInternalServerError from json.
func (*CompleteAnalyticsArtifactMultipartUploadInternalServerError) Encode ¶
func (s *CompleteAnalyticsArtifactMultipartUploadInternalServerError) Encode(e *jx.Encoder)
Encode encodes CompleteAnalyticsArtifactMultipartUploadInternalServerError as json.
func (*CompleteAnalyticsArtifactMultipartUploadInternalServerError) MarshalJSON ¶
func (s *CompleteAnalyticsArtifactMultipartUploadInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteAnalyticsArtifactMultipartUploadInternalServerError) UnmarshalJSON ¶
func (s *CompleteAnalyticsArtifactMultipartUploadInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteAnalyticsArtifactMultipartUploadNoContent ¶
type CompleteAnalyticsArtifactMultipartUploadNoContent struct{}
CompleteAnalyticsArtifactMultipartUploadNoContent is response for CompleteAnalyticsArtifactMultipartUpload operation.
type CompleteAnalyticsArtifactMultipartUploadNotFound ¶
type CompleteAnalyticsArtifactMultipartUploadNotFound Error
func (*CompleteAnalyticsArtifactMultipartUploadNotFound) Decode ¶
func (s *CompleteAnalyticsArtifactMultipartUploadNotFound) Decode(d *jx.Decoder) error
Decode decodes CompleteAnalyticsArtifactMultipartUploadNotFound from json.
func (*CompleteAnalyticsArtifactMultipartUploadNotFound) Encode ¶
func (s *CompleteAnalyticsArtifactMultipartUploadNotFound) Encode(e *jx.Encoder)
Encode encodes CompleteAnalyticsArtifactMultipartUploadNotFound as json.
func (*CompleteAnalyticsArtifactMultipartUploadNotFound) MarshalJSON ¶
func (s *CompleteAnalyticsArtifactMultipartUploadNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteAnalyticsArtifactMultipartUploadNotFound) UnmarshalJSON ¶
func (s *CompleteAnalyticsArtifactMultipartUploadNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteAnalyticsArtifactMultipartUploadParams ¶
type CompleteAnalyticsArtifactMultipartUploadParams struct { // The id of the command event. RunID int }
CompleteAnalyticsArtifactMultipartUploadParams is parameters of completeAnalyticsArtifactMultipartUpload operation.
type CompleteAnalyticsArtifactMultipartUploadReq ¶
type CompleteAnalyticsArtifactMultipartUploadReq struct { CommandEventArtifact CommandEventArtifact `json:"command_event_artifact"` MultipartUploadParts ArtifactMultipartUploadParts `json:"multipart_upload_parts"` }
func (*CompleteAnalyticsArtifactMultipartUploadReq) Decode ¶
func (s *CompleteAnalyticsArtifactMultipartUploadReq) Decode(d *jx.Decoder) error
Decode decodes CompleteAnalyticsArtifactMultipartUploadReq from json.
func (*CompleteAnalyticsArtifactMultipartUploadReq) Encode ¶
func (s *CompleteAnalyticsArtifactMultipartUploadReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CompleteAnalyticsArtifactMultipartUploadReq) GetCommandEventArtifact ¶
func (s *CompleteAnalyticsArtifactMultipartUploadReq) GetCommandEventArtifact() CommandEventArtifact
GetCommandEventArtifact returns the value of CommandEventArtifact.
func (*CompleteAnalyticsArtifactMultipartUploadReq) GetMultipartUploadParts ¶
func (s *CompleteAnalyticsArtifactMultipartUploadReq) GetMultipartUploadParts() ArtifactMultipartUploadParts
GetMultipartUploadParts returns the value of MultipartUploadParts.
func (*CompleteAnalyticsArtifactMultipartUploadReq) MarshalJSON ¶
func (s *CompleteAnalyticsArtifactMultipartUploadReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteAnalyticsArtifactMultipartUploadReq) SetCommandEventArtifact ¶
func (s *CompleteAnalyticsArtifactMultipartUploadReq) SetCommandEventArtifact(val CommandEventArtifact)
SetCommandEventArtifact sets the value of CommandEventArtifact.
func (*CompleteAnalyticsArtifactMultipartUploadReq) SetMultipartUploadParts ¶
func (s *CompleteAnalyticsArtifactMultipartUploadReq) SetMultipartUploadParts(val ArtifactMultipartUploadParts)
SetMultipartUploadParts sets the value of MultipartUploadParts.
func (*CompleteAnalyticsArtifactMultipartUploadReq) UnmarshalJSON ¶
func (s *CompleteAnalyticsArtifactMultipartUploadReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CompleteAnalyticsArtifactMultipartUploadReq) Validate ¶
func (s *CompleteAnalyticsArtifactMultipartUploadReq) Validate() error
type CompleteAnalyticsArtifactMultipartUploadRes ¶
type CompleteAnalyticsArtifactMultipartUploadRes interface {
// contains filtered or unexported methods
}
type CompleteAnalyticsArtifactMultipartUploadUnauthorized ¶
type CompleteAnalyticsArtifactMultipartUploadUnauthorized Error
func (*CompleteAnalyticsArtifactMultipartUploadUnauthorized) Decode ¶
func (s *CompleteAnalyticsArtifactMultipartUploadUnauthorized) Decode(d *jx.Decoder) error
Decode decodes CompleteAnalyticsArtifactMultipartUploadUnauthorized from json.
func (*CompleteAnalyticsArtifactMultipartUploadUnauthorized) Encode ¶
func (s *CompleteAnalyticsArtifactMultipartUploadUnauthorized) Encode(e *jx.Encoder)
Encode encodes CompleteAnalyticsArtifactMultipartUploadUnauthorized as json.
func (*CompleteAnalyticsArtifactMultipartUploadUnauthorized) MarshalJSON ¶
func (s *CompleteAnalyticsArtifactMultipartUploadUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteAnalyticsArtifactMultipartUploadUnauthorized) UnmarshalJSON ¶
func (s *CompleteAnalyticsArtifactMultipartUploadUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteAnalyticsArtifactsUploadsForbidden ¶
type CompleteAnalyticsArtifactsUploadsForbidden Error
func (*CompleteAnalyticsArtifactsUploadsForbidden) Decode ¶
func (s *CompleteAnalyticsArtifactsUploadsForbidden) Decode(d *jx.Decoder) error
Decode decodes CompleteAnalyticsArtifactsUploadsForbidden from json.
func (*CompleteAnalyticsArtifactsUploadsForbidden) Encode ¶
func (s *CompleteAnalyticsArtifactsUploadsForbidden) Encode(e *jx.Encoder)
Encode encodes CompleteAnalyticsArtifactsUploadsForbidden as json.
func (*CompleteAnalyticsArtifactsUploadsForbidden) MarshalJSON ¶
func (s *CompleteAnalyticsArtifactsUploadsForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteAnalyticsArtifactsUploadsForbidden) UnmarshalJSON ¶
func (s *CompleteAnalyticsArtifactsUploadsForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteAnalyticsArtifactsUploadsNoContent ¶
type CompleteAnalyticsArtifactsUploadsNoContent struct{}
CompleteAnalyticsArtifactsUploadsNoContent is response for CompleteAnalyticsArtifactsUploads operation.
type CompleteAnalyticsArtifactsUploadsNotFound ¶
type CompleteAnalyticsArtifactsUploadsNotFound Error
func (*CompleteAnalyticsArtifactsUploadsNotFound) Decode ¶
func (s *CompleteAnalyticsArtifactsUploadsNotFound) Decode(d *jx.Decoder) error
Decode decodes CompleteAnalyticsArtifactsUploadsNotFound from json.
func (*CompleteAnalyticsArtifactsUploadsNotFound) Encode ¶
func (s *CompleteAnalyticsArtifactsUploadsNotFound) Encode(e *jx.Encoder)
Encode encodes CompleteAnalyticsArtifactsUploadsNotFound as json.
func (*CompleteAnalyticsArtifactsUploadsNotFound) MarshalJSON ¶
func (s *CompleteAnalyticsArtifactsUploadsNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteAnalyticsArtifactsUploadsNotFound) UnmarshalJSON ¶
func (s *CompleteAnalyticsArtifactsUploadsNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteAnalyticsArtifactsUploadsParams ¶
type CompleteAnalyticsArtifactsUploadsParams struct { // The id of the command event. RunID int }
CompleteAnalyticsArtifactsUploadsParams is parameters of completeAnalyticsArtifactsUploads operation.
type CompleteAnalyticsArtifactsUploadsReq ¶
type CompleteAnalyticsArtifactsUploadsReq struct { // A list of modules with their metadata. Modules []Module `json:"modules"` }
func (*CompleteAnalyticsArtifactsUploadsReq) Decode ¶
func (s *CompleteAnalyticsArtifactsUploadsReq) Decode(d *jx.Decoder) error
Decode decodes CompleteAnalyticsArtifactsUploadsReq from json.
func (*CompleteAnalyticsArtifactsUploadsReq) Encode ¶
func (s *CompleteAnalyticsArtifactsUploadsReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CompleteAnalyticsArtifactsUploadsReq) GetModules ¶
func (s *CompleteAnalyticsArtifactsUploadsReq) GetModules() []Module
GetModules returns the value of Modules.
func (*CompleteAnalyticsArtifactsUploadsReq) MarshalJSON ¶
func (s *CompleteAnalyticsArtifactsUploadsReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteAnalyticsArtifactsUploadsReq) SetModules ¶
func (s *CompleteAnalyticsArtifactsUploadsReq) SetModules(val []Module)
SetModules sets the value of Modules.
func (*CompleteAnalyticsArtifactsUploadsReq) UnmarshalJSON ¶
func (s *CompleteAnalyticsArtifactsUploadsReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CompleteAnalyticsArtifactsUploadsReq) Validate ¶
func (s *CompleteAnalyticsArtifactsUploadsReq) Validate() error
type CompleteAnalyticsArtifactsUploadsRes ¶
type CompleteAnalyticsArtifactsUploadsRes interface {
// contains filtered or unexported methods
}
type CompleteAnalyticsArtifactsUploadsUnauthorized ¶
type CompleteAnalyticsArtifactsUploadsUnauthorized Error
func (*CompleteAnalyticsArtifactsUploadsUnauthorized) Decode ¶
func (s *CompleteAnalyticsArtifactsUploadsUnauthorized) Decode(d *jx.Decoder) error
Decode decodes CompleteAnalyticsArtifactsUploadsUnauthorized from json.
func (*CompleteAnalyticsArtifactsUploadsUnauthorized) Encode ¶
func (s *CompleteAnalyticsArtifactsUploadsUnauthorized) Encode(e *jx.Encoder)
Encode encodes CompleteAnalyticsArtifactsUploadsUnauthorized as json.
func (*CompleteAnalyticsArtifactsUploadsUnauthorized) MarshalJSON ¶
func (s *CompleteAnalyticsArtifactsUploadsUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteAnalyticsArtifactsUploadsUnauthorized) UnmarshalJSON ¶
func (s *CompleteAnalyticsArtifactsUploadsUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteCacheArtifactMultipartUploadForbidden ¶
type CompleteCacheArtifactMultipartUploadForbidden Error
func (*CompleteCacheArtifactMultipartUploadForbidden) Decode ¶
func (s *CompleteCacheArtifactMultipartUploadForbidden) Decode(d *jx.Decoder) error
Decode decodes CompleteCacheArtifactMultipartUploadForbidden from json.
func (*CompleteCacheArtifactMultipartUploadForbidden) Encode ¶
func (s *CompleteCacheArtifactMultipartUploadForbidden) Encode(e *jx.Encoder)
Encode encodes CompleteCacheArtifactMultipartUploadForbidden as json.
func (*CompleteCacheArtifactMultipartUploadForbidden) MarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteCacheArtifactMultipartUploadForbidden) UnmarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteCacheArtifactMultipartUploadNotFound ¶
type CompleteCacheArtifactMultipartUploadNotFound Error
func (*CompleteCacheArtifactMultipartUploadNotFound) Decode ¶
func (s *CompleteCacheArtifactMultipartUploadNotFound) Decode(d *jx.Decoder) error
Decode decodes CompleteCacheArtifactMultipartUploadNotFound from json.
func (*CompleteCacheArtifactMultipartUploadNotFound) Encode ¶
func (s *CompleteCacheArtifactMultipartUploadNotFound) Encode(e *jx.Encoder)
Encode encodes CompleteCacheArtifactMultipartUploadNotFound as json.
func (*CompleteCacheArtifactMultipartUploadNotFound) MarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteCacheArtifactMultipartUploadNotFound) UnmarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteCacheArtifactMultipartUploadOK ¶
type CompleteCacheArtifactMultipartUploadOK struct { Data *CompleteCacheArtifactMultipartUploadOKData `json:"data"` Status OptCompleteCacheArtifactMultipartUploadOKStatus `json:"status"` }
This response confirms that the upload has been completed successfully. The cache will now be able to serve the artifact.
func (*CompleteCacheArtifactMultipartUploadOK) Decode ¶
func (s *CompleteCacheArtifactMultipartUploadOK) Decode(d *jx.Decoder) error
Decode decodes CompleteCacheArtifactMultipartUploadOK from json.
func (*CompleteCacheArtifactMultipartUploadOK) Encode ¶
func (s *CompleteCacheArtifactMultipartUploadOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CompleteCacheArtifactMultipartUploadOK) GetData ¶
func (s *CompleteCacheArtifactMultipartUploadOK) GetData() *CompleteCacheArtifactMultipartUploadOKData
GetData returns the value of Data.
func (*CompleteCacheArtifactMultipartUploadOK) GetStatus ¶
func (s *CompleteCacheArtifactMultipartUploadOK) GetStatus() OptCompleteCacheArtifactMultipartUploadOKStatus
GetStatus returns the value of Status.
func (*CompleteCacheArtifactMultipartUploadOK) MarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteCacheArtifactMultipartUploadOK) SetData ¶
func (s *CompleteCacheArtifactMultipartUploadOK) SetData(val *CompleteCacheArtifactMultipartUploadOKData)
SetData sets the value of Data.
func (*CompleteCacheArtifactMultipartUploadOK) SetStatus ¶
func (s *CompleteCacheArtifactMultipartUploadOK) SetStatus(val OptCompleteCacheArtifactMultipartUploadOKStatus)
SetStatus sets the value of Status.
func (*CompleteCacheArtifactMultipartUploadOK) UnmarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CompleteCacheArtifactMultipartUploadOK) Validate ¶
func (s *CompleteCacheArtifactMultipartUploadOK) Validate() error
type CompleteCacheArtifactMultipartUploadOKData ¶
type CompleteCacheArtifactMultipartUploadOKData struct{}
func (*CompleteCacheArtifactMultipartUploadOKData) Decode ¶
func (s *CompleteCacheArtifactMultipartUploadOKData) Decode(d *jx.Decoder) error
Decode decodes CompleteCacheArtifactMultipartUploadOKData from json.
func (*CompleteCacheArtifactMultipartUploadOKData) Encode ¶
func (s *CompleteCacheArtifactMultipartUploadOKData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CompleteCacheArtifactMultipartUploadOKData) MarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadOKData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteCacheArtifactMultipartUploadOKData) UnmarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadOKData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteCacheArtifactMultipartUploadOKStatus ¶
type CompleteCacheArtifactMultipartUploadOKStatus string
const (
CompleteCacheArtifactMultipartUploadOKStatusSuccess CompleteCacheArtifactMultipartUploadOKStatus = "success"
)
func (CompleteCacheArtifactMultipartUploadOKStatus) AllValues ¶
func (CompleteCacheArtifactMultipartUploadOKStatus) AllValues() []CompleteCacheArtifactMultipartUploadOKStatus
AllValues returns all CompleteCacheArtifactMultipartUploadOKStatus values.
func (*CompleteCacheArtifactMultipartUploadOKStatus) Decode ¶
func (s *CompleteCacheArtifactMultipartUploadOKStatus) Decode(d *jx.Decoder) error
Decode decodes CompleteCacheArtifactMultipartUploadOKStatus from json.
func (CompleteCacheArtifactMultipartUploadOKStatus) Encode ¶
func (s CompleteCacheArtifactMultipartUploadOKStatus) Encode(e *jx.Encoder)
Encode encodes CompleteCacheArtifactMultipartUploadOKStatus as json.
func (CompleteCacheArtifactMultipartUploadOKStatus) MarshalJSON ¶
func (s CompleteCacheArtifactMultipartUploadOKStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CompleteCacheArtifactMultipartUploadOKStatus) MarshalText ¶
func (s CompleteCacheArtifactMultipartUploadOKStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CompleteCacheArtifactMultipartUploadOKStatus) UnmarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadOKStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CompleteCacheArtifactMultipartUploadOKStatus) UnmarshalText ¶
func (s *CompleteCacheArtifactMultipartUploadOKStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CompleteCacheArtifactMultipartUploadOKStatus) Validate ¶
func (s CompleteCacheArtifactMultipartUploadOKStatus) Validate() error
type CompleteCacheArtifactMultipartUploadParams ¶
type CompleteCacheArtifactMultipartUploadParams struct { // The category of the cache. It's used to differentiate between different types of caches. CacheCategory OptCacheCategory // The project identifier '{account_name}/{project_name}'. ProjectID string // The hash that uniquely identifies the artifact in the cache. Hash string // The upload ID. UploadID string // The name of the artifact. Name string }
CompleteCacheArtifactMultipartUploadParams is parameters of completeCacheArtifactMultipartUpload operation.
type CompleteCacheArtifactMultipartUploadPaymentRequired ¶
type CompleteCacheArtifactMultipartUploadPaymentRequired Error
func (*CompleteCacheArtifactMultipartUploadPaymentRequired) Decode ¶
func (s *CompleteCacheArtifactMultipartUploadPaymentRequired) Decode(d *jx.Decoder) error
Decode decodes CompleteCacheArtifactMultipartUploadPaymentRequired from json.
func (*CompleteCacheArtifactMultipartUploadPaymentRequired) Encode ¶
func (s *CompleteCacheArtifactMultipartUploadPaymentRequired) Encode(e *jx.Encoder)
Encode encodes CompleteCacheArtifactMultipartUploadPaymentRequired as json.
func (*CompleteCacheArtifactMultipartUploadPaymentRequired) MarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadPaymentRequired) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteCacheArtifactMultipartUploadPaymentRequired) UnmarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadPaymentRequired) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteCacheArtifactMultipartUploadReq ¶
type CompleteCacheArtifactMultipartUploadReq struct {
Parts []CompleteCacheArtifactMultipartUploadReqPartsItem `json:"parts"`
}
func (*CompleteCacheArtifactMultipartUploadReq) Decode ¶
func (s *CompleteCacheArtifactMultipartUploadReq) Decode(d *jx.Decoder) error
Decode decodes CompleteCacheArtifactMultipartUploadReq from json.
func (*CompleteCacheArtifactMultipartUploadReq) Encode ¶
func (s *CompleteCacheArtifactMultipartUploadReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CompleteCacheArtifactMultipartUploadReq) GetParts ¶
func (s *CompleteCacheArtifactMultipartUploadReq) GetParts() []CompleteCacheArtifactMultipartUploadReqPartsItem
GetParts returns the value of Parts.
func (*CompleteCacheArtifactMultipartUploadReq) MarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteCacheArtifactMultipartUploadReq) SetParts ¶
func (s *CompleteCacheArtifactMultipartUploadReq) SetParts(val []CompleteCacheArtifactMultipartUploadReqPartsItem)
SetParts sets the value of Parts.
func (*CompleteCacheArtifactMultipartUploadReq) UnmarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteCacheArtifactMultipartUploadReqPartsItem ¶
type CompleteCacheArtifactMultipartUploadReqPartsItem struct { // The ETag of the part. Etag OptString `json:"etag"` // The part number. PartNumber OptInt `json:"part_number"` }
func (*CompleteCacheArtifactMultipartUploadReqPartsItem) Decode ¶
func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) Decode(d *jx.Decoder) error
Decode decodes CompleteCacheArtifactMultipartUploadReqPartsItem from json.
func (*CompleteCacheArtifactMultipartUploadReqPartsItem) Encode ¶
func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CompleteCacheArtifactMultipartUploadReqPartsItem) GetEtag ¶
func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) GetEtag() OptString
GetEtag returns the value of Etag.
func (*CompleteCacheArtifactMultipartUploadReqPartsItem) GetPartNumber ¶
func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) GetPartNumber() OptInt
GetPartNumber returns the value of PartNumber.
func (*CompleteCacheArtifactMultipartUploadReqPartsItem) MarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteCacheArtifactMultipartUploadReqPartsItem) SetEtag ¶
func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) SetEtag(val OptString)
SetEtag sets the value of Etag.
func (*CompleteCacheArtifactMultipartUploadReqPartsItem) SetPartNumber ¶
func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) SetPartNumber(val OptInt)
SetPartNumber sets the value of PartNumber.
func (*CompleteCacheArtifactMultipartUploadReqPartsItem) UnmarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadReqPartsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteCacheArtifactMultipartUploadRes ¶
type CompleteCacheArtifactMultipartUploadRes interface {
// contains filtered or unexported methods
}
type CompleteCacheArtifactMultipartUploadUnauthorized ¶
type CompleteCacheArtifactMultipartUploadUnauthorized Error
func (*CompleteCacheArtifactMultipartUploadUnauthorized) Decode ¶
func (s *CompleteCacheArtifactMultipartUploadUnauthorized) Decode(d *jx.Decoder) error
Decode decodes CompleteCacheArtifactMultipartUploadUnauthorized from json.
func (*CompleteCacheArtifactMultipartUploadUnauthorized) Encode ¶
func (s *CompleteCacheArtifactMultipartUploadUnauthorized) Encode(e *jx.Encoder)
Encode encodes CompleteCacheArtifactMultipartUploadUnauthorized as json.
func (*CompleteCacheArtifactMultipartUploadUnauthorized) MarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteCacheArtifactMultipartUploadUnauthorized) UnmarshalJSON ¶
func (s *CompleteCacheArtifactMultipartUploadUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompletePreviewsMultipartUploadForbidden ¶
type CompletePreviewsMultipartUploadForbidden Error
func (*CompletePreviewsMultipartUploadForbidden) Decode ¶
func (s *CompletePreviewsMultipartUploadForbidden) Decode(d *jx.Decoder) error
Decode decodes CompletePreviewsMultipartUploadForbidden from json.
func (*CompletePreviewsMultipartUploadForbidden) Encode ¶
func (s *CompletePreviewsMultipartUploadForbidden) Encode(e *jx.Encoder)
Encode encodes CompletePreviewsMultipartUploadForbidden as json.
func (*CompletePreviewsMultipartUploadForbidden) MarshalJSON ¶
func (s *CompletePreviewsMultipartUploadForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompletePreviewsMultipartUploadForbidden) UnmarshalJSON ¶
func (s *CompletePreviewsMultipartUploadForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompletePreviewsMultipartUploadNotFound ¶
type CompletePreviewsMultipartUploadNotFound Error
func (*CompletePreviewsMultipartUploadNotFound) Decode ¶
func (s *CompletePreviewsMultipartUploadNotFound) Decode(d *jx.Decoder) error
Decode decodes CompletePreviewsMultipartUploadNotFound from json.
func (*CompletePreviewsMultipartUploadNotFound) Encode ¶
func (s *CompletePreviewsMultipartUploadNotFound) Encode(e *jx.Encoder)
Encode encodes CompletePreviewsMultipartUploadNotFound as json.
func (*CompletePreviewsMultipartUploadNotFound) MarshalJSON ¶
func (s *CompletePreviewsMultipartUploadNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompletePreviewsMultipartUploadNotFound) UnmarshalJSON ¶
func (s *CompletePreviewsMultipartUploadNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompletePreviewsMultipartUploadOK ¶
type CompletePreviewsMultipartUploadOK struct { // The URL to download the preview. URL string `json:"url"` }
The preview multipart upload has been completed.
func (*CompletePreviewsMultipartUploadOK) Decode ¶
func (s *CompletePreviewsMultipartUploadOK) Decode(d *jx.Decoder) error
Decode decodes CompletePreviewsMultipartUploadOK from json.
func (*CompletePreviewsMultipartUploadOK) Encode ¶
func (s *CompletePreviewsMultipartUploadOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CompletePreviewsMultipartUploadOK) GetURL ¶
func (s *CompletePreviewsMultipartUploadOK) GetURL() string
GetURL returns the value of URL.
func (*CompletePreviewsMultipartUploadOK) MarshalJSON ¶
func (s *CompletePreviewsMultipartUploadOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompletePreviewsMultipartUploadOK) SetURL ¶
func (s *CompletePreviewsMultipartUploadOK) SetURL(val string)
SetURL sets the value of URL.
func (*CompletePreviewsMultipartUploadOK) UnmarshalJSON ¶
func (s *CompletePreviewsMultipartUploadOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompletePreviewsMultipartUploadParams ¶
type CompletePreviewsMultipartUploadParams struct { // The handle of the account. AccountHandle string // The handle of the project. ProjectHandle string }
CompletePreviewsMultipartUploadParams is parameters of completePreviewsMultipartUpload operation.
type CompletePreviewsMultipartUploadReq ¶
type CompletePreviewsMultipartUploadReq struct { MultipartUploadParts ArtifactMultipartUploadParts `json:"multipart_upload_parts"` // The id of the preview. PreviewID string `json:"preview_id"` }
The request body to complete the multipart upload of a preview.
func (*CompletePreviewsMultipartUploadReq) Decode ¶
func (s *CompletePreviewsMultipartUploadReq) Decode(d *jx.Decoder) error
Decode decodes CompletePreviewsMultipartUploadReq from json.
func (*CompletePreviewsMultipartUploadReq) Encode ¶
func (s *CompletePreviewsMultipartUploadReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CompletePreviewsMultipartUploadReq) GetMultipartUploadParts ¶
func (s *CompletePreviewsMultipartUploadReq) GetMultipartUploadParts() ArtifactMultipartUploadParts
GetMultipartUploadParts returns the value of MultipartUploadParts.
func (*CompletePreviewsMultipartUploadReq) GetPreviewID ¶
func (s *CompletePreviewsMultipartUploadReq) GetPreviewID() string
GetPreviewID returns the value of PreviewID.
func (*CompletePreviewsMultipartUploadReq) MarshalJSON ¶
func (s *CompletePreviewsMultipartUploadReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompletePreviewsMultipartUploadReq) SetMultipartUploadParts ¶
func (s *CompletePreviewsMultipartUploadReq) SetMultipartUploadParts(val ArtifactMultipartUploadParts)
SetMultipartUploadParts sets the value of MultipartUploadParts.
func (*CompletePreviewsMultipartUploadReq) SetPreviewID ¶
func (s *CompletePreviewsMultipartUploadReq) SetPreviewID(val string)
SetPreviewID sets the value of PreviewID.
func (*CompletePreviewsMultipartUploadReq) UnmarshalJSON ¶
func (s *CompletePreviewsMultipartUploadReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CompletePreviewsMultipartUploadReq) Validate ¶
func (s *CompletePreviewsMultipartUploadReq) Validate() error
type CompletePreviewsMultipartUploadRes ¶
type CompletePreviewsMultipartUploadRes interface {
// contains filtered or unexported methods
}
type CompletePreviewsMultipartUploadUnauthorized ¶
type CompletePreviewsMultipartUploadUnauthorized Error
func (*CompletePreviewsMultipartUploadUnauthorized) Decode ¶
func (s *CompletePreviewsMultipartUploadUnauthorized) Decode(d *jx.Decoder) error
Decode decodes CompletePreviewsMultipartUploadUnauthorized from json.
func (*CompletePreviewsMultipartUploadUnauthorized) Encode ¶
func (s *CompletePreviewsMultipartUploadUnauthorized) Encode(e *jx.Encoder)
Encode encodes CompletePreviewsMultipartUploadUnauthorized as json.
func (*CompletePreviewsMultipartUploadUnauthorized) MarshalJSON ¶
func (s *CompletePreviewsMultipartUploadUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompletePreviewsMultipartUploadUnauthorized) UnmarshalJSON ¶
func (s *CompletePreviewsMultipartUploadUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Cookie ¶
type Cookie struct {
APIKey string
}
type CreateCommandEventForbidden ¶
type CreateCommandEventForbidden Error
func (*CreateCommandEventForbidden) Decode ¶
func (s *CreateCommandEventForbidden) Decode(d *jx.Decoder) error
Decode decodes CreateCommandEventForbidden from json.
func (*CreateCommandEventForbidden) Encode ¶
func (s *CreateCommandEventForbidden) Encode(e *jx.Encoder)
Encode encodes CreateCommandEventForbidden as json.
func (*CreateCommandEventForbidden) MarshalJSON ¶
func (s *CreateCommandEventForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateCommandEventForbidden) UnmarshalJSON ¶
func (s *CreateCommandEventForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateCommandEventParams ¶
type CreateCommandEventParams struct { // The project id. ProjectID string }
CreateCommandEventParams is parameters of createCommandEvent operation.
type CreateCommandEventReq ¶
type CreateCommandEventReq struct { // The client id of the command. ClientID string `json:"client_id"` // The arguments of the command. CommandArguments []string `json:"command_arguments"` // The duration of the command. Duration float64 `json:"duration"` // The error message of the command. ErrorMessage OptString `json:"error_message"` // The commit SHA. GitCommitSha OptString `json:"git_commit_sha"` // The git ref. When on CI, the value can be equal to remote reference such as `refs/pull/1234/merge`. GitRef OptString `json:"git_ref"` // The git remote URL origin. GitRemoteURLOrigin OptString `json:"git_remote_url_origin"` // Whether the command was run in a CI environment. IsCi bool `json:"is_ci"` // The version of macOS that ran the command. MacosVersion string `json:"macos_version"` // The name of the command. Name string `json:"name"` // Extra parameters. Params OptCreateCommandEventReqParams `json:"params"` // The preview identifier. PreviewID OptString `json:"preview_id"` // The status of the command. Status OptCreateCommandEventReqStatus `json:"status"` // The subcommand of the command. Subcommand OptString `json:"subcommand"` // The version of Swift that ran the command. SwiftVersion string `json:"swift_version"` // The version of Tuist that ran the command. TuistVersion string `json:"tuist_version"` }
func (*CreateCommandEventReq) Decode ¶
func (s *CreateCommandEventReq) Decode(d *jx.Decoder) error
Decode decodes CreateCommandEventReq from json.
func (*CreateCommandEventReq) Encode ¶
func (s *CreateCommandEventReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateCommandEventReq) GetClientID ¶
func (s *CreateCommandEventReq) GetClientID() string
GetClientID returns the value of ClientID.
func (*CreateCommandEventReq) GetCommandArguments ¶
func (s *CreateCommandEventReq) GetCommandArguments() []string
GetCommandArguments returns the value of CommandArguments.
func (*CreateCommandEventReq) GetDuration ¶
func (s *CreateCommandEventReq) GetDuration() float64
GetDuration returns the value of Duration.
func (*CreateCommandEventReq) GetErrorMessage ¶
func (s *CreateCommandEventReq) GetErrorMessage() OptString
GetErrorMessage returns the value of ErrorMessage.
func (*CreateCommandEventReq) GetGitCommitSha ¶
func (s *CreateCommandEventReq) GetGitCommitSha() OptString
GetGitCommitSha returns the value of GitCommitSha.
func (*CreateCommandEventReq) GetGitRef ¶
func (s *CreateCommandEventReq) GetGitRef() OptString
GetGitRef returns the value of GitRef.
func (*CreateCommandEventReq) GetGitRemoteURLOrigin ¶
func (s *CreateCommandEventReq) GetGitRemoteURLOrigin() OptString
GetGitRemoteURLOrigin returns the value of GitRemoteURLOrigin.
func (*CreateCommandEventReq) GetIsCi ¶
func (s *CreateCommandEventReq) GetIsCi() bool
GetIsCi returns the value of IsCi.
func (*CreateCommandEventReq) GetMacosVersion ¶
func (s *CreateCommandEventReq) GetMacosVersion() string
GetMacosVersion returns the value of MacosVersion.
func (*CreateCommandEventReq) GetName ¶
func (s *CreateCommandEventReq) GetName() string
GetName returns the value of Name.
func (*CreateCommandEventReq) GetParams ¶
func (s *CreateCommandEventReq) GetParams() OptCreateCommandEventReqParams
GetParams returns the value of Params.
func (*CreateCommandEventReq) GetPreviewID ¶
func (s *CreateCommandEventReq) GetPreviewID() OptString
GetPreviewID returns the value of PreviewID.
func (*CreateCommandEventReq) GetStatus ¶
func (s *CreateCommandEventReq) GetStatus() OptCreateCommandEventReqStatus
GetStatus returns the value of Status.
func (*CreateCommandEventReq) GetSubcommand ¶
func (s *CreateCommandEventReq) GetSubcommand() OptString
GetSubcommand returns the value of Subcommand.
func (*CreateCommandEventReq) GetSwiftVersion ¶
func (s *CreateCommandEventReq) GetSwiftVersion() string
GetSwiftVersion returns the value of SwiftVersion.
func (*CreateCommandEventReq) GetTuistVersion ¶
func (s *CreateCommandEventReq) GetTuistVersion() string
GetTuistVersion returns the value of TuistVersion.
func (*CreateCommandEventReq) MarshalJSON ¶
func (s *CreateCommandEventReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateCommandEventReq) SetClientID ¶
func (s *CreateCommandEventReq) SetClientID(val string)
SetClientID sets the value of ClientID.
func (*CreateCommandEventReq) SetCommandArguments ¶
func (s *CreateCommandEventReq) SetCommandArguments(val []string)
SetCommandArguments sets the value of CommandArguments.
func (*CreateCommandEventReq) SetDuration ¶
func (s *CreateCommandEventReq) SetDuration(val float64)
SetDuration sets the value of Duration.
func (*CreateCommandEventReq) SetErrorMessage ¶
func (s *CreateCommandEventReq) SetErrorMessage(val OptString)
SetErrorMessage sets the value of ErrorMessage.
func (*CreateCommandEventReq) SetGitCommitSha ¶
func (s *CreateCommandEventReq) SetGitCommitSha(val OptString)
SetGitCommitSha sets the value of GitCommitSha.
func (*CreateCommandEventReq) SetGitRef ¶
func (s *CreateCommandEventReq) SetGitRef(val OptString)
SetGitRef sets the value of GitRef.
func (*CreateCommandEventReq) SetGitRemoteURLOrigin ¶
func (s *CreateCommandEventReq) SetGitRemoteURLOrigin(val OptString)
SetGitRemoteURLOrigin sets the value of GitRemoteURLOrigin.
func (*CreateCommandEventReq) SetIsCi ¶
func (s *CreateCommandEventReq) SetIsCi(val bool)
SetIsCi sets the value of IsCi.
func (*CreateCommandEventReq) SetMacosVersion ¶
func (s *CreateCommandEventReq) SetMacosVersion(val string)
SetMacosVersion sets the value of MacosVersion.
func (*CreateCommandEventReq) SetName ¶
func (s *CreateCommandEventReq) SetName(val string)
SetName sets the value of Name.
func (*CreateCommandEventReq) SetParams ¶
func (s *CreateCommandEventReq) SetParams(val OptCreateCommandEventReqParams)
SetParams sets the value of Params.
func (*CreateCommandEventReq) SetPreviewID ¶
func (s *CreateCommandEventReq) SetPreviewID(val OptString)
SetPreviewID sets the value of PreviewID.
func (*CreateCommandEventReq) SetStatus ¶
func (s *CreateCommandEventReq) SetStatus(val OptCreateCommandEventReqStatus)
SetStatus sets the value of Status.
func (*CreateCommandEventReq) SetSubcommand ¶
func (s *CreateCommandEventReq) SetSubcommand(val OptString)
SetSubcommand sets the value of Subcommand.
func (*CreateCommandEventReq) SetSwiftVersion ¶
func (s *CreateCommandEventReq) SetSwiftVersion(val string)
SetSwiftVersion sets the value of SwiftVersion.
func (*CreateCommandEventReq) SetTuistVersion ¶
func (s *CreateCommandEventReq) SetTuistVersion(val string)
SetTuistVersion sets the value of TuistVersion.
func (*CreateCommandEventReq) UnmarshalJSON ¶
func (s *CreateCommandEventReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateCommandEventReq) Validate ¶
func (s *CreateCommandEventReq) Validate() error
type CreateCommandEventReqParams ¶
type CreateCommandEventReqParams struct { // A list of cacheable targets. CacheableTargets []string `json:"cacheable_targets"` // A list of local cache target hits. LocalCacheTargetHits []string `json:"local_cache_target_hits"` // A list of local targets whose tests were skipped. LocalTestTargetHits []string `json:"local_test_target_hits"` // A list of remote cache target hits. RemoteCacheTargetHits []string `json:"remote_cache_target_hits"` // A list of remote targets whose tests were skipped. RemoteTestTargetHits []string `json:"remote_test_target_hits"` // The list of targets that were tested. TestTargets []string `json:"test_targets"` }
Extra parameters.
func (*CreateCommandEventReqParams) Decode ¶
func (s *CreateCommandEventReqParams) Decode(d *jx.Decoder) error
Decode decodes CreateCommandEventReqParams from json.
func (*CreateCommandEventReqParams) Encode ¶
func (s *CreateCommandEventReqParams) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateCommandEventReqParams) GetCacheableTargets ¶
func (s *CreateCommandEventReqParams) GetCacheableTargets() []string
GetCacheableTargets returns the value of CacheableTargets.
func (*CreateCommandEventReqParams) GetLocalCacheTargetHits ¶
func (s *CreateCommandEventReqParams) GetLocalCacheTargetHits() []string
GetLocalCacheTargetHits returns the value of LocalCacheTargetHits.
func (*CreateCommandEventReqParams) GetLocalTestTargetHits ¶
func (s *CreateCommandEventReqParams) GetLocalTestTargetHits() []string
GetLocalTestTargetHits returns the value of LocalTestTargetHits.
func (*CreateCommandEventReqParams) GetRemoteCacheTargetHits ¶
func (s *CreateCommandEventReqParams) GetRemoteCacheTargetHits() []string
GetRemoteCacheTargetHits returns the value of RemoteCacheTargetHits.
func (*CreateCommandEventReqParams) GetRemoteTestTargetHits ¶
func (s *CreateCommandEventReqParams) GetRemoteTestTargetHits() []string
GetRemoteTestTargetHits returns the value of RemoteTestTargetHits.
func (*CreateCommandEventReqParams) GetTestTargets ¶
func (s *CreateCommandEventReqParams) GetTestTargets() []string
GetTestTargets returns the value of TestTargets.
func (*CreateCommandEventReqParams) MarshalJSON ¶
func (s *CreateCommandEventReqParams) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateCommandEventReqParams) SetCacheableTargets ¶
func (s *CreateCommandEventReqParams) SetCacheableTargets(val []string)
SetCacheableTargets sets the value of CacheableTargets.
func (*CreateCommandEventReqParams) SetLocalCacheTargetHits ¶
func (s *CreateCommandEventReqParams) SetLocalCacheTargetHits(val []string)
SetLocalCacheTargetHits sets the value of LocalCacheTargetHits.
func (*CreateCommandEventReqParams) SetLocalTestTargetHits ¶
func (s *CreateCommandEventReqParams) SetLocalTestTargetHits(val []string)
SetLocalTestTargetHits sets the value of LocalTestTargetHits.
func (*CreateCommandEventReqParams) SetRemoteCacheTargetHits ¶
func (s *CreateCommandEventReqParams) SetRemoteCacheTargetHits(val []string)
SetRemoteCacheTargetHits sets the value of RemoteCacheTargetHits.
func (*CreateCommandEventReqParams) SetRemoteTestTargetHits ¶
func (s *CreateCommandEventReqParams) SetRemoteTestTargetHits(val []string)
SetRemoteTestTargetHits sets the value of RemoteTestTargetHits.
func (*CreateCommandEventReqParams) SetTestTargets ¶
func (s *CreateCommandEventReqParams) SetTestTargets(val []string)
SetTestTargets sets the value of TestTargets.
func (*CreateCommandEventReqParams) UnmarshalJSON ¶
func (s *CreateCommandEventReqParams) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateCommandEventReqStatus ¶
type CreateCommandEventReqStatus string
The status of the command.
const ( CreateCommandEventReqStatusSuccess CreateCommandEventReqStatus = "success" CreateCommandEventReqStatusFailure CreateCommandEventReqStatus = "failure" )
func (CreateCommandEventReqStatus) AllValues ¶
func (CreateCommandEventReqStatus) AllValues() []CreateCommandEventReqStatus
AllValues returns all CreateCommandEventReqStatus values.
func (*CreateCommandEventReqStatus) Decode ¶
func (s *CreateCommandEventReqStatus) Decode(d *jx.Decoder) error
Decode decodes CreateCommandEventReqStatus from json.
func (CreateCommandEventReqStatus) Encode ¶
func (s CreateCommandEventReqStatus) Encode(e *jx.Encoder)
Encode encodes CreateCommandEventReqStatus as json.
func (CreateCommandEventReqStatus) MarshalJSON ¶
func (s CreateCommandEventReqStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateCommandEventReqStatus) MarshalText ¶
func (s CreateCommandEventReqStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateCommandEventReqStatus) UnmarshalJSON ¶
func (s *CreateCommandEventReqStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateCommandEventReqStatus) UnmarshalText ¶
func (s *CreateCommandEventReqStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateCommandEventReqStatus) Validate ¶
func (s CreateCommandEventReqStatus) Validate() error
type CreateCommandEventRes ¶
type CreateCommandEventRes interface {
// contains filtered or unexported methods
}
type CreateCommandEventUnauthorized ¶
type CreateCommandEventUnauthorized Error
func (*CreateCommandEventUnauthorized) Decode ¶
func (s *CreateCommandEventUnauthorized) Decode(d *jx.Decoder) error
Decode decodes CreateCommandEventUnauthorized from json.
func (*CreateCommandEventUnauthorized) Encode ¶
func (s *CreateCommandEventUnauthorized) Encode(e *jx.Encoder)
Encode encodes CreateCommandEventUnauthorized as json.
func (*CreateCommandEventUnauthorized) MarshalJSON ¶
func (s *CreateCommandEventUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateCommandEventUnauthorized) UnmarshalJSON ¶
func (s *CreateCommandEventUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateInvitationBadRequest ¶
type CreateInvitationBadRequest Error
func (*CreateInvitationBadRequest) Decode ¶
func (s *CreateInvitationBadRequest) Decode(d *jx.Decoder) error
Decode decodes CreateInvitationBadRequest from json.
func (*CreateInvitationBadRequest) Encode ¶
func (s *CreateInvitationBadRequest) Encode(e *jx.Encoder)
Encode encodes CreateInvitationBadRequest as json.
func (*CreateInvitationBadRequest) MarshalJSON ¶
func (s *CreateInvitationBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateInvitationBadRequest) UnmarshalJSON ¶
func (s *CreateInvitationBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateInvitationForbidden ¶
type CreateInvitationForbidden Error
func (*CreateInvitationForbidden) Decode ¶
func (s *CreateInvitationForbidden) Decode(d *jx.Decoder) error
Decode decodes CreateInvitationForbidden from json.
func (*CreateInvitationForbidden) Encode ¶
func (s *CreateInvitationForbidden) Encode(e *jx.Encoder)
Encode encodes CreateInvitationForbidden as json.
func (*CreateInvitationForbidden) MarshalJSON ¶
func (s *CreateInvitationForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateInvitationForbidden) UnmarshalJSON ¶
func (s *CreateInvitationForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateInvitationNotFound ¶
type CreateInvitationNotFound Error
func (*CreateInvitationNotFound) Decode ¶
func (s *CreateInvitationNotFound) Decode(d *jx.Decoder) error
Decode decodes CreateInvitationNotFound from json.
func (*CreateInvitationNotFound) Encode ¶
func (s *CreateInvitationNotFound) Encode(e *jx.Encoder)
Encode encodes CreateInvitationNotFound as json.
func (*CreateInvitationNotFound) MarshalJSON ¶
func (s *CreateInvitationNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateInvitationNotFound) UnmarshalJSON ¶
func (s *CreateInvitationNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateInvitationParams ¶
type CreateInvitationParams struct { // The name of the organization. OrganizationName string }
CreateInvitationParams is parameters of createInvitation operation.
type CreateInvitationReq ¶
type CreateInvitationReq struct { // The email of the invitee. InviteeEmail string `json:"invitee_email"` }
func (*CreateInvitationReq) Decode ¶
func (s *CreateInvitationReq) Decode(d *jx.Decoder) error
Decode decodes CreateInvitationReq from json.
func (*CreateInvitationReq) Encode ¶
func (s *CreateInvitationReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateInvitationReq) GetInviteeEmail ¶
func (s *CreateInvitationReq) GetInviteeEmail() string
GetInviteeEmail returns the value of InviteeEmail.
func (*CreateInvitationReq) MarshalJSON ¶
func (s *CreateInvitationReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateInvitationReq) SetInviteeEmail ¶
func (s *CreateInvitationReq) SetInviteeEmail(val string)
SetInviteeEmail sets the value of InviteeEmail.
func (*CreateInvitationReq) UnmarshalJSON ¶
func (s *CreateInvitationReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateInvitationRes ¶
type CreateInvitationRes interface {
// contains filtered or unexported methods
}
type CreateInvitationUnauthorized ¶
type CreateInvitationUnauthorized Error
func (*CreateInvitationUnauthorized) Decode ¶
func (s *CreateInvitationUnauthorized) Decode(d *jx.Decoder) error
Decode decodes CreateInvitationUnauthorized from json.
func (*CreateInvitationUnauthorized) Encode ¶
func (s *CreateInvitationUnauthorized) Encode(e *jx.Encoder)
Encode encodes CreateInvitationUnauthorized as json.
func (*CreateInvitationUnauthorized) MarshalJSON ¶
func (s *CreateInvitationUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateInvitationUnauthorized) UnmarshalJSON ¶
func (s *CreateInvitationUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateOrganizationReq ¶
type CreateOrganizationReq struct { // The name of the organization that should be created. Name string `json:"name"` }
func (*CreateOrganizationReq) Decode ¶
func (s *CreateOrganizationReq) Decode(d *jx.Decoder) error
Decode decodes CreateOrganizationReq from json.
func (*CreateOrganizationReq) Encode ¶
func (s *CreateOrganizationReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateOrganizationReq) GetName ¶
func (s *CreateOrganizationReq) GetName() string
GetName returns the value of Name.
func (*CreateOrganizationReq) MarshalJSON ¶
func (s *CreateOrganizationReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateOrganizationReq) SetName ¶
func (s *CreateOrganizationReq) SetName(val string)
SetName sets the value of Name.
func (*CreateOrganizationReq) UnmarshalJSON ¶
func (s *CreateOrganizationReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateOrganizationRes ¶
type CreateOrganizationRes interface {
// contains filtered or unexported methods
}
type CreateProjectBadRequest ¶
type CreateProjectBadRequest Error
func (*CreateProjectBadRequest) Decode ¶
func (s *CreateProjectBadRequest) Decode(d *jx.Decoder) error
Decode decodes CreateProjectBadRequest from json.
func (*CreateProjectBadRequest) Encode ¶
func (s *CreateProjectBadRequest) Encode(e *jx.Encoder)
Encode encodes CreateProjectBadRequest as json.
func (*CreateProjectBadRequest) MarshalJSON ¶
func (s *CreateProjectBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateProjectBadRequest) UnmarshalJSON ¶
func (s *CreateProjectBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateProjectForbidden ¶
type CreateProjectForbidden Error
func (*CreateProjectForbidden) Decode ¶
func (s *CreateProjectForbidden) Decode(d *jx.Decoder) error
Decode decodes CreateProjectForbidden from json.
func (*CreateProjectForbidden) Encode ¶
func (s *CreateProjectForbidden) Encode(e *jx.Encoder)
Encode encodes CreateProjectForbidden as json.
func (*CreateProjectForbidden) MarshalJSON ¶
func (s *CreateProjectForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateProjectForbidden) UnmarshalJSON ¶
func (s *CreateProjectForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateProjectReq ¶
type CreateProjectReq struct { // The full handle of the project that should be created. FullHandle OptString `json:"full_handle"` // The name of the project that should be created. // // Deprecated: schema marks this property as deprecated. Name OptString `json:"name"` // Organization to create the project with. If not specified, the project will be created with the // current user's personal account. // // Deprecated: schema marks this property as deprecated. Organization OptString `json:"organization"` }
func (*CreateProjectReq) Decode ¶
func (s *CreateProjectReq) Decode(d *jx.Decoder) error
Decode decodes CreateProjectReq from json.
func (*CreateProjectReq) Encode ¶
func (s *CreateProjectReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateProjectReq) GetFullHandle ¶
func (s *CreateProjectReq) GetFullHandle() OptString
GetFullHandle returns the value of FullHandle.
func (*CreateProjectReq) GetName ¶
func (s *CreateProjectReq) GetName() OptString
GetName returns the value of Name.
func (*CreateProjectReq) GetOrganization ¶
func (s *CreateProjectReq) GetOrganization() OptString
GetOrganization returns the value of Organization.
func (*CreateProjectReq) MarshalJSON ¶
func (s *CreateProjectReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateProjectReq) SetFullHandle ¶
func (s *CreateProjectReq) SetFullHandle(val OptString)
SetFullHandle sets the value of FullHandle.
func (*CreateProjectReq) SetName ¶
func (s *CreateProjectReq) SetName(val OptString)
SetName sets the value of Name.
func (*CreateProjectReq) SetOrganization ¶
func (s *CreateProjectReq) SetOrganization(val OptString)
SetOrganization sets the value of Organization.
func (*CreateProjectReq) UnmarshalJSON ¶
func (s *CreateProjectReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateProjectRes ¶
type CreateProjectRes interface {
// contains filtered or unexported methods
}
type CreateProjectTokenForbidden ¶
type CreateProjectTokenForbidden Error
func (*CreateProjectTokenForbidden) Decode ¶
func (s *CreateProjectTokenForbidden) Decode(d *jx.Decoder) error
Decode decodes CreateProjectTokenForbidden from json.
func (*CreateProjectTokenForbidden) Encode ¶
func (s *CreateProjectTokenForbidden) Encode(e *jx.Encoder)
Encode encodes CreateProjectTokenForbidden as json.
func (*CreateProjectTokenForbidden) MarshalJSON ¶
func (s *CreateProjectTokenForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateProjectTokenForbidden) UnmarshalJSON ¶
func (s *CreateProjectTokenForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateProjectTokenNotFound ¶
type CreateProjectTokenNotFound Error
func (*CreateProjectTokenNotFound) Decode ¶
func (s *CreateProjectTokenNotFound) Decode(d *jx.Decoder) error
Decode decodes CreateProjectTokenNotFound from json.
func (*CreateProjectTokenNotFound) Encode ¶
func (s *CreateProjectTokenNotFound) Encode(e *jx.Encoder)
Encode encodes CreateProjectTokenNotFound as json.
func (*CreateProjectTokenNotFound) MarshalJSON ¶
func (s *CreateProjectTokenNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateProjectTokenNotFound) UnmarshalJSON ¶
func (s *CreateProjectTokenNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateProjectTokenOK ¶
type CreateProjectTokenOK struct { // The generated project token. Token string `json:"token"` }
A new project token.
func (*CreateProjectTokenOK) Decode ¶
func (s *CreateProjectTokenOK) Decode(d *jx.Decoder) error
Decode decodes CreateProjectTokenOK from json.
func (*CreateProjectTokenOK) Encode ¶
func (s *CreateProjectTokenOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateProjectTokenOK) GetToken ¶
func (s *CreateProjectTokenOK) GetToken() string
GetToken returns the value of Token.
func (*CreateProjectTokenOK) MarshalJSON ¶
func (s *CreateProjectTokenOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateProjectTokenOK) SetToken ¶
func (s *CreateProjectTokenOK) SetToken(val string)
SetToken sets the value of Token.
func (*CreateProjectTokenOK) UnmarshalJSON ¶
func (s *CreateProjectTokenOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateProjectTokenParams ¶
type CreateProjectTokenParams struct { // The account handle. AccountHandle string // The project handle. ProjectHandle string }
CreateProjectTokenParams is parameters of createProjectToken operation.
type CreateProjectTokenRes ¶
type CreateProjectTokenRes interface {
// contains filtered or unexported methods
}
type CreateProjectTokenUnauthorized ¶
type CreateProjectTokenUnauthorized Error
func (*CreateProjectTokenUnauthorized) Decode ¶
func (s *CreateProjectTokenUnauthorized) Decode(d *jx.Decoder) error
Decode decodes CreateProjectTokenUnauthorized from json.
func (*CreateProjectTokenUnauthorized) Encode ¶
func (s *CreateProjectTokenUnauthorized) Encode(e *jx.Encoder)
Encode encodes CreateProjectTokenUnauthorized as json.
func (*CreateProjectTokenUnauthorized) MarshalJSON ¶
func (s *CreateProjectTokenUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateProjectTokenUnauthorized) UnmarshalJSON ¶
func (s *CreateProjectTokenUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateProjectUnauthorized ¶
type CreateProjectUnauthorized Error
func (*CreateProjectUnauthorized) Decode ¶
func (s *CreateProjectUnauthorized) Decode(d *jx.Decoder) error
Decode decodes CreateProjectUnauthorized from json.
func (*CreateProjectUnauthorized) Encode ¶
func (s *CreateProjectUnauthorized) Encode(e *jx.Encoder)
Encode encodes CreateProjectUnauthorized as json.
func (*CreateProjectUnauthorized) MarshalJSON ¶
func (s *CreateProjectUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateProjectUnauthorized) UnmarshalJSON ¶
func (s *CreateProjectUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeleteOrganizationForbidden ¶
type DeleteOrganizationForbidden Error
func (*DeleteOrganizationForbidden) Decode ¶
func (s *DeleteOrganizationForbidden) Decode(d *jx.Decoder) error
Decode decodes DeleteOrganizationForbidden from json.
func (*DeleteOrganizationForbidden) Encode ¶
func (s *DeleteOrganizationForbidden) Encode(e *jx.Encoder)
Encode encodes DeleteOrganizationForbidden as json.
func (*DeleteOrganizationForbidden) MarshalJSON ¶
func (s *DeleteOrganizationForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeleteOrganizationForbidden) UnmarshalJSON ¶
func (s *DeleteOrganizationForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeleteOrganizationNoContent ¶
type DeleteOrganizationNoContent struct{}
DeleteOrganizationNoContent is response for DeleteOrganization operation.
type DeleteOrganizationNotFound ¶
type DeleteOrganizationNotFound Error
func (*DeleteOrganizationNotFound) Decode ¶
func (s *DeleteOrganizationNotFound) Decode(d *jx.Decoder) error
Decode decodes DeleteOrganizationNotFound from json.
func (*DeleteOrganizationNotFound) Encode ¶
func (s *DeleteOrganizationNotFound) Encode(e *jx.Encoder)
Encode encodes DeleteOrganizationNotFound as json.
func (*DeleteOrganizationNotFound) MarshalJSON ¶
func (s *DeleteOrganizationNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeleteOrganizationNotFound) UnmarshalJSON ¶
func (s *DeleteOrganizationNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeleteOrganizationParams ¶
type DeleteOrganizationParams struct { // The name of the organization to delete. OrganizationName string }
DeleteOrganizationParams is parameters of deleteOrganization operation.
type DeleteOrganizationRes ¶
type DeleteOrganizationRes interface {
// contains filtered or unexported methods
}
type DeleteOrganizationUnauthorized ¶
type DeleteOrganizationUnauthorized Error
func (*DeleteOrganizationUnauthorized) Decode ¶
func (s *DeleteOrganizationUnauthorized) Decode(d *jx.Decoder) error
Decode decodes DeleteOrganizationUnauthorized from json.
func (*DeleteOrganizationUnauthorized) Encode ¶
func (s *DeleteOrganizationUnauthorized) Encode(e *jx.Encoder)
Encode encodes DeleteOrganizationUnauthorized as json.
func (*DeleteOrganizationUnauthorized) MarshalJSON ¶
func (s *DeleteOrganizationUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeleteOrganizationUnauthorized) UnmarshalJSON ¶
func (s *DeleteOrganizationUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeleteProjectForbidden ¶
type DeleteProjectForbidden Error
func (*DeleteProjectForbidden) Decode ¶
func (s *DeleteProjectForbidden) Decode(d *jx.Decoder) error
Decode decodes DeleteProjectForbidden from json.
func (*DeleteProjectForbidden) Encode ¶
func (s *DeleteProjectForbidden) Encode(e *jx.Encoder)
Encode encodes DeleteProjectForbidden as json.
func (*DeleteProjectForbidden) MarshalJSON ¶
func (s *DeleteProjectForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeleteProjectForbidden) UnmarshalJSON ¶
func (s *DeleteProjectForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeleteProjectNoContent ¶
type DeleteProjectNoContent struct{}
DeleteProjectNoContent is response for DeleteProject operation.
type DeleteProjectNotFound ¶
type DeleteProjectNotFound Error
func (*DeleteProjectNotFound) Decode ¶
func (s *DeleteProjectNotFound) Decode(d *jx.Decoder) error
Decode decodes DeleteProjectNotFound from json.
func (*DeleteProjectNotFound) Encode ¶
func (s *DeleteProjectNotFound) Encode(e *jx.Encoder)
Encode encodes DeleteProjectNotFound as json.
func (*DeleteProjectNotFound) MarshalJSON ¶
func (s *DeleteProjectNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeleteProjectNotFound) UnmarshalJSON ¶
func (s *DeleteProjectNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeleteProjectParams ¶
type DeleteProjectParams struct { // The id of the project to delete. ID int }
DeleteProjectParams is parameters of deleteProject operation.
type DeleteProjectRes ¶
type DeleteProjectRes interface {
// contains filtered or unexported methods
}
type DeleteProjectUnauthorized ¶
type DeleteProjectUnauthorized Error
func (*DeleteProjectUnauthorized) Decode ¶
func (s *DeleteProjectUnauthorized) Decode(d *jx.Decoder) error
Decode decodes DeleteProjectUnauthorized from json.
func (*DeleteProjectUnauthorized) Encode ¶
func (s *DeleteProjectUnauthorized) Encode(e *jx.Encoder)
Encode encodes DeleteProjectUnauthorized as json.
func (*DeleteProjectUnauthorized) MarshalJSON ¶
func (s *DeleteProjectUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeleteProjectUnauthorized) UnmarshalJSON ¶
func (s *DeleteProjectUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DownloadCacheArtifactForbidden ¶
type DownloadCacheArtifactForbidden Error
func (*DownloadCacheArtifactForbidden) Decode ¶
func (s *DownloadCacheArtifactForbidden) Decode(d *jx.Decoder) error
Decode decodes DownloadCacheArtifactForbidden from json.
func (*DownloadCacheArtifactForbidden) Encode ¶
func (s *DownloadCacheArtifactForbidden) Encode(e *jx.Encoder)
Encode encodes DownloadCacheArtifactForbidden as json.
func (*DownloadCacheArtifactForbidden) MarshalJSON ¶
func (s *DownloadCacheArtifactForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DownloadCacheArtifactForbidden) UnmarshalJSON ¶
func (s *DownloadCacheArtifactForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DownloadCacheArtifactNotFound ¶
type DownloadCacheArtifactNotFound Error
func (*DownloadCacheArtifactNotFound) Decode ¶
func (s *DownloadCacheArtifactNotFound) Decode(d *jx.Decoder) error
Decode decodes DownloadCacheArtifactNotFound from json.
func (*DownloadCacheArtifactNotFound) Encode ¶
func (s *DownloadCacheArtifactNotFound) Encode(e *jx.Encoder)
Encode encodes DownloadCacheArtifactNotFound as json.
func (*DownloadCacheArtifactNotFound) MarshalJSON ¶
func (s *DownloadCacheArtifactNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DownloadCacheArtifactNotFound) UnmarshalJSON ¶
func (s *DownloadCacheArtifactNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DownloadCacheArtifactParams ¶
type DownloadCacheArtifactParams struct { // The category of the cache. It's used to differentiate between different types of caches. CacheCategory OptCacheCategory // The project identifier '{account_name}/{project_name}'. ProjectID string // The hash that uniquely identifies the artifact in the cache. Hash string // The name of the artifact. Name string }
DownloadCacheArtifactParams is parameters of downloadCacheArtifact operation.
type DownloadCacheArtifactPaymentRequired ¶
type DownloadCacheArtifactPaymentRequired Error
func (*DownloadCacheArtifactPaymentRequired) Decode ¶
func (s *DownloadCacheArtifactPaymentRequired) Decode(d *jx.Decoder) error
Decode decodes DownloadCacheArtifactPaymentRequired from json.
func (*DownloadCacheArtifactPaymentRequired) Encode ¶
func (s *DownloadCacheArtifactPaymentRequired) Encode(e *jx.Encoder)
Encode encodes DownloadCacheArtifactPaymentRequired as json.
func (*DownloadCacheArtifactPaymentRequired) MarshalJSON ¶
func (s *DownloadCacheArtifactPaymentRequired) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DownloadCacheArtifactPaymentRequired) UnmarshalJSON ¶
func (s *DownloadCacheArtifactPaymentRequired) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DownloadCacheArtifactRes ¶
type DownloadCacheArtifactRes interface {
// contains filtered or unexported methods
}
type DownloadCacheArtifactUnauthorized ¶
type DownloadCacheArtifactUnauthorized Error
func (*DownloadCacheArtifactUnauthorized) Decode ¶
func (s *DownloadCacheArtifactUnauthorized) Decode(d *jx.Decoder) error
Decode decodes DownloadCacheArtifactUnauthorized from json.
func (*DownloadCacheArtifactUnauthorized) Encode ¶
func (s *DownloadCacheArtifactUnauthorized) Encode(e *jx.Encoder)
Encode encodes DownloadCacheArtifactUnauthorized as json.
func (*DownloadCacheArtifactUnauthorized) MarshalJSON ¶
func (s *DownloadCacheArtifactUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DownloadCacheArtifactUnauthorized) UnmarshalJSON ¶
func (s *DownloadCacheArtifactUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DownloadPreviewForbidden ¶
type DownloadPreviewForbidden Error
func (*DownloadPreviewForbidden) Decode ¶
func (s *DownloadPreviewForbidden) Decode(d *jx.Decoder) error
Decode decodes DownloadPreviewForbidden from json.
func (*DownloadPreviewForbidden) Encode ¶
func (s *DownloadPreviewForbidden) Encode(e *jx.Encoder)
Encode encodes DownloadPreviewForbidden as json.
func (*DownloadPreviewForbidden) MarshalJSON ¶
func (s *DownloadPreviewForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DownloadPreviewForbidden) UnmarshalJSON ¶
func (s *DownloadPreviewForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DownloadPreviewNotFound ¶
type DownloadPreviewNotFound Error
func (*DownloadPreviewNotFound) Decode ¶
func (s *DownloadPreviewNotFound) Decode(d *jx.Decoder) error
Decode decodes DownloadPreviewNotFound from json.
func (*DownloadPreviewNotFound) Encode ¶
func (s *DownloadPreviewNotFound) Encode(e *jx.Encoder)
Encode encodes DownloadPreviewNotFound as json.
func (*DownloadPreviewNotFound) MarshalJSON ¶
func (s *DownloadPreviewNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DownloadPreviewNotFound) UnmarshalJSON ¶
func (s *DownloadPreviewNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DownloadPreviewParams ¶
type DownloadPreviewParams struct { // The handle of the account. AccountHandle string // The handle of the project. ProjectHandle string // The id of the preview. PreviewID string }
DownloadPreviewParams is parameters of downloadPreview operation.
type DownloadPreviewRes ¶
type DownloadPreviewRes interface {
// contains filtered or unexported methods
}
type DownloadPreviewUnauthorized ¶
type DownloadPreviewUnauthorized Error
func (*DownloadPreviewUnauthorized) Decode ¶
func (s *DownloadPreviewUnauthorized) Decode(d *jx.Decoder) error
Decode decodes DownloadPreviewUnauthorized from json.
func (*DownloadPreviewUnauthorized) Encode ¶
func (s *DownloadPreviewUnauthorized) Encode(e *jx.Encoder)
Encode encodes DownloadPreviewUnauthorized as json.
func (*DownloadPreviewUnauthorized) MarshalJSON ¶
func (s *DownloadPreviewUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DownloadPreviewUnauthorized) UnmarshalJSON ¶
func (s *DownloadPreviewUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Error ¶
type Error struct { // The error message. Message string `json:"message"` }
Ref: #/components/schemas/Error
func (*Error) GetMessage ¶
GetMessage returns the value of Message.
func (*Error) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Error) SetMessage ¶
SetMessage sets the value of Message.
func (*Error) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type GenerateAnalyticsArtifactMultipartUploadURLForbidden ¶
type GenerateAnalyticsArtifactMultipartUploadURLForbidden Error
func (*GenerateAnalyticsArtifactMultipartUploadURLForbidden) Decode ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLForbidden) Decode(d *jx.Decoder) error
Decode decodes GenerateAnalyticsArtifactMultipartUploadURLForbidden from json.
func (*GenerateAnalyticsArtifactMultipartUploadURLForbidden) Encode ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLForbidden) Encode(e *jx.Encoder)
Encode encodes GenerateAnalyticsArtifactMultipartUploadURLForbidden as json.
func (*GenerateAnalyticsArtifactMultipartUploadURLForbidden) MarshalJSON ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GenerateAnalyticsArtifactMultipartUploadURLForbidden) UnmarshalJSON ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GenerateAnalyticsArtifactMultipartUploadURLNotFound ¶
type GenerateAnalyticsArtifactMultipartUploadURLNotFound Error
func (*GenerateAnalyticsArtifactMultipartUploadURLNotFound) Decode ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLNotFound) Decode(d *jx.Decoder) error
Decode decodes GenerateAnalyticsArtifactMultipartUploadURLNotFound from json.
func (*GenerateAnalyticsArtifactMultipartUploadURLNotFound) Encode ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLNotFound) Encode(e *jx.Encoder)
Encode encodes GenerateAnalyticsArtifactMultipartUploadURLNotFound as json.
func (*GenerateAnalyticsArtifactMultipartUploadURLNotFound) MarshalJSON ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GenerateAnalyticsArtifactMultipartUploadURLNotFound) UnmarshalJSON ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GenerateAnalyticsArtifactMultipartUploadURLParams ¶
type GenerateAnalyticsArtifactMultipartUploadURLParams struct { // The id of the command event. RunID int }
GenerateAnalyticsArtifactMultipartUploadURLParams is parameters of generateAnalyticsArtifactMultipartUploadURL operation.
type GenerateAnalyticsArtifactMultipartUploadURLReq ¶
type GenerateAnalyticsArtifactMultipartUploadURLReq struct { CommandEventArtifact CommandEventArtifact `json:"command_event_artifact"` MultipartUploadPart ArtifactMultipartUploadPart `json:"multipart_upload_part"` }
func (*GenerateAnalyticsArtifactMultipartUploadURLReq) Decode ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) Decode(d *jx.Decoder) error
Decode decodes GenerateAnalyticsArtifactMultipartUploadURLReq from json.
func (*GenerateAnalyticsArtifactMultipartUploadURLReq) Encode ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GenerateAnalyticsArtifactMultipartUploadURLReq) GetCommandEventArtifact ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) GetCommandEventArtifact() CommandEventArtifact
GetCommandEventArtifact returns the value of CommandEventArtifact.
func (*GenerateAnalyticsArtifactMultipartUploadURLReq) GetMultipartUploadPart ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) GetMultipartUploadPart() ArtifactMultipartUploadPart
GetMultipartUploadPart returns the value of MultipartUploadPart.
func (*GenerateAnalyticsArtifactMultipartUploadURLReq) MarshalJSON ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GenerateAnalyticsArtifactMultipartUploadURLReq) SetCommandEventArtifact ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) SetCommandEventArtifact(val CommandEventArtifact)
SetCommandEventArtifact sets the value of CommandEventArtifact.
func (*GenerateAnalyticsArtifactMultipartUploadURLReq) SetMultipartUploadPart ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) SetMultipartUploadPart(val ArtifactMultipartUploadPart)
SetMultipartUploadPart sets the value of MultipartUploadPart.
func (*GenerateAnalyticsArtifactMultipartUploadURLReq) UnmarshalJSON ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GenerateAnalyticsArtifactMultipartUploadURLRes ¶
type GenerateAnalyticsArtifactMultipartUploadURLRes interface {
// contains filtered or unexported methods
}
type GenerateAnalyticsArtifactMultipartUploadURLUnauthorized ¶
type GenerateAnalyticsArtifactMultipartUploadURLUnauthorized Error
func (*GenerateAnalyticsArtifactMultipartUploadURLUnauthorized) Decode ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLUnauthorized) Decode(d *jx.Decoder) error
Decode decodes GenerateAnalyticsArtifactMultipartUploadURLUnauthorized from json.
func (*GenerateAnalyticsArtifactMultipartUploadURLUnauthorized) Encode ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLUnauthorized) Encode(e *jx.Encoder)
Encode encodes GenerateAnalyticsArtifactMultipartUploadURLUnauthorized as json.
func (*GenerateAnalyticsArtifactMultipartUploadURLUnauthorized) MarshalJSON ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GenerateAnalyticsArtifactMultipartUploadURLUnauthorized) UnmarshalJSON ¶
func (s *GenerateAnalyticsArtifactMultipartUploadURLUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GenerateCacheArtifactMultipartUploadURLForbidden ¶
type GenerateCacheArtifactMultipartUploadURLForbidden Error
func (*GenerateCacheArtifactMultipartUploadURLForbidden) Decode ¶
func (s *GenerateCacheArtifactMultipartUploadURLForbidden) Decode(d *jx.Decoder) error
Decode decodes GenerateCacheArtifactMultipartUploadURLForbidden from json.
func (*GenerateCacheArtifactMultipartUploadURLForbidden) Encode ¶
func (s *GenerateCacheArtifactMultipartUploadURLForbidden) Encode(e *jx.Encoder)
Encode encodes GenerateCacheArtifactMultipartUploadURLForbidden as json.
func (*GenerateCacheArtifactMultipartUploadURLForbidden) MarshalJSON ¶
func (s *GenerateCacheArtifactMultipartUploadURLForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GenerateCacheArtifactMultipartUploadURLForbidden) UnmarshalJSON ¶
func (s *GenerateCacheArtifactMultipartUploadURLForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GenerateCacheArtifactMultipartUploadURLNotFound ¶
type GenerateCacheArtifactMultipartUploadURLNotFound Error
func (*GenerateCacheArtifactMultipartUploadURLNotFound) Decode ¶
func (s *GenerateCacheArtifactMultipartUploadURLNotFound) Decode(d *jx.Decoder) error
Decode decodes GenerateCacheArtifactMultipartUploadURLNotFound from json.
func (*GenerateCacheArtifactMultipartUploadURLNotFound) Encode ¶
func (s *GenerateCacheArtifactMultipartUploadURLNotFound) Encode(e *jx.Encoder)
Encode encodes GenerateCacheArtifactMultipartUploadURLNotFound as json.
func (*GenerateCacheArtifactMultipartUploadURLNotFound) MarshalJSON ¶
func (s *GenerateCacheArtifactMultipartUploadURLNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GenerateCacheArtifactMultipartUploadURLNotFound) UnmarshalJSON ¶
func (s *GenerateCacheArtifactMultipartUploadURLNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GenerateCacheArtifactMultipartUploadURLParams ¶
type GenerateCacheArtifactMultipartUploadURLParams struct { // The category of the cache. It's used to differentiate between different types of caches. CacheCategory OptCacheCategory // The project identifier '{account_name}/{project_name}'. ProjectID string // The hash that uniquely identifies the artifact in the cache. Hash string // The part number of the multipart upload. PartNumber int // The upload ID. UploadID string // The name of the artifact. Name string }
GenerateCacheArtifactMultipartUploadURLParams is parameters of generateCacheArtifactMultipartUploadURL operation.
type GenerateCacheArtifactMultipartUploadURLPaymentRequired ¶
type GenerateCacheArtifactMultipartUploadURLPaymentRequired Error
func (*GenerateCacheArtifactMultipartUploadURLPaymentRequired) Decode ¶
func (s *GenerateCacheArtifactMultipartUploadURLPaymentRequired) Decode(d *jx.Decoder) error
Decode decodes GenerateCacheArtifactMultipartUploadURLPaymentRequired from json.
func (*GenerateCacheArtifactMultipartUploadURLPaymentRequired) Encode ¶
func (s *GenerateCacheArtifactMultipartUploadURLPaymentRequired) Encode(e *jx.Encoder)
Encode encodes GenerateCacheArtifactMultipartUploadURLPaymentRequired as json.
func (*GenerateCacheArtifactMultipartUploadURLPaymentRequired) MarshalJSON ¶
func (s *GenerateCacheArtifactMultipartUploadURLPaymentRequired) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GenerateCacheArtifactMultipartUploadURLPaymentRequired) UnmarshalJSON ¶
func (s *GenerateCacheArtifactMultipartUploadURLPaymentRequired) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GenerateCacheArtifactMultipartUploadURLRes ¶
type GenerateCacheArtifactMultipartUploadURLRes interface {
// contains filtered or unexported methods
}
type GenerateCacheArtifactMultipartUploadURLUnauthorized ¶
type GenerateCacheArtifactMultipartUploadURLUnauthorized Error
func (*GenerateCacheArtifactMultipartUploadURLUnauthorized) Decode ¶
func (s *GenerateCacheArtifactMultipartUploadURLUnauthorized) Decode(d *jx.Decoder) error
Decode decodes GenerateCacheArtifactMultipartUploadURLUnauthorized from json.
func (*GenerateCacheArtifactMultipartUploadURLUnauthorized) Encode ¶
func (s *GenerateCacheArtifactMultipartUploadURLUnauthorized) Encode(e *jx.Encoder)
Encode encodes GenerateCacheArtifactMultipartUploadURLUnauthorized as json.
func (*GenerateCacheArtifactMultipartUploadURLUnauthorized) MarshalJSON ¶
func (s *GenerateCacheArtifactMultipartUploadURLUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GenerateCacheArtifactMultipartUploadURLUnauthorized) UnmarshalJSON ¶
func (s *GenerateCacheArtifactMultipartUploadURLUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GeneratePreviewsMultipartUploadURLForbidden ¶
type GeneratePreviewsMultipartUploadURLForbidden Error
func (*GeneratePreviewsMultipartUploadURLForbidden) Decode ¶
func (s *GeneratePreviewsMultipartUploadURLForbidden) Decode(d *jx.Decoder) error
Decode decodes GeneratePreviewsMultipartUploadURLForbidden from json.
func (*GeneratePreviewsMultipartUploadURLForbidden) Encode ¶
func (s *GeneratePreviewsMultipartUploadURLForbidden) Encode(e *jx.Encoder)
Encode encodes GeneratePreviewsMultipartUploadURLForbidden as json.
func (*GeneratePreviewsMultipartUploadURLForbidden) MarshalJSON ¶
func (s *GeneratePreviewsMultipartUploadURLForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GeneratePreviewsMultipartUploadURLForbidden) UnmarshalJSON ¶
func (s *GeneratePreviewsMultipartUploadURLForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GeneratePreviewsMultipartUploadURLNotFound ¶
type GeneratePreviewsMultipartUploadURLNotFound Error
func (*GeneratePreviewsMultipartUploadURLNotFound) Decode ¶
func (s *GeneratePreviewsMultipartUploadURLNotFound) Decode(d *jx.Decoder) error
Decode decodes GeneratePreviewsMultipartUploadURLNotFound from json.
func (*GeneratePreviewsMultipartUploadURLNotFound) Encode ¶
func (s *GeneratePreviewsMultipartUploadURLNotFound) Encode(e *jx.Encoder)
Encode encodes GeneratePreviewsMultipartUploadURLNotFound as json.
func (*GeneratePreviewsMultipartUploadURLNotFound) MarshalJSON ¶
func (s *GeneratePreviewsMultipartUploadURLNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GeneratePreviewsMultipartUploadURLNotFound) UnmarshalJSON ¶
func (s *GeneratePreviewsMultipartUploadURLNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GeneratePreviewsMultipartUploadURLParams ¶
type GeneratePreviewsMultipartUploadURLParams struct { // The handle of the account. AccountHandle string // The handle of the project. ProjectHandle string }
GeneratePreviewsMultipartUploadURLParams is parameters of generatePreviewsMultipartUploadURL operation.
type GeneratePreviewsMultipartUploadURLReq ¶
type GeneratePreviewsMultipartUploadURLReq struct { MultipartUploadPart ArtifactMultipartUploadPart `json:"multipart_upload_part"` // The id of the preview. PreviewID string `json:"preview_id"` }
func (*GeneratePreviewsMultipartUploadURLReq) Decode ¶
func (s *GeneratePreviewsMultipartUploadURLReq) Decode(d *jx.Decoder) error
Decode decodes GeneratePreviewsMultipartUploadURLReq from json.
func (*GeneratePreviewsMultipartUploadURLReq) Encode ¶
func (s *GeneratePreviewsMultipartUploadURLReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GeneratePreviewsMultipartUploadURLReq) GetMultipartUploadPart ¶
func (s *GeneratePreviewsMultipartUploadURLReq) GetMultipartUploadPart() ArtifactMultipartUploadPart
GetMultipartUploadPart returns the value of MultipartUploadPart.
func (*GeneratePreviewsMultipartUploadURLReq) GetPreviewID ¶
func (s *GeneratePreviewsMultipartUploadURLReq) GetPreviewID() string
GetPreviewID returns the value of PreviewID.
func (*GeneratePreviewsMultipartUploadURLReq) MarshalJSON ¶
func (s *GeneratePreviewsMultipartUploadURLReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GeneratePreviewsMultipartUploadURLReq) SetMultipartUploadPart ¶
func (s *GeneratePreviewsMultipartUploadURLReq) SetMultipartUploadPart(val ArtifactMultipartUploadPart)
SetMultipartUploadPart sets the value of MultipartUploadPart.
func (*GeneratePreviewsMultipartUploadURLReq) SetPreviewID ¶
func (s *GeneratePreviewsMultipartUploadURLReq) SetPreviewID(val string)
SetPreviewID sets the value of PreviewID.
func (*GeneratePreviewsMultipartUploadURLReq) UnmarshalJSON ¶
func (s *GeneratePreviewsMultipartUploadURLReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GeneratePreviewsMultipartUploadURLRes ¶
type GeneratePreviewsMultipartUploadURLRes interface {
// contains filtered or unexported methods
}
type GeneratePreviewsMultipartUploadURLUnauthorized ¶
type GeneratePreviewsMultipartUploadURLUnauthorized Error
func (*GeneratePreviewsMultipartUploadURLUnauthorized) Decode ¶
func (s *GeneratePreviewsMultipartUploadURLUnauthorized) Decode(d *jx.Decoder) error
Decode decodes GeneratePreviewsMultipartUploadURLUnauthorized from json.
func (*GeneratePreviewsMultipartUploadURLUnauthorized) Encode ¶
func (s *GeneratePreviewsMultipartUploadURLUnauthorized) Encode(e *jx.Encoder)
Encode encodes GeneratePreviewsMultipartUploadURLUnauthorized as json.
func (*GeneratePreviewsMultipartUploadURLUnauthorized) MarshalJSON ¶
func (s *GeneratePreviewsMultipartUploadURLUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GeneratePreviewsMultipartUploadURLUnauthorized) UnmarshalJSON ¶
func (s *GeneratePreviewsMultipartUploadURLUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetCacheActionItemForbidden ¶
type GetCacheActionItemForbidden Error
func (*GetCacheActionItemForbidden) Decode ¶
func (s *GetCacheActionItemForbidden) Decode(d *jx.Decoder) error
Decode decodes GetCacheActionItemForbidden from json.
func (*GetCacheActionItemForbidden) Encode ¶
func (s *GetCacheActionItemForbidden) Encode(e *jx.Encoder)
Encode encodes GetCacheActionItemForbidden as json.
func (*GetCacheActionItemForbidden) MarshalJSON ¶
func (s *GetCacheActionItemForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetCacheActionItemForbidden) UnmarshalJSON ¶
func (s *GetCacheActionItemForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetCacheActionItemNotFound ¶
type GetCacheActionItemNotFound Error
func (*GetCacheActionItemNotFound) Decode ¶
func (s *GetCacheActionItemNotFound) Decode(d *jx.Decoder) error
Decode decodes GetCacheActionItemNotFound from json.
func (*GetCacheActionItemNotFound) Encode ¶
func (s *GetCacheActionItemNotFound) Encode(e *jx.Encoder)
Encode encodes GetCacheActionItemNotFound as json.
func (*GetCacheActionItemNotFound) MarshalJSON ¶
func (s *GetCacheActionItemNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetCacheActionItemNotFound) UnmarshalJSON ¶
func (s *GetCacheActionItemNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetCacheActionItemParams ¶
type GetCacheActionItemParams struct { // The name of the account that the project belongs to. AccountHandle string // The name of the project the cache action item belongs to. ProjectHandle string // The hash that uniquely identifies an item in the action cache. Hash string }
GetCacheActionItemParams is parameters of getCacheActionItem operation.
type GetCacheActionItemPaymentRequired ¶
type GetCacheActionItemPaymentRequired Error
func (*GetCacheActionItemPaymentRequired) Decode ¶
func (s *GetCacheActionItemPaymentRequired) Decode(d *jx.Decoder) error
Decode decodes GetCacheActionItemPaymentRequired from json.
func (*GetCacheActionItemPaymentRequired) Encode ¶
func (s *GetCacheActionItemPaymentRequired) Encode(e *jx.Encoder)
Encode encodes GetCacheActionItemPaymentRequired as json.
func (*GetCacheActionItemPaymentRequired) MarshalJSON ¶
func (s *GetCacheActionItemPaymentRequired) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetCacheActionItemPaymentRequired) UnmarshalJSON ¶
func (s *GetCacheActionItemPaymentRequired) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetCacheActionItemRes ¶
type GetCacheActionItemRes interface {
// contains filtered or unexported methods
}
type GetCacheActionItemUnauthorized ¶
type GetCacheActionItemUnauthorized Error
func (*GetCacheActionItemUnauthorized) Decode ¶
func (s *GetCacheActionItemUnauthorized) Decode(d *jx.Decoder) error
Decode decodes GetCacheActionItemUnauthorized from json.
func (*GetCacheActionItemUnauthorized) Encode ¶
func (s *GetCacheActionItemUnauthorized) Encode(e *jx.Encoder)
Encode encodes GetCacheActionItemUnauthorized as json.
func (*GetCacheActionItemUnauthorized) MarshalJSON ¶
func (s *GetCacheActionItemUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetCacheActionItemUnauthorized) UnmarshalJSON ¶
func (s *GetCacheActionItemUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetDeviceCodeAccepted ¶
type GetDeviceCodeAccepted struct{}
func (*GetDeviceCodeAccepted) Decode ¶
func (s *GetDeviceCodeAccepted) Decode(d *jx.Decoder) error
Decode decodes GetDeviceCodeAccepted from json.
func (*GetDeviceCodeAccepted) Encode ¶
func (s *GetDeviceCodeAccepted) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetDeviceCodeAccepted) MarshalJSON ¶
func (s *GetDeviceCodeAccepted) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetDeviceCodeAccepted) UnmarshalJSON ¶
func (s *GetDeviceCodeAccepted) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetDeviceCodeOK ¶
type GetDeviceCodeOK struct { // A short-lived token to authenticate API requests as user. AccessToken OptString `json:"access_token"` // A token to generate new access tokens when they expire. RefreshToken OptString `json:"refresh_token"` // User authentication token. // // Deprecated: schema marks this property as deprecated. Token OptString `json:"token"` }
Token to authenticate the user with.
func (*GetDeviceCodeOK) Decode ¶
func (s *GetDeviceCodeOK) Decode(d *jx.Decoder) error
Decode decodes GetDeviceCodeOK from json.
func (*GetDeviceCodeOK) Encode ¶
func (s *GetDeviceCodeOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetDeviceCodeOK) GetAccessToken ¶
func (s *GetDeviceCodeOK) GetAccessToken() OptString
GetAccessToken returns the value of AccessToken.
func (*GetDeviceCodeOK) GetRefreshToken ¶
func (s *GetDeviceCodeOK) GetRefreshToken() OptString
GetRefreshToken returns the value of RefreshToken.
func (*GetDeviceCodeOK) GetToken ¶
func (s *GetDeviceCodeOK) GetToken() OptString
GetToken returns the value of Token.
func (*GetDeviceCodeOK) MarshalJSON ¶
func (s *GetDeviceCodeOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetDeviceCodeOK) SetAccessToken ¶
func (s *GetDeviceCodeOK) SetAccessToken(val OptString)
SetAccessToken sets the value of AccessToken.
func (*GetDeviceCodeOK) SetRefreshToken ¶
func (s *GetDeviceCodeOK) SetRefreshToken(val OptString)
SetRefreshToken sets the value of RefreshToken.
func (*GetDeviceCodeOK) SetToken ¶
func (s *GetDeviceCodeOK) SetToken(val OptString)
SetToken sets the value of Token.
func (*GetDeviceCodeOK) UnmarshalJSON ¶
func (s *GetDeviceCodeOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetDeviceCodeParams ¶
type GetDeviceCodeParams struct { // The device code to query. DeviceCode string }
GetDeviceCodeParams is parameters of getDeviceCode operation.
type GetDeviceCodeRes ¶
type GetDeviceCodeRes interface {
// contains filtered or unexported methods
}
type Handler ¶
type Handler interface { // Authenticate implements authenticate operation. // // This endpoint returns API tokens for a given email and password. // // POST /api/auth Authenticate(ctx context.Context, req OptAuthenticateReq) (AuthenticateRes, error) // CacheArtifactExists implements cacheArtifactExists operation. // // This endpoint checks if an artifact exists in the cache. It returns a 404 status code if the // artifact does not exist. // // Deprecated: schema marks this operation as deprecated. // // GET /api/cache/exists CacheArtifactExists(ctx context.Context, params CacheArtifactExistsParams) (CacheArtifactExistsRes, error) // CleanCache implements cleanCache operation. // // Cleans cache for a given project. // // PUT /api/projects/{account_handle}/{project_handle}/cache/clean CleanCache(ctx context.Context, params CleanCacheParams) (CleanCacheRes, error) // CompleteAnalyticsArtifactMultipartUpload implements completeAnalyticsArtifactMultipartUpload operation. // // Given the upload ID and all the parts with their ETags, this endpoint completes the multipart // upload. // // POST /api/runs/{run_id}/complete CompleteAnalyticsArtifactMultipartUpload(ctx context.Context, req OptCompleteAnalyticsArtifactMultipartUploadReq, params CompleteAnalyticsArtifactMultipartUploadParams) (CompleteAnalyticsArtifactMultipartUploadRes, error) // CompleteAnalyticsArtifactsUploads implements completeAnalyticsArtifactsUploads operation. // // Given a command event, it marks all artifact uploads as finished and does extra processing of a // given command run, such as test flakiness detection. // // PUT /api/runs/{run_id}/complete_artifacts_uploads CompleteAnalyticsArtifactsUploads(ctx context.Context, req OptCompleteAnalyticsArtifactsUploadsReq, params CompleteAnalyticsArtifactsUploadsParams) (CompleteAnalyticsArtifactsUploadsRes, error) // CompleteCacheArtifactMultipartUpload implements completeCacheArtifactMultipartUpload operation. // // Given the upload ID and all the parts with their ETags, this endpoint completes the multipart // upload. The cache will then be able to serve the artifact. // // POST /api/cache/multipart/complete CompleteCacheArtifactMultipartUpload(ctx context.Context, req OptCompleteCacheArtifactMultipartUploadReq, params CompleteCacheArtifactMultipartUploadParams) (CompleteCacheArtifactMultipartUploadRes, error) // CompletePreviewsMultipartUpload implements completePreviewsMultipartUpload operation. // // Given the upload ID and all the parts with their ETags, this endpoint completes the multipart // upload. // // POST /api/projects/{account_handle}/{project_handle}/previews/complete CompletePreviewsMultipartUpload(ctx context.Context, req OptCompletePreviewsMultipartUploadReq, params CompletePreviewsMultipartUploadParams) (CompletePreviewsMultipartUploadRes, error) // CreateCommandEvent implements createCommandEvent operation. // // Create a a new command analytics event. // // POST /api/analytics CreateCommandEvent(ctx context.Context, req OptCreateCommandEventReq, params CreateCommandEventParams) (CreateCommandEventRes, error) // CreateInvitation implements createInvitation operation. // // Invites a user with a given email to a given organization. // // POST /api/organizations/{organization_name}/invitations CreateInvitation(ctx context.Context, req OptCreateInvitationReq, params CreateInvitationParams) (CreateInvitationRes, error) // CreateOrganization implements createOrganization operation. // // Creates an organization with the given name. // // POST /api/organizations CreateOrganization(ctx context.Context, req OptCreateOrganizationReq) (CreateOrganizationRes, error) // CreateProject implements createProject operation. // // Create a new project. // // POST /api/projects CreateProject(ctx context.Context, req OptCreateProjectReq) (CreateProjectRes, error) // CreateProjectToken implements createProjectToken operation. // // This endpoint returns a new project token. // // POST /api/projects/{account_handle}/{project_handle}/tokens CreateProjectToken(ctx context.Context, params CreateProjectTokenParams) (CreateProjectTokenRes, error) // DeleteOrganization implements deleteOrganization operation. // // Deletes the organization with the given name. // // DELETE /api/organizations/{organization_name} DeleteOrganization(ctx context.Context, params DeleteOrganizationParams) (DeleteOrganizationRes, error) // DeleteProject implements deleteProject operation. // // Deletes a project with a given id. // // DELETE /api/projects/{id} DeleteProject(ctx context.Context, params DeleteProjectParams) (DeleteProjectRes, error) // DownloadCacheArtifact implements downloadCacheArtifact operation. // // This endpoint returns a signed URL that can be used to download an artifact from the cache. // // GET /api/cache DownloadCacheArtifact(ctx context.Context, params DownloadCacheArtifactParams) (DownloadCacheArtifactRes, error) // DownloadPreview implements downloadPreview operation. // // This endpoint returns a signed URL that can be used to download a preview. // // GET /api/projects/{account_handle}/{project_handle}/previews/{preview_id} DownloadPreview(ctx context.Context, params DownloadPreviewParams) (DownloadPreviewRes, error) // GenerateAnalyticsArtifactMultipartUploadURL implements generateAnalyticsArtifactMultipartUploadURL operation. // // Given an upload ID and a part number, this endpoint returns a signed URL that can be used to // upload a part of a multipart upload. The URL is short-lived and expires in 120 seconds. // // POST /api/runs/{run_id}/generate-url GenerateAnalyticsArtifactMultipartUploadURL(ctx context.Context, req OptGenerateAnalyticsArtifactMultipartUploadURLReq, params GenerateAnalyticsArtifactMultipartUploadURLParams) (GenerateAnalyticsArtifactMultipartUploadURLRes, error) // GenerateCacheArtifactMultipartUploadURL implements generateCacheArtifactMultipartUploadURL operation. // // Given an upload ID and a part number, this endpoint returns a signed URL that can be used to // upload a part of a multipart upload. The URL is short-lived and expires in 120 seconds. // // POST /api/cache/multipart/generate-url GenerateCacheArtifactMultipartUploadURL(ctx context.Context, params GenerateCacheArtifactMultipartUploadURLParams) (GenerateCacheArtifactMultipartUploadURLRes, error) // GeneratePreviewsMultipartUploadURL implements generatePreviewsMultipartUploadURL operation. // // Given an upload ID and a part number, this endpoint returns a signed URL that can be used to // upload a part of a multipart upload. The URL is short-lived and expires in 120 seconds. // // POST /api/projects/{account_handle}/{project_handle}/previews/generate-url GeneratePreviewsMultipartUploadURL(ctx context.Context, req OptGeneratePreviewsMultipartUploadURLReq, params GeneratePreviewsMultipartUploadURLParams) (GeneratePreviewsMultipartUploadURLRes, error) // GetCacheActionItem implements getCacheActionItem operation. // // This endpoint gets an item from the action cache. // // GET /api/projects/{account_handle}/{project_handle}/cache/ac/{hash} GetCacheActionItem(ctx context.Context, params GetCacheActionItemParams) (GetCacheActionItemRes, error) // GetDeviceCode implements getDeviceCode operation. // // This endpoint returns a token for a given device code if the device code is authenticated. // // GET /api/auth/device_code/{device_code} GetDeviceCode(ctx context.Context, params GetDeviceCodeParams) (GetDeviceCodeRes, error) // ListOrganizations implements listOrganizations operation. // // Returns all the organizations the authenticated subject is part of. // // GET /api/organizations ListOrganizations(ctx context.Context) (ListOrganizationsRes, error) // ListProjectTokens implements listProjectTokens operation. // // This endpoint returns all tokens for a given project. // // GET /api/projects/{account_handle}/{project_handle}/tokens ListProjectTokens(ctx context.Context, params ListProjectTokensParams) (ListProjectTokensRes, error) // ListProjects implements listProjects operation. // // List projects the authenticated user has access to. // // GET /api/projects ListProjects(ctx context.Context) (ListProjectsRes, error) // RefreshToken implements refreshToken operation. // // This endpoint returns new tokens for a given refresh token if the refresh token is valid. // // POST /api/auth/refresh_token RefreshToken(ctx context.Context, req OptRefreshTokenReq) (RefreshTokenRes, error) // RevokeProjectToken implements revokeProjectToken operation. // // Revokes a project token. // // DELETE /api/projects/{account_handle}/{project_handle}/tokens/{id} RevokeProjectToken(ctx context.Context, params RevokeProjectTokenParams) (RevokeProjectTokenRes, error) // ShowOrganization implements showOrganization operation. // // Returns the organization with the given identifier. // // GET /api/organizations/{organization_name} ShowOrganization(ctx context.Context, params ShowOrganizationParams) (ShowOrganizationRes, error) // ShowOrganizationUsage implements showOrganizationUsage operation. // // Returns the usage of the organization with the given identifier. (e.g. number of remote cache hits). // // GET /api/organizations/{organization_name}/usage ShowOrganizationUsage(ctx context.Context, params ShowOrganizationUsageParams) (ShowOrganizationUsageRes, error) // ShowProject implements showProject operation. // // Returns a project based on the handle. // // GET /api/projects/{account_handle}/{project_handle} ShowProject(ctx context.Context, params ShowProjectParams) (ShowProjectRes, error) // StartAnalyticsArtifactMultipartUpload implements startAnalyticsArtifactMultipartUpload operation. // // The endpoint returns an upload ID that can be used to generate URLs for the individual parts and // complete the upload. // // POST /api/runs/{run_id}/start StartAnalyticsArtifactMultipartUpload(ctx context.Context, req CommandEventArtifact, params StartAnalyticsArtifactMultipartUploadParams) (StartAnalyticsArtifactMultipartUploadRes, error) // StartCacheArtifactMultipartUpload implements startCacheArtifactMultipartUpload operation. // // The endpoint returns an upload ID that can be used to generate URLs for the individual parts and // complete the upload. // // POST /api/cache/multipart/start StartCacheArtifactMultipartUpload(ctx context.Context, params StartCacheArtifactMultipartUploadParams) (StartCacheArtifactMultipartUploadRes, error) // StartPreviewsMultipartUpload implements startPreviewsMultipartUpload operation. // // The endpoint returns an upload ID that can be used to generate URLs for the individual parts and // complete the upload. // // POST /api/projects/{account_handle}/{project_handle}/previews/start StartPreviewsMultipartUpload(ctx context.Context, req OptStartPreviewsMultipartUploadReq, params StartPreviewsMultipartUploadParams) (StartPreviewsMultipartUploadRes, error) // UpdateOrganization implements updateOrganization operation. // // Updates an organization with given parameters. // // PUT /api/organizations/{organization_name} UpdateOrganization(ctx context.Context, req OptUpdateOrganizationReq, params UpdateOrganizationParams) (UpdateOrganizationRes, error) // UpdateOrganization2 implements updateOrganization (2) operation. // // Updates an organization with given parameters. // // PATCH /api/organizations/{organization_name} UpdateOrganization2(ctx context.Context, req OptUpdateOrganization2Req, params UpdateOrganization2Params) (UpdateOrganization2Res, error) // UpdateOrganizationMember implements updateOrganizationMember operation. // // Updates a member in a given organization. // // PUT /api/organizations/{organization_name}/members/{user_name} UpdateOrganizationMember(ctx context.Context, req OptUpdateOrganizationMemberReq, params UpdateOrganizationMemberParams) (UpdateOrganizationMemberRes, error) // UpdateProject implements updateProject operation. // // Updates a project with given parameters. // // PUT /api/projects/{account_handle}/{project_handle} UpdateProject(ctx context.Context, req OptUpdateProjectReq, params UpdateProjectParams) (UpdateProjectRes, error) // UploadCacheActionItem implements uploadCacheActionItem operation. // // The endpoint caches a given action item without uploading a file. To upload files, use the // multipart upload instead. // // POST /api/projects/{account_handle}/{project_handle}/cache/ac UploadCacheActionItem(ctx context.Context, req OptUploadCacheActionItemReq, params UploadCacheActionItemParams) (UploadCacheActionItemRes, error) }
Handler handles operations described by OpenAPI v3 specification.
type Invitation ¶
type Invitation struct { // The invitation's unique identifier. ID float64 `json:"id"` // The email of the invitee. InviteeEmail string `json:"invitee_email"` Inviter User `json:"inviter"` // The id of the organization the invitee is invited to. OrganizationID float64 `json:"organization_id"` // The token to accept the invitation. Token string `json:"token"` }
Ref: #/components/schemas/Invitation
func (*Invitation) Decode ¶
func (s *Invitation) Decode(d *jx.Decoder) error
Decode decodes Invitation from json.
func (*Invitation) Encode ¶
func (s *Invitation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*Invitation) GetInviteeEmail ¶
func (s *Invitation) GetInviteeEmail() string
GetInviteeEmail returns the value of InviteeEmail.
func (*Invitation) GetInviter ¶
func (s *Invitation) GetInviter() User
GetInviter returns the value of Inviter.
func (*Invitation) GetOrganizationID ¶
func (s *Invitation) GetOrganizationID() float64
GetOrganizationID returns the value of OrganizationID.
func (*Invitation) GetToken ¶
func (s *Invitation) GetToken() string
GetToken returns the value of Token.
func (*Invitation) MarshalJSON ¶
func (s *Invitation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Invitation) SetInviteeEmail ¶
func (s *Invitation) SetInviteeEmail(val string)
SetInviteeEmail sets the value of InviteeEmail.
func (*Invitation) SetInviter ¶
func (s *Invitation) SetInviter(val User)
SetInviter sets the value of Inviter.
func (*Invitation) SetOrganizationID ¶
func (s *Invitation) SetOrganizationID(val float64)
SetOrganizationID sets the value of OrganizationID.
func (*Invitation) SetToken ¶
func (s *Invitation) SetToken(val string)
SetToken sets the value of Token.
func (*Invitation) UnmarshalJSON ¶
func (s *Invitation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*Invitation) Validate ¶
func (s *Invitation) Validate() error
type Invoker ¶
type Invoker interface { // Authenticate invokes authenticate operation. // // This endpoint returns API tokens for a given email and password. // // POST /api/auth Authenticate(ctx context.Context, request OptAuthenticateReq) (AuthenticateRes, error) // CacheArtifactExists invokes cacheArtifactExists operation. // // This endpoint checks if an artifact exists in the cache. It returns a 404 status code if the // artifact does not exist. // // Deprecated: schema marks this operation as deprecated. // // GET /api/cache/exists CacheArtifactExists(ctx context.Context, params CacheArtifactExistsParams) (CacheArtifactExistsRes, error) // CleanCache invokes cleanCache operation. // // Cleans cache for a given project. // // PUT /api/projects/{account_handle}/{project_handle}/cache/clean CleanCache(ctx context.Context, params CleanCacheParams) (CleanCacheRes, error) // CompleteAnalyticsArtifactMultipartUpload invokes completeAnalyticsArtifactMultipartUpload operation. // // Given the upload ID and all the parts with their ETags, this endpoint completes the multipart // upload. // // POST /api/runs/{run_id}/complete CompleteAnalyticsArtifactMultipartUpload(ctx context.Context, request OptCompleteAnalyticsArtifactMultipartUploadReq, params CompleteAnalyticsArtifactMultipartUploadParams) (CompleteAnalyticsArtifactMultipartUploadRes, error) // CompleteAnalyticsArtifactsUploads invokes completeAnalyticsArtifactsUploads operation. // // Given a command event, it marks all artifact uploads as finished and does extra processing of a // given command run, such as test flakiness detection. // // PUT /api/runs/{run_id}/complete_artifacts_uploads CompleteAnalyticsArtifactsUploads(ctx context.Context, request OptCompleteAnalyticsArtifactsUploadsReq, params CompleteAnalyticsArtifactsUploadsParams) (CompleteAnalyticsArtifactsUploadsRes, error) // CompleteCacheArtifactMultipartUpload invokes completeCacheArtifactMultipartUpload operation. // // Given the upload ID and all the parts with their ETags, this endpoint completes the multipart // upload. The cache will then be able to serve the artifact. // // POST /api/cache/multipart/complete CompleteCacheArtifactMultipartUpload(ctx context.Context, request OptCompleteCacheArtifactMultipartUploadReq, params CompleteCacheArtifactMultipartUploadParams) (CompleteCacheArtifactMultipartUploadRes, error) // CompletePreviewsMultipartUpload invokes completePreviewsMultipartUpload operation. // // Given the upload ID and all the parts with their ETags, this endpoint completes the multipart // upload. // // POST /api/projects/{account_handle}/{project_handle}/previews/complete CompletePreviewsMultipartUpload(ctx context.Context, request OptCompletePreviewsMultipartUploadReq, params CompletePreviewsMultipartUploadParams) (CompletePreviewsMultipartUploadRes, error) // CreateCommandEvent invokes createCommandEvent operation. // // Create a a new command analytics event. // // POST /api/analytics CreateCommandEvent(ctx context.Context, request OptCreateCommandEventReq, params CreateCommandEventParams) (CreateCommandEventRes, error) // CreateInvitation invokes createInvitation operation. // // Invites a user with a given email to a given organization. // // POST /api/organizations/{organization_name}/invitations CreateInvitation(ctx context.Context, request OptCreateInvitationReq, params CreateInvitationParams) (CreateInvitationRes, error) // CreateOrganization invokes createOrganization operation. // // Creates an organization with the given name. // // POST /api/organizations CreateOrganization(ctx context.Context, request OptCreateOrganizationReq) (CreateOrganizationRes, error) // CreateProject invokes createProject operation. // // Create a new project. // // POST /api/projects CreateProject(ctx context.Context, request OptCreateProjectReq) (CreateProjectRes, error) // CreateProjectToken invokes createProjectToken operation. // // This endpoint returns a new project token. // // POST /api/projects/{account_handle}/{project_handle}/tokens CreateProjectToken(ctx context.Context, params CreateProjectTokenParams) (CreateProjectTokenRes, error) // DeleteOrganization invokes deleteOrganization operation. // // Deletes the organization with the given name. // // DELETE /api/organizations/{organization_name} DeleteOrganization(ctx context.Context, params DeleteOrganizationParams) (DeleteOrganizationRes, error) // DeleteProject invokes deleteProject operation. // // Deletes a project with a given id. // // DELETE /api/projects/{id} DeleteProject(ctx context.Context, params DeleteProjectParams) (DeleteProjectRes, error) // DownloadCacheArtifact invokes downloadCacheArtifact operation. // // This endpoint returns a signed URL that can be used to download an artifact from the cache. // // GET /api/cache DownloadCacheArtifact(ctx context.Context, params DownloadCacheArtifactParams) (DownloadCacheArtifactRes, error) // DownloadPreview invokes downloadPreview operation. // // This endpoint returns a signed URL that can be used to download a preview. // // GET /api/projects/{account_handle}/{project_handle}/previews/{preview_id} DownloadPreview(ctx context.Context, params DownloadPreviewParams) (DownloadPreviewRes, error) // GenerateAnalyticsArtifactMultipartUploadURL invokes generateAnalyticsArtifactMultipartUploadURL operation. // // Given an upload ID and a part number, this endpoint returns a signed URL that can be used to // upload a part of a multipart upload. The URL is short-lived and expires in 120 seconds. // // POST /api/runs/{run_id}/generate-url GenerateAnalyticsArtifactMultipartUploadURL(ctx context.Context, request OptGenerateAnalyticsArtifactMultipartUploadURLReq, params GenerateAnalyticsArtifactMultipartUploadURLParams) (GenerateAnalyticsArtifactMultipartUploadURLRes, error) // GenerateCacheArtifactMultipartUploadURL invokes generateCacheArtifactMultipartUploadURL operation. // // Given an upload ID and a part number, this endpoint returns a signed URL that can be used to // upload a part of a multipart upload. The URL is short-lived and expires in 120 seconds. // // POST /api/cache/multipart/generate-url GenerateCacheArtifactMultipartUploadURL(ctx context.Context, params GenerateCacheArtifactMultipartUploadURLParams) (GenerateCacheArtifactMultipartUploadURLRes, error) // GeneratePreviewsMultipartUploadURL invokes generatePreviewsMultipartUploadURL operation. // // Given an upload ID and a part number, this endpoint returns a signed URL that can be used to // upload a part of a multipart upload. The URL is short-lived and expires in 120 seconds. // // POST /api/projects/{account_handle}/{project_handle}/previews/generate-url GeneratePreviewsMultipartUploadURL(ctx context.Context, request OptGeneratePreviewsMultipartUploadURLReq, params GeneratePreviewsMultipartUploadURLParams) (GeneratePreviewsMultipartUploadURLRes, error) // GetCacheActionItem invokes getCacheActionItem operation. // // This endpoint gets an item from the action cache. // // GET /api/projects/{account_handle}/{project_handle}/cache/ac/{hash} GetCacheActionItem(ctx context.Context, params GetCacheActionItemParams) (GetCacheActionItemRes, error) // GetDeviceCode invokes getDeviceCode operation. // // This endpoint returns a token for a given device code if the device code is authenticated. // // GET /api/auth/device_code/{device_code} GetDeviceCode(ctx context.Context, params GetDeviceCodeParams) (GetDeviceCodeRes, error) // ListOrganizations invokes listOrganizations operation. // // Returns all the organizations the authenticated subject is part of. // // GET /api/organizations ListOrganizations(ctx context.Context) (ListOrganizationsRes, error) // ListProjectTokens invokes listProjectTokens operation. // // This endpoint returns all tokens for a given project. // // GET /api/projects/{account_handle}/{project_handle}/tokens ListProjectTokens(ctx context.Context, params ListProjectTokensParams) (ListProjectTokensRes, error) // ListProjects invokes listProjects operation. // // List projects the authenticated user has access to. // // GET /api/projects ListProjects(ctx context.Context) (ListProjectsRes, error) // RefreshToken invokes refreshToken operation. // // This endpoint returns new tokens for a given refresh token if the refresh token is valid. // // POST /api/auth/refresh_token RefreshToken(ctx context.Context, request OptRefreshTokenReq) (RefreshTokenRes, error) // RevokeProjectToken invokes revokeProjectToken operation. // // Revokes a project token. // // DELETE /api/projects/{account_handle}/{project_handle}/tokens/{id} RevokeProjectToken(ctx context.Context, params RevokeProjectTokenParams) (RevokeProjectTokenRes, error) // ShowOrganization invokes showOrganization operation. // // Returns the organization with the given identifier. // // GET /api/organizations/{organization_name} ShowOrganization(ctx context.Context, params ShowOrganizationParams) (ShowOrganizationRes, error) // ShowOrganizationUsage invokes showOrganizationUsage operation. // // Returns the usage of the organization with the given identifier. (e.g. number of remote cache hits). // // GET /api/organizations/{organization_name}/usage ShowOrganizationUsage(ctx context.Context, params ShowOrganizationUsageParams) (ShowOrganizationUsageRes, error) // ShowProject invokes showProject operation. // // Returns a project based on the handle. // // GET /api/projects/{account_handle}/{project_handle} ShowProject(ctx context.Context, params ShowProjectParams) (ShowProjectRes, error) // StartAnalyticsArtifactMultipartUpload invokes startAnalyticsArtifactMultipartUpload operation. // // The endpoint returns an upload ID that can be used to generate URLs for the individual parts and // complete the upload. // // POST /api/runs/{run_id}/start StartAnalyticsArtifactMultipartUpload(ctx context.Context, request CommandEventArtifact, params StartAnalyticsArtifactMultipartUploadParams) (StartAnalyticsArtifactMultipartUploadRes, error) // StartCacheArtifactMultipartUpload invokes startCacheArtifactMultipartUpload operation. // // The endpoint returns an upload ID that can be used to generate URLs for the individual parts and // complete the upload. // // POST /api/cache/multipart/start StartCacheArtifactMultipartUpload(ctx context.Context, params StartCacheArtifactMultipartUploadParams) (StartCacheArtifactMultipartUploadRes, error) // StartPreviewsMultipartUpload invokes startPreviewsMultipartUpload operation. // // The endpoint returns an upload ID that can be used to generate URLs for the individual parts and // complete the upload. // // POST /api/projects/{account_handle}/{project_handle}/previews/start StartPreviewsMultipartUpload(ctx context.Context, request OptStartPreviewsMultipartUploadReq, params StartPreviewsMultipartUploadParams) (StartPreviewsMultipartUploadRes, error) // UpdateOrganization invokes updateOrganization operation. // // Updates an organization with given parameters. // // PUT /api/organizations/{organization_name} UpdateOrganization(ctx context.Context, request OptUpdateOrganizationReq, params UpdateOrganizationParams) (UpdateOrganizationRes, error) // UpdateOrganization2 invokes updateOrganization (2) operation. // // Updates an organization with given parameters. // // PATCH /api/organizations/{organization_name} UpdateOrganization2(ctx context.Context, request OptUpdateOrganization2Req, params UpdateOrganization2Params) (UpdateOrganization2Res, error) // UpdateOrganizationMember invokes updateOrganizationMember operation. // // Updates a member in a given organization. // // PUT /api/organizations/{organization_name}/members/{user_name} UpdateOrganizationMember(ctx context.Context, request OptUpdateOrganizationMemberReq, params UpdateOrganizationMemberParams) (UpdateOrganizationMemberRes, error) // UpdateProject invokes updateProject operation. // // Updates a project with given parameters. // // PUT /api/projects/{account_handle}/{project_handle} UpdateProject(ctx context.Context, request OptUpdateProjectReq, params UpdateProjectParams) (UpdateProjectRes, error) // UploadCacheActionItem invokes uploadCacheActionItem operation. // // The endpoint caches a given action item without uploading a file. To upload files, use the // multipart upload instead. // // POST /api/projects/{account_handle}/{project_handle}/cache/ac UploadCacheActionItem(ctx context.Context, request OptUploadCacheActionItemReq, params UploadCacheActionItemParams) (UploadCacheActionItemRes, error) }
Invoker invokes operations described by OpenAPI v3 specification.
type Labeler ¶
type Labeler struct {
// contains filtered or unexported fields
}
Labeler is used to allow adding custom attributes to the server request metrics.
func LabelerFromContext ¶
LabelerFromContext retrieves the Labeler from the provided context, if present.
If no Labeler was found in the provided context a new, empty Labeler is returned and the second return value is false. In this case it is safe to use the Labeler but any attributes added to it will not be used.
func (*Labeler) AttributeSet ¶
AttributeSet returns the attributes added to the Labeler as an attribute.Set.
type ListOrganizationsForbidden ¶
type ListOrganizationsForbidden Error
func (*ListOrganizationsForbidden) Decode ¶
func (s *ListOrganizationsForbidden) Decode(d *jx.Decoder) error
Decode decodes ListOrganizationsForbidden from json.
func (*ListOrganizationsForbidden) Encode ¶
func (s *ListOrganizationsForbidden) Encode(e *jx.Encoder)
Encode encodes ListOrganizationsForbidden as json.
func (*ListOrganizationsForbidden) MarshalJSON ¶
func (s *ListOrganizationsForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrganizationsForbidden) UnmarshalJSON ¶
func (s *ListOrganizationsForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListOrganizationsOK ¶
type ListOrganizationsOK struct {
Organizations []Organization `json:"organizations"`
}
The list of organizations the authenticated subject is part of.
func (*ListOrganizationsOK) Decode ¶
func (s *ListOrganizationsOK) Decode(d *jx.Decoder) error
Decode decodes ListOrganizationsOK from json.
func (*ListOrganizationsOK) Encode ¶
func (s *ListOrganizationsOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListOrganizationsOK) GetOrganizations ¶
func (s *ListOrganizationsOK) GetOrganizations() []Organization
GetOrganizations returns the value of Organizations.
func (*ListOrganizationsOK) MarshalJSON ¶
func (s *ListOrganizationsOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrganizationsOK) SetOrganizations ¶
func (s *ListOrganizationsOK) SetOrganizations(val []Organization)
SetOrganizations sets the value of Organizations.
func (*ListOrganizationsOK) UnmarshalJSON ¶
func (s *ListOrganizationsOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListOrganizationsOK) Validate ¶
func (s *ListOrganizationsOK) Validate() error
type ListOrganizationsRes ¶
type ListOrganizationsRes interface {
// contains filtered or unexported methods
}
type ListOrganizationsUnauthorized ¶
type ListOrganizationsUnauthorized Error
func (*ListOrganizationsUnauthorized) Decode ¶
func (s *ListOrganizationsUnauthorized) Decode(d *jx.Decoder) error
Decode decodes ListOrganizationsUnauthorized from json.
func (*ListOrganizationsUnauthorized) Encode ¶
func (s *ListOrganizationsUnauthorized) Encode(e *jx.Encoder)
Encode encodes ListOrganizationsUnauthorized as json.
func (*ListOrganizationsUnauthorized) MarshalJSON ¶
func (s *ListOrganizationsUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrganizationsUnauthorized) UnmarshalJSON ¶
func (s *ListOrganizationsUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListProjectTokensForbidden ¶
type ListProjectTokensForbidden Error
func (*ListProjectTokensForbidden) Decode ¶
func (s *ListProjectTokensForbidden) Decode(d *jx.Decoder) error
Decode decodes ListProjectTokensForbidden from json.
func (*ListProjectTokensForbidden) Encode ¶
func (s *ListProjectTokensForbidden) Encode(e *jx.Encoder)
Encode encodes ListProjectTokensForbidden as json.
func (*ListProjectTokensForbidden) MarshalJSON ¶
func (s *ListProjectTokensForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListProjectTokensForbidden) UnmarshalJSON ¶
func (s *ListProjectTokensForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListProjectTokensNotFound ¶
type ListProjectTokensNotFound Error
func (*ListProjectTokensNotFound) Decode ¶
func (s *ListProjectTokensNotFound) Decode(d *jx.Decoder) error
Decode decodes ListProjectTokensNotFound from json.
func (*ListProjectTokensNotFound) Encode ¶
func (s *ListProjectTokensNotFound) Encode(e *jx.Encoder)
Encode encodes ListProjectTokensNotFound as json.
func (*ListProjectTokensNotFound) MarshalJSON ¶
func (s *ListProjectTokensNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListProjectTokensNotFound) UnmarshalJSON ¶
func (s *ListProjectTokensNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListProjectTokensOK ¶
type ListProjectTokensOK struct {
Tokens []ProjectToken `json:"tokens"`
}
A list of project tokens.
func (*ListProjectTokensOK) Decode ¶
func (s *ListProjectTokensOK) Decode(d *jx.Decoder) error
Decode decodes ListProjectTokensOK from json.
func (*ListProjectTokensOK) Encode ¶
func (s *ListProjectTokensOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListProjectTokensOK) GetTokens ¶
func (s *ListProjectTokensOK) GetTokens() []ProjectToken
GetTokens returns the value of Tokens.
func (*ListProjectTokensOK) MarshalJSON ¶
func (s *ListProjectTokensOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListProjectTokensOK) SetTokens ¶
func (s *ListProjectTokensOK) SetTokens(val []ProjectToken)
SetTokens sets the value of Tokens.
func (*ListProjectTokensOK) UnmarshalJSON ¶
func (s *ListProjectTokensOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListProjectTokensOK) Validate ¶
func (s *ListProjectTokensOK) Validate() error
type ListProjectTokensParams ¶
type ListProjectTokensParams struct { // The account handle. AccountHandle string // The project handle. ProjectHandle string }
ListProjectTokensParams is parameters of listProjectTokens operation.
type ListProjectTokensRes ¶
type ListProjectTokensRes interface {
// contains filtered or unexported methods
}
type ListProjectTokensUnauthorized ¶
type ListProjectTokensUnauthorized Error
func (*ListProjectTokensUnauthorized) Decode ¶
func (s *ListProjectTokensUnauthorized) Decode(d *jx.Decoder) error
Decode decodes ListProjectTokensUnauthorized from json.
func (*ListProjectTokensUnauthorized) Encode ¶
func (s *ListProjectTokensUnauthorized) Encode(e *jx.Encoder)
Encode encodes ListProjectTokensUnauthorized as json.
func (*ListProjectTokensUnauthorized) MarshalJSON ¶
func (s *ListProjectTokensUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListProjectTokensUnauthorized) UnmarshalJSON ¶
func (s *ListProjectTokensUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListProjectsOK ¶
type ListProjectsOK struct {
Projects []Project `json:"projects"`
}
func (*ListProjectsOK) Decode ¶
func (s *ListProjectsOK) Decode(d *jx.Decoder) error
Decode decodes ListProjectsOK from json.
func (*ListProjectsOK) Encode ¶
func (s *ListProjectsOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListProjectsOK) GetProjects ¶
func (s *ListProjectsOK) GetProjects() []Project
GetProjects returns the value of Projects.
func (*ListProjectsOK) MarshalJSON ¶
func (s *ListProjectsOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListProjectsOK) SetProjects ¶
func (s *ListProjectsOK) SetProjects(val []Project)
SetProjects sets the value of Projects.
func (*ListProjectsOK) UnmarshalJSON ¶
func (s *ListProjectsOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListProjectsOK) Validate ¶
func (s *ListProjectsOK) Validate() error
type ListProjectsRes ¶
type ListProjectsRes interface {
// contains filtered or unexported methods
}
type Module ¶
type Module struct { // A hash that represents the module. Hash string `json:"hash"` // A name of the module. Name string `json:"name"` // Project's relative path from the root of the repository. ProjectIdentifier string `json:"project_identifier"` }
Ref: #/components/schemas/Module
func (*Module) GetProjectIdentifier ¶
GetProjectIdentifier returns the value of ProjectIdentifier.
func (*Module) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Module) SetProjectIdentifier ¶
SetProjectIdentifier sets the value of ProjectIdentifier.
func (*Module) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAuthenticateReq ¶
type OptAuthenticateReq struct { Value AuthenticateReq Set bool }
OptAuthenticateReq is optional AuthenticateReq.
func NewOptAuthenticateReq ¶
func NewOptAuthenticateReq(v AuthenticateReq) OptAuthenticateReq
NewOptAuthenticateReq returns new OptAuthenticateReq with value set to v.
func (*OptAuthenticateReq) Decode ¶
func (o *OptAuthenticateReq) Decode(d *jx.Decoder) error
Decode decodes AuthenticateReq from json.
func (OptAuthenticateReq) Encode ¶
func (o OptAuthenticateReq) Encode(e *jx.Encoder)
Encode encodes AuthenticateReq as json.
func (OptAuthenticateReq) Get ¶
func (o OptAuthenticateReq) Get() (v AuthenticateReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAuthenticateReq) IsSet ¶
func (o OptAuthenticateReq) IsSet() bool
IsSet returns true if OptAuthenticateReq was set.
func (OptAuthenticateReq) MarshalJSON ¶
func (s OptAuthenticateReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAuthenticateReq) Or ¶
func (o OptAuthenticateReq) Or(d AuthenticateReq) AuthenticateReq
Or returns value if set, or given parameter if does not.
func (*OptAuthenticateReq) SetTo ¶
func (o *OptAuthenticateReq) SetTo(v AuthenticateReq)
SetTo sets value to v.
func (*OptAuthenticateReq) UnmarshalJSON ¶
func (s *OptAuthenticateReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCacheArtifactExistsOKStatus ¶
type OptCacheArtifactExistsOKStatus struct { Value CacheArtifactExistsOKStatus Set bool }
OptCacheArtifactExistsOKStatus is optional CacheArtifactExistsOKStatus.
func NewOptCacheArtifactExistsOKStatus ¶
func NewOptCacheArtifactExistsOKStatus(v CacheArtifactExistsOKStatus) OptCacheArtifactExistsOKStatus
NewOptCacheArtifactExistsOKStatus returns new OptCacheArtifactExistsOKStatus with value set to v.
func (*OptCacheArtifactExistsOKStatus) Decode ¶
func (o *OptCacheArtifactExistsOKStatus) Decode(d *jx.Decoder) error
Decode decodes CacheArtifactExistsOKStatus from json.
func (OptCacheArtifactExistsOKStatus) Encode ¶
func (o OptCacheArtifactExistsOKStatus) Encode(e *jx.Encoder)
Encode encodes CacheArtifactExistsOKStatus as json.
func (OptCacheArtifactExistsOKStatus) Get ¶
func (o OptCacheArtifactExistsOKStatus) Get() (v CacheArtifactExistsOKStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCacheArtifactExistsOKStatus) IsSet ¶
func (o OptCacheArtifactExistsOKStatus) IsSet() bool
IsSet returns true if OptCacheArtifactExistsOKStatus was set.
func (OptCacheArtifactExistsOKStatus) MarshalJSON ¶
func (s OptCacheArtifactExistsOKStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCacheArtifactExistsOKStatus) Or ¶
func (o OptCacheArtifactExistsOKStatus) Or(d CacheArtifactExistsOKStatus) CacheArtifactExistsOKStatus
Or returns value if set, or given parameter if does not.
func (*OptCacheArtifactExistsOKStatus) Reset ¶
func (o *OptCacheArtifactExistsOKStatus) Reset()
Reset unsets value.
func (*OptCacheArtifactExistsOKStatus) SetTo ¶
func (o *OptCacheArtifactExistsOKStatus) SetTo(v CacheArtifactExistsOKStatus)
SetTo sets value to v.
func (*OptCacheArtifactExistsOKStatus) UnmarshalJSON ¶
func (s *OptCacheArtifactExistsOKStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCacheCategory ¶
type OptCacheCategory struct { Value CacheCategory Set bool }
OptCacheCategory is optional CacheCategory.
func NewOptCacheCategory ¶
func NewOptCacheCategory(v CacheCategory) OptCacheCategory
NewOptCacheCategory returns new OptCacheCategory with value set to v.
func (OptCacheCategory) Get ¶
func (o OptCacheCategory) Get() (v CacheCategory, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCacheCategory) IsSet ¶
func (o OptCacheCategory) IsSet() bool
IsSet returns true if OptCacheCategory was set.
func (OptCacheCategory) Or ¶
func (o OptCacheCategory) Or(d CacheCategory) CacheCategory
Or returns value if set, or given parameter if does not.
func (*OptCacheCategory) SetTo ¶
func (o *OptCacheCategory) SetTo(v CacheCategory)
SetTo sets value to v.
type OptCompleteAnalyticsArtifactMultipartUploadReq ¶
type OptCompleteAnalyticsArtifactMultipartUploadReq struct { Value CompleteAnalyticsArtifactMultipartUploadReq Set bool }
OptCompleteAnalyticsArtifactMultipartUploadReq is optional CompleteAnalyticsArtifactMultipartUploadReq.
func NewOptCompleteAnalyticsArtifactMultipartUploadReq ¶
func NewOptCompleteAnalyticsArtifactMultipartUploadReq(v CompleteAnalyticsArtifactMultipartUploadReq) OptCompleteAnalyticsArtifactMultipartUploadReq
NewOptCompleteAnalyticsArtifactMultipartUploadReq returns new OptCompleteAnalyticsArtifactMultipartUploadReq with value set to v.
func (*OptCompleteAnalyticsArtifactMultipartUploadReq) Decode ¶
func (o *OptCompleteAnalyticsArtifactMultipartUploadReq) Decode(d *jx.Decoder) error
Decode decodes CompleteAnalyticsArtifactMultipartUploadReq from json.
func (OptCompleteAnalyticsArtifactMultipartUploadReq) Encode ¶
func (o OptCompleteAnalyticsArtifactMultipartUploadReq) Encode(e *jx.Encoder)
Encode encodes CompleteAnalyticsArtifactMultipartUploadReq as json.
func (OptCompleteAnalyticsArtifactMultipartUploadReq) Get ¶
func (o OptCompleteAnalyticsArtifactMultipartUploadReq) Get() (v CompleteAnalyticsArtifactMultipartUploadReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCompleteAnalyticsArtifactMultipartUploadReq) IsSet ¶
func (o OptCompleteAnalyticsArtifactMultipartUploadReq) IsSet() bool
IsSet returns true if OptCompleteAnalyticsArtifactMultipartUploadReq was set.
func (OptCompleteAnalyticsArtifactMultipartUploadReq) MarshalJSON ¶
func (s OptCompleteAnalyticsArtifactMultipartUploadReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCompleteAnalyticsArtifactMultipartUploadReq) Or ¶
func (o OptCompleteAnalyticsArtifactMultipartUploadReq) Or(d CompleteAnalyticsArtifactMultipartUploadReq) CompleteAnalyticsArtifactMultipartUploadReq
Or returns value if set, or given parameter if does not.
func (*OptCompleteAnalyticsArtifactMultipartUploadReq) Reset ¶
func (o *OptCompleteAnalyticsArtifactMultipartUploadReq) Reset()
Reset unsets value.
func (*OptCompleteAnalyticsArtifactMultipartUploadReq) SetTo ¶
func (o *OptCompleteAnalyticsArtifactMultipartUploadReq) SetTo(v CompleteAnalyticsArtifactMultipartUploadReq)
SetTo sets value to v.
func (*OptCompleteAnalyticsArtifactMultipartUploadReq) UnmarshalJSON ¶
func (s *OptCompleteAnalyticsArtifactMultipartUploadReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCompleteAnalyticsArtifactsUploadsReq ¶
type OptCompleteAnalyticsArtifactsUploadsReq struct { Value CompleteAnalyticsArtifactsUploadsReq Set bool }
OptCompleteAnalyticsArtifactsUploadsReq is optional CompleteAnalyticsArtifactsUploadsReq.
func NewOptCompleteAnalyticsArtifactsUploadsReq ¶
func NewOptCompleteAnalyticsArtifactsUploadsReq(v CompleteAnalyticsArtifactsUploadsReq) OptCompleteAnalyticsArtifactsUploadsReq
NewOptCompleteAnalyticsArtifactsUploadsReq returns new OptCompleteAnalyticsArtifactsUploadsReq with value set to v.
func (*OptCompleteAnalyticsArtifactsUploadsReq) Decode ¶
func (o *OptCompleteAnalyticsArtifactsUploadsReq) Decode(d *jx.Decoder) error
Decode decodes CompleteAnalyticsArtifactsUploadsReq from json.
func (OptCompleteAnalyticsArtifactsUploadsReq) Encode ¶
func (o OptCompleteAnalyticsArtifactsUploadsReq) Encode(e *jx.Encoder)
Encode encodes CompleteAnalyticsArtifactsUploadsReq as json.
func (OptCompleteAnalyticsArtifactsUploadsReq) Get ¶
func (o OptCompleteAnalyticsArtifactsUploadsReq) Get() (v CompleteAnalyticsArtifactsUploadsReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCompleteAnalyticsArtifactsUploadsReq) IsSet ¶
func (o OptCompleteAnalyticsArtifactsUploadsReq) IsSet() bool
IsSet returns true if OptCompleteAnalyticsArtifactsUploadsReq was set.
func (OptCompleteAnalyticsArtifactsUploadsReq) MarshalJSON ¶
func (s OptCompleteAnalyticsArtifactsUploadsReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCompleteAnalyticsArtifactsUploadsReq) Or ¶
func (o OptCompleteAnalyticsArtifactsUploadsReq) Or(d CompleteAnalyticsArtifactsUploadsReq) CompleteAnalyticsArtifactsUploadsReq
Or returns value if set, or given parameter if does not.
func (*OptCompleteAnalyticsArtifactsUploadsReq) Reset ¶
func (o *OptCompleteAnalyticsArtifactsUploadsReq) Reset()
Reset unsets value.
func (*OptCompleteAnalyticsArtifactsUploadsReq) SetTo ¶
func (o *OptCompleteAnalyticsArtifactsUploadsReq) SetTo(v CompleteAnalyticsArtifactsUploadsReq)
SetTo sets value to v.
func (*OptCompleteAnalyticsArtifactsUploadsReq) UnmarshalJSON ¶
func (s *OptCompleteAnalyticsArtifactsUploadsReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCompleteCacheArtifactMultipartUploadOKStatus ¶
type OptCompleteCacheArtifactMultipartUploadOKStatus struct { Value CompleteCacheArtifactMultipartUploadOKStatus Set bool }
OptCompleteCacheArtifactMultipartUploadOKStatus is optional CompleteCacheArtifactMultipartUploadOKStatus.
func NewOptCompleteCacheArtifactMultipartUploadOKStatus ¶
func NewOptCompleteCacheArtifactMultipartUploadOKStatus(v CompleteCacheArtifactMultipartUploadOKStatus) OptCompleteCacheArtifactMultipartUploadOKStatus
NewOptCompleteCacheArtifactMultipartUploadOKStatus returns new OptCompleteCacheArtifactMultipartUploadOKStatus with value set to v.
func (*OptCompleteCacheArtifactMultipartUploadOKStatus) Decode ¶
func (o *OptCompleteCacheArtifactMultipartUploadOKStatus) Decode(d *jx.Decoder) error
Decode decodes CompleteCacheArtifactMultipartUploadOKStatus from json.
func (OptCompleteCacheArtifactMultipartUploadOKStatus) Encode ¶
func (o OptCompleteCacheArtifactMultipartUploadOKStatus) Encode(e *jx.Encoder)
Encode encodes CompleteCacheArtifactMultipartUploadOKStatus as json.
func (OptCompleteCacheArtifactMultipartUploadOKStatus) Get ¶
func (o OptCompleteCacheArtifactMultipartUploadOKStatus) Get() (v CompleteCacheArtifactMultipartUploadOKStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCompleteCacheArtifactMultipartUploadOKStatus) IsSet ¶
func (o OptCompleteCacheArtifactMultipartUploadOKStatus) IsSet() bool
IsSet returns true if OptCompleteCacheArtifactMultipartUploadOKStatus was set.
func (OptCompleteCacheArtifactMultipartUploadOKStatus) MarshalJSON ¶
func (s OptCompleteCacheArtifactMultipartUploadOKStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCompleteCacheArtifactMultipartUploadOKStatus) Or ¶
func (o OptCompleteCacheArtifactMultipartUploadOKStatus) Or(d CompleteCacheArtifactMultipartUploadOKStatus) CompleteCacheArtifactMultipartUploadOKStatus
Or returns value if set, or given parameter if does not.
func (*OptCompleteCacheArtifactMultipartUploadOKStatus) Reset ¶
func (o *OptCompleteCacheArtifactMultipartUploadOKStatus) Reset()
Reset unsets value.
func (*OptCompleteCacheArtifactMultipartUploadOKStatus) SetTo ¶
func (o *OptCompleteCacheArtifactMultipartUploadOKStatus) SetTo(v CompleteCacheArtifactMultipartUploadOKStatus)
SetTo sets value to v.
func (*OptCompleteCacheArtifactMultipartUploadOKStatus) UnmarshalJSON ¶
func (s *OptCompleteCacheArtifactMultipartUploadOKStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCompleteCacheArtifactMultipartUploadReq ¶
type OptCompleteCacheArtifactMultipartUploadReq struct { Value CompleteCacheArtifactMultipartUploadReq Set bool }
OptCompleteCacheArtifactMultipartUploadReq is optional CompleteCacheArtifactMultipartUploadReq.
func NewOptCompleteCacheArtifactMultipartUploadReq ¶
func NewOptCompleteCacheArtifactMultipartUploadReq(v CompleteCacheArtifactMultipartUploadReq) OptCompleteCacheArtifactMultipartUploadReq
NewOptCompleteCacheArtifactMultipartUploadReq returns new OptCompleteCacheArtifactMultipartUploadReq with value set to v.
func (*OptCompleteCacheArtifactMultipartUploadReq) Decode ¶
func (o *OptCompleteCacheArtifactMultipartUploadReq) Decode(d *jx.Decoder) error
Decode decodes CompleteCacheArtifactMultipartUploadReq from json.
func (OptCompleteCacheArtifactMultipartUploadReq) Encode ¶
func (o OptCompleteCacheArtifactMultipartUploadReq) Encode(e *jx.Encoder)
Encode encodes CompleteCacheArtifactMultipartUploadReq as json.
func (OptCompleteCacheArtifactMultipartUploadReq) Get ¶
func (o OptCompleteCacheArtifactMultipartUploadReq) Get() (v CompleteCacheArtifactMultipartUploadReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCompleteCacheArtifactMultipartUploadReq) IsSet ¶
func (o OptCompleteCacheArtifactMultipartUploadReq) IsSet() bool
IsSet returns true if OptCompleteCacheArtifactMultipartUploadReq was set.
func (OptCompleteCacheArtifactMultipartUploadReq) MarshalJSON ¶
func (s OptCompleteCacheArtifactMultipartUploadReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCompleteCacheArtifactMultipartUploadReq) Or ¶
func (o OptCompleteCacheArtifactMultipartUploadReq) Or(d CompleteCacheArtifactMultipartUploadReq) CompleteCacheArtifactMultipartUploadReq
Or returns value if set, or given parameter if does not.
func (*OptCompleteCacheArtifactMultipartUploadReq) Reset ¶
func (o *OptCompleteCacheArtifactMultipartUploadReq) Reset()
Reset unsets value.
func (*OptCompleteCacheArtifactMultipartUploadReq) SetTo ¶
func (o *OptCompleteCacheArtifactMultipartUploadReq) SetTo(v CompleteCacheArtifactMultipartUploadReq)
SetTo sets value to v.
func (*OptCompleteCacheArtifactMultipartUploadReq) UnmarshalJSON ¶
func (s *OptCompleteCacheArtifactMultipartUploadReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCompletePreviewsMultipartUploadReq ¶
type OptCompletePreviewsMultipartUploadReq struct { Value CompletePreviewsMultipartUploadReq Set bool }
OptCompletePreviewsMultipartUploadReq is optional CompletePreviewsMultipartUploadReq.
func NewOptCompletePreviewsMultipartUploadReq ¶
func NewOptCompletePreviewsMultipartUploadReq(v CompletePreviewsMultipartUploadReq) OptCompletePreviewsMultipartUploadReq
NewOptCompletePreviewsMultipartUploadReq returns new OptCompletePreviewsMultipartUploadReq with value set to v.
func (*OptCompletePreviewsMultipartUploadReq) Decode ¶
func (o *OptCompletePreviewsMultipartUploadReq) Decode(d *jx.Decoder) error
Decode decodes CompletePreviewsMultipartUploadReq from json.
func (OptCompletePreviewsMultipartUploadReq) Encode ¶
func (o OptCompletePreviewsMultipartUploadReq) Encode(e *jx.Encoder)
Encode encodes CompletePreviewsMultipartUploadReq as json.
func (OptCompletePreviewsMultipartUploadReq) Get ¶
func (o OptCompletePreviewsMultipartUploadReq) Get() (v CompletePreviewsMultipartUploadReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCompletePreviewsMultipartUploadReq) IsSet ¶
func (o OptCompletePreviewsMultipartUploadReq) IsSet() bool
IsSet returns true if OptCompletePreviewsMultipartUploadReq was set.
func (OptCompletePreviewsMultipartUploadReq) MarshalJSON ¶
func (s OptCompletePreviewsMultipartUploadReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCompletePreviewsMultipartUploadReq) Or ¶
func (o OptCompletePreviewsMultipartUploadReq) Or(d CompletePreviewsMultipartUploadReq) CompletePreviewsMultipartUploadReq
Or returns value if set, or given parameter if does not.
func (*OptCompletePreviewsMultipartUploadReq) Reset ¶
func (o *OptCompletePreviewsMultipartUploadReq) Reset()
Reset unsets value.
func (*OptCompletePreviewsMultipartUploadReq) SetTo ¶
func (o *OptCompletePreviewsMultipartUploadReq) SetTo(v CompletePreviewsMultipartUploadReq)
SetTo sets value to v.
func (*OptCompletePreviewsMultipartUploadReq) UnmarshalJSON ¶
func (s *OptCompletePreviewsMultipartUploadReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreateCommandEventReq ¶
type OptCreateCommandEventReq struct { Value CreateCommandEventReq Set bool }
OptCreateCommandEventReq is optional CreateCommandEventReq.
func NewOptCreateCommandEventReq ¶
func NewOptCreateCommandEventReq(v CreateCommandEventReq) OptCreateCommandEventReq
NewOptCreateCommandEventReq returns new OptCreateCommandEventReq with value set to v.
func (*OptCreateCommandEventReq) Decode ¶
func (o *OptCreateCommandEventReq) Decode(d *jx.Decoder) error
Decode decodes CreateCommandEventReq from json.
func (OptCreateCommandEventReq) Encode ¶
func (o OptCreateCommandEventReq) Encode(e *jx.Encoder)
Encode encodes CreateCommandEventReq as json.
func (OptCreateCommandEventReq) Get ¶
func (o OptCreateCommandEventReq) Get() (v CreateCommandEventReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateCommandEventReq) IsSet ¶
func (o OptCreateCommandEventReq) IsSet() bool
IsSet returns true if OptCreateCommandEventReq was set.
func (OptCreateCommandEventReq) MarshalJSON ¶
func (s OptCreateCommandEventReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateCommandEventReq) Or ¶
func (o OptCreateCommandEventReq) Or(d CreateCommandEventReq) CreateCommandEventReq
Or returns value if set, or given parameter if does not.
func (*OptCreateCommandEventReq) Reset ¶
func (o *OptCreateCommandEventReq) Reset()
Reset unsets value.
func (*OptCreateCommandEventReq) SetTo ¶
func (o *OptCreateCommandEventReq) SetTo(v CreateCommandEventReq)
SetTo sets value to v.
func (*OptCreateCommandEventReq) UnmarshalJSON ¶
func (s *OptCreateCommandEventReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreateCommandEventReqParams ¶
type OptCreateCommandEventReqParams struct { Value CreateCommandEventReqParams Set bool }
OptCreateCommandEventReqParams is optional CreateCommandEventReqParams.
func NewOptCreateCommandEventReqParams ¶
func NewOptCreateCommandEventReqParams(v CreateCommandEventReqParams) OptCreateCommandEventReqParams
NewOptCreateCommandEventReqParams returns new OptCreateCommandEventReqParams with value set to v.
func (*OptCreateCommandEventReqParams) Decode ¶
func (o *OptCreateCommandEventReqParams) Decode(d *jx.Decoder) error
Decode decodes CreateCommandEventReqParams from json.
func (OptCreateCommandEventReqParams) Encode ¶
func (o OptCreateCommandEventReqParams) Encode(e *jx.Encoder)
Encode encodes CreateCommandEventReqParams as json.
func (OptCreateCommandEventReqParams) Get ¶
func (o OptCreateCommandEventReqParams) Get() (v CreateCommandEventReqParams, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateCommandEventReqParams) IsSet ¶
func (o OptCreateCommandEventReqParams) IsSet() bool
IsSet returns true if OptCreateCommandEventReqParams was set.
func (OptCreateCommandEventReqParams) MarshalJSON ¶
func (s OptCreateCommandEventReqParams) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateCommandEventReqParams) Or ¶
func (o OptCreateCommandEventReqParams) Or(d CreateCommandEventReqParams) CreateCommandEventReqParams
Or returns value if set, or given parameter if does not.
func (*OptCreateCommandEventReqParams) Reset ¶
func (o *OptCreateCommandEventReqParams) Reset()
Reset unsets value.
func (*OptCreateCommandEventReqParams) SetTo ¶
func (o *OptCreateCommandEventReqParams) SetTo(v CreateCommandEventReqParams)
SetTo sets value to v.
func (*OptCreateCommandEventReqParams) UnmarshalJSON ¶
func (s *OptCreateCommandEventReqParams) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreateCommandEventReqStatus ¶
type OptCreateCommandEventReqStatus struct { Value CreateCommandEventReqStatus Set bool }
OptCreateCommandEventReqStatus is optional CreateCommandEventReqStatus.
func NewOptCreateCommandEventReqStatus ¶
func NewOptCreateCommandEventReqStatus(v CreateCommandEventReqStatus) OptCreateCommandEventReqStatus
NewOptCreateCommandEventReqStatus returns new OptCreateCommandEventReqStatus with value set to v.
func (*OptCreateCommandEventReqStatus) Decode ¶
func (o *OptCreateCommandEventReqStatus) Decode(d *jx.Decoder) error
Decode decodes CreateCommandEventReqStatus from json.
func (OptCreateCommandEventReqStatus) Encode ¶
func (o OptCreateCommandEventReqStatus) Encode(e *jx.Encoder)
Encode encodes CreateCommandEventReqStatus as json.
func (OptCreateCommandEventReqStatus) Get ¶
func (o OptCreateCommandEventReqStatus) Get() (v CreateCommandEventReqStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateCommandEventReqStatus) IsSet ¶
func (o OptCreateCommandEventReqStatus) IsSet() bool
IsSet returns true if OptCreateCommandEventReqStatus was set.
func (OptCreateCommandEventReqStatus) MarshalJSON ¶
func (s OptCreateCommandEventReqStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateCommandEventReqStatus) Or ¶
func (o OptCreateCommandEventReqStatus) Or(d CreateCommandEventReqStatus) CreateCommandEventReqStatus
Or returns value if set, or given parameter if does not.
func (*OptCreateCommandEventReqStatus) Reset ¶
func (o *OptCreateCommandEventReqStatus) Reset()
Reset unsets value.
func (*OptCreateCommandEventReqStatus) SetTo ¶
func (o *OptCreateCommandEventReqStatus) SetTo(v CreateCommandEventReqStatus)
SetTo sets value to v.
func (*OptCreateCommandEventReqStatus) UnmarshalJSON ¶
func (s *OptCreateCommandEventReqStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreateInvitationReq ¶
type OptCreateInvitationReq struct { Value CreateInvitationReq Set bool }
OptCreateInvitationReq is optional CreateInvitationReq.
func NewOptCreateInvitationReq ¶
func NewOptCreateInvitationReq(v CreateInvitationReq) OptCreateInvitationReq
NewOptCreateInvitationReq returns new OptCreateInvitationReq with value set to v.
func (*OptCreateInvitationReq) Decode ¶
func (o *OptCreateInvitationReq) Decode(d *jx.Decoder) error
Decode decodes CreateInvitationReq from json.
func (OptCreateInvitationReq) Encode ¶
func (o OptCreateInvitationReq) Encode(e *jx.Encoder)
Encode encodes CreateInvitationReq as json.
func (OptCreateInvitationReq) Get ¶
func (o OptCreateInvitationReq) Get() (v CreateInvitationReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateInvitationReq) IsSet ¶
func (o OptCreateInvitationReq) IsSet() bool
IsSet returns true if OptCreateInvitationReq was set.
func (OptCreateInvitationReq) MarshalJSON ¶
func (s OptCreateInvitationReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateInvitationReq) Or ¶
func (o OptCreateInvitationReq) Or(d CreateInvitationReq) CreateInvitationReq
Or returns value if set, or given parameter if does not.
func (*OptCreateInvitationReq) SetTo ¶
func (o *OptCreateInvitationReq) SetTo(v CreateInvitationReq)
SetTo sets value to v.
func (*OptCreateInvitationReq) UnmarshalJSON ¶
func (s *OptCreateInvitationReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreateOrganizationReq ¶
type OptCreateOrganizationReq struct { Value CreateOrganizationReq Set bool }
OptCreateOrganizationReq is optional CreateOrganizationReq.
func NewOptCreateOrganizationReq ¶
func NewOptCreateOrganizationReq(v CreateOrganizationReq) OptCreateOrganizationReq
NewOptCreateOrganizationReq returns new OptCreateOrganizationReq with value set to v.
func (*OptCreateOrganizationReq) Decode ¶
func (o *OptCreateOrganizationReq) Decode(d *jx.Decoder) error
Decode decodes CreateOrganizationReq from json.
func (OptCreateOrganizationReq) Encode ¶
func (o OptCreateOrganizationReq) Encode(e *jx.Encoder)
Encode encodes CreateOrganizationReq as json.
func (OptCreateOrganizationReq) Get ¶
func (o OptCreateOrganizationReq) Get() (v CreateOrganizationReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateOrganizationReq) IsSet ¶
func (o OptCreateOrganizationReq) IsSet() bool
IsSet returns true if OptCreateOrganizationReq was set.
func (OptCreateOrganizationReq) MarshalJSON ¶
func (s OptCreateOrganizationReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateOrganizationReq) Or ¶
func (o OptCreateOrganizationReq) Or(d CreateOrganizationReq) CreateOrganizationReq
Or returns value if set, or given parameter if does not.
func (*OptCreateOrganizationReq) Reset ¶
func (o *OptCreateOrganizationReq) Reset()
Reset unsets value.
func (*OptCreateOrganizationReq) SetTo ¶
func (o *OptCreateOrganizationReq) SetTo(v CreateOrganizationReq)
SetTo sets value to v.
func (*OptCreateOrganizationReq) UnmarshalJSON ¶
func (s *OptCreateOrganizationReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreateProjectReq ¶
type OptCreateProjectReq struct { Value CreateProjectReq Set bool }
OptCreateProjectReq is optional CreateProjectReq.
func NewOptCreateProjectReq ¶
func NewOptCreateProjectReq(v CreateProjectReq) OptCreateProjectReq
NewOptCreateProjectReq returns new OptCreateProjectReq with value set to v.
func (*OptCreateProjectReq) Decode ¶
func (o *OptCreateProjectReq) Decode(d *jx.Decoder) error
Decode decodes CreateProjectReq from json.
func (OptCreateProjectReq) Encode ¶
func (o OptCreateProjectReq) Encode(e *jx.Encoder)
Encode encodes CreateProjectReq as json.
func (OptCreateProjectReq) Get ¶
func (o OptCreateProjectReq) Get() (v CreateProjectReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateProjectReq) IsSet ¶
func (o OptCreateProjectReq) IsSet() bool
IsSet returns true if OptCreateProjectReq was set.
func (OptCreateProjectReq) MarshalJSON ¶
func (s OptCreateProjectReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateProjectReq) Or ¶
func (o OptCreateProjectReq) Or(d CreateProjectReq) CreateProjectReq
Or returns value if set, or given parameter if does not.
func (*OptCreateProjectReq) SetTo ¶
func (o *OptCreateProjectReq) SetTo(v CreateProjectReq)
SetTo sets value to v.
func (*OptCreateProjectReq) UnmarshalJSON ¶
func (s *OptCreateProjectReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGenerateAnalyticsArtifactMultipartUploadURLReq ¶
type OptGenerateAnalyticsArtifactMultipartUploadURLReq struct { Value GenerateAnalyticsArtifactMultipartUploadURLReq Set bool }
OptGenerateAnalyticsArtifactMultipartUploadURLReq is optional GenerateAnalyticsArtifactMultipartUploadURLReq.
func NewOptGenerateAnalyticsArtifactMultipartUploadURLReq ¶
func NewOptGenerateAnalyticsArtifactMultipartUploadURLReq(v GenerateAnalyticsArtifactMultipartUploadURLReq) OptGenerateAnalyticsArtifactMultipartUploadURLReq
NewOptGenerateAnalyticsArtifactMultipartUploadURLReq returns new OptGenerateAnalyticsArtifactMultipartUploadURLReq with value set to v.
func (*OptGenerateAnalyticsArtifactMultipartUploadURLReq) Decode ¶
func (o *OptGenerateAnalyticsArtifactMultipartUploadURLReq) Decode(d *jx.Decoder) error
Decode decodes GenerateAnalyticsArtifactMultipartUploadURLReq from json.
func (OptGenerateAnalyticsArtifactMultipartUploadURLReq) Encode ¶
func (o OptGenerateAnalyticsArtifactMultipartUploadURLReq) Encode(e *jx.Encoder)
Encode encodes GenerateAnalyticsArtifactMultipartUploadURLReq as json.
func (OptGenerateAnalyticsArtifactMultipartUploadURLReq) Get ¶
func (o OptGenerateAnalyticsArtifactMultipartUploadURLReq) Get() (v GenerateAnalyticsArtifactMultipartUploadURLReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGenerateAnalyticsArtifactMultipartUploadURLReq) IsSet ¶
func (o OptGenerateAnalyticsArtifactMultipartUploadURLReq) IsSet() bool
IsSet returns true if OptGenerateAnalyticsArtifactMultipartUploadURLReq was set.
func (OptGenerateAnalyticsArtifactMultipartUploadURLReq) MarshalJSON ¶
func (s OptGenerateAnalyticsArtifactMultipartUploadURLReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGenerateAnalyticsArtifactMultipartUploadURLReq) Or ¶
func (o OptGenerateAnalyticsArtifactMultipartUploadURLReq) Or(d GenerateAnalyticsArtifactMultipartUploadURLReq) GenerateAnalyticsArtifactMultipartUploadURLReq
Or returns value if set, or given parameter if does not.
func (*OptGenerateAnalyticsArtifactMultipartUploadURLReq) Reset ¶
func (o *OptGenerateAnalyticsArtifactMultipartUploadURLReq) Reset()
Reset unsets value.
func (*OptGenerateAnalyticsArtifactMultipartUploadURLReq) SetTo ¶
func (o *OptGenerateAnalyticsArtifactMultipartUploadURLReq) SetTo(v GenerateAnalyticsArtifactMultipartUploadURLReq)
SetTo sets value to v.
func (*OptGenerateAnalyticsArtifactMultipartUploadURLReq) UnmarshalJSON ¶
func (s *OptGenerateAnalyticsArtifactMultipartUploadURLReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGeneratePreviewsMultipartUploadURLReq ¶
type OptGeneratePreviewsMultipartUploadURLReq struct { Value GeneratePreviewsMultipartUploadURLReq Set bool }
OptGeneratePreviewsMultipartUploadURLReq is optional GeneratePreviewsMultipartUploadURLReq.
func NewOptGeneratePreviewsMultipartUploadURLReq ¶
func NewOptGeneratePreviewsMultipartUploadURLReq(v GeneratePreviewsMultipartUploadURLReq) OptGeneratePreviewsMultipartUploadURLReq
NewOptGeneratePreviewsMultipartUploadURLReq returns new OptGeneratePreviewsMultipartUploadURLReq with value set to v.
func (*OptGeneratePreviewsMultipartUploadURLReq) Decode ¶
func (o *OptGeneratePreviewsMultipartUploadURLReq) Decode(d *jx.Decoder) error
Decode decodes GeneratePreviewsMultipartUploadURLReq from json.
func (OptGeneratePreviewsMultipartUploadURLReq) Encode ¶
func (o OptGeneratePreviewsMultipartUploadURLReq) Encode(e *jx.Encoder)
Encode encodes GeneratePreviewsMultipartUploadURLReq as json.
func (OptGeneratePreviewsMultipartUploadURLReq) Get ¶
func (o OptGeneratePreviewsMultipartUploadURLReq) Get() (v GeneratePreviewsMultipartUploadURLReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGeneratePreviewsMultipartUploadURLReq) IsSet ¶
func (o OptGeneratePreviewsMultipartUploadURLReq) IsSet() bool
IsSet returns true if OptGeneratePreviewsMultipartUploadURLReq was set.
func (OptGeneratePreviewsMultipartUploadURLReq) MarshalJSON ¶
func (s OptGeneratePreviewsMultipartUploadURLReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGeneratePreviewsMultipartUploadURLReq) Or ¶
func (o OptGeneratePreviewsMultipartUploadURLReq) Or(d GeneratePreviewsMultipartUploadURLReq) GeneratePreviewsMultipartUploadURLReq
Or returns value if set, or given parameter if does not.
func (*OptGeneratePreviewsMultipartUploadURLReq) Reset ¶
func (o *OptGeneratePreviewsMultipartUploadURLReq) Reset()
Reset unsets value.
func (*OptGeneratePreviewsMultipartUploadURLReq) SetTo ¶
func (o *OptGeneratePreviewsMultipartUploadURLReq) SetTo(v GeneratePreviewsMultipartUploadURLReq)
SetTo sets value to v.
func (*OptGeneratePreviewsMultipartUploadURLReq) UnmarshalJSON ¶
func (s *OptGeneratePreviewsMultipartUploadURLReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilString ¶
OptNilString is optional nullable string.
func NewOptNilString ¶
func NewOptNilString(v string) OptNilString
NewOptNilString returns new OptNilString with value set to v.
func (*OptNilString) Decode ¶
func (o *OptNilString) Decode(d *jx.Decoder) error
Decode decodes string from json.
func (OptNilString) Encode ¶
func (o OptNilString) Encode(e *jx.Encoder)
Encode encodes string as json.
func (OptNilString) Get ¶
func (o OptNilString) Get() (v string, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilString) IsNull ¶
func (o OptNilString) IsNull() bool
IsSet returns true if value is Null.
func (OptNilString) IsSet ¶
func (o OptNilString) IsSet() bool
IsSet returns true if OptNilString was set.
func (OptNilString) MarshalJSON ¶
func (s OptNilString) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilString) Or ¶
func (o OptNilString) Or(d string) string
Or returns value if set, or given parameter if does not.
func (*OptNilString) UnmarshalJSON ¶
func (s *OptNilString) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptOrganizationSSOProvider ¶
type OptOrganizationSSOProvider struct { Value OrganizationSSOProvider Set bool }
OptOrganizationSSOProvider is optional OrganizationSSOProvider.
func NewOptOrganizationSSOProvider ¶
func NewOptOrganizationSSOProvider(v OrganizationSSOProvider) OptOrganizationSSOProvider
NewOptOrganizationSSOProvider returns new OptOrganizationSSOProvider with value set to v.
func (*OptOrganizationSSOProvider) Decode ¶
func (o *OptOrganizationSSOProvider) Decode(d *jx.Decoder) error
Decode decodes OrganizationSSOProvider from json.
func (OptOrganizationSSOProvider) Encode ¶
func (o OptOrganizationSSOProvider) Encode(e *jx.Encoder)
Encode encodes OrganizationSSOProvider as json.
func (OptOrganizationSSOProvider) Get ¶
func (o OptOrganizationSSOProvider) Get() (v OrganizationSSOProvider, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptOrganizationSSOProvider) IsSet ¶
func (o OptOrganizationSSOProvider) IsSet() bool
IsSet returns true if OptOrganizationSSOProvider was set.
func (OptOrganizationSSOProvider) MarshalJSON ¶
func (s OptOrganizationSSOProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptOrganizationSSOProvider) Reset ¶
func (o *OptOrganizationSSOProvider) Reset()
Reset unsets value.
func (*OptOrganizationSSOProvider) SetTo ¶
func (o *OptOrganizationSSOProvider) SetTo(v OrganizationSSOProvider)
SetTo sets value to v.
func (*OptOrganizationSSOProvider) UnmarshalJSON ¶
func (s *OptOrganizationSSOProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptRefreshTokenReq ¶
type OptRefreshTokenReq struct { Value RefreshTokenReq Set bool }
OptRefreshTokenReq is optional RefreshTokenReq.
func NewOptRefreshTokenReq ¶
func NewOptRefreshTokenReq(v RefreshTokenReq) OptRefreshTokenReq
NewOptRefreshTokenReq returns new OptRefreshTokenReq with value set to v.
func (*OptRefreshTokenReq) Decode ¶
func (o *OptRefreshTokenReq) Decode(d *jx.Decoder) error
Decode decodes RefreshTokenReq from json.
func (OptRefreshTokenReq) Encode ¶
func (o OptRefreshTokenReq) Encode(e *jx.Encoder)
Encode encodes RefreshTokenReq as json.
func (OptRefreshTokenReq) Get ¶
func (o OptRefreshTokenReq) Get() (v RefreshTokenReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptRefreshTokenReq) IsSet ¶
func (o OptRefreshTokenReq) IsSet() bool
IsSet returns true if OptRefreshTokenReq was set.
func (OptRefreshTokenReq) MarshalJSON ¶
func (s OptRefreshTokenReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptRefreshTokenReq) Or ¶
func (o OptRefreshTokenReq) Or(d RefreshTokenReq) RefreshTokenReq
Or returns value if set, or given parameter if does not.
func (*OptRefreshTokenReq) SetTo ¶
func (o *OptRefreshTokenReq) SetTo(v RefreshTokenReq)
SetTo sets value to v.
func (*OptRefreshTokenReq) UnmarshalJSON ¶
func (s *OptRefreshTokenReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptStartPreviewsMultipartUploadReq ¶
type OptStartPreviewsMultipartUploadReq struct { Value StartPreviewsMultipartUploadReq Set bool }
OptStartPreviewsMultipartUploadReq is optional StartPreviewsMultipartUploadReq.
func NewOptStartPreviewsMultipartUploadReq ¶
func NewOptStartPreviewsMultipartUploadReq(v StartPreviewsMultipartUploadReq) OptStartPreviewsMultipartUploadReq
NewOptStartPreviewsMultipartUploadReq returns new OptStartPreviewsMultipartUploadReq with value set to v.
func (*OptStartPreviewsMultipartUploadReq) Decode ¶
func (o *OptStartPreviewsMultipartUploadReq) Decode(d *jx.Decoder) error
Decode decodes StartPreviewsMultipartUploadReq from json.
func (OptStartPreviewsMultipartUploadReq) Encode ¶
func (o OptStartPreviewsMultipartUploadReq) Encode(e *jx.Encoder)
Encode encodes StartPreviewsMultipartUploadReq as json.
func (OptStartPreviewsMultipartUploadReq) Get ¶
func (o OptStartPreviewsMultipartUploadReq) Get() (v StartPreviewsMultipartUploadReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptStartPreviewsMultipartUploadReq) IsSet ¶
func (o OptStartPreviewsMultipartUploadReq) IsSet() bool
IsSet returns true if OptStartPreviewsMultipartUploadReq was set.
func (OptStartPreviewsMultipartUploadReq) MarshalJSON ¶
func (s OptStartPreviewsMultipartUploadReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptStartPreviewsMultipartUploadReq) Or ¶
func (o OptStartPreviewsMultipartUploadReq) Or(d StartPreviewsMultipartUploadReq) StartPreviewsMultipartUploadReq
Or returns value if set, or given parameter if does not.
func (*OptStartPreviewsMultipartUploadReq) Reset ¶
func (o *OptStartPreviewsMultipartUploadReq) Reset()
Reset unsets value.
func (*OptStartPreviewsMultipartUploadReq) SetTo ¶
func (o *OptStartPreviewsMultipartUploadReq) SetTo(v StartPreviewsMultipartUploadReq)
SetTo sets value to v.
func (*OptStartPreviewsMultipartUploadReq) UnmarshalJSON ¶
func (s *OptStartPreviewsMultipartUploadReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUpdateOrganization2Req ¶
type OptUpdateOrganization2Req struct { Value UpdateOrganization2Req Set bool }
OptUpdateOrganization2Req is optional UpdateOrganization2Req.
func NewOptUpdateOrganization2Req ¶
func NewOptUpdateOrganization2Req(v UpdateOrganization2Req) OptUpdateOrganization2Req
NewOptUpdateOrganization2Req returns new OptUpdateOrganization2Req with value set to v.
func (*OptUpdateOrganization2Req) Decode ¶
func (o *OptUpdateOrganization2Req) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganization2Req from json.
func (OptUpdateOrganization2Req) Encode ¶
func (o OptUpdateOrganization2Req) Encode(e *jx.Encoder)
Encode encodes UpdateOrganization2Req as json.
func (OptUpdateOrganization2Req) Get ¶
func (o OptUpdateOrganization2Req) Get() (v UpdateOrganization2Req, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateOrganization2Req) IsSet ¶
func (o OptUpdateOrganization2Req) IsSet() bool
IsSet returns true if OptUpdateOrganization2Req was set.
func (OptUpdateOrganization2Req) MarshalJSON ¶
func (s OptUpdateOrganization2Req) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptUpdateOrganization2Req) Reset ¶
func (o *OptUpdateOrganization2Req) Reset()
Reset unsets value.
func (*OptUpdateOrganization2Req) SetTo ¶
func (o *OptUpdateOrganization2Req) SetTo(v UpdateOrganization2Req)
SetTo sets value to v.
func (*OptUpdateOrganization2Req) UnmarshalJSON ¶
func (s *OptUpdateOrganization2Req) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUpdateOrganization2ReqSSOProvider ¶
type OptUpdateOrganization2ReqSSOProvider struct { Value UpdateOrganization2ReqSSOProvider Set bool }
OptUpdateOrganization2ReqSSOProvider is optional UpdateOrganization2ReqSSOProvider.
func NewOptUpdateOrganization2ReqSSOProvider ¶
func NewOptUpdateOrganization2ReqSSOProvider(v UpdateOrganization2ReqSSOProvider) OptUpdateOrganization2ReqSSOProvider
NewOptUpdateOrganization2ReqSSOProvider returns new OptUpdateOrganization2ReqSSOProvider with value set to v.
func (*OptUpdateOrganization2ReqSSOProvider) Decode ¶
func (o *OptUpdateOrganization2ReqSSOProvider) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganization2ReqSSOProvider from json.
func (OptUpdateOrganization2ReqSSOProvider) Encode ¶
func (o OptUpdateOrganization2ReqSSOProvider) Encode(e *jx.Encoder)
Encode encodes UpdateOrganization2ReqSSOProvider as json.
func (OptUpdateOrganization2ReqSSOProvider) Get ¶
func (o OptUpdateOrganization2ReqSSOProvider) Get() (v UpdateOrganization2ReqSSOProvider, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateOrganization2ReqSSOProvider) IsSet ¶
func (o OptUpdateOrganization2ReqSSOProvider) IsSet() bool
IsSet returns true if OptUpdateOrganization2ReqSSOProvider was set.
func (OptUpdateOrganization2ReqSSOProvider) MarshalJSON ¶
func (s OptUpdateOrganization2ReqSSOProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUpdateOrganization2ReqSSOProvider) Or ¶
func (o OptUpdateOrganization2ReqSSOProvider) Or(d UpdateOrganization2ReqSSOProvider) UpdateOrganization2ReqSSOProvider
Or returns value if set, or given parameter if does not.
func (*OptUpdateOrganization2ReqSSOProvider) Reset ¶
func (o *OptUpdateOrganization2ReqSSOProvider) Reset()
Reset unsets value.
func (*OptUpdateOrganization2ReqSSOProvider) SetTo ¶
func (o *OptUpdateOrganization2ReqSSOProvider) SetTo(v UpdateOrganization2ReqSSOProvider)
SetTo sets value to v.
func (*OptUpdateOrganization2ReqSSOProvider) UnmarshalJSON ¶
func (s *OptUpdateOrganization2ReqSSOProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUpdateOrganizationMemberReq ¶
type OptUpdateOrganizationMemberReq struct { Value UpdateOrganizationMemberReq Set bool }
OptUpdateOrganizationMemberReq is optional UpdateOrganizationMemberReq.
func NewOptUpdateOrganizationMemberReq ¶
func NewOptUpdateOrganizationMemberReq(v UpdateOrganizationMemberReq) OptUpdateOrganizationMemberReq
NewOptUpdateOrganizationMemberReq returns new OptUpdateOrganizationMemberReq with value set to v.
func (*OptUpdateOrganizationMemberReq) Decode ¶
func (o *OptUpdateOrganizationMemberReq) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationMemberReq from json.
func (OptUpdateOrganizationMemberReq) Encode ¶
func (o OptUpdateOrganizationMemberReq) Encode(e *jx.Encoder)
Encode encodes UpdateOrganizationMemberReq as json.
func (OptUpdateOrganizationMemberReq) Get ¶
func (o OptUpdateOrganizationMemberReq) Get() (v UpdateOrganizationMemberReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateOrganizationMemberReq) IsSet ¶
func (o OptUpdateOrganizationMemberReq) IsSet() bool
IsSet returns true if OptUpdateOrganizationMemberReq was set.
func (OptUpdateOrganizationMemberReq) MarshalJSON ¶
func (s OptUpdateOrganizationMemberReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUpdateOrganizationMemberReq) Or ¶
func (o OptUpdateOrganizationMemberReq) Or(d UpdateOrganizationMemberReq) UpdateOrganizationMemberReq
Or returns value if set, or given parameter if does not.
func (*OptUpdateOrganizationMemberReq) Reset ¶
func (o *OptUpdateOrganizationMemberReq) Reset()
Reset unsets value.
func (*OptUpdateOrganizationMemberReq) SetTo ¶
func (o *OptUpdateOrganizationMemberReq) SetTo(v UpdateOrganizationMemberReq)
SetTo sets value to v.
func (*OptUpdateOrganizationMemberReq) UnmarshalJSON ¶
func (s *OptUpdateOrganizationMemberReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUpdateOrganizationReq ¶
type OptUpdateOrganizationReq struct { Value UpdateOrganizationReq Set bool }
OptUpdateOrganizationReq is optional UpdateOrganizationReq.
func NewOptUpdateOrganizationReq ¶
func NewOptUpdateOrganizationReq(v UpdateOrganizationReq) OptUpdateOrganizationReq
NewOptUpdateOrganizationReq returns new OptUpdateOrganizationReq with value set to v.
func (*OptUpdateOrganizationReq) Decode ¶
func (o *OptUpdateOrganizationReq) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationReq from json.
func (OptUpdateOrganizationReq) Encode ¶
func (o OptUpdateOrganizationReq) Encode(e *jx.Encoder)
Encode encodes UpdateOrganizationReq as json.
func (OptUpdateOrganizationReq) Get ¶
func (o OptUpdateOrganizationReq) Get() (v UpdateOrganizationReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateOrganizationReq) IsSet ¶
func (o OptUpdateOrganizationReq) IsSet() bool
IsSet returns true if OptUpdateOrganizationReq was set.
func (OptUpdateOrganizationReq) MarshalJSON ¶
func (s OptUpdateOrganizationReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUpdateOrganizationReq) Or ¶
func (o OptUpdateOrganizationReq) Or(d UpdateOrganizationReq) UpdateOrganizationReq
Or returns value if set, or given parameter if does not.
func (*OptUpdateOrganizationReq) Reset ¶
func (o *OptUpdateOrganizationReq) Reset()
Reset unsets value.
func (*OptUpdateOrganizationReq) SetTo ¶
func (o *OptUpdateOrganizationReq) SetTo(v UpdateOrganizationReq)
SetTo sets value to v.
func (*OptUpdateOrganizationReq) UnmarshalJSON ¶
func (s *OptUpdateOrganizationReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUpdateOrganizationReqSSOProvider ¶
type OptUpdateOrganizationReqSSOProvider struct { Value UpdateOrganizationReqSSOProvider Set bool }
OptUpdateOrganizationReqSSOProvider is optional UpdateOrganizationReqSSOProvider.
func NewOptUpdateOrganizationReqSSOProvider ¶
func NewOptUpdateOrganizationReqSSOProvider(v UpdateOrganizationReqSSOProvider) OptUpdateOrganizationReqSSOProvider
NewOptUpdateOrganizationReqSSOProvider returns new OptUpdateOrganizationReqSSOProvider with value set to v.
func (*OptUpdateOrganizationReqSSOProvider) Decode ¶
func (o *OptUpdateOrganizationReqSSOProvider) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationReqSSOProvider from json.
func (OptUpdateOrganizationReqSSOProvider) Encode ¶
func (o OptUpdateOrganizationReqSSOProvider) Encode(e *jx.Encoder)
Encode encodes UpdateOrganizationReqSSOProvider as json.
func (OptUpdateOrganizationReqSSOProvider) Get ¶
func (o OptUpdateOrganizationReqSSOProvider) Get() (v UpdateOrganizationReqSSOProvider, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateOrganizationReqSSOProvider) IsSet ¶
func (o OptUpdateOrganizationReqSSOProvider) IsSet() bool
IsSet returns true if OptUpdateOrganizationReqSSOProvider was set.
func (OptUpdateOrganizationReqSSOProvider) MarshalJSON ¶
func (s OptUpdateOrganizationReqSSOProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUpdateOrganizationReqSSOProvider) Or ¶
func (o OptUpdateOrganizationReqSSOProvider) Or(d UpdateOrganizationReqSSOProvider) UpdateOrganizationReqSSOProvider
Or returns value if set, or given parameter if does not.
func (*OptUpdateOrganizationReqSSOProvider) Reset ¶
func (o *OptUpdateOrganizationReqSSOProvider) Reset()
Reset unsets value.
func (*OptUpdateOrganizationReqSSOProvider) SetTo ¶
func (o *OptUpdateOrganizationReqSSOProvider) SetTo(v UpdateOrganizationReqSSOProvider)
SetTo sets value to v.
func (*OptUpdateOrganizationReqSSOProvider) UnmarshalJSON ¶
func (s *OptUpdateOrganizationReqSSOProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUpdateProjectReq ¶
type OptUpdateProjectReq struct { Value UpdateProjectReq Set bool }
OptUpdateProjectReq is optional UpdateProjectReq.
func NewOptUpdateProjectReq ¶
func NewOptUpdateProjectReq(v UpdateProjectReq) OptUpdateProjectReq
NewOptUpdateProjectReq returns new OptUpdateProjectReq with value set to v.
func (*OptUpdateProjectReq) Decode ¶
func (o *OptUpdateProjectReq) Decode(d *jx.Decoder) error
Decode decodes UpdateProjectReq from json.
func (OptUpdateProjectReq) Encode ¶
func (o OptUpdateProjectReq) Encode(e *jx.Encoder)
Encode encodes UpdateProjectReq as json.
func (OptUpdateProjectReq) Get ¶
func (o OptUpdateProjectReq) Get() (v UpdateProjectReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUpdateProjectReq) IsSet ¶
func (o OptUpdateProjectReq) IsSet() bool
IsSet returns true if OptUpdateProjectReq was set.
func (OptUpdateProjectReq) MarshalJSON ¶
func (s OptUpdateProjectReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUpdateProjectReq) Or ¶
func (o OptUpdateProjectReq) Or(d UpdateProjectReq) UpdateProjectReq
Or returns value if set, or given parameter if does not.
func (*OptUpdateProjectReq) SetTo ¶
func (o *OptUpdateProjectReq) SetTo(v UpdateProjectReq)
SetTo sets value to v.
func (*OptUpdateProjectReq) UnmarshalJSON ¶
func (s *OptUpdateProjectReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUploadCacheActionItemReq ¶
type OptUploadCacheActionItemReq struct { Value UploadCacheActionItemReq Set bool }
OptUploadCacheActionItemReq is optional UploadCacheActionItemReq.
func NewOptUploadCacheActionItemReq ¶
func NewOptUploadCacheActionItemReq(v UploadCacheActionItemReq) OptUploadCacheActionItemReq
NewOptUploadCacheActionItemReq returns new OptUploadCacheActionItemReq with value set to v.
func (*OptUploadCacheActionItemReq) Decode ¶
func (o *OptUploadCacheActionItemReq) Decode(d *jx.Decoder) error
Decode decodes UploadCacheActionItemReq from json.
func (OptUploadCacheActionItemReq) Encode ¶
func (o OptUploadCacheActionItemReq) Encode(e *jx.Encoder)
Encode encodes UploadCacheActionItemReq as json.
func (OptUploadCacheActionItemReq) Get ¶
func (o OptUploadCacheActionItemReq) Get() (v UploadCacheActionItemReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUploadCacheActionItemReq) IsSet ¶
func (o OptUploadCacheActionItemReq) IsSet() bool
IsSet returns true if OptUploadCacheActionItemReq was set.
func (OptUploadCacheActionItemReq) MarshalJSON ¶
func (s OptUploadCacheActionItemReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptUploadCacheActionItemReq) Reset ¶
func (o *OptUploadCacheActionItemReq) Reset()
Reset unsets value.
func (*OptUploadCacheActionItemReq) SetTo ¶
func (o *OptUploadCacheActionItemReq) SetTo(v UploadCacheActionItemReq)
SetTo sets value to v.
func (*OptUploadCacheActionItemReq) UnmarshalJSON ¶
func (s *OptUploadCacheActionItemReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Option ¶
type Option interface { ServerOption ClientOption }
Option is config option.
func WithMeterProvider ¶
func WithMeterProvider(provider metric.MeterProvider) Option
WithMeterProvider specifies a meter provider to use for creating a meter.
If none is specified, the otel.GetMeterProvider() is used.
func WithTracerProvider ¶
func WithTracerProvider(provider trace.TracerProvider) Option
WithTracerProvider specifies a tracer provider to use for creating a tracer.
If none is specified, the global provider is used.
type Organization ¶
type Organization struct { // The organization's unique identifier. ID float64 `json:"id"` // A list of organization invitations. Invitations []Invitation `json:"invitations"` // A list of organization members. Members []OrganizationMember `json:"members"` // The organization's name. Name string `json:"name"` // The plan associated with the organization. Plan OrganizationPlan `json:"plan"` // The organization ID associated with the SSO provider. SSOOrganizationID OptString `json:"sso_organization_id"` // The SSO provider set up for the organization. SSOProvider OptOrganizationSSOProvider `json:"sso_provider"` }
An organization. Ref: #/components/schemas/Organization
func (*Organization) Decode ¶
func (s *Organization) Decode(d *jx.Decoder) error
Decode decodes Organization from json.
func (*Organization) Encode ¶
func (s *Organization) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*Organization) GetInvitations ¶
func (s *Organization) GetInvitations() []Invitation
GetInvitations returns the value of Invitations.
func (*Organization) GetMembers ¶
func (s *Organization) GetMembers() []OrganizationMember
GetMembers returns the value of Members.
func (*Organization) GetName ¶
func (s *Organization) GetName() string
GetName returns the value of Name.
func (*Organization) GetPlan ¶
func (s *Organization) GetPlan() OrganizationPlan
GetPlan returns the value of Plan.
func (*Organization) GetSSOOrganizationID ¶
func (s *Organization) GetSSOOrganizationID() OptString
GetSSOOrganizationID returns the value of SSOOrganizationID.
func (*Organization) GetSSOProvider ¶
func (s *Organization) GetSSOProvider() OptOrganizationSSOProvider
GetSSOProvider returns the value of SSOProvider.
func (*Organization) MarshalJSON ¶
func (s *Organization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Organization) SetInvitations ¶
func (s *Organization) SetInvitations(val []Invitation)
SetInvitations sets the value of Invitations.
func (*Organization) SetMembers ¶
func (s *Organization) SetMembers(val []OrganizationMember)
SetMembers sets the value of Members.
func (*Organization) SetName ¶
func (s *Organization) SetName(val string)
SetName sets the value of Name.
func (*Organization) SetPlan ¶
func (s *Organization) SetPlan(val OrganizationPlan)
SetPlan sets the value of Plan.
func (*Organization) SetSSOOrganizationID ¶
func (s *Organization) SetSSOOrganizationID(val OptString)
SetSSOOrganizationID sets the value of SSOOrganizationID.
func (*Organization) SetSSOProvider ¶
func (s *Organization) SetSSOProvider(val OptOrganizationSSOProvider)
SetSSOProvider sets the value of SSOProvider.
func (*Organization) UnmarshalJSON ¶
func (s *Organization) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*Organization) Validate ¶
func (s *Organization) Validate() error
type OrganizationMember ¶
type OrganizationMember struct { // The organization member's email. Email string `json:"email"` // The organization member's unique identifier. ID float64 `json:"id"` // The organization member's name. Name string `json:"name"` // The organization member's role. Role OrganizationMemberRole `json:"role"` }
An organization member. Ref: #/components/schemas/OrganizationMember
func (*OrganizationMember) Decode ¶
func (s *OrganizationMember) Decode(d *jx.Decoder) error
Decode decodes OrganizationMember from json.
func (*OrganizationMember) Encode ¶
func (s *OrganizationMember) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OrganizationMember) GetEmail ¶
func (s *OrganizationMember) GetEmail() string
GetEmail returns the value of Email.
func (*OrganizationMember) GetID ¶
func (s *OrganizationMember) GetID() float64
GetID returns the value of ID.
func (*OrganizationMember) GetName ¶
func (s *OrganizationMember) GetName() string
GetName returns the value of Name.
func (*OrganizationMember) GetRole ¶
func (s *OrganizationMember) GetRole() OrganizationMemberRole
GetRole returns the value of Role.
func (*OrganizationMember) MarshalJSON ¶
func (s *OrganizationMember) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrganizationMember) SetEmail ¶
func (s *OrganizationMember) SetEmail(val string)
SetEmail sets the value of Email.
func (*OrganizationMember) SetID ¶
func (s *OrganizationMember) SetID(val float64)
SetID sets the value of ID.
func (*OrganizationMember) SetName ¶
func (s *OrganizationMember) SetName(val string)
SetName sets the value of Name.
func (*OrganizationMember) SetRole ¶
func (s *OrganizationMember) SetRole(val OrganizationMemberRole)
SetRole sets the value of Role.
func (*OrganizationMember) UnmarshalJSON ¶
func (s *OrganizationMember) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrganizationMember) Validate ¶
func (s *OrganizationMember) Validate() error
type OrganizationMemberRole ¶
type OrganizationMemberRole string
The organization member's role.
const ( OrganizationMemberRoleAdmin OrganizationMemberRole = "admin" OrganizationMemberRoleUser OrganizationMemberRole = "user" )
func (OrganizationMemberRole) AllValues ¶
func (OrganizationMemberRole) AllValues() []OrganizationMemberRole
AllValues returns all OrganizationMemberRole values.
func (*OrganizationMemberRole) Decode ¶
func (s *OrganizationMemberRole) Decode(d *jx.Decoder) error
Decode decodes OrganizationMemberRole from json.
func (OrganizationMemberRole) Encode ¶
func (s OrganizationMemberRole) Encode(e *jx.Encoder)
Encode encodes OrganizationMemberRole as json.
func (OrganizationMemberRole) MarshalJSON ¶
func (s OrganizationMemberRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OrganizationMemberRole) MarshalText ¶
func (s OrganizationMemberRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OrganizationMemberRole) UnmarshalJSON ¶
func (s *OrganizationMemberRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrganizationMemberRole) UnmarshalText ¶
func (s *OrganizationMemberRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OrganizationMemberRole) Validate ¶
func (s OrganizationMemberRole) Validate() error
type OrganizationPlan ¶
type OrganizationPlan string
The plan associated with the organization.
const ( OrganizationPlanAir OrganizationPlan = "air" OrganizationPlanPro OrganizationPlan = "pro" OrganizationPlanEnterprise OrganizationPlan = "enterprise" OrganizationPlanNone OrganizationPlan = "none" )
func (OrganizationPlan) AllValues ¶
func (OrganizationPlan) AllValues() []OrganizationPlan
AllValues returns all OrganizationPlan values.
func (*OrganizationPlan) Decode ¶
func (s *OrganizationPlan) Decode(d *jx.Decoder) error
Decode decodes OrganizationPlan from json.
func (OrganizationPlan) Encode ¶
func (s OrganizationPlan) Encode(e *jx.Encoder)
Encode encodes OrganizationPlan as json.
func (OrganizationPlan) MarshalJSON ¶
func (s OrganizationPlan) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OrganizationPlan) MarshalText ¶
func (s OrganizationPlan) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OrganizationPlan) UnmarshalJSON ¶
func (s *OrganizationPlan) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrganizationPlan) UnmarshalText ¶
func (s *OrganizationPlan) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OrganizationPlan) Validate ¶
func (s OrganizationPlan) Validate() error
type OrganizationSSOProvider ¶
type OrganizationSSOProvider string
The SSO provider set up for the organization.
const (
OrganizationSSOProviderGoogle OrganizationSSOProvider = "google"
)
func (OrganizationSSOProvider) AllValues ¶
func (OrganizationSSOProvider) AllValues() []OrganizationSSOProvider
AllValues returns all OrganizationSSOProvider values.
func (*OrganizationSSOProvider) Decode ¶
func (s *OrganizationSSOProvider) Decode(d *jx.Decoder) error
Decode decodes OrganizationSSOProvider from json.
func (OrganizationSSOProvider) Encode ¶
func (s OrganizationSSOProvider) Encode(e *jx.Encoder)
Encode encodes OrganizationSSOProvider as json.
func (OrganizationSSOProvider) MarshalJSON ¶
func (s OrganizationSSOProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OrganizationSSOProvider) MarshalText ¶
func (s OrganizationSSOProvider) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OrganizationSSOProvider) UnmarshalJSON ¶
func (s *OrganizationSSOProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrganizationSSOProvider) UnmarshalText ¶
func (s *OrganizationSSOProvider) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OrganizationSSOProvider) Validate ¶
func (s OrganizationSSOProvider) Validate() error
type OrganizationUsage ¶
type OrganizationUsage struct { // The number of remote cache hits in the current month. CurrentMonthRemoteCacheHits float64 `json:"current_month_remote_cache_hits"` }
The usage of an organization. Ref: #/components/schemas/OrganizationUsage
func (*OrganizationUsage) Decode ¶
func (s *OrganizationUsage) Decode(d *jx.Decoder) error
Decode decodes OrganizationUsage from json.
func (*OrganizationUsage) Encode ¶
func (s *OrganizationUsage) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OrganizationUsage) GetCurrentMonthRemoteCacheHits ¶
func (s *OrganizationUsage) GetCurrentMonthRemoteCacheHits() float64
GetCurrentMonthRemoteCacheHits returns the value of CurrentMonthRemoteCacheHits.
func (*OrganizationUsage) MarshalJSON ¶
func (s *OrganizationUsage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrganizationUsage) SetCurrentMonthRemoteCacheHits ¶
func (s *OrganizationUsage) SetCurrentMonthRemoteCacheHits(val float64)
SetCurrentMonthRemoteCacheHits sets the value of CurrentMonthRemoteCacheHits.
func (*OrganizationUsage) UnmarshalJSON ¶
func (s *OrganizationUsage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrganizationUsage) Validate ¶
func (s *OrganizationUsage) Validate() error
type Project ¶
type Project struct { // The default branch of the project. DefaultBranch string `json:"default_branch"` // The full name of the project (e.g. tuist/tuist). FullName string `json:"full_name"` // ID of the project. ID float64 `json:"id"` // The URL of the connected git repository, such as https://github.com/tuist/tuist or https://github. // com/tuist/tuist.git. RepositoryURL OptString `json:"repository_url"` // The token that should be used to authenticate the project. For CI only. // // Deprecated: schema marks this property as deprecated. Token string `json:"token"` }
Ref: #/components/schemas/Project
func (*Project) GetDefaultBranch ¶
GetDefaultBranch returns the value of DefaultBranch.
func (*Project) GetFullName ¶
GetFullName returns the value of FullName.
func (*Project) GetRepositoryURL ¶
GetRepositoryURL returns the value of RepositoryURL.
func (*Project) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Project) SetDefaultBranch ¶
SetDefaultBranch sets the value of DefaultBranch.
func (*Project) SetFullName ¶
SetFullName sets the value of FullName.
func (*Project) SetRepositoryURL ¶
SetRepositoryURL sets the value of RepositoryURL.
func (*Project) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ProjectToken ¶
type ProjectToken struct { // The token unique identifier. ID string `json:"id"` // The timestamp of when the token was created. InsertedAt time.Time `json:"inserted_at"` }
A token to authenticate API requests as a project. Ref: #/components/schemas/ProjectToken
func (*ProjectToken) Decode ¶
func (s *ProjectToken) Decode(d *jx.Decoder) error
Decode decodes ProjectToken from json.
func (*ProjectToken) Encode ¶
func (s *ProjectToken) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProjectToken) GetInsertedAt ¶
func (s *ProjectToken) GetInsertedAt() time.Time
GetInsertedAt returns the value of InsertedAt.
func (*ProjectToken) MarshalJSON ¶
func (s *ProjectToken) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectToken) SetInsertedAt ¶
func (s *ProjectToken) SetInsertedAt(val time.Time)
SetInsertedAt sets the value of InsertedAt.
func (*ProjectToken) UnmarshalJSON ¶
func (s *ProjectToken) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RefreshTokenReq ¶
type RefreshTokenReq struct { // User refresh token. RefreshToken string `json:"refresh_token"` }
func (*RefreshTokenReq) Decode ¶
func (s *RefreshTokenReq) Decode(d *jx.Decoder) error
Decode decodes RefreshTokenReq from json.
func (*RefreshTokenReq) Encode ¶
func (s *RefreshTokenReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RefreshTokenReq) GetRefreshToken ¶
func (s *RefreshTokenReq) GetRefreshToken() string
GetRefreshToken returns the value of RefreshToken.
func (*RefreshTokenReq) MarshalJSON ¶
func (s *RefreshTokenReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RefreshTokenReq) SetRefreshToken ¶
func (s *RefreshTokenReq) SetRefreshToken(val string)
SetRefreshToken sets the value of RefreshToken.
func (*RefreshTokenReq) UnmarshalJSON ¶
func (s *RefreshTokenReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RefreshTokenRes ¶
type RefreshTokenRes interface {
// contains filtered or unexported methods
}
type RevokeProjectTokenBadRequest ¶
type RevokeProjectTokenBadRequest Error
func (*RevokeProjectTokenBadRequest) Decode ¶
func (s *RevokeProjectTokenBadRequest) Decode(d *jx.Decoder) error
Decode decodes RevokeProjectTokenBadRequest from json.
func (*RevokeProjectTokenBadRequest) Encode ¶
func (s *RevokeProjectTokenBadRequest) Encode(e *jx.Encoder)
Encode encodes RevokeProjectTokenBadRequest as json.
func (*RevokeProjectTokenBadRequest) MarshalJSON ¶
func (s *RevokeProjectTokenBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RevokeProjectTokenBadRequest) UnmarshalJSON ¶
func (s *RevokeProjectTokenBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RevokeProjectTokenForbidden ¶
type RevokeProjectTokenForbidden Error
func (*RevokeProjectTokenForbidden) Decode ¶
func (s *RevokeProjectTokenForbidden) Decode(d *jx.Decoder) error
Decode decodes RevokeProjectTokenForbidden from json.
func (*RevokeProjectTokenForbidden) Encode ¶
func (s *RevokeProjectTokenForbidden) Encode(e *jx.Encoder)
Encode encodes RevokeProjectTokenForbidden as json.
func (*RevokeProjectTokenForbidden) MarshalJSON ¶
func (s *RevokeProjectTokenForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RevokeProjectTokenForbidden) UnmarshalJSON ¶
func (s *RevokeProjectTokenForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RevokeProjectTokenNoContent ¶
type RevokeProjectTokenNoContent struct{}
RevokeProjectTokenNoContent is response for RevokeProjectToken operation.
type RevokeProjectTokenNotFound ¶
type RevokeProjectTokenNotFound Error
func (*RevokeProjectTokenNotFound) Decode ¶
func (s *RevokeProjectTokenNotFound) Decode(d *jx.Decoder) error
Decode decodes RevokeProjectTokenNotFound from json.
func (*RevokeProjectTokenNotFound) Encode ¶
func (s *RevokeProjectTokenNotFound) Encode(e *jx.Encoder)
Encode encodes RevokeProjectTokenNotFound as json.
func (*RevokeProjectTokenNotFound) MarshalJSON ¶
func (s *RevokeProjectTokenNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RevokeProjectTokenNotFound) UnmarshalJSON ¶
func (s *RevokeProjectTokenNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RevokeProjectTokenParams ¶
type RevokeProjectTokenParams struct { // The account handle. AccountHandle string // The project handle. ProjectHandle string // The ID of the project token. ID string }
RevokeProjectTokenParams is parameters of revokeProjectToken operation.
type RevokeProjectTokenRes ¶
type RevokeProjectTokenRes interface {
// contains filtered or unexported methods
}
type RevokeProjectTokenUnauthorized ¶
type RevokeProjectTokenUnauthorized Error
func (*RevokeProjectTokenUnauthorized) Decode ¶
func (s *RevokeProjectTokenUnauthorized) Decode(d *jx.Decoder) error
Decode decodes RevokeProjectTokenUnauthorized from json.
func (*RevokeProjectTokenUnauthorized) Encode ¶
func (s *RevokeProjectTokenUnauthorized) Encode(e *jx.Encoder)
Encode encodes RevokeProjectTokenUnauthorized as json.
func (*RevokeProjectTokenUnauthorized) MarshalJSON ¶
func (s *RevokeProjectTokenUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RevokeProjectTokenUnauthorized) UnmarshalJSON ¶
func (s *RevokeProjectTokenUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
Route is route object.
func (Route) OperationID ¶
OperationID returns OpenAPI operationId.
type SecurityHandler ¶
type SecurityHandler interface { // HandleAuthorization handles authorization security. HandleAuthorization(ctx context.Context, operationName string, t Authorization) (context.Context, error) // HandleCookie handles cookie security. HandleCookie(ctx context.Context, operationName string, t Cookie) (context.Context, error) }
SecurityHandler is handler for security parameters.
type SecuritySource ¶
type SecuritySource interface { // Authorization provides authorization security value. Authorization(ctx context.Context, operationName string) (Authorization, error) // Cookie provides cookie security value. Cookie(ctx context.Context, operationName string) (Cookie, error) }
SecuritySource is provider of security values (tokens, passwords, etc.).
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
func NewServer ¶
func NewServer(h Handler, sec SecurityHandler, opts ...ServerOption) (*Server, error)
NewServer creates new Server.
type ServerOption ¶
type ServerOption interface {
// contains filtered or unexported methods
}
ServerOption is server config option.
func WithErrorHandler ¶
func WithErrorHandler(h ErrorHandler) ServerOption
WithErrorHandler specifies error handler to use.
func WithMaxMultipartMemory ¶
func WithMaxMultipartMemory(max int64) ServerOption
WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.
func WithMethodNotAllowed ¶
func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
WithMethodNotAllowed specifies Method Not Allowed handler to use.
func WithMiddleware ¶
func WithMiddleware(m ...Middleware) ServerOption
WithMiddleware specifies middlewares to use.
func WithNotFound ¶
func WithNotFound(notFound http.HandlerFunc) ServerOption
WithNotFound specifies Not Found handler to use.
func WithPathPrefix ¶
func WithPathPrefix(prefix string) ServerOption
WithPathPrefix specifies server path prefix.
type ShowOrganizationForbidden ¶
type ShowOrganizationForbidden Error
func (*ShowOrganizationForbidden) Decode ¶
func (s *ShowOrganizationForbidden) Decode(d *jx.Decoder) error
Decode decodes ShowOrganizationForbidden from json.
func (*ShowOrganizationForbidden) Encode ¶
func (s *ShowOrganizationForbidden) Encode(e *jx.Encoder)
Encode encodes ShowOrganizationForbidden as json.
func (*ShowOrganizationForbidden) MarshalJSON ¶
func (s *ShowOrganizationForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShowOrganizationForbidden) UnmarshalJSON ¶
func (s *ShowOrganizationForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShowOrganizationNotFound ¶
type ShowOrganizationNotFound Error
func (*ShowOrganizationNotFound) Decode ¶
func (s *ShowOrganizationNotFound) Decode(d *jx.Decoder) error
Decode decodes ShowOrganizationNotFound from json.
func (*ShowOrganizationNotFound) Encode ¶
func (s *ShowOrganizationNotFound) Encode(e *jx.Encoder)
Encode encodes ShowOrganizationNotFound as json.
func (*ShowOrganizationNotFound) MarshalJSON ¶
func (s *ShowOrganizationNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShowOrganizationNotFound) UnmarshalJSON ¶
func (s *ShowOrganizationNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShowOrganizationParams ¶
type ShowOrganizationParams struct { // The name of the organization to show. OrganizationName string }
ShowOrganizationParams is parameters of showOrganization operation.
type ShowOrganizationRes ¶
type ShowOrganizationRes interface {
// contains filtered or unexported methods
}
type ShowOrganizationUnauthorized ¶
type ShowOrganizationUnauthorized Error
func (*ShowOrganizationUnauthorized) Decode ¶
func (s *ShowOrganizationUnauthorized) Decode(d *jx.Decoder) error
Decode decodes ShowOrganizationUnauthorized from json.
func (*ShowOrganizationUnauthorized) Encode ¶
func (s *ShowOrganizationUnauthorized) Encode(e *jx.Encoder)
Encode encodes ShowOrganizationUnauthorized as json.
func (*ShowOrganizationUnauthorized) MarshalJSON ¶
func (s *ShowOrganizationUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShowOrganizationUnauthorized) UnmarshalJSON ¶
func (s *ShowOrganizationUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShowOrganizationUsageForbidden ¶
type ShowOrganizationUsageForbidden Error
func (*ShowOrganizationUsageForbidden) Decode ¶
func (s *ShowOrganizationUsageForbidden) Decode(d *jx.Decoder) error
Decode decodes ShowOrganizationUsageForbidden from json.
func (*ShowOrganizationUsageForbidden) Encode ¶
func (s *ShowOrganizationUsageForbidden) Encode(e *jx.Encoder)
Encode encodes ShowOrganizationUsageForbidden as json.
func (*ShowOrganizationUsageForbidden) MarshalJSON ¶
func (s *ShowOrganizationUsageForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShowOrganizationUsageForbidden) UnmarshalJSON ¶
func (s *ShowOrganizationUsageForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShowOrganizationUsageNotFound ¶
type ShowOrganizationUsageNotFound Error
func (*ShowOrganizationUsageNotFound) Decode ¶
func (s *ShowOrganizationUsageNotFound) Decode(d *jx.Decoder) error
Decode decodes ShowOrganizationUsageNotFound from json.
func (*ShowOrganizationUsageNotFound) Encode ¶
func (s *ShowOrganizationUsageNotFound) Encode(e *jx.Encoder)
Encode encodes ShowOrganizationUsageNotFound as json.
func (*ShowOrganizationUsageNotFound) MarshalJSON ¶
func (s *ShowOrganizationUsageNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShowOrganizationUsageNotFound) UnmarshalJSON ¶
func (s *ShowOrganizationUsageNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShowOrganizationUsageParams ¶
type ShowOrganizationUsageParams struct { // The name of the organization to show. OrganizationName string }
ShowOrganizationUsageParams is parameters of showOrganizationUsage operation.
type ShowOrganizationUsageRes ¶
type ShowOrganizationUsageRes interface {
// contains filtered or unexported methods
}
type ShowOrganizationUsageUnauthorized ¶
type ShowOrganizationUsageUnauthorized Error
func (*ShowOrganizationUsageUnauthorized) Decode ¶
func (s *ShowOrganizationUsageUnauthorized) Decode(d *jx.Decoder) error
Decode decodes ShowOrganizationUsageUnauthorized from json.
func (*ShowOrganizationUsageUnauthorized) Encode ¶
func (s *ShowOrganizationUsageUnauthorized) Encode(e *jx.Encoder)
Encode encodes ShowOrganizationUsageUnauthorized as json.
func (*ShowOrganizationUsageUnauthorized) MarshalJSON ¶
func (s *ShowOrganizationUsageUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShowOrganizationUsageUnauthorized) UnmarshalJSON ¶
func (s *ShowOrganizationUsageUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShowProjectForbidden ¶
type ShowProjectForbidden Error
func (*ShowProjectForbidden) Decode ¶
func (s *ShowProjectForbidden) Decode(d *jx.Decoder) error
Decode decodes ShowProjectForbidden from json.
func (*ShowProjectForbidden) Encode ¶
func (s *ShowProjectForbidden) Encode(e *jx.Encoder)
Encode encodes ShowProjectForbidden as json.
func (*ShowProjectForbidden) MarshalJSON ¶
func (s *ShowProjectForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShowProjectForbidden) UnmarshalJSON ¶
func (s *ShowProjectForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShowProjectNotFound ¶
type ShowProjectNotFound Error
func (*ShowProjectNotFound) Decode ¶
func (s *ShowProjectNotFound) Decode(d *jx.Decoder) error
Decode decodes ShowProjectNotFound from json.
func (*ShowProjectNotFound) Encode ¶
func (s *ShowProjectNotFound) Encode(e *jx.Encoder)
Encode encodes ShowProjectNotFound as json.
func (*ShowProjectNotFound) MarshalJSON ¶
func (s *ShowProjectNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShowProjectNotFound) UnmarshalJSON ¶
func (s *ShowProjectNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ShowProjectParams ¶
type ShowProjectParams struct { // The name of the account that the project belongs to. AccountHandle string // The name of the project to show. ProjectHandle string }
ShowProjectParams is parameters of showProject operation.
type ShowProjectRes ¶
type ShowProjectRes interface {
// contains filtered or unexported methods
}
type ShowProjectUnauthorized ¶
type ShowProjectUnauthorized Error
func (*ShowProjectUnauthorized) Decode ¶
func (s *ShowProjectUnauthorized) Decode(d *jx.Decoder) error
Decode decodes ShowProjectUnauthorized from json.
func (*ShowProjectUnauthorized) Encode ¶
func (s *ShowProjectUnauthorized) Encode(e *jx.Encoder)
Encode encodes ShowProjectUnauthorized as json.
func (*ShowProjectUnauthorized) MarshalJSON ¶
func (s *ShowProjectUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ShowProjectUnauthorized) UnmarshalJSON ¶
func (s *ShowProjectUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StartAnalyticsArtifactMultipartUploadForbidden ¶
type StartAnalyticsArtifactMultipartUploadForbidden Error
func (*StartAnalyticsArtifactMultipartUploadForbidden) Decode ¶
func (s *StartAnalyticsArtifactMultipartUploadForbidden) Decode(d *jx.Decoder) error
Decode decodes StartAnalyticsArtifactMultipartUploadForbidden from json.
func (*StartAnalyticsArtifactMultipartUploadForbidden) Encode ¶
func (s *StartAnalyticsArtifactMultipartUploadForbidden) Encode(e *jx.Encoder)
Encode encodes StartAnalyticsArtifactMultipartUploadForbidden as json.
func (*StartAnalyticsArtifactMultipartUploadForbidden) MarshalJSON ¶
func (s *StartAnalyticsArtifactMultipartUploadForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StartAnalyticsArtifactMultipartUploadForbidden) UnmarshalJSON ¶
func (s *StartAnalyticsArtifactMultipartUploadForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StartAnalyticsArtifactMultipartUploadNotFound ¶
type StartAnalyticsArtifactMultipartUploadNotFound Error
func (*StartAnalyticsArtifactMultipartUploadNotFound) Decode ¶
func (s *StartAnalyticsArtifactMultipartUploadNotFound) Decode(d *jx.Decoder) error
Decode decodes StartAnalyticsArtifactMultipartUploadNotFound from json.
func (*StartAnalyticsArtifactMultipartUploadNotFound) Encode ¶
func (s *StartAnalyticsArtifactMultipartUploadNotFound) Encode(e *jx.Encoder)
Encode encodes StartAnalyticsArtifactMultipartUploadNotFound as json.
func (*StartAnalyticsArtifactMultipartUploadNotFound) MarshalJSON ¶
func (s *StartAnalyticsArtifactMultipartUploadNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StartAnalyticsArtifactMultipartUploadNotFound) UnmarshalJSON ¶
func (s *StartAnalyticsArtifactMultipartUploadNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StartAnalyticsArtifactMultipartUploadParams ¶
type StartAnalyticsArtifactMultipartUploadParams struct { // The id of the command event. RunID int }
StartAnalyticsArtifactMultipartUploadParams is parameters of startAnalyticsArtifactMultipartUpload operation.
type StartAnalyticsArtifactMultipartUploadRes ¶
type StartAnalyticsArtifactMultipartUploadRes interface {
// contains filtered or unexported methods
}
type StartAnalyticsArtifactMultipartUploadUnauthorized ¶
type StartAnalyticsArtifactMultipartUploadUnauthorized Error
func (*StartAnalyticsArtifactMultipartUploadUnauthorized) Decode ¶
func (s *StartAnalyticsArtifactMultipartUploadUnauthorized) Decode(d *jx.Decoder) error
Decode decodes StartAnalyticsArtifactMultipartUploadUnauthorized from json.
func (*StartAnalyticsArtifactMultipartUploadUnauthorized) Encode ¶
func (s *StartAnalyticsArtifactMultipartUploadUnauthorized) Encode(e *jx.Encoder)
Encode encodes StartAnalyticsArtifactMultipartUploadUnauthorized as json.
func (*StartAnalyticsArtifactMultipartUploadUnauthorized) MarshalJSON ¶
func (s *StartAnalyticsArtifactMultipartUploadUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StartAnalyticsArtifactMultipartUploadUnauthorized) UnmarshalJSON ¶
func (s *StartAnalyticsArtifactMultipartUploadUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StartCacheArtifactMultipartUploadForbidden ¶
type StartCacheArtifactMultipartUploadForbidden Error
func (*StartCacheArtifactMultipartUploadForbidden) Decode ¶
func (s *StartCacheArtifactMultipartUploadForbidden) Decode(d *jx.Decoder) error
Decode decodes StartCacheArtifactMultipartUploadForbidden from json.
func (*StartCacheArtifactMultipartUploadForbidden) Encode ¶
func (s *StartCacheArtifactMultipartUploadForbidden) Encode(e *jx.Encoder)
Encode encodes StartCacheArtifactMultipartUploadForbidden as json.
func (*StartCacheArtifactMultipartUploadForbidden) MarshalJSON ¶
func (s *StartCacheArtifactMultipartUploadForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StartCacheArtifactMultipartUploadForbidden) UnmarshalJSON ¶
func (s *StartCacheArtifactMultipartUploadForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StartCacheArtifactMultipartUploadNotFound ¶
type StartCacheArtifactMultipartUploadNotFound Error
func (*StartCacheArtifactMultipartUploadNotFound) Decode ¶
func (s *StartCacheArtifactMultipartUploadNotFound) Decode(d *jx.Decoder) error
Decode decodes StartCacheArtifactMultipartUploadNotFound from json.
func (*StartCacheArtifactMultipartUploadNotFound) Encode ¶
func (s *StartCacheArtifactMultipartUploadNotFound) Encode(e *jx.Encoder)
Encode encodes StartCacheArtifactMultipartUploadNotFound as json.
func (*StartCacheArtifactMultipartUploadNotFound) MarshalJSON ¶
func (s *StartCacheArtifactMultipartUploadNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StartCacheArtifactMultipartUploadNotFound) UnmarshalJSON ¶
func (s *StartCacheArtifactMultipartUploadNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StartCacheArtifactMultipartUploadParams ¶
type StartCacheArtifactMultipartUploadParams struct { // The category of the cache. It's used to differentiate between different types of caches. CacheCategory OptCacheCategory // The project identifier '{account_name}/{project_name}'. ProjectID string // The hash that uniquely identifies the artifact in the cache. Hash string // The name of the artifact. Name string }
StartCacheArtifactMultipartUploadParams is parameters of startCacheArtifactMultipartUpload operation.
type StartCacheArtifactMultipartUploadPaymentRequired ¶
type StartCacheArtifactMultipartUploadPaymentRequired Error
func (*StartCacheArtifactMultipartUploadPaymentRequired) Decode ¶
func (s *StartCacheArtifactMultipartUploadPaymentRequired) Decode(d *jx.Decoder) error
Decode decodes StartCacheArtifactMultipartUploadPaymentRequired from json.
func (*StartCacheArtifactMultipartUploadPaymentRequired) Encode ¶
func (s *StartCacheArtifactMultipartUploadPaymentRequired) Encode(e *jx.Encoder)
Encode encodes StartCacheArtifactMultipartUploadPaymentRequired as json.
func (*StartCacheArtifactMultipartUploadPaymentRequired) MarshalJSON ¶
func (s *StartCacheArtifactMultipartUploadPaymentRequired) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StartCacheArtifactMultipartUploadPaymentRequired) UnmarshalJSON ¶
func (s *StartCacheArtifactMultipartUploadPaymentRequired) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StartCacheArtifactMultipartUploadRes ¶
type StartCacheArtifactMultipartUploadRes interface {
// contains filtered or unexported methods
}
type StartCacheArtifactMultipartUploadUnauthorized ¶
type StartCacheArtifactMultipartUploadUnauthorized Error
func (*StartCacheArtifactMultipartUploadUnauthorized) Decode ¶
func (s *StartCacheArtifactMultipartUploadUnauthorized) Decode(d *jx.Decoder) error
Decode decodes StartCacheArtifactMultipartUploadUnauthorized from json.
func (*StartCacheArtifactMultipartUploadUnauthorized) Encode ¶
func (s *StartCacheArtifactMultipartUploadUnauthorized) Encode(e *jx.Encoder)
Encode encodes StartCacheArtifactMultipartUploadUnauthorized as json.
func (*StartCacheArtifactMultipartUploadUnauthorized) MarshalJSON ¶
func (s *StartCacheArtifactMultipartUploadUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StartCacheArtifactMultipartUploadUnauthorized) UnmarshalJSON ¶
func (s *StartCacheArtifactMultipartUploadUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StartPreviewsMultipartUploadForbidden ¶
type StartPreviewsMultipartUploadForbidden Error
func (*StartPreviewsMultipartUploadForbidden) Decode ¶
func (s *StartPreviewsMultipartUploadForbidden) Decode(d *jx.Decoder) error
Decode decodes StartPreviewsMultipartUploadForbidden from json.
func (*StartPreviewsMultipartUploadForbidden) Encode ¶
func (s *StartPreviewsMultipartUploadForbidden) Encode(e *jx.Encoder)
Encode encodes StartPreviewsMultipartUploadForbidden as json.
func (*StartPreviewsMultipartUploadForbidden) MarshalJSON ¶
func (s *StartPreviewsMultipartUploadForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StartPreviewsMultipartUploadForbidden) UnmarshalJSON ¶
func (s *StartPreviewsMultipartUploadForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StartPreviewsMultipartUploadNotFound ¶
type StartPreviewsMultipartUploadNotFound Error
func (*StartPreviewsMultipartUploadNotFound) Decode ¶
func (s *StartPreviewsMultipartUploadNotFound) Decode(d *jx.Decoder) error
Decode decodes StartPreviewsMultipartUploadNotFound from json.
func (*StartPreviewsMultipartUploadNotFound) Encode ¶
func (s *StartPreviewsMultipartUploadNotFound) Encode(e *jx.Encoder)
Encode encodes StartPreviewsMultipartUploadNotFound as json.
func (*StartPreviewsMultipartUploadNotFound) MarshalJSON ¶
func (s *StartPreviewsMultipartUploadNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StartPreviewsMultipartUploadNotFound) UnmarshalJSON ¶
func (s *StartPreviewsMultipartUploadNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StartPreviewsMultipartUploadOK ¶
type StartPreviewsMultipartUploadOK struct { // Data that contains preview and upload unique identifier associated with the multipart upload to // use when uploading parts. Data StartPreviewsMultipartUploadOKData `json:"data"` Status StartPreviewsMultipartUploadOKStatus `json:"status"` }
The upload has been initiated and preview and upload unique identifier are returned to upload the various parts using multi-part uploads.
func (*StartPreviewsMultipartUploadOK) Decode ¶
func (s *StartPreviewsMultipartUploadOK) Decode(d *jx.Decoder) error
Decode decodes StartPreviewsMultipartUploadOK from json.
func (*StartPreviewsMultipartUploadOK) Encode ¶
func (s *StartPreviewsMultipartUploadOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StartPreviewsMultipartUploadOK) GetData ¶
func (s *StartPreviewsMultipartUploadOK) GetData() StartPreviewsMultipartUploadOKData
GetData returns the value of Data.
func (*StartPreviewsMultipartUploadOK) GetStatus ¶
func (s *StartPreviewsMultipartUploadOK) GetStatus() StartPreviewsMultipartUploadOKStatus
GetStatus returns the value of Status.
func (*StartPreviewsMultipartUploadOK) MarshalJSON ¶
func (s *StartPreviewsMultipartUploadOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StartPreviewsMultipartUploadOK) SetData ¶
func (s *StartPreviewsMultipartUploadOK) SetData(val StartPreviewsMultipartUploadOKData)
SetData sets the value of Data.
func (*StartPreviewsMultipartUploadOK) SetStatus ¶
func (s *StartPreviewsMultipartUploadOK) SetStatus(val StartPreviewsMultipartUploadOKStatus)
SetStatus sets the value of Status.
func (*StartPreviewsMultipartUploadOK) UnmarshalJSON ¶
func (s *StartPreviewsMultipartUploadOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StartPreviewsMultipartUploadOK) Validate ¶
func (s *StartPreviewsMultipartUploadOK) Validate() error
type StartPreviewsMultipartUploadOKData ¶
type StartPreviewsMultipartUploadOKData struct { // The id of the preview. PreviewID string `json:"preview_id"` // The upload ID. UploadID string `json:"upload_id"` }
Data that contains preview and upload unique identifier associated with the multipart upload to use when uploading parts.
func (*StartPreviewsMultipartUploadOKData) Decode ¶
func (s *StartPreviewsMultipartUploadOKData) Decode(d *jx.Decoder) error
Decode decodes StartPreviewsMultipartUploadOKData from json.
func (*StartPreviewsMultipartUploadOKData) Encode ¶
func (s *StartPreviewsMultipartUploadOKData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StartPreviewsMultipartUploadOKData) GetPreviewID ¶
func (s *StartPreviewsMultipartUploadOKData) GetPreviewID() string
GetPreviewID returns the value of PreviewID.
func (*StartPreviewsMultipartUploadOKData) GetUploadID ¶
func (s *StartPreviewsMultipartUploadOKData) GetUploadID() string
GetUploadID returns the value of UploadID.
func (*StartPreviewsMultipartUploadOKData) MarshalJSON ¶
func (s *StartPreviewsMultipartUploadOKData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StartPreviewsMultipartUploadOKData) SetPreviewID ¶
func (s *StartPreviewsMultipartUploadOKData) SetPreviewID(val string)
SetPreviewID sets the value of PreviewID.
func (*StartPreviewsMultipartUploadOKData) SetUploadID ¶
func (s *StartPreviewsMultipartUploadOKData) SetUploadID(val string)
SetUploadID sets the value of UploadID.
func (*StartPreviewsMultipartUploadOKData) UnmarshalJSON ¶
func (s *StartPreviewsMultipartUploadOKData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StartPreviewsMultipartUploadOKStatus ¶
type StartPreviewsMultipartUploadOKStatus string
const (
StartPreviewsMultipartUploadOKStatusSuccess StartPreviewsMultipartUploadOKStatus = "success"
)
func (StartPreviewsMultipartUploadOKStatus) AllValues ¶
func (StartPreviewsMultipartUploadOKStatus) AllValues() []StartPreviewsMultipartUploadOKStatus
AllValues returns all StartPreviewsMultipartUploadOKStatus values.
func (*StartPreviewsMultipartUploadOKStatus) Decode ¶
func (s *StartPreviewsMultipartUploadOKStatus) Decode(d *jx.Decoder) error
Decode decodes StartPreviewsMultipartUploadOKStatus from json.
func (StartPreviewsMultipartUploadOKStatus) Encode ¶
func (s StartPreviewsMultipartUploadOKStatus) Encode(e *jx.Encoder)
Encode encodes StartPreviewsMultipartUploadOKStatus as json.
func (StartPreviewsMultipartUploadOKStatus) MarshalJSON ¶
func (s StartPreviewsMultipartUploadOKStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (StartPreviewsMultipartUploadOKStatus) MarshalText ¶
func (s StartPreviewsMultipartUploadOKStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*StartPreviewsMultipartUploadOKStatus) UnmarshalJSON ¶
func (s *StartPreviewsMultipartUploadOKStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*StartPreviewsMultipartUploadOKStatus) UnmarshalText ¶
func (s *StartPreviewsMultipartUploadOKStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (StartPreviewsMultipartUploadOKStatus) Validate ¶
func (s StartPreviewsMultipartUploadOKStatus) Validate() error
type StartPreviewsMultipartUploadParams ¶
type StartPreviewsMultipartUploadParams struct { // The handle of the account. AccountHandle string // The handle of the project. ProjectHandle string }
StartPreviewsMultipartUploadParams is parameters of startPreviewsMultipartUpload operation.
type StartPreviewsMultipartUploadReq ¶
type StartPreviewsMultipartUploadReq struct { // The display name of the preview. DisplayName OptString `json:"display_name"` }
func (*StartPreviewsMultipartUploadReq) Decode ¶
func (s *StartPreviewsMultipartUploadReq) Decode(d *jx.Decoder) error
Decode decodes StartPreviewsMultipartUploadReq from json.
func (*StartPreviewsMultipartUploadReq) Encode ¶
func (s *StartPreviewsMultipartUploadReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StartPreviewsMultipartUploadReq) GetDisplayName ¶
func (s *StartPreviewsMultipartUploadReq) GetDisplayName() OptString
GetDisplayName returns the value of DisplayName.
func (*StartPreviewsMultipartUploadReq) MarshalJSON ¶
func (s *StartPreviewsMultipartUploadReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StartPreviewsMultipartUploadReq) SetDisplayName ¶
func (s *StartPreviewsMultipartUploadReq) SetDisplayName(val OptString)
SetDisplayName sets the value of DisplayName.
func (*StartPreviewsMultipartUploadReq) UnmarshalJSON ¶
func (s *StartPreviewsMultipartUploadReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StartPreviewsMultipartUploadRes ¶
type StartPreviewsMultipartUploadRes interface {
// contains filtered or unexported methods
}
type StartPreviewsMultipartUploadUnauthorized ¶
type StartPreviewsMultipartUploadUnauthorized Error
func (*StartPreviewsMultipartUploadUnauthorized) Decode ¶
func (s *StartPreviewsMultipartUploadUnauthorized) Decode(d *jx.Decoder) error
Decode decodes StartPreviewsMultipartUploadUnauthorized from json.
func (*StartPreviewsMultipartUploadUnauthorized) Encode ¶
func (s *StartPreviewsMultipartUploadUnauthorized) Encode(e *jx.Encoder)
Encode encodes StartPreviewsMultipartUploadUnauthorized as json.
func (*StartPreviewsMultipartUploadUnauthorized) MarshalJSON ¶
func (s *StartPreviewsMultipartUploadUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StartPreviewsMultipartUploadUnauthorized) UnmarshalJSON ¶
func (s *StartPreviewsMultipartUploadUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UnimplementedHandler ¶
type UnimplementedHandler struct{}
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
func (UnimplementedHandler) Authenticate ¶
func (UnimplementedHandler) Authenticate(ctx context.Context, req OptAuthenticateReq) (r AuthenticateRes, _ error)
Authenticate implements authenticate operation.
This endpoint returns API tokens for a given email and password.
POST /api/auth
func (UnimplementedHandler) CacheArtifactExists
deprecated
func (UnimplementedHandler) CacheArtifactExists(ctx context.Context, params CacheArtifactExistsParams) (r CacheArtifactExistsRes, _ error)
CacheArtifactExists implements cacheArtifactExists operation.
This endpoint checks if an artifact exists in the cache. It returns a 404 status code if the artifact does not exist.
Deprecated: schema marks this operation as deprecated.
GET /api/cache/exists
func (UnimplementedHandler) CleanCache ¶
func (UnimplementedHandler) CleanCache(ctx context.Context, params CleanCacheParams) (r CleanCacheRes, _ error)
CleanCache implements cleanCache operation.
Cleans cache for a given project.
PUT /api/projects/{account_handle}/{project_handle}/cache/clean
func (UnimplementedHandler) CompleteAnalyticsArtifactMultipartUpload ¶
func (UnimplementedHandler) CompleteAnalyticsArtifactMultipartUpload(ctx context.Context, req OptCompleteAnalyticsArtifactMultipartUploadReq, params CompleteAnalyticsArtifactMultipartUploadParams) (r CompleteAnalyticsArtifactMultipartUploadRes, _ error)
CompleteAnalyticsArtifactMultipartUpload implements completeAnalyticsArtifactMultipartUpload operation.
Given the upload ID and all the parts with their ETags, this endpoint completes the multipart upload.
POST /api/runs/{run_id}/complete
func (UnimplementedHandler) CompleteAnalyticsArtifactsUploads ¶
func (UnimplementedHandler) CompleteAnalyticsArtifactsUploads(ctx context.Context, req OptCompleteAnalyticsArtifactsUploadsReq, params CompleteAnalyticsArtifactsUploadsParams) (r CompleteAnalyticsArtifactsUploadsRes, _ error)
CompleteAnalyticsArtifactsUploads implements completeAnalyticsArtifactsUploads operation.
Given a command event, it marks all artifact uploads as finished and does extra processing of a given command run, such as test flakiness detection.
PUT /api/runs/{run_id}/complete_artifacts_uploads
func (UnimplementedHandler) CompleteCacheArtifactMultipartUpload ¶
func (UnimplementedHandler) CompleteCacheArtifactMultipartUpload(ctx context.Context, req OptCompleteCacheArtifactMultipartUploadReq, params CompleteCacheArtifactMultipartUploadParams) (r CompleteCacheArtifactMultipartUploadRes, _ error)
CompleteCacheArtifactMultipartUpload implements completeCacheArtifactMultipartUpload operation.
Given the upload ID and all the parts with their ETags, this endpoint completes the multipart upload. The cache will then be able to serve the artifact.
POST /api/cache/multipart/complete
func (UnimplementedHandler) CompletePreviewsMultipartUpload ¶
func (UnimplementedHandler) CompletePreviewsMultipartUpload(ctx context.Context, req OptCompletePreviewsMultipartUploadReq, params CompletePreviewsMultipartUploadParams) (r CompletePreviewsMultipartUploadRes, _ error)
CompletePreviewsMultipartUpload implements completePreviewsMultipartUpload operation.
Given the upload ID and all the parts with their ETags, this endpoint completes the multipart upload.
POST /api/projects/{account_handle}/{project_handle}/previews/complete
func (UnimplementedHandler) CreateCommandEvent ¶
func (UnimplementedHandler) CreateCommandEvent(ctx context.Context, req OptCreateCommandEventReq, params CreateCommandEventParams) (r CreateCommandEventRes, _ error)
CreateCommandEvent implements createCommandEvent operation.
Create a a new command analytics event.
POST /api/analytics
func (UnimplementedHandler) CreateInvitation ¶
func (UnimplementedHandler) CreateInvitation(ctx context.Context, req OptCreateInvitationReq, params CreateInvitationParams) (r CreateInvitationRes, _ error)
CreateInvitation implements createInvitation operation.
Invites a user with a given email to a given organization.
POST /api/organizations/{organization_name}/invitations
func (UnimplementedHandler) CreateOrganization ¶
func (UnimplementedHandler) CreateOrganization(ctx context.Context, req OptCreateOrganizationReq) (r CreateOrganizationRes, _ error)
CreateOrganization implements createOrganization operation.
Creates an organization with the given name.
POST /api/organizations
func (UnimplementedHandler) CreateProject ¶
func (UnimplementedHandler) CreateProject(ctx context.Context, req OptCreateProjectReq) (r CreateProjectRes, _ error)
CreateProject implements createProject operation.
Create a new project.
POST /api/projects
func (UnimplementedHandler) CreateProjectToken ¶
func (UnimplementedHandler) CreateProjectToken(ctx context.Context, params CreateProjectTokenParams) (r CreateProjectTokenRes, _ error)
CreateProjectToken implements createProjectToken operation.
This endpoint returns a new project token.
POST /api/projects/{account_handle}/{project_handle}/tokens
func (UnimplementedHandler) DeleteOrganization ¶
func (UnimplementedHandler) DeleteOrganization(ctx context.Context, params DeleteOrganizationParams) (r DeleteOrganizationRes, _ error)
DeleteOrganization implements deleteOrganization operation.
Deletes the organization with the given name.
DELETE /api/organizations/{organization_name}
func (UnimplementedHandler) DeleteProject ¶
func (UnimplementedHandler) DeleteProject(ctx context.Context, params DeleteProjectParams) (r DeleteProjectRes, _ error)
DeleteProject implements deleteProject operation.
Deletes a project with a given id.
DELETE /api/projects/{id}
func (UnimplementedHandler) DownloadCacheArtifact ¶
func (UnimplementedHandler) DownloadCacheArtifact(ctx context.Context, params DownloadCacheArtifactParams) (r DownloadCacheArtifactRes, _ error)
DownloadCacheArtifact implements downloadCacheArtifact operation.
This endpoint returns a signed URL that can be used to download an artifact from the cache.
GET /api/cache
func (UnimplementedHandler) DownloadPreview ¶
func (UnimplementedHandler) DownloadPreview(ctx context.Context, params DownloadPreviewParams) (r DownloadPreviewRes, _ error)
DownloadPreview implements downloadPreview operation.
This endpoint returns a signed URL that can be used to download a preview.
GET /api/projects/{account_handle}/{project_handle}/previews/{preview_id}
func (UnimplementedHandler) GenerateAnalyticsArtifactMultipartUploadURL ¶
func (UnimplementedHandler) GenerateAnalyticsArtifactMultipartUploadURL(ctx context.Context, req OptGenerateAnalyticsArtifactMultipartUploadURLReq, params GenerateAnalyticsArtifactMultipartUploadURLParams) (r GenerateAnalyticsArtifactMultipartUploadURLRes, _ error)
GenerateAnalyticsArtifactMultipartUploadURL implements generateAnalyticsArtifactMultipartUploadURL operation.
Given an upload ID and a part number, this endpoint returns a signed URL that can be used to upload a part of a multipart upload. The URL is short-lived and expires in 120 seconds.
POST /api/runs/{run_id}/generate-url
func (UnimplementedHandler) GenerateCacheArtifactMultipartUploadURL ¶
func (UnimplementedHandler) GenerateCacheArtifactMultipartUploadURL(ctx context.Context, params GenerateCacheArtifactMultipartUploadURLParams) (r GenerateCacheArtifactMultipartUploadURLRes, _ error)
GenerateCacheArtifactMultipartUploadURL implements generateCacheArtifactMultipartUploadURL operation.
Given an upload ID and a part number, this endpoint returns a signed URL that can be used to upload a part of a multipart upload. The URL is short-lived and expires in 120 seconds.
POST /api/cache/multipart/generate-url
func (UnimplementedHandler) GeneratePreviewsMultipartUploadURL ¶
func (UnimplementedHandler) GeneratePreviewsMultipartUploadURL(ctx context.Context, req OptGeneratePreviewsMultipartUploadURLReq, params GeneratePreviewsMultipartUploadURLParams) (r GeneratePreviewsMultipartUploadURLRes, _ error)
GeneratePreviewsMultipartUploadURL implements generatePreviewsMultipartUploadURL operation.
Given an upload ID and a part number, this endpoint returns a signed URL that can be used to upload a part of a multipart upload. The URL is short-lived and expires in 120 seconds.
POST /api/projects/{account_handle}/{project_handle}/previews/generate-url
func (UnimplementedHandler) GetCacheActionItem ¶
func (UnimplementedHandler) GetCacheActionItem(ctx context.Context, params GetCacheActionItemParams) (r GetCacheActionItemRes, _ error)
GetCacheActionItem implements getCacheActionItem operation.
This endpoint gets an item from the action cache.
GET /api/projects/{account_handle}/{project_handle}/cache/ac/{hash}
func (UnimplementedHandler) GetDeviceCode ¶
func (UnimplementedHandler) GetDeviceCode(ctx context.Context, params GetDeviceCodeParams) (r GetDeviceCodeRes, _ error)
GetDeviceCode implements getDeviceCode operation.
This endpoint returns a token for a given device code if the device code is authenticated.
GET /api/auth/device_code/{device_code}
func (UnimplementedHandler) ListOrganizations ¶
func (UnimplementedHandler) ListOrganizations(ctx context.Context) (r ListOrganizationsRes, _ error)
ListOrganizations implements listOrganizations operation.
Returns all the organizations the authenticated subject is part of.
GET /api/organizations
func (UnimplementedHandler) ListProjectTokens ¶
func (UnimplementedHandler) ListProjectTokens(ctx context.Context, params ListProjectTokensParams) (r ListProjectTokensRes, _ error)
ListProjectTokens implements listProjectTokens operation.
This endpoint returns all tokens for a given project.
GET /api/projects/{account_handle}/{project_handle}/tokens
func (UnimplementedHandler) ListProjects ¶
func (UnimplementedHandler) ListProjects(ctx context.Context) (r ListProjectsRes, _ error)
ListProjects implements listProjects operation.
List projects the authenticated user has access to.
GET /api/projects
func (UnimplementedHandler) RefreshToken ¶
func (UnimplementedHandler) RefreshToken(ctx context.Context, req OptRefreshTokenReq) (r RefreshTokenRes, _ error)
RefreshToken implements refreshToken operation.
This endpoint returns new tokens for a given refresh token if the refresh token is valid.
POST /api/auth/refresh_token
func (UnimplementedHandler) RevokeProjectToken ¶
func (UnimplementedHandler) RevokeProjectToken(ctx context.Context, params RevokeProjectTokenParams) (r RevokeProjectTokenRes, _ error)
RevokeProjectToken implements revokeProjectToken operation.
Revokes a project token.
DELETE /api/projects/{account_handle}/{project_handle}/tokens/{id}
func (UnimplementedHandler) ShowOrganization ¶
func (UnimplementedHandler) ShowOrganization(ctx context.Context, params ShowOrganizationParams) (r ShowOrganizationRes, _ error)
ShowOrganization implements showOrganization operation.
Returns the organization with the given identifier.
GET /api/organizations/{organization_name}
func (UnimplementedHandler) ShowOrganizationUsage ¶
func (UnimplementedHandler) ShowOrganizationUsage(ctx context.Context, params ShowOrganizationUsageParams) (r ShowOrganizationUsageRes, _ error)
ShowOrganizationUsage implements showOrganizationUsage operation.
Returns the usage of the organization with the given identifier. (e.g. number of remote cache hits).
GET /api/organizations/{organization_name}/usage
func (UnimplementedHandler) ShowProject ¶
func (UnimplementedHandler) ShowProject(ctx context.Context, params ShowProjectParams) (r ShowProjectRes, _ error)
ShowProject implements showProject operation.
Returns a project based on the handle.
GET /api/projects/{account_handle}/{project_handle}
func (UnimplementedHandler) StartAnalyticsArtifactMultipartUpload ¶
func (UnimplementedHandler) StartAnalyticsArtifactMultipartUpload(ctx context.Context, req CommandEventArtifact, params StartAnalyticsArtifactMultipartUploadParams) (r StartAnalyticsArtifactMultipartUploadRes, _ error)
StartAnalyticsArtifactMultipartUpload implements startAnalyticsArtifactMultipartUpload operation.
The endpoint returns an upload ID that can be used to generate URLs for the individual parts and complete the upload.
POST /api/runs/{run_id}/start
func (UnimplementedHandler) StartCacheArtifactMultipartUpload ¶
func (UnimplementedHandler) StartCacheArtifactMultipartUpload(ctx context.Context, params StartCacheArtifactMultipartUploadParams) (r StartCacheArtifactMultipartUploadRes, _ error)
StartCacheArtifactMultipartUpload implements startCacheArtifactMultipartUpload operation.
The endpoint returns an upload ID that can be used to generate URLs for the individual parts and complete the upload.
POST /api/cache/multipart/start
func (UnimplementedHandler) StartPreviewsMultipartUpload ¶
func (UnimplementedHandler) StartPreviewsMultipartUpload(ctx context.Context, req OptStartPreviewsMultipartUploadReq, params StartPreviewsMultipartUploadParams) (r StartPreviewsMultipartUploadRes, _ error)
StartPreviewsMultipartUpload implements startPreviewsMultipartUpload operation.
The endpoint returns an upload ID that can be used to generate URLs for the individual parts and complete the upload.
POST /api/projects/{account_handle}/{project_handle}/previews/start
func (UnimplementedHandler) UpdateOrganization ¶
func (UnimplementedHandler) UpdateOrganization(ctx context.Context, req OptUpdateOrganizationReq, params UpdateOrganizationParams) (r UpdateOrganizationRes, _ error)
UpdateOrganization implements updateOrganization operation.
Updates an organization with given parameters.
PUT /api/organizations/{organization_name}
func (UnimplementedHandler) UpdateOrganization2 ¶
func (UnimplementedHandler) UpdateOrganization2(ctx context.Context, req OptUpdateOrganization2Req, params UpdateOrganization2Params) (r UpdateOrganization2Res, _ error)
UpdateOrganization2 implements updateOrganization (2) operation.
Updates an organization with given parameters.
PATCH /api/organizations/{organization_name}
func (UnimplementedHandler) UpdateOrganizationMember ¶
func (UnimplementedHandler) UpdateOrganizationMember(ctx context.Context, req OptUpdateOrganizationMemberReq, params UpdateOrganizationMemberParams) (r UpdateOrganizationMemberRes, _ error)
UpdateOrganizationMember implements updateOrganizationMember operation.
Updates a member in a given organization.
PUT /api/organizations/{organization_name}/members/{user_name}
func (UnimplementedHandler) UpdateProject ¶
func (UnimplementedHandler) UpdateProject(ctx context.Context, req OptUpdateProjectReq, params UpdateProjectParams) (r UpdateProjectRes, _ error)
UpdateProject implements updateProject operation.
Updates a project with given parameters.
PUT /api/projects/{account_handle}/{project_handle}
func (UnimplementedHandler) UploadCacheActionItem ¶
func (UnimplementedHandler) UploadCacheActionItem(ctx context.Context, req OptUploadCacheActionItemReq, params UploadCacheActionItemParams) (r UploadCacheActionItemRes, _ error)
UploadCacheActionItem implements uploadCacheActionItem operation.
The endpoint caches a given action item without uploading a file. To upload files, use the multipart upload instead.
POST /api/projects/{account_handle}/{project_handle}/cache/ac
type UpdateOrganization2BadRequest ¶
type UpdateOrganization2BadRequest Error
func (*UpdateOrganization2BadRequest) Decode ¶
func (s *UpdateOrganization2BadRequest) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganization2BadRequest from json.
func (*UpdateOrganization2BadRequest) Encode ¶
func (s *UpdateOrganization2BadRequest) Encode(e *jx.Encoder)
Encode encodes UpdateOrganization2BadRequest as json.
func (*UpdateOrganization2BadRequest) MarshalJSON ¶
func (s *UpdateOrganization2BadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganization2BadRequest) UnmarshalJSON ¶
func (s *UpdateOrganization2BadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateOrganization2Forbidden ¶
type UpdateOrganization2Forbidden Error
func (*UpdateOrganization2Forbidden) Decode ¶
func (s *UpdateOrganization2Forbidden) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganization2Forbidden from json.
func (*UpdateOrganization2Forbidden) Encode ¶
func (s *UpdateOrganization2Forbidden) Encode(e *jx.Encoder)
Encode encodes UpdateOrganization2Forbidden as json.
func (*UpdateOrganization2Forbidden) MarshalJSON ¶
func (s *UpdateOrganization2Forbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganization2Forbidden) UnmarshalJSON ¶
func (s *UpdateOrganization2Forbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateOrganization2NotFound ¶
type UpdateOrganization2NotFound Error
func (*UpdateOrganization2NotFound) Decode ¶
func (s *UpdateOrganization2NotFound) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganization2NotFound from json.
func (*UpdateOrganization2NotFound) Encode ¶
func (s *UpdateOrganization2NotFound) Encode(e *jx.Encoder)
Encode encodes UpdateOrganization2NotFound as json.
func (*UpdateOrganization2NotFound) MarshalJSON ¶
func (s *UpdateOrganization2NotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganization2NotFound) UnmarshalJSON ¶
func (s *UpdateOrganization2NotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateOrganization2Params ¶
type UpdateOrganization2Params struct { // The name of the organization to update. OrganizationName string }
UpdateOrganization2Params is parameters of updateOrganization (2) operation.
type UpdateOrganization2Req ¶
type UpdateOrganization2Req struct { // The SSO organization ID to be associated with the SSO provider. SSOOrganizationID OptNilString `json:"sso_organization_id"` // The SSO provider to set up for the organization. SSOProvider OptUpdateOrganization2ReqSSOProvider `json:"sso_provider"` }
func (*UpdateOrganization2Req) Decode ¶
func (s *UpdateOrganization2Req) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganization2Req from json.
func (*UpdateOrganization2Req) Encode ¶
func (s *UpdateOrganization2Req) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateOrganization2Req) GetSSOOrganizationID ¶
func (s *UpdateOrganization2Req) GetSSOOrganizationID() OptNilString
GetSSOOrganizationID returns the value of SSOOrganizationID.
func (*UpdateOrganization2Req) GetSSOProvider ¶
func (s *UpdateOrganization2Req) GetSSOProvider() OptUpdateOrganization2ReqSSOProvider
GetSSOProvider returns the value of SSOProvider.
func (*UpdateOrganization2Req) MarshalJSON ¶
func (s *UpdateOrganization2Req) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganization2Req) SetSSOOrganizationID ¶
func (s *UpdateOrganization2Req) SetSSOOrganizationID(val OptNilString)
SetSSOOrganizationID sets the value of SSOOrganizationID.
func (*UpdateOrganization2Req) SetSSOProvider ¶
func (s *UpdateOrganization2Req) SetSSOProvider(val OptUpdateOrganization2ReqSSOProvider)
SetSSOProvider sets the value of SSOProvider.
func (*UpdateOrganization2Req) UnmarshalJSON ¶
func (s *UpdateOrganization2Req) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateOrganization2Req) Validate ¶
func (s *UpdateOrganization2Req) Validate() error
type UpdateOrganization2ReqSSOProvider ¶
type UpdateOrganization2ReqSSOProvider string
The SSO provider to set up for the organization.
const ( UpdateOrganization2ReqSSOProviderGoogle UpdateOrganization2ReqSSOProvider = "google" UpdateOrganization2ReqSSOProviderNone UpdateOrganization2ReqSSOProvider = "none" )
func (UpdateOrganization2ReqSSOProvider) AllValues ¶
func (UpdateOrganization2ReqSSOProvider) AllValues() []UpdateOrganization2ReqSSOProvider
AllValues returns all UpdateOrganization2ReqSSOProvider values.
func (*UpdateOrganization2ReqSSOProvider) Decode ¶
func (s *UpdateOrganization2ReqSSOProvider) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganization2ReqSSOProvider from json.
func (UpdateOrganization2ReqSSOProvider) Encode ¶
func (s UpdateOrganization2ReqSSOProvider) Encode(e *jx.Encoder)
Encode encodes UpdateOrganization2ReqSSOProvider as json.
func (UpdateOrganization2ReqSSOProvider) MarshalJSON ¶
func (s UpdateOrganization2ReqSSOProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (UpdateOrganization2ReqSSOProvider) MarshalText ¶
func (s UpdateOrganization2ReqSSOProvider) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*UpdateOrganization2ReqSSOProvider) UnmarshalJSON ¶
func (s *UpdateOrganization2ReqSSOProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateOrganization2ReqSSOProvider) UnmarshalText ¶
func (s *UpdateOrganization2ReqSSOProvider) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (UpdateOrganization2ReqSSOProvider) Validate ¶
func (s UpdateOrganization2ReqSSOProvider) Validate() error
type UpdateOrganization2Res ¶
type UpdateOrganization2Res interface {
// contains filtered or unexported methods
}
type UpdateOrganization2Unauthorized ¶
type UpdateOrganization2Unauthorized Error
func (*UpdateOrganization2Unauthorized) Decode ¶
func (s *UpdateOrganization2Unauthorized) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganization2Unauthorized from json.
func (*UpdateOrganization2Unauthorized) Encode ¶
func (s *UpdateOrganization2Unauthorized) Encode(e *jx.Encoder)
Encode encodes UpdateOrganization2Unauthorized as json.
func (*UpdateOrganization2Unauthorized) MarshalJSON ¶
func (s *UpdateOrganization2Unauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganization2Unauthorized) UnmarshalJSON ¶
func (s *UpdateOrganization2Unauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateOrganizationBadRequest ¶
type UpdateOrganizationBadRequest Error
func (*UpdateOrganizationBadRequest) Decode ¶
func (s *UpdateOrganizationBadRequest) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationBadRequest from json.
func (*UpdateOrganizationBadRequest) Encode ¶
func (s *UpdateOrganizationBadRequest) Encode(e *jx.Encoder)
Encode encodes UpdateOrganizationBadRequest as json.
func (*UpdateOrganizationBadRequest) MarshalJSON ¶
func (s *UpdateOrganizationBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganizationBadRequest) UnmarshalJSON ¶
func (s *UpdateOrganizationBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateOrganizationForbidden ¶
type UpdateOrganizationForbidden Error
func (*UpdateOrganizationForbidden) Decode ¶
func (s *UpdateOrganizationForbidden) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationForbidden from json.
func (*UpdateOrganizationForbidden) Encode ¶
func (s *UpdateOrganizationForbidden) Encode(e *jx.Encoder)
Encode encodes UpdateOrganizationForbidden as json.
func (*UpdateOrganizationForbidden) MarshalJSON ¶
func (s *UpdateOrganizationForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganizationForbidden) UnmarshalJSON ¶
func (s *UpdateOrganizationForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateOrganizationMemberBadRequest ¶
type UpdateOrganizationMemberBadRequest Error
func (*UpdateOrganizationMemberBadRequest) Decode ¶
func (s *UpdateOrganizationMemberBadRequest) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationMemberBadRequest from json.
func (*UpdateOrganizationMemberBadRequest) Encode ¶
func (s *UpdateOrganizationMemberBadRequest) Encode(e *jx.Encoder)
Encode encodes UpdateOrganizationMemberBadRequest as json.
func (*UpdateOrganizationMemberBadRequest) MarshalJSON ¶
func (s *UpdateOrganizationMemberBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganizationMemberBadRequest) UnmarshalJSON ¶
func (s *UpdateOrganizationMemberBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateOrganizationMemberForbidden ¶
type UpdateOrganizationMemberForbidden Error
func (*UpdateOrganizationMemberForbidden) Decode ¶
func (s *UpdateOrganizationMemberForbidden) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationMemberForbidden from json.
func (*UpdateOrganizationMemberForbidden) Encode ¶
func (s *UpdateOrganizationMemberForbidden) Encode(e *jx.Encoder)
Encode encodes UpdateOrganizationMemberForbidden as json.
func (*UpdateOrganizationMemberForbidden) MarshalJSON ¶
func (s *UpdateOrganizationMemberForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganizationMemberForbidden) UnmarshalJSON ¶
func (s *UpdateOrganizationMemberForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateOrganizationMemberNotFound ¶
type UpdateOrganizationMemberNotFound Error
func (*UpdateOrganizationMemberNotFound) Decode ¶
func (s *UpdateOrganizationMemberNotFound) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationMemberNotFound from json.
func (*UpdateOrganizationMemberNotFound) Encode ¶
func (s *UpdateOrganizationMemberNotFound) Encode(e *jx.Encoder)
Encode encodes UpdateOrganizationMemberNotFound as json.
func (*UpdateOrganizationMemberNotFound) MarshalJSON ¶
func (s *UpdateOrganizationMemberNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganizationMemberNotFound) UnmarshalJSON ¶
func (s *UpdateOrganizationMemberNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateOrganizationMemberParams ¶
type UpdateOrganizationMemberParams struct { // The name of the organization to update the member in. OrganizationName string // The name of the user to update in the organization. UserName string }
UpdateOrganizationMemberParams is parameters of updateOrganizationMember operation.
type UpdateOrganizationMemberReq ¶
type UpdateOrganizationMemberReq struct { // The role to update the member to. Role UpdateOrganizationMemberReqRole `json:"role"` }
func (*UpdateOrganizationMemberReq) Decode ¶
func (s *UpdateOrganizationMemberReq) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationMemberReq from json.
func (*UpdateOrganizationMemberReq) Encode ¶
func (s *UpdateOrganizationMemberReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateOrganizationMemberReq) GetRole ¶
func (s *UpdateOrganizationMemberReq) GetRole() UpdateOrganizationMemberReqRole
GetRole returns the value of Role.
func (*UpdateOrganizationMemberReq) MarshalJSON ¶
func (s *UpdateOrganizationMemberReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganizationMemberReq) SetRole ¶
func (s *UpdateOrganizationMemberReq) SetRole(val UpdateOrganizationMemberReqRole)
SetRole sets the value of Role.
func (*UpdateOrganizationMemberReq) UnmarshalJSON ¶
func (s *UpdateOrganizationMemberReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateOrganizationMemberReq) Validate ¶
func (s *UpdateOrganizationMemberReq) Validate() error
type UpdateOrganizationMemberReqRole ¶
type UpdateOrganizationMemberReqRole string
The role to update the member to.
const ( UpdateOrganizationMemberReqRoleAdmin UpdateOrganizationMemberReqRole = "admin" UpdateOrganizationMemberReqRoleUser UpdateOrganizationMemberReqRole = "user" )
func (UpdateOrganizationMemberReqRole) AllValues ¶
func (UpdateOrganizationMemberReqRole) AllValues() []UpdateOrganizationMemberReqRole
AllValues returns all UpdateOrganizationMemberReqRole values.
func (*UpdateOrganizationMemberReqRole) Decode ¶
func (s *UpdateOrganizationMemberReqRole) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationMemberReqRole from json.
func (UpdateOrganizationMemberReqRole) Encode ¶
func (s UpdateOrganizationMemberReqRole) Encode(e *jx.Encoder)
Encode encodes UpdateOrganizationMemberReqRole as json.
func (UpdateOrganizationMemberReqRole) MarshalJSON ¶
func (s UpdateOrganizationMemberReqRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (UpdateOrganizationMemberReqRole) MarshalText ¶
func (s UpdateOrganizationMemberReqRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*UpdateOrganizationMemberReqRole) UnmarshalJSON ¶
func (s *UpdateOrganizationMemberReqRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateOrganizationMemberReqRole) UnmarshalText ¶
func (s *UpdateOrganizationMemberReqRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (UpdateOrganizationMemberReqRole) Validate ¶
func (s UpdateOrganizationMemberReqRole) Validate() error
type UpdateOrganizationMemberRes ¶
type UpdateOrganizationMemberRes interface {
// contains filtered or unexported methods
}
type UpdateOrganizationMemberUnauthorized ¶
type UpdateOrganizationMemberUnauthorized Error
func (*UpdateOrganizationMemberUnauthorized) Decode ¶
func (s *UpdateOrganizationMemberUnauthorized) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationMemberUnauthorized from json.
func (*UpdateOrganizationMemberUnauthorized) Encode ¶
func (s *UpdateOrganizationMemberUnauthorized) Encode(e *jx.Encoder)
Encode encodes UpdateOrganizationMemberUnauthorized as json.
func (*UpdateOrganizationMemberUnauthorized) MarshalJSON ¶
func (s *UpdateOrganizationMemberUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganizationMemberUnauthorized) UnmarshalJSON ¶
func (s *UpdateOrganizationMemberUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateOrganizationNotFound ¶
type UpdateOrganizationNotFound Error
func (*UpdateOrganizationNotFound) Decode ¶
func (s *UpdateOrganizationNotFound) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationNotFound from json.
func (*UpdateOrganizationNotFound) Encode ¶
func (s *UpdateOrganizationNotFound) Encode(e *jx.Encoder)
Encode encodes UpdateOrganizationNotFound as json.
func (*UpdateOrganizationNotFound) MarshalJSON ¶
func (s *UpdateOrganizationNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganizationNotFound) UnmarshalJSON ¶
func (s *UpdateOrganizationNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateOrganizationParams ¶
type UpdateOrganizationParams struct { // The name of the organization to update. OrganizationName string }
UpdateOrganizationParams is parameters of updateOrganization operation.
type UpdateOrganizationReq ¶
type UpdateOrganizationReq struct { // The SSO organization ID to be associated with the SSO provider. SSOOrganizationID OptNilString `json:"sso_organization_id"` // The SSO provider to set up for the organization. SSOProvider OptUpdateOrganizationReqSSOProvider `json:"sso_provider"` }
func (*UpdateOrganizationReq) Decode ¶
func (s *UpdateOrganizationReq) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationReq from json.
func (*UpdateOrganizationReq) Encode ¶
func (s *UpdateOrganizationReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateOrganizationReq) GetSSOOrganizationID ¶
func (s *UpdateOrganizationReq) GetSSOOrganizationID() OptNilString
GetSSOOrganizationID returns the value of SSOOrganizationID.
func (*UpdateOrganizationReq) GetSSOProvider ¶
func (s *UpdateOrganizationReq) GetSSOProvider() OptUpdateOrganizationReqSSOProvider
GetSSOProvider returns the value of SSOProvider.
func (*UpdateOrganizationReq) MarshalJSON ¶
func (s *UpdateOrganizationReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganizationReq) SetSSOOrganizationID ¶
func (s *UpdateOrganizationReq) SetSSOOrganizationID(val OptNilString)
SetSSOOrganizationID sets the value of SSOOrganizationID.
func (*UpdateOrganizationReq) SetSSOProvider ¶
func (s *UpdateOrganizationReq) SetSSOProvider(val OptUpdateOrganizationReqSSOProvider)
SetSSOProvider sets the value of SSOProvider.
func (*UpdateOrganizationReq) UnmarshalJSON ¶
func (s *UpdateOrganizationReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateOrganizationReq) Validate ¶
func (s *UpdateOrganizationReq) Validate() error
type UpdateOrganizationReqSSOProvider ¶
type UpdateOrganizationReqSSOProvider string
The SSO provider to set up for the organization.
const ( UpdateOrganizationReqSSOProviderGoogle UpdateOrganizationReqSSOProvider = "google" UpdateOrganizationReqSSOProviderNone UpdateOrganizationReqSSOProvider = "none" )
func (UpdateOrganizationReqSSOProvider) AllValues ¶
func (UpdateOrganizationReqSSOProvider) AllValues() []UpdateOrganizationReqSSOProvider
AllValues returns all UpdateOrganizationReqSSOProvider values.
func (*UpdateOrganizationReqSSOProvider) Decode ¶
func (s *UpdateOrganizationReqSSOProvider) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationReqSSOProvider from json.
func (UpdateOrganizationReqSSOProvider) Encode ¶
func (s UpdateOrganizationReqSSOProvider) Encode(e *jx.Encoder)
Encode encodes UpdateOrganizationReqSSOProvider as json.
func (UpdateOrganizationReqSSOProvider) MarshalJSON ¶
func (s UpdateOrganizationReqSSOProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (UpdateOrganizationReqSSOProvider) MarshalText ¶
func (s UpdateOrganizationReqSSOProvider) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*UpdateOrganizationReqSSOProvider) UnmarshalJSON ¶
func (s *UpdateOrganizationReqSSOProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateOrganizationReqSSOProvider) UnmarshalText ¶
func (s *UpdateOrganizationReqSSOProvider) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (UpdateOrganizationReqSSOProvider) Validate ¶
func (s UpdateOrganizationReqSSOProvider) Validate() error
type UpdateOrganizationRes ¶
type UpdateOrganizationRes interface {
// contains filtered or unexported methods
}
type UpdateOrganizationUnauthorized ¶
type UpdateOrganizationUnauthorized Error
func (*UpdateOrganizationUnauthorized) Decode ¶
func (s *UpdateOrganizationUnauthorized) Decode(d *jx.Decoder) error
Decode decodes UpdateOrganizationUnauthorized from json.
func (*UpdateOrganizationUnauthorized) Encode ¶
func (s *UpdateOrganizationUnauthorized) Encode(e *jx.Encoder)
Encode encodes UpdateOrganizationUnauthorized as json.
func (*UpdateOrganizationUnauthorized) MarshalJSON ¶
func (s *UpdateOrganizationUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrganizationUnauthorized) UnmarshalJSON ¶
func (s *UpdateOrganizationUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateProjectBadRequest ¶
type UpdateProjectBadRequest Error
func (*UpdateProjectBadRequest) Decode ¶
func (s *UpdateProjectBadRequest) Decode(d *jx.Decoder) error
Decode decodes UpdateProjectBadRequest from json.
func (*UpdateProjectBadRequest) Encode ¶
func (s *UpdateProjectBadRequest) Encode(e *jx.Encoder)
Encode encodes UpdateProjectBadRequest as json.
func (*UpdateProjectBadRequest) MarshalJSON ¶
func (s *UpdateProjectBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateProjectBadRequest) UnmarshalJSON ¶
func (s *UpdateProjectBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateProjectForbidden ¶
type UpdateProjectForbidden Error
func (*UpdateProjectForbidden) Decode ¶
func (s *UpdateProjectForbidden) Decode(d *jx.Decoder) error
Decode decodes UpdateProjectForbidden from json.
func (*UpdateProjectForbidden) Encode ¶
func (s *UpdateProjectForbidden) Encode(e *jx.Encoder)
Encode encodes UpdateProjectForbidden as json.
func (*UpdateProjectForbidden) MarshalJSON ¶
func (s *UpdateProjectForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateProjectForbidden) UnmarshalJSON ¶
func (s *UpdateProjectForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateProjectNotFound ¶
type UpdateProjectNotFound Error
func (*UpdateProjectNotFound) Decode ¶
func (s *UpdateProjectNotFound) Decode(d *jx.Decoder) error
Decode decodes UpdateProjectNotFound from json.
func (*UpdateProjectNotFound) Encode ¶
func (s *UpdateProjectNotFound) Encode(e *jx.Encoder)
Encode encodes UpdateProjectNotFound as json.
func (*UpdateProjectNotFound) MarshalJSON ¶
func (s *UpdateProjectNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateProjectNotFound) UnmarshalJSON ¶
func (s *UpdateProjectNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateProjectParams ¶
type UpdateProjectParams struct { // The handle of the project's account. AccountHandle string // The handle of the project to update. ProjectHandle string }
UpdateProjectParams is parameters of updateProject operation.
type UpdateProjectReq ¶
type UpdateProjectReq struct { // The default branch for the project. DefaultBranch OptString `json:"default_branch"` // The repository URL for the project. RepositoryURL OptString `json:"repository_url"` }
func (*UpdateProjectReq) Decode ¶
func (s *UpdateProjectReq) Decode(d *jx.Decoder) error
Decode decodes UpdateProjectReq from json.
func (*UpdateProjectReq) Encode ¶
func (s *UpdateProjectReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateProjectReq) GetDefaultBranch ¶
func (s *UpdateProjectReq) GetDefaultBranch() OptString
GetDefaultBranch returns the value of DefaultBranch.
func (*UpdateProjectReq) GetRepositoryURL ¶
func (s *UpdateProjectReq) GetRepositoryURL() OptString
GetRepositoryURL returns the value of RepositoryURL.
func (*UpdateProjectReq) MarshalJSON ¶
func (s *UpdateProjectReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateProjectReq) SetDefaultBranch ¶
func (s *UpdateProjectReq) SetDefaultBranch(val OptString)
SetDefaultBranch sets the value of DefaultBranch.
func (*UpdateProjectReq) SetRepositoryURL ¶
func (s *UpdateProjectReq) SetRepositoryURL(val OptString)
SetRepositoryURL sets the value of RepositoryURL.
func (*UpdateProjectReq) UnmarshalJSON ¶
func (s *UpdateProjectReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateProjectRes ¶
type UpdateProjectRes interface {
// contains filtered or unexported methods
}
type UpdateProjectUnauthorized ¶
type UpdateProjectUnauthorized Error
func (*UpdateProjectUnauthorized) Decode ¶
func (s *UpdateProjectUnauthorized) Decode(d *jx.Decoder) error
Decode decodes UpdateProjectUnauthorized from json.
func (*UpdateProjectUnauthorized) Encode ¶
func (s *UpdateProjectUnauthorized) Encode(e *jx.Encoder)
Encode encodes UpdateProjectUnauthorized as json.
func (*UpdateProjectUnauthorized) MarshalJSON ¶
func (s *UpdateProjectUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateProjectUnauthorized) UnmarshalJSON ¶
func (s *UpdateProjectUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UploadCacheActionItemBadRequest ¶
type UploadCacheActionItemBadRequest Error
func (*UploadCacheActionItemBadRequest) Decode ¶
func (s *UploadCacheActionItemBadRequest) Decode(d *jx.Decoder) error
Decode decodes UploadCacheActionItemBadRequest from json.
func (*UploadCacheActionItemBadRequest) Encode ¶
func (s *UploadCacheActionItemBadRequest) Encode(e *jx.Encoder)
Encode encodes UploadCacheActionItemBadRequest as json.
func (*UploadCacheActionItemBadRequest) MarshalJSON ¶
func (s *UploadCacheActionItemBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UploadCacheActionItemBadRequest) UnmarshalJSON ¶
func (s *UploadCacheActionItemBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UploadCacheActionItemCreated ¶
type UploadCacheActionItemCreated CacheActionItem
func (*UploadCacheActionItemCreated) Decode ¶
func (s *UploadCacheActionItemCreated) Decode(d *jx.Decoder) error
Decode decodes UploadCacheActionItemCreated from json.
func (*UploadCacheActionItemCreated) Encode ¶
func (s *UploadCacheActionItemCreated) Encode(e *jx.Encoder)
Encode encodes UploadCacheActionItemCreated as json.
func (*UploadCacheActionItemCreated) MarshalJSON ¶
func (s *UploadCacheActionItemCreated) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UploadCacheActionItemCreated) UnmarshalJSON ¶
func (s *UploadCacheActionItemCreated) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UploadCacheActionItemForbidden ¶
type UploadCacheActionItemForbidden Error
func (*UploadCacheActionItemForbidden) Decode ¶
func (s *UploadCacheActionItemForbidden) Decode(d *jx.Decoder) error
Decode decodes UploadCacheActionItemForbidden from json.
func (*UploadCacheActionItemForbidden) Encode ¶
func (s *UploadCacheActionItemForbidden) Encode(e *jx.Encoder)
Encode encodes UploadCacheActionItemForbidden as json.
func (*UploadCacheActionItemForbidden) MarshalJSON ¶
func (s *UploadCacheActionItemForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UploadCacheActionItemForbidden) UnmarshalJSON ¶
func (s *UploadCacheActionItemForbidden) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UploadCacheActionItemNotFound ¶
type UploadCacheActionItemNotFound Error
func (*UploadCacheActionItemNotFound) Decode ¶
func (s *UploadCacheActionItemNotFound) Decode(d *jx.Decoder) error
Decode decodes UploadCacheActionItemNotFound from json.
func (*UploadCacheActionItemNotFound) Encode ¶
func (s *UploadCacheActionItemNotFound) Encode(e *jx.Encoder)
Encode encodes UploadCacheActionItemNotFound as json.
func (*UploadCacheActionItemNotFound) MarshalJSON ¶
func (s *UploadCacheActionItemNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UploadCacheActionItemNotFound) UnmarshalJSON ¶
func (s *UploadCacheActionItemNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UploadCacheActionItemOK ¶
type UploadCacheActionItemOK CacheActionItem
func (*UploadCacheActionItemOK) Decode ¶
func (s *UploadCacheActionItemOK) Decode(d *jx.Decoder) error
Decode decodes UploadCacheActionItemOK from json.
func (*UploadCacheActionItemOK) Encode ¶
func (s *UploadCacheActionItemOK) Encode(e *jx.Encoder)
Encode encodes UploadCacheActionItemOK as json.
func (*UploadCacheActionItemOK) MarshalJSON ¶
func (s *UploadCacheActionItemOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UploadCacheActionItemOK) UnmarshalJSON ¶
func (s *UploadCacheActionItemOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UploadCacheActionItemParams ¶
type UploadCacheActionItemParams struct { // The name of the account that the project belongs to. AccountHandle string // The name of the project to clean cache for. ProjectHandle string }
UploadCacheActionItemParams is parameters of uploadCacheActionItem operation.
type UploadCacheActionItemPaymentRequired ¶
type UploadCacheActionItemPaymentRequired Error
func (*UploadCacheActionItemPaymentRequired) Decode ¶
func (s *UploadCacheActionItemPaymentRequired) Decode(d *jx.Decoder) error
Decode decodes UploadCacheActionItemPaymentRequired from json.
func (*UploadCacheActionItemPaymentRequired) Encode ¶
func (s *UploadCacheActionItemPaymentRequired) Encode(e *jx.Encoder)
Encode encodes UploadCacheActionItemPaymentRequired as json.
func (*UploadCacheActionItemPaymentRequired) MarshalJSON ¶
func (s *UploadCacheActionItemPaymentRequired) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UploadCacheActionItemPaymentRequired) UnmarshalJSON ¶
func (s *UploadCacheActionItemPaymentRequired) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UploadCacheActionItemReq ¶
type UploadCacheActionItemReq struct { // The hash of the cache action item. Hash OptString `json:"hash"` }
func (*UploadCacheActionItemReq) Decode ¶
func (s *UploadCacheActionItemReq) Decode(d *jx.Decoder) error
Decode decodes UploadCacheActionItemReq from json.
func (*UploadCacheActionItemReq) Encode ¶
func (s *UploadCacheActionItemReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UploadCacheActionItemReq) GetHash ¶
func (s *UploadCacheActionItemReq) GetHash() OptString
GetHash returns the value of Hash.
func (*UploadCacheActionItemReq) MarshalJSON ¶
func (s *UploadCacheActionItemReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UploadCacheActionItemReq) SetHash ¶
func (s *UploadCacheActionItemReq) SetHash(val OptString)
SetHash sets the value of Hash.
func (*UploadCacheActionItemReq) UnmarshalJSON ¶
func (s *UploadCacheActionItemReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UploadCacheActionItemRes ¶
type UploadCacheActionItemRes interface {
// contains filtered or unexported methods
}
type UploadCacheActionItemUnauthorized ¶
type UploadCacheActionItemUnauthorized Error
func (*UploadCacheActionItemUnauthorized) Decode ¶
func (s *UploadCacheActionItemUnauthorized) Decode(d *jx.Decoder) error
Decode decodes UploadCacheActionItemUnauthorized from json.
func (*UploadCacheActionItemUnauthorized) Encode ¶
func (s *UploadCacheActionItemUnauthorized) Encode(e *jx.Encoder)
Encode encodes UploadCacheActionItemUnauthorized as json.
func (*UploadCacheActionItemUnauthorized) MarshalJSON ¶
func (s *UploadCacheActionItemUnauthorized) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UploadCacheActionItemUnauthorized) UnmarshalJSON ¶
func (s *UploadCacheActionItemUnauthorized) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type User ¶
type User struct { // The user's email. Email string `json:"email"` // The user's unique identifier. ID float64 `json:"id"` // The user's name. Name string `json:"name"` }
A user. Ref: #/components/schemas/User
func (*User) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*User) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
Source Files ¶
- oas_cfg_gen.go
- oas_client_gen.go
- oas_defaults_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_labeler_gen.go
- oas_middleware_gen.go
- oas_parameters_gen.go
- oas_request_decoders_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_response_encoders_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_security_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_validators_gen.go