Documentation
¶
Overview ¶
Package coreapi is a generated client for the Entire Core API — the control plane that manages identity, orgs, projects, repos, mirrors, and service accounts.
The oas_*.go files are generated by ogen from spec/core.gen.json (the normalised spec produced by spec/normalize.go from the pristine upstream spec/core.openapi.json). Do not edit them by hand. To refresh:
curl -fsSL https://us.console.entire.io/api/v1/openapi.json \
| jq . > internal/coreapi/spec/core.openapi.json
go generate ./internal/coreapi/...
The hand-written authenticated constructor and error helpers live in client.go alongside the generated code.
The trailing `gofmt -s -w .` is load-bearing: ogen emits empty role slices as `[]string{}`, but `lint:gofmt` enforces the simplified form (`gofmt -l -s`), which collapses them to `{}`. Running the simplify pass here keeps a bare `go generate` idempotent and CI-clean instead of leaving churn that lint rejects.
Index ¶
- func APIError(err error) string
- func GetRolesForBearerAuth(operation string) []string
- func GetRolesForSessionAuth(operation string) []string
- func StripSecurityWrapping(err error) error
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type AddOrgMemberInputBody
- func (s *AddOrgMemberInputBody) Decode(d *jx.Decoder) error
- func (s *AddOrgMemberInputBody) Encode(e *jx.Encoder)
- func (s *AddOrgMemberInputBody) GetAdditionalProps() AddOrgMemberInputBodyAdditional
- func (s *AddOrgMemberInputBody) GetProvider() string
- func (s *AddOrgMemberInputBody) GetProviderUserId() string
- func (s *AddOrgMemberInputBody) GetRole() OptAddOrgMemberInputBodyRole
- func (s *AddOrgMemberInputBody) GetSchema() OptURI
- func (s *AddOrgMemberInputBody) MarshalJSON() ([]byte, error)
- func (s *AddOrgMemberInputBody) SetAdditionalProps(val AddOrgMemberInputBodyAdditional)
- func (s *AddOrgMemberInputBody) SetProvider(val string)
- func (s *AddOrgMemberInputBody) SetProviderUserId(val string)
- func (s *AddOrgMemberInputBody) SetRole(val OptAddOrgMemberInputBodyRole)
- func (s *AddOrgMemberInputBody) SetSchema(val OptURI)
- func (s *AddOrgMemberInputBody) UnmarshalJSON(data []byte) error
- func (s *AddOrgMemberInputBody) Validate() error
- type AddOrgMemberInputBodyAdditional
- type AddOrgMemberInputBodyRole
- func (AddOrgMemberInputBodyRole) AllValues() []AddOrgMemberInputBodyRole
- func (s *AddOrgMemberInputBodyRole) Decode(d *jx.Decoder) error
- func (s AddOrgMemberInputBodyRole) Encode(e *jx.Encoder)
- func (s AddOrgMemberInputBodyRole) MarshalJSON() ([]byte, error)
- func (s AddOrgMemberInputBodyRole) MarshalText() ([]byte, error)
- func (s *AddOrgMemberInputBodyRole) UnmarshalJSON(data []byte) error
- func (s *AddOrgMemberInputBodyRole) UnmarshalText(data []byte) error
- func (s AddOrgMemberInputBodyRole) Validate() error
- type AddOrgMemberParams
- type AuditEvent
- func (s *AuditEvent) Decode(d *jx.Decoder) error
- func (s *AuditEvent) Encode(e *jx.Encoder)
- func (s *AuditEvent) GetActorId() string
- func (s *AuditEvent) GetAdditionalProps() AuditEventAdditional
- func (s *AuditEvent) GetEventType() string
- func (s *AuditEvent) GetID() string
- func (s *AuditEvent) GetIpAddress() OptString
- func (s *AuditEvent) GetMetadata() OptAuditEventMetadata
- func (s *AuditEvent) GetOccurredAt() time.Time
- func (s *AuditEvent) MarshalJSON() ([]byte, error)
- func (s *AuditEvent) SetActorId(val string)
- func (s *AuditEvent) SetAdditionalProps(val AuditEventAdditional)
- func (s *AuditEvent) SetEventType(val string)
- func (s *AuditEvent) SetID(val string)
- func (s *AuditEvent) SetIpAddress(val OptString)
- func (s *AuditEvent) SetMetadata(val OptAuditEventMetadata)
- func (s *AuditEvent) SetOccurredAt(val time.Time)
- func (s *AuditEvent) UnmarshalJSON(data []byte) error
- type AuditEventAdditional
- type AuditEventMetadata
- type AvailableMirror
- func (s *AvailableMirror) Decode(d *jx.Decoder) error
- func (s *AvailableMirror) Encode(e *jx.Encoder)
- func (s *AvailableMirror) GetAccess() AvailableMirrorAccess
- func (s *AvailableMirror) GetAdditionalProps() AvailableMirrorAdditional
- func (s *AvailableMirror) GetIsArchived() OptBool
- func (s *AvailableMirror) GetIsPrivate() OptBool
- func (s *AvailableMirror) GetOwner() string
- func (s *AvailableMirror) GetRepo() string
- func (s *AvailableMirror) GetStatus() AvailableMirrorStatus
- func (s *AvailableMirror) MarshalJSON() ([]byte, error)
- func (s *AvailableMirror) SetAccess(val AvailableMirrorAccess)
- func (s *AvailableMirror) SetAdditionalProps(val AvailableMirrorAdditional)
- func (s *AvailableMirror) SetIsArchived(val OptBool)
- func (s *AvailableMirror) SetIsPrivate(val OptBool)
- func (s *AvailableMirror) SetOwner(val string)
- func (s *AvailableMirror) SetRepo(val string)
- func (s *AvailableMirror) SetStatus(val AvailableMirrorStatus)
- func (s *AvailableMirror) UnmarshalJSON(data []byte) error
- func (s *AvailableMirror) Validate() error
- type AvailableMirrorAccess
- func (AvailableMirrorAccess) AllValues() []AvailableMirrorAccess
- func (s *AvailableMirrorAccess) Decode(d *jx.Decoder) error
- func (s AvailableMirrorAccess) Encode(e *jx.Encoder)
- func (s AvailableMirrorAccess) MarshalJSON() ([]byte, error)
- func (s AvailableMirrorAccess) MarshalText() ([]byte, error)
- func (s *AvailableMirrorAccess) UnmarshalJSON(data []byte) error
- func (s *AvailableMirrorAccess) UnmarshalText(data []byte) error
- func (s AvailableMirrorAccess) Validate() error
- type AvailableMirrorAdditional
- type AvailableMirrorStatus
- func (AvailableMirrorStatus) AllValues() []AvailableMirrorStatus
- func (s *AvailableMirrorStatus) Decode(d *jx.Decoder) error
- func (s AvailableMirrorStatus) Encode(e *jx.Encoder)
- func (s AvailableMirrorStatus) MarshalJSON() ([]byte, error)
- func (s AvailableMirrorStatus) MarshalText() ([]byte, error)
- func (s *AvailableMirrorStatus) UnmarshalJSON(data []byte) error
- func (s *AvailableMirrorStatus) UnmarshalText(data []byte) error
- func (s AvailableMirrorStatus) Validate() error
- type BatchLookupInputBody
- func (s *BatchLookupInputBody) Decode(d *jx.Decoder) error
- func (s *BatchLookupInputBody) Encode(e *jx.Encoder)
- func (s *BatchLookupInputBody) GetAdditionalProps() BatchLookupInputBodyAdditional
- func (s *BatchLookupInputBody) GetRefs() []LookupRef
- func (s *BatchLookupInputBody) GetSchema() OptURI
- func (s *BatchLookupInputBody) MarshalJSON() ([]byte, error)
- func (s *BatchLookupInputBody) SetAdditionalProps(val BatchLookupInputBodyAdditional)
- func (s *BatchLookupInputBody) SetRefs(val []LookupRef)
- func (s *BatchLookupInputBody) SetSchema(val OptURI)
- func (s *BatchLookupInputBody) UnmarshalJSON(data []byte) error
- func (s *BatchLookupInputBody) Validate() error
- type BatchLookupInputBodyAdditional
- type BatchLookupOutputBody
- func (s *BatchLookupOutputBody) Decode(d *jx.Decoder) error
- func (s *BatchLookupOutputBody) Encode(e *jx.Encoder)
- func (s *BatchLookupOutputBody) GetAdditionalProps() BatchLookupOutputBodyAdditional
- func (s *BatchLookupOutputBody) GetRefs() []LookupRefResult
- func (s *BatchLookupOutputBody) GetSchema() OptURI
- func (s *BatchLookupOutputBody) MarshalJSON() ([]byte, error)
- func (s *BatchLookupOutputBody) SetAdditionalProps(val BatchLookupOutputBodyAdditional)
- func (s *BatchLookupOutputBody) SetRefs(val []LookupRefResult)
- func (s *BatchLookupOutputBody) SetSchema(val OptURI)
- func (s *BatchLookupOutputBody) UnmarshalJSON(data []byte) error
- func (s *BatchLookupOutputBody) Validate() error
- type BatchLookupOutputBodyAdditional
- type BearerAuth
- type Binding
- func (s *Binding) Decode(d *jx.Decoder) error
- func (s *Binding) Encode(e *jx.Encoder)
- func (s *Binding) GetAccountId() string
- func (s *Binding) GetAdditionalProps() BindingAdditional
- func (s *Binding) GetAttributeFilter() jx.Raw
- func (s *Binding) GetCreatedAt() time.Time
- func (s *Binding) GetID() string
- func (s *Binding) GetProviderId() string
- func (s *Binding) GetSchema() OptURI
- func (s *Binding) MarshalJSON() ([]byte, error)
- func (s *Binding) SetAccountId(val string)
- func (s *Binding) SetAdditionalProps(val BindingAdditional)
- func (s *Binding) SetAttributeFilter(val jx.Raw)
- func (s *Binding) SetCreatedAt(val time.Time)
- func (s *Binding) SetID(val string)
- func (s *Binding) SetProviderId(val string)
- func (s *Binding) SetSchema(val OptURI)
- func (s *Binding) UnmarshalJSON(data []byte) error
- type BindingAdditional
- type CIWebhookView
- func (s *CIWebhookView) Decode(d *jx.Decoder) error
- func (s *CIWebhookView) Encode(e *jx.Encoder)
- func (s *CIWebhookView) GetAdditionalProps() CIWebhookViewAdditional
- func (s *CIWebhookView) GetBkOrganization() string
- func (s *CIWebhookView) GetBkPipeline() string
- func (s *CIWebhookView) GetCreatedAt() time.Time
- func (s *CIWebhookView) GetDisplayName() string
- func (s *CIWebhookView) GetEnabled() bool
- func (s *CIWebhookView) GetEvents() []string
- func (s *CIWebhookView) GetID() string
- func (s *CIWebhookView) GetProvider() string
- func (s *CIWebhookView) GetRefFilter() string
- func (s *CIWebhookView) GetRepoID() string
- func (s *CIWebhookView) GetSchema() OptURI
- func (s *CIWebhookView) GetUpdatedAt() time.Time
- func (s *CIWebhookView) MarshalJSON() ([]byte, error)
- func (s *CIWebhookView) SetAdditionalProps(val CIWebhookViewAdditional)
- func (s *CIWebhookView) SetBkOrganization(val string)
- func (s *CIWebhookView) SetBkPipeline(val string)
- func (s *CIWebhookView) SetCreatedAt(val time.Time)
- func (s *CIWebhookView) SetDisplayName(val string)
- func (s *CIWebhookView) SetEnabled(val bool)
- func (s *CIWebhookView) SetEvents(val []string)
- func (s *CIWebhookView) SetID(val string)
- func (s *CIWebhookView) SetProvider(val string)
- func (s *CIWebhookView) SetRefFilter(val string)
- func (s *CIWebhookView) SetRepoID(val string)
- func (s *CIWebhookView) SetSchema(val OptURI)
- func (s *CIWebhookView) SetUpdatedAt(val time.Time)
- func (s *CIWebhookView) UnmarshalJSON(data []byte) error
- func (s *CIWebhookView) Validate() error
- type CIWebhookViewAdditional
- type CancelDeletionOK
- type Client
- func (c *Client) AddOrgMember(ctx context.Context, request *AddOrgMemberInputBody, params AddOrgMemberParams) (*Membership, error)
- func (c *Client) BatchLookup(ctx context.Context, request *BatchLookupInputBody) (*BatchLookupOutputBody, error)
- func (c *Client) CancelDeletion(ctx context.Context) error
- func (c *Client) CompleteOnboarding(ctx context.Context) (*CompleteOnboardingOutputBody, error)
- func (c *Client) CoreOrigin() string
- func (c *Client) CreateBinding(ctx context.Context, request *CreateBindingInputBody, ...) (*Binding, error)
- func (c *Client) CreateMirror(ctx context.Context, request *CreateMirrorInputBody) (*CreatedMirror, error)
- func (c *Client) CreateOrg(ctx context.Context, request *CreateOrgInputBody) (*Org, error)
- func (c *Client) CreateProject(ctx context.Context, request *CreateProjectInputBody) (*Project, error)
- func (c *Client) CreateRepo(ctx context.Context, request *CreateRepoInputBody) (*Repo, error)
- func (c *Client) CreateRepoCIWebhook(ctx context.Context, request *CreateRepoCIWebhookInputBody, ...) (*CIWebhookView, error)
- func (c *Client) CreateServiceAccount(ctx context.Context, request *CreateServiceAccountInputBody) (*ServiceAccount, error)
- func (c *Client) DeleteBinding(ctx context.Context, params DeleteBindingParams) error
- func (c *Client) DeleteMe(ctx context.Context) error
- func (c *Client) DeleteMirror(ctx context.Context, params DeleteMirrorParams) error
- func (c *Client) DeleteOrg(ctx context.Context, params DeleteOrgParams) error
- func (c *Client) DeleteProject(ctx context.Context, params DeleteProjectParams) error
- func (c *Client) DeleteRepo(ctx context.Context, params DeleteRepoParams) error
- func (c *Client) DeleteRepoCIWebhook(ctx context.Context, params DeleteRepoCIWebhookParams) error
- func (c *Client) DeleteServiceAccount(ctx context.Context, params DeleteServiceAccountParams) error
- func (c *Client) GetDeletionPreview(ctx context.Context) (*GetDeletionPreviewOutputBody, error)
- func (c *Client) GetMe(ctx context.Context) (*GetMeOutputBody, error)
- func (c *Client) GetMirror(ctx context.Context, params GetMirrorParams) (*Mirror, error)
- func (c *Client) GetOnboardingStatus(ctx context.Context) (*GetOnboardingStatusOutputBody, error)
- func (c *Client) GetOrg(ctx context.Context, params GetOrgParams) (*Org, error)
- func (c *Client) GetPermissions(ctx context.Context, params GetPermissionsParams) (*GetPermissionsOutputBody, error)
- func (c *Client) GetProject(ctx context.Context, params GetProjectParams) (*Project, error)
- func (c *Client) GetRepo(ctx context.Context, params GetRepoParams) (*Repo, error)
- func (c *Client) GetRepoVisibility(ctx context.Context, params GetRepoVisibilityParams) (*GetRepoVisibilityOutputBody, error)
- func (c *Client) GetServiceAccount(ctx context.Context, params GetServiceAccountParams) (*ServiceAccount, error)
- func (c *Client) GetTopology(ctx context.Context) (*GetTopologyOutputBody, error)
- func (c *Client) GetVersion(ctx context.Context) (*GetVersionOutputBody, error)
- func (c *Client) GrantProjectAccess(ctx context.Context, request *GrantProjectAccessInputBody, ...) (*GrantProjectAccessOutputBody, error)
- func (c *Client) GrantRepoAccess(ctx context.Context, request *GrantRepoAccessInputBody, ...) (*GrantRepoAccessOutputBody, error)
- func (c *Client) GrantServiceAccountAccess(ctx context.Context, request *GrantServiceAccountAccessInputBody, ...) (*GrantServiceAccountAccessOutputBody, error)
- func (c *Client) ListAuditEvents(ctx context.Context, params ListAuditEventsParams) (*ListAuditEventsOutputBody, error)
- func (c *Client) ListAvailableMirrors(ctx context.Context, params ListAvailableMirrorsParams) (*ListAvailableMirrorsOutputBody, error)
- func (c *Client) ListBindings(ctx context.Context, params ListBindingsParams) (*ListBindingsOutputBody, error)
- func (c *Client) ListClusters(ctx context.Context) (*ListClustersOutputBody, error)
- func (c *Client) ListMirrorCollaborators(ctx context.Context, params ListMirrorCollaboratorsParams) (*ListMirrorCollaboratorsOutputBody, error)
- func (c *Client) ListMirrors(ctx context.Context, params ListMirrorsParams) (*ListMirrorsOutputBody, error)
- func (c *Client) ListOIDCProviders(ctx context.Context, params ListOIDCProvidersParams) (*ListOIDCProvidersOutputBody, error)
- func (c *Client) ListOrgMembers(ctx context.Context, params ListOrgMembersParams) (*ListOrgMembersOutputBody, error)
- func (c *Client) ListOrgProjects(ctx context.Context, params ListOrgProjectsParams) (*ListOrgProjectsOutputBody, error)
- func (c *Client) ListOrgs(ctx context.Context, params ListOrgsParams) (*ListOrgsOutputBodyHeaders, error)
- func (c *Client) ListProjectMembers(ctx context.Context, params ListProjectMembersParams) (*ListProjectMembersOutputBody, error)
- func (c *Client) ListProjectRepos(ctx context.Context, params ListProjectReposParams) (*ListProjectReposOutputBody, error)
- func (c *Client) ListProjects(ctx context.Context, params ListProjectsParams) (*ListProjectsOutputBody, error)
- func (c *Client) ListRepoCIWebhooks(ctx context.Context, params ListRepoCIWebhooksParams) (*ListRepoCIWebhooksOutputBody, error)
- func (c *Client) ListRepoGrants(ctx context.Context, params ListRepoGrantsParams) (*ListRepoGrantsOutputBody, error)
- func (c *Client) ListRepos(ctx context.Context, params ListReposParams) (*ListReposOutputBody, error)
- func (c *Client) ListServiceAccountGrants(ctx context.Context, params ListServiceAccountGrantsParams) (*ListServiceAccountGrantsOutputBody, error)
- func (c *Client) ListServiceAccounts(ctx context.Context, params ListServiceAccountsParams) (*ListServiceAccountsOutputBody, error)
- func (c *Client) LookupRepoBySlug(ctx context.Context, params LookupRepoBySlugParams) (*LookupBySlugOutputBody, error)
- func (c *Client) LookupResources(ctx context.Context, params LookupResourcesParams) (*LookupResourcesOutputBody, error)
- func (c *Client) PatchRepoCIWebhook(ctx context.Context, request *PatchRepoCIWebhookInputBody, ...) (*CIWebhookView, error)
- func (c *Client) RemoveOrgMember(ctx context.Context, params RemoveOrgMemberParams) error
- func (c *Client) ResolveHandle(ctx context.Context, params ResolveHandleParams) (*ResolvedIdentity, error)
- func (c *Client) ResolveMirrorPlacements(ctx context.Context, params ResolveMirrorPlacementsParams) (*ResolvePlacementsOutputBody, error)
- func (c *Client) RevokeProjectAccess(ctx context.Context, params RevokeProjectAccessParams) error
- func (c *Client) RevokeProjectAccessByProvider(ctx context.Context, params RevokeProjectAccessByProviderParams) error
- func (c *Client) RevokeRepoAccess(ctx context.Context, params RevokeRepoAccessParams) error
- func (c *Client) RevokeRepoAccessByProvider(ctx context.Context, params RevokeRepoAccessByProviderParams) error
- func (c *Client) RevokeServiceAccountAccess(ctx context.Context, params RevokeServiceAccountAccessParams) error
- func (c *Client) SetRepoVisibility(ctx context.Context, request *SetRepoVisibilityInputBody, ...) (*SetRepoVisibilityOutputBody, error)
- type ClientOption
- type Cluster
- func (s *Cluster) Decode(d *jx.Decoder) error
- func (s *Cluster) Encode(e *jx.Encoder)
- func (s *Cluster) GetAdditionalProps() ClusterAdditional
- func (s *Cluster) GetApiUrl() OptString
- func (s *Cluster) GetIsDefault() bool
- func (s *Cluster) GetJurisdiction() string
- func (s *Cluster) GetPublicUrl() string
- func (s *Cluster) GetSlug() string
- func (s *Cluster) MarshalJSON() ([]byte, error)
- func (s *Cluster) SetAdditionalProps(val ClusterAdditional)
- func (s *Cluster) SetApiUrl(val OptString)
- func (s *Cluster) SetIsDefault(val bool)
- func (s *Cluster) SetJurisdiction(val string)
- func (s *Cluster) SetPublicUrl(val string)
- func (s *Cluster) SetSlug(val string)
- func (s *Cluster) UnmarshalJSON(data []byte) error
- type ClusterAdditional
- type CompleteOnboardingOutputBody
- func (s *CompleteOnboardingOutputBody) Decode(d *jx.Decoder) error
- func (s *CompleteOnboardingOutputBody) Encode(e *jx.Encoder)
- func (s *CompleteOnboardingOutputBody) GetAdditionalProps() CompleteOnboardingOutputBodyAdditional
- func (s *CompleteOnboardingOutputBody) GetNeedsOnboarding() bool
- func (s *CompleteOnboardingOutputBody) GetSchema() OptURI
- func (s *CompleteOnboardingOutputBody) MarshalJSON() ([]byte, error)
- func (s *CompleteOnboardingOutputBody) SetAdditionalProps(val CompleteOnboardingOutputBodyAdditional)
- func (s *CompleteOnboardingOutputBody) SetNeedsOnboarding(val bool)
- func (s *CompleteOnboardingOutputBody) SetSchema(val OptURI)
- func (s *CompleteOnboardingOutputBody) UnmarshalJSON(data []byte) error
- type CompleteOnboardingOutputBodyAdditional
- func (s *CompleteOnboardingOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s CompleteOnboardingOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s CompleteOnboardingOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *CompleteOnboardingOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type CreateBindingInputBody
- func (s *CreateBindingInputBody) Decode(d *jx.Decoder) error
- func (s *CreateBindingInputBody) Encode(e *jx.Encoder)
- func (s *CreateBindingInputBody) GetAdditionalProps() CreateBindingInputBodyAdditional
- func (s *CreateBindingInputBody) GetAttributeFilter() jx.Raw
- func (s *CreateBindingInputBody) GetProviderId() string
- func (s *CreateBindingInputBody) GetSchema() OptURI
- func (s *CreateBindingInputBody) MarshalJSON() ([]byte, error)
- func (s *CreateBindingInputBody) SetAdditionalProps(val CreateBindingInputBodyAdditional)
- func (s *CreateBindingInputBody) SetAttributeFilter(val jx.Raw)
- func (s *CreateBindingInputBody) SetProviderId(val string)
- func (s *CreateBindingInputBody) SetSchema(val OptURI)
- func (s *CreateBindingInputBody) UnmarshalJSON(data []byte) error
- func (s *CreateBindingInputBody) Validate() error
- type CreateBindingInputBodyAdditional
- type CreateBindingParams
- type CreateMirrorInputBody
- func (s *CreateMirrorInputBody) Decode(d *jx.Decoder) error
- func (s *CreateMirrorInputBody) Encode(e *jx.Encoder)
- func (s *CreateMirrorInputBody) GetAdditionalProps() CreateMirrorInputBodyAdditional
- func (s *CreateMirrorInputBody) GetClusterHost() string
- func (s *CreateMirrorInputBody) GetOwner() string
- func (s *CreateMirrorInputBody) GetProvider() CreateMirrorInputBodyProvider
- func (s *CreateMirrorInputBody) GetRepo() string
- func (s *CreateMirrorInputBody) GetSchema() OptURI
- func (s *CreateMirrorInputBody) MarshalJSON() ([]byte, error)
- func (s *CreateMirrorInputBody) SetAdditionalProps(val CreateMirrorInputBodyAdditional)
- func (s *CreateMirrorInputBody) SetClusterHost(val string)
- func (s *CreateMirrorInputBody) SetOwner(val string)
- func (s *CreateMirrorInputBody) SetProvider(val CreateMirrorInputBodyProvider)
- func (s *CreateMirrorInputBody) SetRepo(val string)
- func (s *CreateMirrorInputBody) SetSchema(val OptURI)
- func (s *CreateMirrorInputBody) UnmarshalJSON(data []byte) error
- func (s *CreateMirrorInputBody) Validate() error
- type CreateMirrorInputBodyAdditional
- type CreateMirrorInputBodyProvider
- func (CreateMirrorInputBodyProvider) AllValues() []CreateMirrorInputBodyProvider
- func (s *CreateMirrorInputBodyProvider) Decode(d *jx.Decoder) error
- func (s CreateMirrorInputBodyProvider) Encode(e *jx.Encoder)
- func (s CreateMirrorInputBodyProvider) MarshalJSON() ([]byte, error)
- func (s CreateMirrorInputBodyProvider) MarshalText() ([]byte, error)
- func (s *CreateMirrorInputBodyProvider) UnmarshalJSON(data []byte) error
- func (s *CreateMirrorInputBodyProvider) UnmarshalText(data []byte) error
- func (s CreateMirrorInputBodyProvider) Validate() error
- type CreateOrgInputBody
- func (s *CreateOrgInputBody) Decode(d *jx.Decoder) error
- func (s *CreateOrgInputBody) Encode(e *jx.Encoder)
- func (s *CreateOrgInputBody) GetAdditionalProps() CreateOrgInputBodyAdditional
- func (s *CreateOrgInputBody) GetName() string
- func (s *CreateOrgInputBody) GetRegion() OptString
- func (s *CreateOrgInputBody) GetSchema() OptURI
- func (s *CreateOrgInputBody) MarshalJSON() ([]byte, error)
- func (s *CreateOrgInputBody) SetAdditionalProps(val CreateOrgInputBodyAdditional)
- func (s *CreateOrgInputBody) SetName(val string)
- func (s *CreateOrgInputBody) SetRegion(val OptString)
- func (s *CreateOrgInputBody) SetSchema(val OptURI)
- func (s *CreateOrgInputBody) UnmarshalJSON(data []byte) error
- func (s *CreateOrgInputBody) Validate() error
- type CreateOrgInputBodyAdditional
- type CreateProjectInputBody
- func (s *CreateProjectInputBody) Decode(d *jx.Decoder) error
- func (s *CreateProjectInputBody) Encode(e *jx.Encoder)
- func (s *CreateProjectInputBody) GetAdditionalProps() CreateProjectInputBodyAdditional
- func (s *CreateProjectInputBody) GetName() string
- func (s *CreateProjectInputBody) GetOwnerId() string
- func (s *CreateProjectInputBody) GetOwnerType() CreateProjectInputBodyOwnerType
- func (s *CreateProjectInputBody) GetRegion() OptString
- func (s *CreateProjectInputBody) GetSchema() OptURI
- func (s *CreateProjectInputBody) MarshalJSON() ([]byte, error)
- func (s *CreateProjectInputBody) SetAdditionalProps(val CreateProjectInputBodyAdditional)
- func (s *CreateProjectInputBody) SetName(val string)
- func (s *CreateProjectInputBody) SetOwnerId(val string)
- func (s *CreateProjectInputBody) SetOwnerType(val CreateProjectInputBodyOwnerType)
- func (s *CreateProjectInputBody) SetRegion(val OptString)
- func (s *CreateProjectInputBody) SetSchema(val OptURI)
- func (s *CreateProjectInputBody) UnmarshalJSON(data []byte) error
- func (s *CreateProjectInputBody) Validate() error
- type CreateProjectInputBodyAdditional
- type CreateProjectInputBodyOwnerType
- func (CreateProjectInputBodyOwnerType) AllValues() []CreateProjectInputBodyOwnerType
- func (s *CreateProjectInputBodyOwnerType) Decode(d *jx.Decoder) error
- func (s CreateProjectInputBodyOwnerType) Encode(e *jx.Encoder)
- func (s CreateProjectInputBodyOwnerType) MarshalJSON() ([]byte, error)
- func (s CreateProjectInputBodyOwnerType) MarshalText() ([]byte, error)
- func (s *CreateProjectInputBodyOwnerType) UnmarshalJSON(data []byte) error
- func (s *CreateProjectInputBodyOwnerType) UnmarshalText(data []byte) error
- func (s CreateProjectInputBodyOwnerType) Validate() error
- type CreateRepoCIWebhookInputBody
- func (s *CreateRepoCIWebhookInputBody) Decode(d *jx.Decoder) error
- func (s *CreateRepoCIWebhookInputBody) Encode(e *jx.Encoder)
- func (s *CreateRepoCIWebhookInputBody) GetAdditionalProps() CreateRepoCIWebhookInputBodyAdditional
- func (s *CreateRepoCIWebhookInputBody) GetBkClusterID() string
- func (s *CreateRepoCIWebhookInputBody) GetBkOrganization() string
- func (s *CreateRepoCIWebhookInputBody) GetBkPipeline() OptString
- func (s *CreateRepoCIWebhookInputBody) GetDisplayName() OptString
- func (s *CreateRepoCIWebhookInputBody) GetEvents() []string
- func (s *CreateRepoCIWebhookInputBody) GetProvider() CreateRepoCIWebhookInputBodyProvider
- func (s *CreateRepoCIWebhookInputBody) GetRefFilter() OptString
- func (s *CreateRepoCIWebhookInputBody) GetSchema() OptURI
- func (s *CreateRepoCIWebhookInputBody) MarshalJSON() ([]byte, error)
- func (s *CreateRepoCIWebhookInputBody) SetAdditionalProps(val CreateRepoCIWebhookInputBodyAdditional)
- func (s *CreateRepoCIWebhookInputBody) SetBkClusterID(val string)
- func (s *CreateRepoCIWebhookInputBody) SetBkOrganization(val string)
- func (s *CreateRepoCIWebhookInputBody) SetBkPipeline(val OptString)
- func (s *CreateRepoCIWebhookInputBody) SetDisplayName(val OptString)
- func (s *CreateRepoCIWebhookInputBody) SetEvents(val []string)
- func (s *CreateRepoCIWebhookInputBody) SetProvider(val CreateRepoCIWebhookInputBodyProvider)
- func (s *CreateRepoCIWebhookInputBody) SetRefFilter(val OptString)
- func (s *CreateRepoCIWebhookInputBody) SetSchema(val OptURI)
- func (s *CreateRepoCIWebhookInputBody) UnmarshalJSON(data []byte) error
- func (s *CreateRepoCIWebhookInputBody) Validate() error
- type CreateRepoCIWebhookInputBodyAdditional
- func (s *CreateRepoCIWebhookInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s CreateRepoCIWebhookInputBodyAdditional) Encode(e *jx.Encoder)
- func (s CreateRepoCIWebhookInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *CreateRepoCIWebhookInputBodyAdditional) UnmarshalJSON(data []byte) error
- type CreateRepoCIWebhookInputBodyProvider
- func (CreateRepoCIWebhookInputBodyProvider) AllValues() []CreateRepoCIWebhookInputBodyProvider
- func (s *CreateRepoCIWebhookInputBodyProvider) Decode(d *jx.Decoder) error
- func (s CreateRepoCIWebhookInputBodyProvider) Encode(e *jx.Encoder)
- func (s CreateRepoCIWebhookInputBodyProvider) MarshalJSON() ([]byte, error)
- func (s CreateRepoCIWebhookInputBodyProvider) MarshalText() ([]byte, error)
- func (s *CreateRepoCIWebhookInputBodyProvider) UnmarshalJSON(data []byte) error
- func (s *CreateRepoCIWebhookInputBodyProvider) UnmarshalText(data []byte) error
- func (s CreateRepoCIWebhookInputBodyProvider) Validate() error
- type CreateRepoCIWebhookParams
- type CreateRepoInputBody
- func (s *CreateRepoInputBody) Decode(d *jx.Decoder) error
- func (s *CreateRepoInputBody) Encode(e *jx.Encoder)
- func (s *CreateRepoInputBody) GetAdditionalProps() CreateRepoInputBodyAdditional
- func (s *CreateRepoInputBody) GetClusterHost() OptString
- func (s *CreateRepoInputBody) GetName() string
- func (s *CreateRepoInputBody) GetObjectFormat() OptCreateRepoInputBodyObjectFormat
- func (s *CreateRepoInputBody) GetProjectId() string
- func (s *CreateRepoInputBody) GetSchema() OptURI
- func (s *CreateRepoInputBody) MarshalJSON() ([]byte, error)
- func (s *CreateRepoInputBody) SetAdditionalProps(val CreateRepoInputBodyAdditional)
- func (s *CreateRepoInputBody) SetClusterHost(val OptString)
- func (s *CreateRepoInputBody) SetName(val string)
- func (s *CreateRepoInputBody) SetObjectFormat(val OptCreateRepoInputBodyObjectFormat)
- func (s *CreateRepoInputBody) SetProjectId(val string)
- func (s *CreateRepoInputBody) SetSchema(val OptURI)
- func (s *CreateRepoInputBody) UnmarshalJSON(data []byte) error
- func (s *CreateRepoInputBody) Validate() error
- type CreateRepoInputBodyAdditional
- type CreateRepoInputBodyObjectFormat
- func (CreateRepoInputBodyObjectFormat) AllValues() []CreateRepoInputBodyObjectFormat
- func (s *CreateRepoInputBodyObjectFormat) Decode(d *jx.Decoder) error
- func (s CreateRepoInputBodyObjectFormat) Encode(e *jx.Encoder)
- func (s CreateRepoInputBodyObjectFormat) MarshalJSON() ([]byte, error)
- func (s CreateRepoInputBodyObjectFormat) MarshalText() ([]byte, error)
- func (s *CreateRepoInputBodyObjectFormat) UnmarshalJSON(data []byte) error
- func (s *CreateRepoInputBodyObjectFormat) UnmarshalText(data []byte) error
- func (s CreateRepoInputBodyObjectFormat) Validate() error
- type CreateServiceAccountInputBody
- func (s *CreateServiceAccountInputBody) Decode(d *jx.Decoder) error
- func (s *CreateServiceAccountInputBody) Encode(e *jx.Encoder)
- func (s *CreateServiceAccountInputBody) GetAdditionalProps() CreateServiceAccountInputBodyAdditional
- func (s *CreateServiceAccountInputBody) GetName() string
- func (s *CreateServiceAccountInputBody) GetOrgId() string
- func (s *CreateServiceAccountInputBody) GetSchema() OptURI
- func (s *CreateServiceAccountInputBody) MarshalJSON() ([]byte, error)
- func (s *CreateServiceAccountInputBody) SetAdditionalProps(val CreateServiceAccountInputBodyAdditional)
- func (s *CreateServiceAccountInputBody) SetName(val string)
- func (s *CreateServiceAccountInputBody) SetOrgId(val string)
- func (s *CreateServiceAccountInputBody) SetSchema(val OptURI)
- func (s *CreateServiceAccountInputBody) UnmarshalJSON(data []byte) error
- func (s *CreateServiceAccountInputBody) Validate() error
- type CreateServiceAccountInputBodyAdditional
- func (s *CreateServiceAccountInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s CreateServiceAccountInputBodyAdditional) Encode(e *jx.Encoder)
- func (s CreateServiceAccountInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *CreateServiceAccountInputBodyAdditional) UnmarshalJSON(data []byte) error
- type CreatedMirror
- func (s *CreatedMirror) Decode(d *jx.Decoder) error
- func (s *CreatedMirror) Encode(e *jx.Encoder)
- func (s *CreatedMirror) GetAdditionalProps() CreatedMirrorAdditional
- func (s *CreatedMirror) GetCreated() bool
- func (s *CreatedMirror) GetEmpty() bool
- func (s *CreatedMirror) GetMirrorId() string
- func (s *CreatedMirror) GetMirrorUrl() string
- func (s *CreatedMirror) GetPublicUrl() string
- func (s *CreatedMirror) GetSchema() OptURI
- func (s *CreatedMirror) GetSuspended() bool
- func (s *CreatedMirror) MarshalJSON() ([]byte, error)
- func (s *CreatedMirror) SetAdditionalProps(val CreatedMirrorAdditional)
- func (s *CreatedMirror) SetCreated(val bool)
- func (s *CreatedMirror) SetEmpty(val bool)
- func (s *CreatedMirror) SetMirrorId(val string)
- func (s *CreatedMirror) SetMirrorUrl(val string)
- func (s *CreatedMirror) SetPublicUrl(val string)
- func (s *CreatedMirror) SetSchema(val OptURI)
- func (s *CreatedMirror) SetSuspended(val bool)
- func (s *CreatedMirror) UnmarshalJSON(data []byte) error
- type CreatedMirrorAdditional
- type DeleteBindingNoContent
- type DeleteBindingParams
- type DeleteMeAccepted
- type DeleteMirrorNoContent
- type DeleteMirrorParams
- type DeleteMirrorProvider
- type DeleteOrgNoContent
- type DeleteOrgParams
- type DeleteProjectNoContent
- type DeleteProjectParams
- type DeleteRepoCIWebhookNoContent
- type DeleteRepoCIWebhookParams
- type DeleteRepoNoContent
- type DeleteRepoParams
- type DeleteServiceAccountNoContent
- type DeleteServiceAccountParams
- type DeletionBlocker
- func (s *DeletionBlocker) Decode(d *jx.Decoder) error
- func (s *DeletionBlocker) Encode(e *jx.Encoder)
- func (s *DeletionBlocker) GetAdditionalProps() DeletionBlockerAdditional
- func (s *DeletionBlocker) GetDeletable() bool
- func (s *DeletionBlocker) GetID() string
- func (s *DeletionBlocker) GetKind() DeletionBlockerKind
- func (s *DeletionBlocker) GetMessage() string
- func (s *DeletionBlocker) GetName() string
- func (s *DeletionBlocker) MarshalJSON() ([]byte, error)
- func (s *DeletionBlocker) SetAdditionalProps(val DeletionBlockerAdditional)
- func (s *DeletionBlocker) SetDeletable(val bool)
- func (s *DeletionBlocker) SetID(val string)
- func (s *DeletionBlocker) SetKind(val DeletionBlockerKind)
- func (s *DeletionBlocker) SetMessage(val string)
- func (s *DeletionBlocker) SetName(val string)
- func (s *DeletionBlocker) UnmarshalJSON(data []byte) error
- func (s *DeletionBlocker) Validate() error
- type DeletionBlockerAdditional
- type DeletionBlockerKind
- func (DeletionBlockerKind) AllValues() []DeletionBlockerKind
- func (s *DeletionBlockerKind) Decode(d *jx.Decoder) error
- func (s DeletionBlockerKind) Encode(e *jx.Encoder)
- func (s DeletionBlockerKind) MarshalJSON() ([]byte, error)
- func (s DeletionBlockerKind) MarshalText() ([]byte, error)
- func (s *DeletionBlockerKind) UnmarshalJSON(data []byte) error
- func (s *DeletionBlockerKind) UnmarshalText(data []byte) error
- func (s DeletionBlockerKind) Validate() error
- type DeletionGrant
- func (s *DeletionGrant) Decode(d *jx.Decoder) error
- func (s *DeletionGrant) Encode(e *jx.Encoder)
- func (s *DeletionGrant) GetAdditionalProps() DeletionGrantAdditional
- func (s *DeletionGrant) GetJurisdiction() OptString
- func (s *DeletionGrant) GetResourceId() string
- func (s *DeletionGrant) GetResourceName() string
- func (s *DeletionGrant) GetResourceType() DeletionGrantResourceType
- func (s *DeletionGrant) GetRole() string
- func (s *DeletionGrant) MarshalJSON() ([]byte, error)
- func (s *DeletionGrant) SetAdditionalProps(val DeletionGrantAdditional)
- func (s *DeletionGrant) SetJurisdiction(val OptString)
- func (s *DeletionGrant) SetResourceId(val string)
- func (s *DeletionGrant) SetResourceName(val string)
- func (s *DeletionGrant) SetResourceType(val DeletionGrantResourceType)
- func (s *DeletionGrant) SetRole(val string)
- func (s *DeletionGrant) UnmarshalJSON(data []byte) error
- func (s *DeletionGrant) Validate() error
- type DeletionGrantAdditional
- type DeletionGrantResourceType
- func (DeletionGrantResourceType) AllValues() []DeletionGrantResourceType
- func (s *DeletionGrantResourceType) Decode(d *jx.Decoder) error
- func (s DeletionGrantResourceType) Encode(e *jx.Encoder)
- func (s DeletionGrantResourceType) MarshalJSON() ([]byte, error)
- func (s DeletionGrantResourceType) MarshalText() ([]byte, error)
- func (s *DeletionGrantResourceType) UnmarshalJSON(data []byte) error
- func (s *DeletionGrantResourceType) UnmarshalText(data []byte) error
- func (s DeletionGrantResourceType) Validate() error
- type DeletionMembership
- func (s *DeletionMembership) Decode(d *jx.Decoder) error
- func (s *DeletionMembership) Encode(e *jx.Encoder)
- func (s *DeletionMembership) GetAdditionalProps() DeletionMembershipAdditional
- func (s *DeletionMembership) GetName() string
- func (s *DeletionMembership) GetOrgId() string
- func (s *DeletionMembership) MarshalJSON() ([]byte, error)
- func (s *DeletionMembership) SetAdditionalProps(val DeletionMembershipAdditional)
- func (s *DeletionMembership) SetName(val string)
- func (s *DeletionMembership) SetOrgId(val string)
- func (s *DeletionMembership) UnmarshalJSON(data []byte) error
- type DeletionMembershipAdditional
- type DeletionRepo
- func (s *DeletionRepo) Decode(d *jx.Decoder) error
- func (s *DeletionRepo) Encode(e *jx.Encoder)
- func (s *DeletionRepo) GetAdditionalProps() DeletionRepoAdditional
- func (s *DeletionRepo) GetCluster() OptString
- func (s *DeletionRepo) GetID() string
- func (s *DeletionRepo) GetName() string
- func (s *DeletionRepo) MarshalJSON() ([]byte, error)
- func (s *DeletionRepo) SetAdditionalProps(val DeletionRepoAdditional)
- func (s *DeletionRepo) SetCluster(val OptString)
- func (s *DeletionRepo) SetID(val string)
- func (s *DeletionRepo) SetName(val string)
- func (s *DeletionRepo) UnmarshalJSON(data []byte) error
- type DeletionRepoAdditional
- type ErrorDetail
- func (s *ErrorDetail) Decode(d *jx.Decoder) error
- func (s *ErrorDetail) Encode(e *jx.Encoder)
- func (s *ErrorDetail) GetAdditionalProps() ErrorDetailAdditional
- func (s *ErrorDetail) GetLocation() OptString
- func (s *ErrorDetail) GetMessage() OptString
- func (s *ErrorDetail) GetValue() jx.Raw
- func (s *ErrorDetail) MarshalJSON() ([]byte, error)
- func (s *ErrorDetail) SetAdditionalProps(val ErrorDetailAdditional)
- func (s *ErrorDetail) SetLocation(val OptString)
- func (s *ErrorDetail) SetMessage(val OptString)
- func (s *ErrorDetail) SetValue(val jx.Raw)
- func (s *ErrorDetail) UnmarshalJSON(data []byte) error
- type ErrorDetailAdditional
- type ErrorModel
- func (s *ErrorModel) Decode(d *jx.Decoder) error
- func (s *ErrorModel) Encode(e *jx.Encoder)
- func (s *ErrorModel) GetAdditionalProps() ErrorModelAdditional
- func (s *ErrorModel) GetDetail() OptString
- func (s *ErrorModel) GetErrors() []ErrorDetail
- func (s *ErrorModel) GetInstance() OptURI
- func (s *ErrorModel) GetSchema() OptURI
- func (s *ErrorModel) GetStatus() OptInt64
- func (s *ErrorModel) GetTitle() OptString
- func (s *ErrorModel) GetType() OptURI
- func (s *ErrorModel) MarshalJSON() ([]byte, error)
- func (s *ErrorModel) SetAdditionalProps(val ErrorModelAdditional)
- func (s *ErrorModel) SetDetail(val OptString)
- func (s *ErrorModel) SetErrors(val []ErrorDetail)
- func (s *ErrorModel) SetInstance(val OptURI)
- func (s *ErrorModel) SetSchema(val OptURI)
- func (s *ErrorModel) SetStatus(val OptInt64)
- func (s *ErrorModel) SetTitle(val OptString)
- func (s *ErrorModel) SetType(val OptURI)
- func (s *ErrorModel) UnmarshalJSON(data []byte) error
- type ErrorModelAdditional
- type ErrorModelStatusCode
- type GetDeletionPreviewOutputBody
- func (s *GetDeletionPreviewOutputBody) Decode(d *jx.Decoder) error
- func (s *GetDeletionPreviewOutputBody) Encode(e *jx.Encoder)
- func (s *GetDeletionPreviewOutputBody) GetAdditionalProps() GetDeletionPreviewOutputBodyAdditional
- func (s *GetDeletionPreviewOutputBody) GetBlocked() bool
- func (s *GetDeletionPreviewOutputBody) GetBlockers() []DeletionBlocker
- func (s *GetDeletionPreviewOutputBody) GetSchema() OptURI
- func (s *GetDeletionPreviewOutputBody) GetWillDelete() WillDeleteStruct
- func (s *GetDeletionPreviewOutputBody) GetWillUnlink() WillUnlinkStruct
- func (s *GetDeletionPreviewOutputBody) MarshalJSON() ([]byte, error)
- func (s *GetDeletionPreviewOutputBody) SetAdditionalProps(val GetDeletionPreviewOutputBodyAdditional)
- func (s *GetDeletionPreviewOutputBody) SetBlocked(val bool)
- func (s *GetDeletionPreviewOutputBody) SetBlockers(val []DeletionBlocker)
- func (s *GetDeletionPreviewOutputBody) SetSchema(val OptURI)
- func (s *GetDeletionPreviewOutputBody) SetWillDelete(val WillDeleteStruct)
- func (s *GetDeletionPreviewOutputBody) SetWillUnlink(val WillUnlinkStruct)
- func (s *GetDeletionPreviewOutputBody) UnmarshalJSON(data []byte) error
- func (s *GetDeletionPreviewOutputBody) Validate() error
- type GetDeletionPreviewOutputBodyAdditional
- func (s *GetDeletionPreviewOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s GetDeletionPreviewOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s GetDeletionPreviewOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *GetDeletionPreviewOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type GetMeOutputBody
- func (s *GetMeOutputBody) Decode(d *jx.Decoder) error
- func (s *GetMeOutputBody) Encode(e *jx.Encoder)
- func (s *GetMeOutputBody) GetAdditionalProps() GetMeOutputBodyAdditional
- func (s *GetMeOutputBody) GetAuth() MeAuth
- func (s *GetMeOutputBody) GetDeletion() OptMeDeletion
- func (s *GetMeOutputBody) GetGlobal() MeGlobal
- func (s *GetMeOutputBody) GetJurisdiction() OptString
- func (s *GetMeOutputBody) GetMode() OptGetMeOutputBodyMode
- func (s *GetMeOutputBody) GetRegional() OptMeRegional
- func (s *GetMeOutputBody) GetRegionalUnavailable() OptMeRegionalUnavailable
- func (s *GetMeOutputBody) GetSchema() OptURI
- func (s *GetMeOutputBody) MarshalJSON() ([]byte, error)
- func (s *GetMeOutputBody) SetAdditionalProps(val GetMeOutputBodyAdditional)
- func (s *GetMeOutputBody) SetAuth(val MeAuth)
- func (s *GetMeOutputBody) SetDeletion(val OptMeDeletion)
- func (s *GetMeOutputBody) SetGlobal(val MeGlobal)
- func (s *GetMeOutputBody) SetJurisdiction(val OptString)
- func (s *GetMeOutputBody) SetMode(val OptGetMeOutputBodyMode)
- func (s *GetMeOutputBody) SetRegional(val OptMeRegional)
- func (s *GetMeOutputBody) SetRegionalUnavailable(val OptMeRegionalUnavailable)
- func (s *GetMeOutputBody) SetSchema(val OptURI)
- func (s *GetMeOutputBody) UnmarshalJSON(data []byte) error
- func (s *GetMeOutputBody) Validate() error
- type GetMeOutputBodyAdditional
- type GetMeOutputBodyMode
- func (GetMeOutputBodyMode) AllValues() []GetMeOutputBodyMode
- func (s *GetMeOutputBodyMode) Decode(d *jx.Decoder) error
- func (s GetMeOutputBodyMode) Encode(e *jx.Encoder)
- func (s GetMeOutputBodyMode) MarshalJSON() ([]byte, error)
- func (s GetMeOutputBodyMode) MarshalText() ([]byte, error)
- func (s *GetMeOutputBodyMode) UnmarshalJSON(data []byte) error
- func (s *GetMeOutputBodyMode) UnmarshalText(data []byte) error
- func (s GetMeOutputBodyMode) Validate() error
- type GetMirrorParams
- type GetOnboardingStatusOutputBody
- func (s *GetOnboardingStatusOutputBody) Decode(d *jx.Decoder) error
- func (s *GetOnboardingStatusOutputBody) Encode(e *jx.Encoder)
- func (s *GetOnboardingStatusOutputBody) GetAdditionalProps() GetOnboardingStatusOutputBodyAdditional
- func (s *GetOnboardingStatusOutputBody) GetNeedsOnboarding() bool
- func (s *GetOnboardingStatusOutputBody) GetSchema() OptURI
- func (s *GetOnboardingStatusOutputBody) MarshalJSON() ([]byte, error)
- func (s *GetOnboardingStatusOutputBody) SetAdditionalProps(val GetOnboardingStatusOutputBodyAdditional)
- func (s *GetOnboardingStatusOutputBody) SetNeedsOnboarding(val bool)
- func (s *GetOnboardingStatusOutputBody) SetSchema(val OptURI)
- func (s *GetOnboardingStatusOutputBody) UnmarshalJSON(data []byte) error
- type GetOnboardingStatusOutputBodyAdditional
- func (s *GetOnboardingStatusOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s GetOnboardingStatusOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s GetOnboardingStatusOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *GetOnboardingStatusOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type GetOrgParams
- type GetPermissionsOutputBody
- func (s *GetPermissionsOutputBody) Decode(d *jx.Decoder) error
- func (s *GetPermissionsOutputBody) Encode(e *jx.Encoder)
- func (s *GetPermissionsOutputBody) GetAdditionalProps() GetPermissionsOutputBodyAdditional
- func (s *GetPermissionsOutputBody) GetExplain() OptGetPermissionsOutputBodyExplain
- func (s *GetPermissionsOutputBody) GetPermissions() []string
- func (s *GetPermissionsOutputBody) GetResourceId() string
- func (s *GetPermissionsOutputBody) GetResourceType() string
- func (s *GetPermissionsOutputBody) GetSchema() OptURI
- func (s *GetPermissionsOutputBody) MarshalJSON() ([]byte, error)
- func (s *GetPermissionsOutputBody) SetAdditionalProps(val GetPermissionsOutputBodyAdditional)
- func (s *GetPermissionsOutputBody) SetExplain(val OptGetPermissionsOutputBodyExplain)
- func (s *GetPermissionsOutputBody) SetPermissions(val []string)
- func (s *GetPermissionsOutputBody) SetResourceId(val string)
- func (s *GetPermissionsOutputBody) SetResourceType(val string)
- func (s *GetPermissionsOutputBody) SetSchema(val OptURI)
- func (s *GetPermissionsOutputBody) UnmarshalJSON(data []byte) error
- type GetPermissionsOutputBodyAdditional
- type GetPermissionsOutputBodyExplain
- type GetPermissionsParams
- type GetProjectParams
- type GetRepoParams
- type GetRepoVisibilityOutputBody
- func (s *GetRepoVisibilityOutputBody) Decode(d *jx.Decoder) error
- func (s *GetRepoVisibilityOutputBody) Encode(e *jx.Encoder)
- func (s *GetRepoVisibilityOutputBody) GetAdditionalProps() GetRepoVisibilityOutputBodyAdditional
- func (s *GetRepoVisibilityOutputBody) GetSchema() OptURI
- func (s *GetRepoVisibilityOutputBody) GetVisibility() GetRepoVisibilityOutputBodyVisibility
- func (s *GetRepoVisibilityOutputBody) MarshalJSON() ([]byte, error)
- func (s *GetRepoVisibilityOutputBody) SetAdditionalProps(val GetRepoVisibilityOutputBodyAdditional)
- func (s *GetRepoVisibilityOutputBody) SetSchema(val OptURI)
- func (s *GetRepoVisibilityOutputBody) SetVisibility(val GetRepoVisibilityOutputBodyVisibility)
- func (s *GetRepoVisibilityOutputBody) UnmarshalJSON(data []byte) error
- func (s *GetRepoVisibilityOutputBody) Validate() error
- type GetRepoVisibilityOutputBodyAdditional
- func (s *GetRepoVisibilityOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s GetRepoVisibilityOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s GetRepoVisibilityOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *GetRepoVisibilityOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type GetRepoVisibilityOutputBodyVisibility
- func (GetRepoVisibilityOutputBodyVisibility) AllValues() []GetRepoVisibilityOutputBodyVisibility
- func (s *GetRepoVisibilityOutputBodyVisibility) Decode(d *jx.Decoder) error
- func (s GetRepoVisibilityOutputBodyVisibility) Encode(e *jx.Encoder)
- func (s GetRepoVisibilityOutputBodyVisibility) MarshalJSON() ([]byte, error)
- func (s GetRepoVisibilityOutputBodyVisibility) MarshalText() ([]byte, error)
- func (s *GetRepoVisibilityOutputBodyVisibility) UnmarshalJSON(data []byte) error
- func (s *GetRepoVisibilityOutputBodyVisibility) UnmarshalText(data []byte) error
- func (s GetRepoVisibilityOutputBodyVisibility) Validate() error
- type GetRepoVisibilityParams
- type GetServiceAccountParams
- type GetTopologyOutputBody
- func (s *GetTopologyOutputBody) Decode(d *jx.Decoder) error
- func (s *GetTopologyOutputBody) Encode(e *jx.Encoder)
- func (s *GetTopologyOutputBody) GetAdditionalProps() GetTopologyOutputBodyAdditional
- func (s *GetTopologyOutputBody) GetJurisdictions() []TopologyJurisdiction
- func (s *GetTopologyOutputBody) GetSchema() OptURI
- func (s *GetTopologyOutputBody) MarshalJSON() ([]byte, error)
- func (s *GetTopologyOutputBody) SetAdditionalProps(val GetTopologyOutputBodyAdditional)
- func (s *GetTopologyOutputBody) SetJurisdictions(val []TopologyJurisdiction)
- func (s *GetTopologyOutputBody) SetSchema(val OptURI)
- func (s *GetTopologyOutputBody) UnmarshalJSON(data []byte) error
- func (s *GetTopologyOutputBody) Validate() error
- type GetTopologyOutputBodyAdditional
- type GetVersionOutputBody
- func (s *GetVersionOutputBody) Decode(d *jx.Decoder) error
- func (s *GetVersionOutputBody) Encode(e *jx.Encoder)
- func (s *GetVersionOutputBody) GetAdditionalProps() GetVersionOutputBodyAdditional
- func (s *GetVersionOutputBody) GetMode() OptGetVersionOutputBodyMode
- func (s *GetVersionOutputBody) GetSchema() OptURI
- func (s *GetVersionOutputBody) GetVersion() string
- func (s *GetVersionOutputBody) MarshalJSON() ([]byte, error)
- func (s *GetVersionOutputBody) SetAdditionalProps(val GetVersionOutputBodyAdditional)
- func (s *GetVersionOutputBody) SetMode(val OptGetVersionOutputBodyMode)
- func (s *GetVersionOutputBody) SetSchema(val OptURI)
- func (s *GetVersionOutputBody) SetVersion(val string)
- func (s *GetVersionOutputBody) UnmarshalJSON(data []byte) error
- func (s *GetVersionOutputBody) Validate() error
- type GetVersionOutputBodyAdditional
- type GetVersionOutputBodyMode
- func (GetVersionOutputBodyMode) AllValues() []GetVersionOutputBodyMode
- func (s *GetVersionOutputBodyMode) Decode(d *jx.Decoder) error
- func (s GetVersionOutputBodyMode) Encode(e *jx.Encoder)
- func (s GetVersionOutputBodyMode) MarshalJSON() ([]byte, error)
- func (s GetVersionOutputBodyMode) MarshalText() ([]byte, error)
- func (s *GetVersionOutputBodyMode) UnmarshalJSON(data []byte) error
- func (s *GetVersionOutputBodyMode) UnmarshalText(data []byte) error
- func (s GetVersionOutputBodyMode) Validate() error
- type GrantProjectAccessInputBody
- func (s *GrantProjectAccessInputBody) Decode(d *jx.Decoder) error
- func (s *GrantProjectAccessInputBody) Encode(e *jx.Encoder)
- func (s *GrantProjectAccessInputBody) GetAdditionalProps() GrantProjectAccessInputBodyAdditional
- func (s *GrantProjectAccessInputBody) GetGranteeType() OptGrantProjectAccessInputBodyGranteeType
- func (s *GrantProjectAccessInputBody) GetProvider() string
- func (s *GrantProjectAccessInputBody) GetProviderUserId() string
- func (s *GrantProjectAccessInputBody) GetRole() GrantProjectAccessInputBodyRole
- func (s *GrantProjectAccessInputBody) GetSchema() OptURI
- func (s *GrantProjectAccessInputBody) MarshalJSON() ([]byte, error)
- func (s *GrantProjectAccessInputBody) SetAdditionalProps(val GrantProjectAccessInputBodyAdditional)
- func (s *GrantProjectAccessInputBody) SetGranteeType(val OptGrantProjectAccessInputBodyGranteeType)
- func (s *GrantProjectAccessInputBody) SetProvider(val string)
- func (s *GrantProjectAccessInputBody) SetProviderUserId(val string)
- func (s *GrantProjectAccessInputBody) SetRole(val GrantProjectAccessInputBodyRole)
- func (s *GrantProjectAccessInputBody) SetSchema(val OptURI)
- func (s *GrantProjectAccessInputBody) UnmarshalJSON(data []byte) error
- func (s *GrantProjectAccessInputBody) Validate() error
- type GrantProjectAccessInputBodyAdditional
- func (s *GrantProjectAccessInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s GrantProjectAccessInputBodyAdditional) Encode(e *jx.Encoder)
- func (s GrantProjectAccessInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *GrantProjectAccessInputBodyAdditional) UnmarshalJSON(data []byte) error
- type GrantProjectAccessInputBodyGranteeType
- func (GrantProjectAccessInputBodyGranteeType) AllValues() []GrantProjectAccessInputBodyGranteeType
- func (s *GrantProjectAccessInputBodyGranteeType) Decode(d *jx.Decoder) error
- func (s GrantProjectAccessInputBodyGranteeType) Encode(e *jx.Encoder)
- func (s GrantProjectAccessInputBodyGranteeType) MarshalJSON() ([]byte, error)
- func (s GrantProjectAccessInputBodyGranteeType) MarshalText() ([]byte, error)
- func (s *GrantProjectAccessInputBodyGranteeType) UnmarshalJSON(data []byte) error
- func (s *GrantProjectAccessInputBodyGranteeType) UnmarshalText(data []byte) error
- func (s GrantProjectAccessInputBodyGranteeType) Validate() error
- type GrantProjectAccessInputBodyRole
- func (GrantProjectAccessInputBodyRole) AllValues() []GrantProjectAccessInputBodyRole
- func (s *GrantProjectAccessInputBodyRole) Decode(d *jx.Decoder) error
- func (s GrantProjectAccessInputBodyRole) Encode(e *jx.Encoder)
- func (s GrantProjectAccessInputBodyRole) MarshalJSON() ([]byte, error)
- func (s GrantProjectAccessInputBodyRole) MarshalText() ([]byte, error)
- func (s *GrantProjectAccessInputBodyRole) UnmarshalJSON(data []byte) error
- func (s *GrantProjectAccessInputBodyRole) UnmarshalText(data []byte) error
- func (s GrantProjectAccessInputBodyRole) Validate() error
- type GrantProjectAccessOutputBody
- func (s *GrantProjectAccessOutputBody) Decode(d *jx.Decoder) error
- func (s *GrantProjectAccessOutputBody) Encode(e *jx.Encoder)
- func (s *GrantProjectAccessOutputBody) GetAdditionalProps() GrantProjectAccessOutputBodyAdditional
- func (s *GrantProjectAccessOutputBody) GetSchema() OptURI
- func (s *GrantProjectAccessOutputBody) GetStatus() string
- func (s *GrantProjectAccessOutputBody) MarshalJSON() ([]byte, error)
- func (s *GrantProjectAccessOutputBody) SetAdditionalProps(val GrantProjectAccessOutputBodyAdditional)
- func (s *GrantProjectAccessOutputBody) SetSchema(val OptURI)
- func (s *GrantProjectAccessOutputBody) SetStatus(val string)
- func (s *GrantProjectAccessOutputBody) UnmarshalJSON(data []byte) error
- type GrantProjectAccessOutputBodyAdditional
- func (s *GrantProjectAccessOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s GrantProjectAccessOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s GrantProjectAccessOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *GrantProjectAccessOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type GrantProjectAccessParams
- type GrantRepoAccessInputBody
- func (s *GrantRepoAccessInputBody) Decode(d *jx.Decoder) error
- func (s *GrantRepoAccessInputBody) Encode(e *jx.Encoder)
- func (s *GrantRepoAccessInputBody) GetAdditionalProps() GrantRepoAccessInputBodyAdditional
- func (s *GrantRepoAccessInputBody) GetGranteeType() OptGrantRepoAccessInputBodyGranteeType
- func (s *GrantRepoAccessInputBody) GetProvider() string
- func (s *GrantRepoAccessInputBody) GetProviderUserId() string
- func (s *GrantRepoAccessInputBody) GetRole() GrantRepoAccessInputBodyRole
- func (s *GrantRepoAccessInputBody) GetSchema() OptURI
- func (s *GrantRepoAccessInputBody) MarshalJSON() ([]byte, error)
- func (s *GrantRepoAccessInputBody) SetAdditionalProps(val GrantRepoAccessInputBodyAdditional)
- func (s *GrantRepoAccessInputBody) SetGranteeType(val OptGrantRepoAccessInputBodyGranteeType)
- func (s *GrantRepoAccessInputBody) SetProvider(val string)
- func (s *GrantRepoAccessInputBody) SetProviderUserId(val string)
- func (s *GrantRepoAccessInputBody) SetRole(val GrantRepoAccessInputBodyRole)
- func (s *GrantRepoAccessInputBody) SetSchema(val OptURI)
- func (s *GrantRepoAccessInputBody) UnmarshalJSON(data []byte) error
- func (s *GrantRepoAccessInputBody) Validate() error
- type GrantRepoAccessInputBodyAdditional
- type GrantRepoAccessInputBodyGranteeType
- func (GrantRepoAccessInputBodyGranteeType) AllValues() []GrantRepoAccessInputBodyGranteeType
- func (s *GrantRepoAccessInputBodyGranteeType) Decode(d *jx.Decoder) error
- func (s GrantRepoAccessInputBodyGranteeType) Encode(e *jx.Encoder)
- func (s GrantRepoAccessInputBodyGranteeType) MarshalJSON() ([]byte, error)
- func (s GrantRepoAccessInputBodyGranteeType) MarshalText() ([]byte, error)
- func (s *GrantRepoAccessInputBodyGranteeType) UnmarshalJSON(data []byte) error
- func (s *GrantRepoAccessInputBodyGranteeType) UnmarshalText(data []byte) error
- func (s GrantRepoAccessInputBodyGranteeType) Validate() error
- type GrantRepoAccessInputBodyRole
- func (GrantRepoAccessInputBodyRole) AllValues() []GrantRepoAccessInputBodyRole
- func (s *GrantRepoAccessInputBodyRole) Decode(d *jx.Decoder) error
- func (s GrantRepoAccessInputBodyRole) Encode(e *jx.Encoder)
- func (s GrantRepoAccessInputBodyRole) MarshalJSON() ([]byte, error)
- func (s GrantRepoAccessInputBodyRole) MarshalText() ([]byte, error)
- func (s *GrantRepoAccessInputBodyRole) UnmarshalJSON(data []byte) error
- func (s *GrantRepoAccessInputBodyRole) UnmarshalText(data []byte) error
- func (s GrantRepoAccessInputBodyRole) Validate() error
- type GrantRepoAccessOutputBody
- func (s *GrantRepoAccessOutputBody) Decode(d *jx.Decoder) error
- func (s *GrantRepoAccessOutputBody) Encode(e *jx.Encoder)
- func (s *GrantRepoAccessOutputBody) GetAdditionalProps() GrantRepoAccessOutputBodyAdditional
- func (s *GrantRepoAccessOutputBody) GetSchema() OptURI
- func (s *GrantRepoAccessOutputBody) GetStatus() string
- func (s *GrantRepoAccessOutputBody) MarshalJSON() ([]byte, error)
- func (s *GrantRepoAccessOutputBody) SetAdditionalProps(val GrantRepoAccessOutputBodyAdditional)
- func (s *GrantRepoAccessOutputBody) SetSchema(val OptURI)
- func (s *GrantRepoAccessOutputBody) SetStatus(val string)
- func (s *GrantRepoAccessOutputBody) UnmarshalJSON(data []byte) error
- type GrantRepoAccessOutputBodyAdditional
- type GrantRepoAccessParams
- type GrantServiceAccountAccessInputBody
- func (s *GrantServiceAccountAccessInputBody) Decode(d *jx.Decoder) error
- func (s *GrantServiceAccountAccessInputBody) Encode(e *jx.Encoder)
- func (s *GrantServiceAccountAccessInputBody) GetAdditionalProps() GrantServiceAccountAccessInputBodyAdditional
- func (s *GrantServiceAccountAccessInputBody) GetResourceId() string
- func (s *GrantServiceAccountAccessInputBody) GetResourceType() GrantServiceAccountAccessInputBodyResourceType
- func (s *GrantServiceAccountAccessInputBody) GetRole() GrantServiceAccountAccessInputBodyRole
- func (s *GrantServiceAccountAccessInputBody) GetSchema() OptURI
- func (s *GrantServiceAccountAccessInputBody) MarshalJSON() ([]byte, error)
- func (s *GrantServiceAccountAccessInputBody) SetAdditionalProps(val GrantServiceAccountAccessInputBodyAdditional)
- func (s *GrantServiceAccountAccessInputBody) SetResourceId(val string)
- func (s *GrantServiceAccountAccessInputBody) SetResourceType(val GrantServiceAccountAccessInputBodyResourceType)
- func (s *GrantServiceAccountAccessInputBody) SetRole(val GrantServiceAccountAccessInputBodyRole)
- func (s *GrantServiceAccountAccessInputBody) SetSchema(val OptURI)
- func (s *GrantServiceAccountAccessInputBody) UnmarshalJSON(data []byte) error
- func (s *GrantServiceAccountAccessInputBody) Validate() error
- type GrantServiceAccountAccessInputBodyAdditional
- func (s *GrantServiceAccountAccessInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s GrantServiceAccountAccessInputBodyAdditional) Encode(e *jx.Encoder)
- func (s GrantServiceAccountAccessInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *GrantServiceAccountAccessInputBodyAdditional) UnmarshalJSON(data []byte) error
- type GrantServiceAccountAccessInputBodyResourceType
- func (GrantServiceAccountAccessInputBodyResourceType) AllValues() []GrantServiceAccountAccessInputBodyResourceType
- func (s *GrantServiceAccountAccessInputBodyResourceType) Decode(d *jx.Decoder) error
- func (s GrantServiceAccountAccessInputBodyResourceType) Encode(e *jx.Encoder)
- func (s GrantServiceAccountAccessInputBodyResourceType) MarshalJSON() ([]byte, error)
- func (s GrantServiceAccountAccessInputBodyResourceType) MarshalText() ([]byte, error)
- func (s *GrantServiceAccountAccessInputBodyResourceType) UnmarshalJSON(data []byte) error
- func (s *GrantServiceAccountAccessInputBodyResourceType) UnmarshalText(data []byte) error
- func (s GrantServiceAccountAccessInputBodyResourceType) Validate() error
- type GrantServiceAccountAccessInputBodyRole
- func (GrantServiceAccountAccessInputBodyRole) AllValues() []GrantServiceAccountAccessInputBodyRole
- func (s *GrantServiceAccountAccessInputBodyRole) Decode(d *jx.Decoder) error
- func (s GrantServiceAccountAccessInputBodyRole) Encode(e *jx.Encoder)
- func (s GrantServiceAccountAccessInputBodyRole) MarshalJSON() ([]byte, error)
- func (s GrantServiceAccountAccessInputBodyRole) MarshalText() ([]byte, error)
- func (s *GrantServiceAccountAccessInputBodyRole) UnmarshalJSON(data []byte) error
- func (s *GrantServiceAccountAccessInputBodyRole) UnmarshalText(data []byte) error
- func (s GrantServiceAccountAccessInputBodyRole) Validate() error
- type GrantServiceAccountAccessOutputBody
- func (s *GrantServiceAccountAccessOutputBody) Decode(d *jx.Decoder) error
- func (s *GrantServiceAccountAccessOutputBody) Encode(e *jx.Encoder)
- func (s *GrantServiceAccountAccessOutputBody) GetAdditionalProps() GrantServiceAccountAccessOutputBodyAdditional
- func (s *GrantServiceAccountAccessOutputBody) GetSchema() OptURI
- func (s *GrantServiceAccountAccessOutputBody) GetStatus() string
- func (s *GrantServiceAccountAccessOutputBody) MarshalJSON() ([]byte, error)
- func (s *GrantServiceAccountAccessOutputBody) SetAdditionalProps(val GrantServiceAccountAccessOutputBodyAdditional)
- func (s *GrantServiceAccountAccessOutputBody) SetSchema(val OptURI)
- func (s *GrantServiceAccountAccessOutputBody) SetStatus(val string)
- func (s *GrantServiceAccountAccessOutputBody) UnmarshalJSON(data []byte) error
- type GrantServiceAccountAccessOutputBodyAdditional
- func (s *GrantServiceAccountAccessOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s GrantServiceAccountAccessOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s GrantServiceAccountAccessOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *GrantServiceAccountAccessOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type GrantServiceAccountAccessParams
- type Invoker
- type ListAuditEventsOutputBody
- func (s *ListAuditEventsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListAuditEventsOutputBody) Encode(e *jx.Encoder)
- func (s *ListAuditEventsOutputBody) GetAdditionalProps() ListAuditEventsOutputBodyAdditional
- func (s *ListAuditEventsOutputBody) GetEvents() []AuditEvent
- func (s *ListAuditEventsOutputBody) GetNextPageToken() OptString
- func (s *ListAuditEventsOutputBody) GetSchema() OptURI
- func (s *ListAuditEventsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListAuditEventsOutputBody) SetAdditionalProps(val ListAuditEventsOutputBodyAdditional)
- func (s *ListAuditEventsOutputBody) SetEvents(val []AuditEvent)
- func (s *ListAuditEventsOutputBody) SetNextPageToken(val OptString)
- func (s *ListAuditEventsOutputBody) SetSchema(val OptURI)
- func (s *ListAuditEventsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListAuditEventsOutputBody) Validate() error
- type ListAuditEventsOutputBodyAdditional
- type ListAuditEventsParams
- type ListAvailableMirrorsOutputBody
- func (s *ListAvailableMirrorsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListAvailableMirrorsOutputBody) Encode(e *jx.Encoder)
- func (s *ListAvailableMirrorsOutputBody) GetAdditionalProps() ListAvailableMirrorsOutputBodyAdditional
- func (s *ListAvailableMirrorsOutputBody) GetAvailable() []AvailableMirror
- func (s *ListAvailableMirrorsOutputBody) GetSchema() OptURI
- func (s *ListAvailableMirrorsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListAvailableMirrorsOutputBody) SetAdditionalProps(val ListAvailableMirrorsOutputBodyAdditional)
- func (s *ListAvailableMirrorsOutputBody) SetAvailable(val []AvailableMirror)
- func (s *ListAvailableMirrorsOutputBody) SetSchema(val OptURI)
- func (s *ListAvailableMirrorsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListAvailableMirrorsOutputBody) Validate() error
- type ListAvailableMirrorsOutputBodyAdditional
- func (s *ListAvailableMirrorsOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListAvailableMirrorsOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListAvailableMirrorsOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListAvailableMirrorsOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListAvailableMirrorsParams
- type ListBindingsOutputBody
- func (s *ListBindingsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListBindingsOutputBody) Encode(e *jx.Encoder)
- func (s *ListBindingsOutputBody) GetAdditionalProps() ListBindingsOutputBodyAdditional
- func (s *ListBindingsOutputBody) GetBindings() []Binding
- func (s *ListBindingsOutputBody) GetNextPageToken() OptString
- func (s *ListBindingsOutputBody) GetSchema() OptURI
- func (s *ListBindingsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListBindingsOutputBody) SetAdditionalProps(val ListBindingsOutputBodyAdditional)
- func (s *ListBindingsOutputBody) SetBindings(val []Binding)
- func (s *ListBindingsOutputBody) SetNextPageToken(val OptString)
- func (s *ListBindingsOutputBody) SetSchema(val OptURI)
- func (s *ListBindingsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListBindingsOutputBody) Validate() error
- type ListBindingsOutputBodyAdditional
- type ListBindingsParams
- type ListClustersOutputBody
- func (s *ListClustersOutputBody) Decode(d *jx.Decoder) error
- func (s *ListClustersOutputBody) Encode(e *jx.Encoder)
- func (s *ListClustersOutputBody) GetAdditionalProps() ListClustersOutputBodyAdditional
- func (s *ListClustersOutputBody) GetClusters() []Cluster
- func (s *ListClustersOutputBody) GetSchema() OptURI
- func (s *ListClustersOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListClustersOutputBody) SetAdditionalProps(val ListClustersOutputBodyAdditional)
- func (s *ListClustersOutputBody) SetClusters(val []Cluster)
- func (s *ListClustersOutputBody) SetSchema(val OptURI)
- func (s *ListClustersOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListClustersOutputBody) Validate() error
- type ListClustersOutputBodyAdditional
- type ListMirrorCollaboratorsOutputBody
- func (s *ListMirrorCollaboratorsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListMirrorCollaboratorsOutputBody) Encode(e *jx.Encoder)
- func (s *ListMirrorCollaboratorsOutputBody) GetAdditionalProps() ListMirrorCollaboratorsOutputBodyAdditional
- func (s *ListMirrorCollaboratorsOutputBody) GetCollaborators() []MirrorCollaborator
- func (s *ListMirrorCollaboratorsOutputBody) GetSchema() OptURI
- func (s *ListMirrorCollaboratorsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListMirrorCollaboratorsOutputBody) SetAdditionalProps(val ListMirrorCollaboratorsOutputBodyAdditional)
- func (s *ListMirrorCollaboratorsOutputBody) SetCollaborators(val []MirrorCollaborator)
- func (s *ListMirrorCollaboratorsOutputBody) SetSchema(val OptURI)
- func (s *ListMirrorCollaboratorsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListMirrorCollaboratorsOutputBody) Validate() error
- type ListMirrorCollaboratorsOutputBodyAdditional
- func (s *ListMirrorCollaboratorsOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListMirrorCollaboratorsOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListMirrorCollaboratorsOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListMirrorCollaboratorsOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListMirrorCollaboratorsParams
- type ListMirrorCollaboratorsProvider
- type ListMirrorsOutputBody
- func (s *ListMirrorsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListMirrorsOutputBody) Encode(e *jx.Encoder)
- func (s *ListMirrorsOutputBody) GetAdditionalProps() ListMirrorsOutputBodyAdditional
- func (s *ListMirrorsOutputBody) GetMirrors() []Mirror
- func (s *ListMirrorsOutputBody) GetNextPageToken() OptString
- func (s *ListMirrorsOutputBody) GetSchema() OptURI
- func (s *ListMirrorsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListMirrorsOutputBody) SetAdditionalProps(val ListMirrorsOutputBodyAdditional)
- func (s *ListMirrorsOutputBody) SetMirrors(val []Mirror)
- func (s *ListMirrorsOutputBody) SetNextPageToken(val OptString)
- func (s *ListMirrorsOutputBody) SetSchema(val OptURI)
- func (s *ListMirrorsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListMirrorsOutputBody) Validate() error
- type ListMirrorsOutputBodyAdditional
- type ListMirrorsParams
- type ListOIDCProvidersOutputBody
- func (s *ListOIDCProvidersOutputBody) Decode(d *jx.Decoder) error
- func (s *ListOIDCProvidersOutputBody) Encode(e *jx.Encoder)
- func (s *ListOIDCProvidersOutputBody) GetAdditionalProps() ListOIDCProvidersOutputBodyAdditional
- func (s *ListOIDCProvidersOutputBody) GetNextPageToken() OptString
- func (s *ListOIDCProvidersOutputBody) GetProviders() []OIDCProvider
- func (s *ListOIDCProvidersOutputBody) GetSchema() OptURI
- func (s *ListOIDCProvidersOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListOIDCProvidersOutputBody) SetAdditionalProps(val ListOIDCProvidersOutputBodyAdditional)
- func (s *ListOIDCProvidersOutputBody) SetNextPageToken(val OptString)
- func (s *ListOIDCProvidersOutputBody) SetProviders(val []OIDCProvider)
- func (s *ListOIDCProvidersOutputBody) SetSchema(val OptURI)
- func (s *ListOIDCProvidersOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListOIDCProvidersOutputBody) Validate() error
- type ListOIDCProvidersOutputBodyAdditional
- func (s *ListOIDCProvidersOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListOIDCProvidersOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListOIDCProvidersOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListOIDCProvidersOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListOIDCProvidersParams
- type ListOrgMembersOutputBody
- func (s *ListOrgMembersOutputBody) Decode(d *jx.Decoder) error
- func (s *ListOrgMembersOutputBody) Encode(e *jx.Encoder)
- func (s *ListOrgMembersOutputBody) GetAdditionalProps() ListOrgMembersOutputBodyAdditional
- func (s *ListOrgMembersOutputBody) GetMembers() []Membership
- func (s *ListOrgMembersOutputBody) GetNextPageToken() OptString
- func (s *ListOrgMembersOutputBody) GetSchema() OptURI
- func (s *ListOrgMembersOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListOrgMembersOutputBody) SetAdditionalProps(val ListOrgMembersOutputBodyAdditional)
- func (s *ListOrgMembersOutputBody) SetMembers(val []Membership)
- func (s *ListOrgMembersOutputBody) SetNextPageToken(val OptString)
- func (s *ListOrgMembersOutputBody) SetSchema(val OptURI)
- func (s *ListOrgMembersOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListOrgMembersOutputBody) Validate() error
- type ListOrgMembersOutputBodyAdditional
- type ListOrgMembersParams
- type ListOrgProjectsOutputBody
- func (s *ListOrgProjectsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListOrgProjectsOutputBody) Encode(e *jx.Encoder)
- func (s *ListOrgProjectsOutputBody) GetAdditionalProps() ListOrgProjectsOutputBodyAdditional
- func (s *ListOrgProjectsOutputBody) GetNextPageToken() OptString
- func (s *ListOrgProjectsOutputBody) GetProject() OptProject
- func (s *ListOrgProjectsOutputBody) GetProjects() []Project
- func (s *ListOrgProjectsOutputBody) GetSchema() OptURI
- func (s *ListOrgProjectsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListOrgProjectsOutputBody) SetAdditionalProps(val ListOrgProjectsOutputBodyAdditional)
- func (s *ListOrgProjectsOutputBody) SetNextPageToken(val OptString)
- func (s *ListOrgProjectsOutputBody) SetProject(val OptProject)
- func (s *ListOrgProjectsOutputBody) SetProjects(val []Project)
- func (s *ListOrgProjectsOutputBody) SetSchema(val OptURI)
- func (s *ListOrgProjectsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListOrgProjectsOutputBody) Validate() error
- type ListOrgProjectsOutputBodyAdditional
- type ListOrgProjectsParams
- type ListOrgsOutputBody
- func (s *ListOrgsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListOrgsOutputBody) Encode(e *jx.Encoder)
- func (s *ListOrgsOutputBody) GetAdditionalProps() ListOrgsOutputBodyAdditional
- func (s *ListOrgsOutputBody) GetNextPageToken() OptString
- func (s *ListOrgsOutputBody) GetOrg() OptOrg
- func (s *ListOrgsOutputBody) GetOrgs() []Org
- func (s *ListOrgsOutputBody) GetSchema() OptURI
- func (s *ListOrgsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListOrgsOutputBody) SetAdditionalProps(val ListOrgsOutputBodyAdditional)
- func (s *ListOrgsOutputBody) SetNextPageToken(val OptString)
- func (s *ListOrgsOutputBody) SetOrg(val OptOrg)
- func (s *ListOrgsOutputBody) SetOrgs(val []Org)
- func (s *ListOrgsOutputBody) SetSchema(val OptURI)
- func (s *ListOrgsOutputBody) UnmarshalJSON(data []byte) error
- type ListOrgsOutputBodyAdditional
- type ListOrgsOutputBodyHeaders
- func (s *ListOrgsOutputBodyHeaders) GetCacheControl() OptString
- func (s *ListOrgsOutputBodyHeaders) GetETag() OptString
- func (s *ListOrgsOutputBodyHeaders) GetResponse() ListOrgsOutputBody
- func (s *ListOrgsOutputBodyHeaders) GetVary() OptString
- func (s *ListOrgsOutputBodyHeaders) SetCacheControl(val OptString)
- func (s *ListOrgsOutputBodyHeaders) SetETag(val OptString)
- func (s *ListOrgsOutputBodyHeaders) SetResponse(val ListOrgsOutputBody)
- func (s *ListOrgsOutputBodyHeaders) SetVary(val OptString)
- type ListOrgsParams
- type ListProjectMembersOutputBody
- func (s *ListProjectMembersOutputBody) Decode(d *jx.Decoder) error
- func (s *ListProjectMembersOutputBody) Encode(e *jx.Encoder)
- func (s *ListProjectMembersOutputBody) GetAdditionalProps() ListProjectMembersOutputBodyAdditional
- func (s *ListProjectMembersOutputBody) GetMembers() []ProjectGrant
- func (s *ListProjectMembersOutputBody) GetNextPageToken() OptString
- func (s *ListProjectMembersOutputBody) GetSchema() OptURI
- func (s *ListProjectMembersOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListProjectMembersOutputBody) SetAdditionalProps(val ListProjectMembersOutputBodyAdditional)
- func (s *ListProjectMembersOutputBody) SetMembers(val []ProjectGrant)
- func (s *ListProjectMembersOutputBody) SetNextPageToken(val OptString)
- func (s *ListProjectMembersOutputBody) SetSchema(val OptURI)
- func (s *ListProjectMembersOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListProjectMembersOutputBody) Validate() error
- type ListProjectMembersOutputBodyAdditional
- func (s *ListProjectMembersOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListProjectMembersOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListProjectMembersOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListProjectMembersOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListProjectMembersParams
- type ListProjectReposOutputBody
- func (s *ListProjectReposOutputBody) Decode(d *jx.Decoder) error
- func (s *ListProjectReposOutputBody) Encode(e *jx.Encoder)
- func (s *ListProjectReposOutputBody) GetAdditionalProps() ListProjectReposOutputBodyAdditional
- func (s *ListProjectReposOutputBody) GetNextPageToken() OptString
- func (s *ListProjectReposOutputBody) GetRepo() OptRepo
- func (s *ListProjectReposOutputBody) GetRepos() []Repo
- func (s *ListProjectReposOutputBody) GetSchema() OptURI
- func (s *ListProjectReposOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListProjectReposOutputBody) SetAdditionalProps(val ListProjectReposOutputBodyAdditional)
- func (s *ListProjectReposOutputBody) SetNextPageToken(val OptString)
- func (s *ListProjectReposOutputBody) SetRepo(val OptRepo)
- func (s *ListProjectReposOutputBody) SetRepos(val []Repo)
- func (s *ListProjectReposOutputBody) SetSchema(val OptURI)
- func (s *ListProjectReposOutputBody) UnmarshalJSON(data []byte) error
- type ListProjectReposOutputBodyAdditional
- type ListProjectReposParams
- type ListProjectsOutputBody
- func (s *ListProjectsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListProjectsOutputBody) Encode(e *jx.Encoder)
- func (s *ListProjectsOutputBody) GetAdditionalProps() ListProjectsOutputBodyAdditional
- func (s *ListProjectsOutputBody) GetNextPageToken() OptString
- func (s *ListProjectsOutputBody) GetProject() OptProject
- func (s *ListProjectsOutputBody) GetProjects() []Project
- func (s *ListProjectsOutputBody) GetSchema() OptURI
- func (s *ListProjectsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListProjectsOutputBody) SetAdditionalProps(val ListProjectsOutputBodyAdditional)
- func (s *ListProjectsOutputBody) SetNextPageToken(val OptString)
- func (s *ListProjectsOutputBody) SetProject(val OptProject)
- func (s *ListProjectsOutputBody) SetProjects(val []Project)
- func (s *ListProjectsOutputBody) SetSchema(val OptURI)
- func (s *ListProjectsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListProjectsOutputBody) Validate() error
- type ListProjectsOutputBodyAdditional
- type ListProjectsParams
- type ListRepoCIWebhooksOutputBody
- func (s *ListRepoCIWebhooksOutputBody) Decode(d *jx.Decoder) error
- func (s *ListRepoCIWebhooksOutputBody) Encode(e *jx.Encoder)
- func (s *ListRepoCIWebhooksOutputBody) GetAdditionalProps() ListRepoCIWebhooksOutputBodyAdditional
- func (s *ListRepoCIWebhooksOutputBody) GetSchema() OptURI
- func (s *ListRepoCIWebhooksOutputBody) GetSubscriptions() []CIWebhookView
- func (s *ListRepoCIWebhooksOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListRepoCIWebhooksOutputBody) SetAdditionalProps(val ListRepoCIWebhooksOutputBodyAdditional)
- func (s *ListRepoCIWebhooksOutputBody) SetSchema(val OptURI)
- func (s *ListRepoCIWebhooksOutputBody) SetSubscriptions(val []CIWebhookView)
- func (s *ListRepoCIWebhooksOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListRepoCIWebhooksOutputBody) Validate() error
- type ListRepoCIWebhooksOutputBodyAdditional
- func (s *ListRepoCIWebhooksOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListRepoCIWebhooksOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListRepoCIWebhooksOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListRepoCIWebhooksOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListRepoCIWebhooksParams
- type ListRepoGrantsOutputBody
- func (s *ListRepoGrantsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListRepoGrantsOutputBody) Encode(e *jx.Encoder)
- func (s *ListRepoGrantsOutputBody) GetAdditionalProps() ListRepoGrantsOutputBodyAdditional
- func (s *ListRepoGrantsOutputBody) GetGrants() []RepoGrant
- func (s *ListRepoGrantsOutputBody) GetNextPageToken() OptString
- func (s *ListRepoGrantsOutputBody) GetSchema() OptURI
- func (s *ListRepoGrantsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListRepoGrantsOutputBody) SetAdditionalProps(val ListRepoGrantsOutputBodyAdditional)
- func (s *ListRepoGrantsOutputBody) SetGrants(val []RepoGrant)
- func (s *ListRepoGrantsOutputBody) SetNextPageToken(val OptString)
- func (s *ListRepoGrantsOutputBody) SetSchema(val OptURI)
- func (s *ListRepoGrantsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListRepoGrantsOutputBody) Validate() error
- type ListRepoGrantsOutputBodyAdditional
- type ListRepoGrantsParams
- type ListReposOutputBody
- func (s *ListReposOutputBody) Decode(d *jx.Decoder) error
- func (s *ListReposOutputBody) Encode(e *jx.Encoder)
- func (s *ListReposOutputBody) GetAdditionalProps() ListReposOutputBodyAdditional
- func (s *ListReposOutputBody) GetNextPageToken() OptString
- func (s *ListReposOutputBody) GetRepos() []RepoIndexEntry
- func (s *ListReposOutputBody) GetSchema() OptURI
- func (s *ListReposOutputBody) GetTruncated() bool
- func (s *ListReposOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListReposOutputBody) SetAdditionalProps(val ListReposOutputBodyAdditional)
- func (s *ListReposOutputBody) SetNextPageToken(val OptString)
- func (s *ListReposOutputBody) SetRepos(val []RepoIndexEntry)
- func (s *ListReposOutputBody) SetSchema(val OptURI)
- func (s *ListReposOutputBody) SetTruncated(val bool)
- func (s *ListReposOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListReposOutputBody) Validate() error
- type ListReposOutputBodyAdditional
- type ListReposParams
- type ListReposScope
- type ListServiceAccountGrantsOutputBody
- func (s *ListServiceAccountGrantsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListServiceAccountGrantsOutputBody) Encode(e *jx.Encoder)
- func (s *ListServiceAccountGrantsOutputBody) GetAdditionalProps() ListServiceAccountGrantsOutputBodyAdditional
- func (s *ListServiceAccountGrantsOutputBody) GetGrants() []ServiceAccountGrant
- func (s *ListServiceAccountGrantsOutputBody) GetNextPageToken() OptString
- func (s *ListServiceAccountGrantsOutputBody) GetSchema() OptURI
- func (s *ListServiceAccountGrantsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListServiceAccountGrantsOutputBody) SetAdditionalProps(val ListServiceAccountGrantsOutputBodyAdditional)
- func (s *ListServiceAccountGrantsOutputBody) SetGrants(val []ServiceAccountGrant)
- func (s *ListServiceAccountGrantsOutputBody) SetNextPageToken(val OptString)
- func (s *ListServiceAccountGrantsOutputBody) SetSchema(val OptURI)
- func (s *ListServiceAccountGrantsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListServiceAccountGrantsOutputBody) Validate() error
- type ListServiceAccountGrantsOutputBodyAdditional
- func (s *ListServiceAccountGrantsOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListServiceAccountGrantsOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListServiceAccountGrantsOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListServiceAccountGrantsOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListServiceAccountGrantsParams
- type ListServiceAccountsOutputBody
- func (s *ListServiceAccountsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListServiceAccountsOutputBody) Encode(e *jx.Encoder)
- func (s *ListServiceAccountsOutputBody) GetAdditionalProps() ListServiceAccountsOutputBodyAdditional
- func (s *ListServiceAccountsOutputBody) GetNextPageToken() OptString
- func (s *ListServiceAccountsOutputBody) GetSchema() OptURI
- func (s *ListServiceAccountsOutputBody) GetServiceAccounts() []ServiceAccountWithGrants
- func (s *ListServiceAccountsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListServiceAccountsOutputBody) SetAdditionalProps(val ListServiceAccountsOutputBodyAdditional)
- func (s *ListServiceAccountsOutputBody) SetNextPageToken(val OptString)
- func (s *ListServiceAccountsOutputBody) SetSchema(val OptURI)
- func (s *ListServiceAccountsOutputBody) SetServiceAccounts(val []ServiceAccountWithGrants)
- func (s *ListServiceAccountsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListServiceAccountsOutputBody) Validate() error
- type ListServiceAccountsOutputBodyAdditional
- func (s *ListServiceAccountsOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListServiceAccountsOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListServiceAccountsOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListServiceAccountsOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListServiceAccountsParams
- type LookupBySlugOutputBody
- func (s *LookupBySlugOutputBody) Decode(d *jx.Decoder) error
- func (s *LookupBySlugOutputBody) Encode(e *jx.Encoder)
- func (s *LookupBySlugOutputBody) GetAdditionalProps() LookupBySlugOutputBodyAdditional
- func (s *LookupBySlugOutputBody) GetCell() string
- func (s *LookupBySlugOutputBody) GetJurisdiction() string
- func (s *LookupBySlugOutputBody) GetOwner() string
- func (s *LookupBySlugOutputBody) GetRepo() string
- func (s *LookupBySlugOutputBody) GetRepoId() string
- func (s *LookupBySlugOutputBody) GetSchema() OptURI
- func (s *LookupBySlugOutputBody) MarshalJSON() ([]byte, error)
- func (s *LookupBySlugOutputBody) SetAdditionalProps(val LookupBySlugOutputBodyAdditional)
- func (s *LookupBySlugOutputBody) SetCell(val string)
- func (s *LookupBySlugOutputBody) SetJurisdiction(val string)
- func (s *LookupBySlugOutputBody) SetOwner(val string)
- func (s *LookupBySlugOutputBody) SetRepo(val string)
- func (s *LookupBySlugOutputBody) SetRepoId(val string)
- func (s *LookupBySlugOutputBody) SetSchema(val OptURI)
- func (s *LookupBySlugOutputBody) UnmarshalJSON(data []byte) error
- type LookupBySlugOutputBodyAdditional
- type LookupRef
- func (s *LookupRef) Decode(d *jx.Decoder) error
- func (s *LookupRef) Encode(e *jx.Encoder)
- func (s *LookupRef) GetAdditionalProps() LookupRefAdditional
- func (s *LookupRef) GetID() string
- func (s *LookupRef) GetType() string
- func (s *LookupRef) MarshalJSON() ([]byte, error)
- func (s *LookupRef) SetAdditionalProps(val LookupRefAdditional)
- func (s *LookupRef) SetID(val string)
- func (s *LookupRef) SetType(val string)
- func (s *LookupRef) UnmarshalJSON(data []byte) error
- func (s *LookupRef) Validate() error
- type LookupRefAdditional
- type LookupRefResult
- func (s *LookupRefResult) Decode(d *jx.Decoder) error
- func (s *LookupRefResult) Encode(e *jx.Encoder)
- func (s *LookupRefResult) GetAdditionalProps() LookupRefResultAdditional
- func (s *LookupRefResult) GetID() string
- func (s *LookupRefResult) GetName() OptString
- func (s *LookupRefResult) GetOwnerId() OptString
- func (s *LookupRefResult) GetOwnerType() OptLookupRefResultOwnerType
- func (s *LookupRefResult) GetProjectId() OptString
- func (s *LookupRefResult) GetType() string
- func (s *LookupRefResult) GetURL() OptString
- func (s *LookupRefResult) MarshalJSON() ([]byte, error)
- func (s *LookupRefResult) SetAdditionalProps(val LookupRefResultAdditional)
- func (s *LookupRefResult) SetID(val string)
- func (s *LookupRefResult) SetName(val OptString)
- func (s *LookupRefResult) SetOwnerId(val OptString)
- func (s *LookupRefResult) SetOwnerType(val OptLookupRefResultOwnerType)
- func (s *LookupRefResult) SetProjectId(val OptString)
- func (s *LookupRefResult) SetType(val string)
- func (s *LookupRefResult) SetURL(val OptString)
- func (s *LookupRefResult) UnmarshalJSON(data []byte) error
- func (s *LookupRefResult) Validate() error
- type LookupRefResultAdditional
- type LookupRefResultOwnerType
- func (LookupRefResultOwnerType) AllValues() []LookupRefResultOwnerType
- func (s *LookupRefResultOwnerType) Decode(d *jx.Decoder) error
- func (s LookupRefResultOwnerType) Encode(e *jx.Encoder)
- func (s LookupRefResultOwnerType) MarshalJSON() ([]byte, error)
- func (s LookupRefResultOwnerType) MarshalText() ([]byte, error)
- func (s *LookupRefResultOwnerType) UnmarshalJSON(data []byte) error
- func (s *LookupRefResultOwnerType) UnmarshalText(data []byte) error
- func (s LookupRefResultOwnerType) Validate() error
- type LookupRepoBySlugParams
- type LookupResourcesOutputBody
- func (s *LookupResourcesOutputBody) Decode(d *jx.Decoder) error
- func (s *LookupResourcesOutputBody) Encode(e *jx.Encoder)
- func (s *LookupResourcesOutputBody) GetAdditionalProps() LookupResourcesOutputBodyAdditional
- func (s *LookupResourcesOutputBody) GetNextPageToken() OptString
- func (s *LookupResourcesOutputBody) GetPermission() OptString
- func (s *LookupResourcesOutputBody) GetResourceIds() []string
- func (s *LookupResourcesOutputBody) GetResourceType() string
- func (s *LookupResourcesOutputBody) GetResources() []ResourceAccess
- func (s *LookupResourcesOutputBody) GetSchema() OptURI
- func (s *LookupResourcesOutputBody) MarshalJSON() ([]byte, error)
- func (s *LookupResourcesOutputBody) SetAdditionalProps(val LookupResourcesOutputBodyAdditional)
- func (s *LookupResourcesOutputBody) SetNextPageToken(val OptString)
- func (s *LookupResourcesOutputBody) SetPermission(val OptString)
- func (s *LookupResourcesOutputBody) SetResourceIds(val []string)
- func (s *LookupResourcesOutputBody) SetResourceType(val string)
- func (s *LookupResourcesOutputBody) SetResources(val []ResourceAccess)
- func (s *LookupResourcesOutputBody) SetSchema(val OptURI)
- func (s *LookupResourcesOutputBody) UnmarshalJSON(data []byte) error
- func (s *LookupResourcesOutputBody) Validate() error
- type LookupResourcesOutputBodyAdditional
- type LookupResourcesParams
- type MeAuth
- func (s *MeAuth) Decode(d *jx.Decoder) error
- func (s *MeAuth) Encode(e *jx.Encoder)
- func (s *MeAuth) GetAdditionalProps() MeAuthAdditional
- func (s *MeAuth) GetProvider() string
- func (s *MeAuth) GetProviderUserId() string
- func (s *MeAuth) MarshalJSON() ([]byte, error)
- func (s *MeAuth) SetAdditionalProps(val MeAuthAdditional)
- func (s *MeAuth) SetProvider(val string)
- func (s *MeAuth) SetProviderUserId(val string)
- func (s *MeAuth) UnmarshalJSON(data []byte) error
- type MeAuthAdditional
- type MeDeletion
- func (s *MeDeletion) Decode(d *jx.Decoder) error
- func (s *MeDeletion) Encode(e *jx.Encoder)
- func (s *MeDeletion) GetAdditionalProps() MeDeletionAdditional
- func (s *MeDeletion) GetCooldownEndsAt() time.Time
- func (s *MeDeletion) GetRequestedAt() time.Time
- func (s *MeDeletion) MarshalJSON() ([]byte, error)
- func (s *MeDeletion) SetAdditionalProps(val MeDeletionAdditional)
- func (s *MeDeletion) SetCooldownEndsAt(val time.Time)
- func (s *MeDeletion) SetRequestedAt(val time.Time)
- func (s *MeDeletion) UnmarshalJSON(data []byte) error
- type MeDeletionAdditional
- type MeGlobal
- func (s *MeGlobal) Decode(d *jx.Decoder) error
- func (s *MeGlobal) Encode(e *jx.Encoder)
- func (s *MeGlobal) GetAccountId() string
- func (s *MeGlobal) GetAdditionalProps() MeGlobalAdditional
- func (s *MeGlobal) GetAvatarUrl() OptString
- func (s *MeGlobal) GetCreatedAt() time.Time
- func (s *MeGlobal) GetHandle() OptString
- func (s *MeGlobal) GetHandles() []MeIdentityHandle
- func (s *MeGlobal) GetHomeJurisdiction() OptString
- func (s *MeGlobal) MarshalJSON() ([]byte, error)
- func (s *MeGlobal) SetAccountId(val string)
- func (s *MeGlobal) SetAdditionalProps(val MeGlobalAdditional)
- func (s *MeGlobal) SetAvatarUrl(val OptString)
- func (s *MeGlobal) SetCreatedAt(val time.Time)
- func (s *MeGlobal) SetHandle(val OptString)
- func (s *MeGlobal) SetHandles(val []MeIdentityHandle)
- func (s *MeGlobal) SetHomeJurisdiction(val OptString)
- func (s *MeGlobal) UnmarshalJSON(data []byte) error
- func (s *MeGlobal) Validate() error
- type MeGlobalAdditional
- type MeIdentityHandle
- func (s *MeIdentityHandle) Decode(d *jx.Decoder) error
- func (s *MeIdentityHandle) Encode(e *jx.Encoder)
- func (s *MeIdentityHandle) GetAdditionalProps() MeIdentityHandleAdditional
- func (s *MeIdentityHandle) GetEmail() OptString
- func (s *MeIdentityHandle) GetHandle() string
- func (s *MeIdentityHandle) GetProvider() string
- func (s *MeIdentityHandle) GetProviderUserId() string
- func (s *MeIdentityHandle) MarshalJSON() ([]byte, error)
- func (s *MeIdentityHandle) SetAdditionalProps(val MeIdentityHandleAdditional)
- func (s *MeIdentityHandle) SetEmail(val OptString)
- func (s *MeIdentityHandle) SetHandle(val string)
- func (s *MeIdentityHandle) SetProvider(val string)
- func (s *MeIdentityHandle) SetProviderUserId(val string)
- func (s *MeIdentityHandle) UnmarshalJSON(data []byte) error
- type MeIdentityHandleAdditional
- type MeRegional
- func (s *MeRegional) Decode(d *jx.Decoder) error
- func (s *MeRegional) Encode(e *jx.Encoder)
- func (s *MeRegional) GetAdditionalProps() MeRegionalAdditional
- func (s *MeRegional) GetBio() OptString
- func (s *MeRegional) GetCompany() OptString
- func (s *MeRegional) GetDisplayName() OptString
- func (s *MeRegional) GetEmail() OptString
- func (s *MeRegional) GetLocation() OptString
- func (s *MeRegional) MarshalJSON() ([]byte, error)
- func (s *MeRegional) SetAdditionalProps(val MeRegionalAdditional)
- func (s *MeRegional) SetBio(val OptString)
- func (s *MeRegional) SetCompany(val OptString)
- func (s *MeRegional) SetDisplayName(val OptString)
- func (s *MeRegional) SetEmail(val OptString)
- func (s *MeRegional) SetLocation(val OptString)
- func (s *MeRegional) UnmarshalJSON(data []byte) error
- type MeRegionalAdditional
- type MeRegionalUnavailable
- func (s *MeRegionalUnavailable) Decode(d *jx.Decoder) error
- func (s *MeRegionalUnavailable) Encode(e *jx.Encoder)
- func (s *MeRegionalUnavailable) GetAdditionalProps() MeRegionalUnavailableAdditional
- func (s *MeRegionalUnavailable) GetError() MeRegionalUnavailableError
- func (s *MeRegionalUnavailable) GetHomeCoreUrl() string
- func (s *MeRegionalUnavailable) GetJurisdiction() string
- func (s *MeRegionalUnavailable) GetMessage() string
- func (s *MeRegionalUnavailable) MarshalJSON() ([]byte, error)
- func (s *MeRegionalUnavailable) SetAdditionalProps(val MeRegionalUnavailableAdditional)
- func (s *MeRegionalUnavailable) SetError(val MeRegionalUnavailableError)
- func (s *MeRegionalUnavailable) SetHomeCoreUrl(val string)
- func (s *MeRegionalUnavailable) SetJurisdiction(val string)
- func (s *MeRegionalUnavailable) SetMessage(val string)
- func (s *MeRegionalUnavailable) UnmarshalJSON(data []byte) error
- func (s *MeRegionalUnavailable) Validate() error
- type MeRegionalUnavailableAdditional
- type MeRegionalUnavailableError
- func (MeRegionalUnavailableError) AllValues() []MeRegionalUnavailableError
- func (s *MeRegionalUnavailableError) Decode(d *jx.Decoder) error
- func (s MeRegionalUnavailableError) Encode(e *jx.Encoder)
- func (s MeRegionalUnavailableError) MarshalJSON() ([]byte, error)
- func (s MeRegionalUnavailableError) MarshalText() ([]byte, error)
- func (s *MeRegionalUnavailableError) UnmarshalJSON(data []byte) error
- func (s *MeRegionalUnavailableError) UnmarshalText(data []byte) error
- func (s MeRegionalUnavailableError) Validate() error
- type Membership
- func (s *Membership) Decode(d *jx.Decoder) error
- func (s *Membership) Encode(e *jx.Encoder)
- func (s *Membership) GetAccountId() string
- func (s *Membership) GetAdditionalProps() MembershipAdditional
- func (s *Membership) GetCreatedAt() time.Time
- func (s *Membership) GetID() string
- func (s *Membership) GetOrgId() string
- func (s *Membership) GetRole() string
- func (s *Membership) GetSchema() OptURI
- func (s *Membership) GetStatus() string
- func (s *Membership) GetWorkosOrgMembershipId() OptString
- func (s *Membership) MarshalJSON() ([]byte, error)
- func (s *Membership) SetAccountId(val string)
- func (s *Membership) SetAdditionalProps(val MembershipAdditional)
- func (s *Membership) SetCreatedAt(val time.Time)
- func (s *Membership) SetID(val string)
- func (s *Membership) SetOrgId(val string)
- func (s *Membership) SetRole(val string)
- func (s *Membership) SetSchema(val OptURI)
- func (s *Membership) SetStatus(val string)
- func (s *Membership) SetWorkosOrgMembershipId(val OptString)
- func (s *Membership) UnmarshalJSON(data []byte) error
- type MembershipAdditional
- type Mirror
- func (s *Mirror) Decode(d *jx.Decoder) error
- func (s *Mirror) Encode(e *jx.Encoder)
- func (s *Mirror) GetAdditionalProps() MirrorAdditional
- func (s *Mirror) GetCell() OptString
- func (s *Mirror) GetClusterHost() string
- func (s *Mirror) GetCreatedAt() time.Time
- func (s *Mirror) GetInstallationId() OptInt64
- func (s *Mirror) GetIsArchived() OptBool
- func (s *Mirror) GetIsPrivate() OptBool
- func (s *Mirror) GetJurisdiction() OptString
- func (s *Mirror) GetMirrorId() string
- func (s *Mirror) GetOwner() string
- func (s *Mirror) GetProvider() string
- func (s *Mirror) GetRepo() string
- func (s *Mirror) GetSchema() OptURI
- func (s *Mirror) GetStatus() OptMirrorStatus
- func (s *Mirror) GetSuspendedAt() OptDateTime
- func (s *Mirror) MarshalJSON() ([]byte, error)
- func (s *Mirror) SetAdditionalProps(val MirrorAdditional)
- func (s *Mirror) SetCell(val OptString)
- func (s *Mirror) SetClusterHost(val string)
- func (s *Mirror) SetCreatedAt(val time.Time)
- func (s *Mirror) SetInstallationId(val OptInt64)
- func (s *Mirror) SetIsArchived(val OptBool)
- func (s *Mirror) SetIsPrivate(val OptBool)
- func (s *Mirror) SetJurisdiction(val OptString)
- func (s *Mirror) SetMirrorId(val string)
- func (s *Mirror) SetOwner(val string)
- func (s *Mirror) SetProvider(val string)
- func (s *Mirror) SetRepo(val string)
- func (s *Mirror) SetSchema(val OptURI)
- func (s *Mirror) SetStatus(val OptMirrorStatus)
- func (s *Mirror) SetSuspendedAt(val OptDateTime)
- func (s *Mirror) UnmarshalJSON(data []byte) error
- func (s *Mirror) Validate() error
- type MirrorAdditional
- type MirrorCollaborator
- func (s *MirrorCollaborator) Decode(d *jx.Decoder) error
- func (s *MirrorCollaborator) Encode(e *jx.Encoder)
- func (s *MirrorCollaborator) GetAccountId() string
- func (s *MirrorCollaborator) GetAdditionalProps() MirrorCollaboratorAdditional
- func (s *MirrorCollaborator) GetHandle() OptString
- func (s *MirrorCollaborator) GetRole() string
- func (s *MirrorCollaborator) MarshalJSON() ([]byte, error)
- func (s *MirrorCollaborator) SetAccountId(val string)
- func (s *MirrorCollaborator) SetAdditionalProps(val MirrorCollaboratorAdditional)
- func (s *MirrorCollaborator) SetHandle(val OptString)
- func (s *MirrorCollaborator) SetRole(val string)
- func (s *MirrorCollaborator) UnmarshalJSON(data []byte) error
- type MirrorCollaboratorAdditional
- type MirrorStatus
- func (MirrorStatus) AllValues() []MirrorStatus
- func (s *MirrorStatus) Decode(d *jx.Decoder) error
- func (s MirrorStatus) Encode(e *jx.Encoder)
- func (s MirrorStatus) MarshalJSON() ([]byte, error)
- func (s MirrorStatus) MarshalText() ([]byte, error)
- func (s *MirrorStatus) UnmarshalJSON(data []byte) error
- func (s *MirrorStatus) UnmarshalText(data []byte) error
- func (s MirrorStatus) Validate() error
- type OIDCProvider
- func (s *OIDCProvider) Decode(d *jx.Decoder) error
- func (s *OIDCProvider) Encode(e *jx.Encoder)
- func (s *OIDCProvider) GetAdditionalProps() OIDCProviderAdditional
- func (s *OIDCProvider) GetDescription() OptString
- func (s *OIDCProvider) GetDisplayName() OptString
- func (s *OIDCProvider) GetID() string
- func (s *OIDCProvider) GetIssuer() string
- func (s *OIDCProvider) MarshalJSON() ([]byte, error)
- func (s *OIDCProvider) SetAdditionalProps(val OIDCProviderAdditional)
- func (s *OIDCProvider) SetDescription(val OptString)
- func (s *OIDCProvider) SetDisplayName(val OptString)
- func (s *OIDCProvider) SetID(val string)
- func (s *OIDCProvider) SetIssuer(val string)
- func (s *OIDCProvider) UnmarshalJSON(data []byte) error
- type OIDCProviderAdditional
- type OperationName
- type OptAddOrgMemberInputBodyRole
- func (o *OptAddOrgMemberInputBodyRole) Decode(d *jx.Decoder) error
- func (o OptAddOrgMemberInputBodyRole) Encode(e *jx.Encoder)
- func (o OptAddOrgMemberInputBodyRole) Get() (v AddOrgMemberInputBodyRole, ok bool)
- func (o OptAddOrgMemberInputBodyRole) IsSet() bool
- func (s OptAddOrgMemberInputBodyRole) MarshalJSON() ([]byte, error)
- func (o OptAddOrgMemberInputBodyRole) Or(d AddOrgMemberInputBodyRole) AddOrgMemberInputBodyRole
- func (o *OptAddOrgMemberInputBodyRole) Reset()
- func (o *OptAddOrgMemberInputBodyRole) SetTo(v AddOrgMemberInputBodyRole)
- func (s *OptAddOrgMemberInputBodyRole) UnmarshalJSON(data []byte) error
- type OptAuditEventMetadata
- func (o *OptAuditEventMetadata) Decode(d *jx.Decoder) error
- func (o OptAuditEventMetadata) Encode(e *jx.Encoder)
- func (o OptAuditEventMetadata) Get() (v AuditEventMetadata, ok bool)
- func (o OptAuditEventMetadata) IsSet() bool
- func (s OptAuditEventMetadata) MarshalJSON() ([]byte, error)
- func (o OptAuditEventMetadata) Or(d AuditEventMetadata) AuditEventMetadata
- func (o *OptAuditEventMetadata) Reset()
- func (o *OptAuditEventMetadata) SetTo(v AuditEventMetadata)
- func (s *OptAuditEventMetadata) UnmarshalJSON(data []byte) error
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptCreateRepoInputBodyObjectFormat
- func (o *OptCreateRepoInputBodyObjectFormat) Decode(d *jx.Decoder) error
- func (o OptCreateRepoInputBodyObjectFormat) Encode(e *jx.Encoder)
- func (o OptCreateRepoInputBodyObjectFormat) Get() (v CreateRepoInputBodyObjectFormat, ok bool)
- func (o OptCreateRepoInputBodyObjectFormat) IsSet() bool
- func (s OptCreateRepoInputBodyObjectFormat) MarshalJSON() ([]byte, error)
- func (o OptCreateRepoInputBodyObjectFormat) Or(d CreateRepoInputBodyObjectFormat) CreateRepoInputBodyObjectFormat
- func (o *OptCreateRepoInputBodyObjectFormat) Reset()
- func (o *OptCreateRepoInputBodyObjectFormat) SetTo(v CreateRepoInputBodyObjectFormat)
- func (s *OptCreateRepoInputBodyObjectFormat) UnmarshalJSON(data []byte) error
- type OptDateTime
- func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDateTime) Get() (v time.Time, ok bool)
- func (o OptDateTime) IsSet() bool
- func (s OptDateTime) MarshalJSON() ([]byte, error)
- func (o OptDateTime) Or(d time.Time) time.Time
- func (o *OptDateTime) Reset()
- func (o *OptDateTime) SetTo(v time.Time)
- func (s *OptDateTime) UnmarshalJSON(data []byte) error
- type OptGetMeOutputBodyMode
- func (o *OptGetMeOutputBodyMode) Decode(d *jx.Decoder) error
- func (o OptGetMeOutputBodyMode) Encode(e *jx.Encoder)
- func (o OptGetMeOutputBodyMode) Get() (v GetMeOutputBodyMode, ok bool)
- func (o OptGetMeOutputBodyMode) IsSet() bool
- func (s OptGetMeOutputBodyMode) MarshalJSON() ([]byte, error)
- func (o OptGetMeOutputBodyMode) Or(d GetMeOutputBodyMode) GetMeOutputBodyMode
- func (o *OptGetMeOutputBodyMode) Reset()
- func (o *OptGetMeOutputBodyMode) SetTo(v GetMeOutputBodyMode)
- func (s *OptGetMeOutputBodyMode) UnmarshalJSON(data []byte) error
- type OptGetPermissionsOutputBodyExplain
- func (o *OptGetPermissionsOutputBodyExplain) Decode(d *jx.Decoder) error
- func (o OptGetPermissionsOutputBodyExplain) Encode(e *jx.Encoder)
- func (o OptGetPermissionsOutputBodyExplain) Get() (v GetPermissionsOutputBodyExplain, ok bool)
- func (o OptGetPermissionsOutputBodyExplain) IsSet() bool
- func (s OptGetPermissionsOutputBodyExplain) MarshalJSON() ([]byte, error)
- func (o OptGetPermissionsOutputBodyExplain) Or(d GetPermissionsOutputBodyExplain) GetPermissionsOutputBodyExplain
- func (o *OptGetPermissionsOutputBodyExplain) Reset()
- func (o *OptGetPermissionsOutputBodyExplain) SetTo(v GetPermissionsOutputBodyExplain)
- func (s *OptGetPermissionsOutputBodyExplain) UnmarshalJSON(data []byte) error
- type OptGetVersionOutputBodyMode
- func (o *OptGetVersionOutputBodyMode) Decode(d *jx.Decoder) error
- func (o OptGetVersionOutputBodyMode) Encode(e *jx.Encoder)
- func (o OptGetVersionOutputBodyMode) Get() (v GetVersionOutputBodyMode, ok bool)
- func (o OptGetVersionOutputBodyMode) IsSet() bool
- func (s OptGetVersionOutputBodyMode) MarshalJSON() ([]byte, error)
- func (o OptGetVersionOutputBodyMode) Or(d GetVersionOutputBodyMode) GetVersionOutputBodyMode
- func (o *OptGetVersionOutputBodyMode) Reset()
- func (o *OptGetVersionOutputBodyMode) SetTo(v GetVersionOutputBodyMode)
- func (s *OptGetVersionOutputBodyMode) UnmarshalJSON(data []byte) error
- type OptGrantProjectAccessInputBodyGranteeType
- func (o *OptGrantProjectAccessInputBodyGranteeType) Decode(d *jx.Decoder) error
- func (o OptGrantProjectAccessInputBodyGranteeType) Encode(e *jx.Encoder)
- func (o OptGrantProjectAccessInputBodyGranteeType) Get() (v GrantProjectAccessInputBodyGranteeType, ok bool)
- func (o OptGrantProjectAccessInputBodyGranteeType) IsSet() bool
- func (s OptGrantProjectAccessInputBodyGranteeType) MarshalJSON() ([]byte, error)
- func (o OptGrantProjectAccessInputBodyGranteeType) Or(d GrantProjectAccessInputBodyGranteeType) GrantProjectAccessInputBodyGranteeType
- func (o *OptGrantProjectAccessInputBodyGranteeType) Reset()
- func (o *OptGrantProjectAccessInputBodyGranteeType) SetTo(v GrantProjectAccessInputBodyGranteeType)
- func (s *OptGrantProjectAccessInputBodyGranteeType) UnmarshalJSON(data []byte) error
- type OptGrantRepoAccessInputBodyGranteeType
- func (o *OptGrantRepoAccessInputBodyGranteeType) Decode(d *jx.Decoder) error
- func (o OptGrantRepoAccessInputBodyGranteeType) Encode(e *jx.Encoder)
- func (o OptGrantRepoAccessInputBodyGranteeType) Get() (v GrantRepoAccessInputBodyGranteeType, ok bool)
- func (o OptGrantRepoAccessInputBodyGranteeType) IsSet() bool
- func (s OptGrantRepoAccessInputBodyGranteeType) MarshalJSON() ([]byte, error)
- func (o OptGrantRepoAccessInputBodyGranteeType) Or(d GrantRepoAccessInputBodyGranteeType) GrantRepoAccessInputBodyGranteeType
- func (o *OptGrantRepoAccessInputBodyGranteeType) Reset()
- func (o *OptGrantRepoAccessInputBodyGranteeType) SetTo(v GrantRepoAccessInputBodyGranteeType)
- func (s *OptGrantRepoAccessInputBodyGranteeType) UnmarshalJSON(data []byte) error
- type OptInt32
- type OptInt64
- func (o *OptInt64) Decode(d *jx.Decoder) error
- func (o OptInt64) Encode(e *jx.Encoder)
- func (o OptInt64) Get() (v int64, ok bool)
- func (o OptInt64) IsSet() bool
- func (s OptInt64) MarshalJSON() ([]byte, error)
- func (o OptInt64) Or(d int64) int64
- func (o *OptInt64) Reset()
- func (o *OptInt64) SetTo(v int64)
- func (s *OptInt64) UnmarshalJSON(data []byte) error
- type OptListReposScope
- type OptLookupRefResultOwnerType
- func (o *OptLookupRefResultOwnerType) Decode(d *jx.Decoder) error
- func (o OptLookupRefResultOwnerType) Encode(e *jx.Encoder)
- func (o OptLookupRefResultOwnerType) Get() (v LookupRefResultOwnerType, ok bool)
- func (o OptLookupRefResultOwnerType) IsSet() bool
- func (s OptLookupRefResultOwnerType) MarshalJSON() ([]byte, error)
- func (o OptLookupRefResultOwnerType) Or(d LookupRefResultOwnerType) LookupRefResultOwnerType
- func (o *OptLookupRefResultOwnerType) Reset()
- func (o *OptLookupRefResultOwnerType) SetTo(v LookupRefResultOwnerType)
- func (s *OptLookupRefResultOwnerType) UnmarshalJSON(data []byte) error
- type OptMeDeletion
- func (o *OptMeDeletion) Decode(d *jx.Decoder) error
- func (o OptMeDeletion) Encode(e *jx.Encoder)
- func (o OptMeDeletion) Get() (v MeDeletion, ok bool)
- func (o OptMeDeletion) IsSet() bool
- func (s OptMeDeletion) MarshalJSON() ([]byte, error)
- func (o OptMeDeletion) Or(d MeDeletion) MeDeletion
- func (o *OptMeDeletion) Reset()
- func (o *OptMeDeletion) SetTo(v MeDeletion)
- func (s *OptMeDeletion) UnmarshalJSON(data []byte) error
- type OptMeRegional
- func (o *OptMeRegional) Decode(d *jx.Decoder) error
- func (o OptMeRegional) Encode(e *jx.Encoder)
- func (o OptMeRegional) Get() (v MeRegional, ok bool)
- func (o OptMeRegional) IsSet() bool
- func (s OptMeRegional) MarshalJSON() ([]byte, error)
- func (o OptMeRegional) Or(d MeRegional) MeRegional
- func (o *OptMeRegional) Reset()
- func (o *OptMeRegional) SetTo(v MeRegional)
- func (s *OptMeRegional) UnmarshalJSON(data []byte) error
- type OptMeRegionalUnavailable
- func (o *OptMeRegionalUnavailable) Decode(d *jx.Decoder) error
- func (o OptMeRegionalUnavailable) Encode(e *jx.Encoder)
- func (o OptMeRegionalUnavailable) Get() (v MeRegionalUnavailable, ok bool)
- func (o OptMeRegionalUnavailable) IsSet() bool
- func (s OptMeRegionalUnavailable) MarshalJSON() ([]byte, error)
- func (o OptMeRegionalUnavailable) Or(d MeRegionalUnavailable) MeRegionalUnavailable
- func (o *OptMeRegionalUnavailable) Reset()
- func (o *OptMeRegionalUnavailable) SetTo(v MeRegionalUnavailable)
- func (s *OptMeRegionalUnavailable) UnmarshalJSON(data []byte) error
- type OptMirrorStatus
- func (o *OptMirrorStatus) Decode(d *jx.Decoder) error
- func (o OptMirrorStatus) Encode(e *jx.Encoder)
- func (o OptMirrorStatus) Get() (v MirrorStatus, ok bool)
- func (o OptMirrorStatus) IsSet() bool
- func (s OptMirrorStatus) MarshalJSON() ([]byte, error)
- func (o OptMirrorStatus) Or(d MirrorStatus) MirrorStatus
- func (o *OptMirrorStatus) Reset()
- func (o *OptMirrorStatus) SetTo(v MirrorStatus)
- func (s *OptMirrorStatus) UnmarshalJSON(data []byte) error
- type OptOrg
- func (o *OptOrg) Decode(d *jx.Decoder) error
- func (o OptOrg) Encode(e *jx.Encoder)
- func (o OptOrg) Get() (v Org, ok bool)
- func (o OptOrg) IsSet() bool
- func (s OptOrg) MarshalJSON() ([]byte, error)
- func (o OptOrg) Or(d Org) Org
- func (o *OptOrg) Reset()
- func (o *OptOrg) SetTo(v Org)
- func (s *OptOrg) UnmarshalJSON(data []byte) error
- type OptProject
- func (o *OptProject) Decode(d *jx.Decoder) error
- func (o OptProject) Encode(e *jx.Encoder)
- func (o OptProject) Get() (v Project, ok bool)
- func (o OptProject) IsSet() bool
- func (s OptProject) MarshalJSON() ([]byte, error)
- func (o OptProject) Or(d Project) Project
- func (o *OptProject) Reset()
- func (o *OptProject) SetTo(v Project)
- func (s *OptProject) UnmarshalJSON(data []byte) error
- type OptRepo
- func (o *OptRepo) Decode(d *jx.Decoder) error
- func (o OptRepo) Encode(e *jx.Encoder)
- func (o OptRepo) Get() (v Repo, ok bool)
- func (o OptRepo) IsSet() bool
- func (s OptRepo) MarshalJSON() ([]byte, error)
- func (o OptRepo) Or(d Repo) Repo
- func (o *OptRepo) Reset()
- func (o *OptRepo) SetTo(v Repo)
- func (s *OptRepo) UnmarshalJSON(data []byte) error
- type OptRepoCandidate
- func (o *OptRepoCandidate) Decode(d *jx.Decoder) error
- func (o OptRepoCandidate) Encode(e *jx.Encoder)
- func (o OptRepoCandidate) Get() (v RepoCandidate, ok bool)
- func (o OptRepoCandidate) IsSet() bool
- func (s OptRepoCandidate) MarshalJSON() ([]byte, error)
- func (o OptRepoCandidate) Or(d RepoCandidate) RepoCandidate
- func (o *OptRepoCandidate) Reset()
- func (o *OptRepoCandidate) SetTo(v RepoCandidate)
- func (s *OptRepoCandidate) UnmarshalJSON(data []byte) error
- type OptRepoPrimaries
- func (o *OptRepoPrimaries) Decode(d *jx.Decoder) error
- func (o OptRepoPrimaries) Encode(e *jx.Encoder)
- func (o OptRepoPrimaries) Get() (v RepoPrimaries, ok bool)
- func (o OptRepoPrimaries) IsSet() bool
- func (s OptRepoPrimaries) MarshalJSON() ([]byte, error)
- func (o OptRepoPrimaries) Or(d RepoPrimaries) RepoPrimaries
- func (o *OptRepoPrimaries) Reset()
- func (o *OptRepoPrimaries) SetTo(v RepoPrimaries)
- func (s *OptRepoPrimaries) 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 OptURI
- func (o *OptURI) Decode(d *jx.Decoder) error
- func (o OptURI) Encode(e *jx.Encoder)
- func (o OptURI) Get() (v url.URL, ok bool)
- func (o OptURI) IsSet() bool
- func (s OptURI) MarshalJSON() ([]byte, error)
- func (o OptURI) Or(d url.URL) url.URL
- func (o *OptURI) Reset()
- func (o *OptURI) SetTo(v url.URL)
- func (s *OptURI) UnmarshalJSON(data []byte) error
- type Option
- type Org
- func (s *Org) Decode(d *jx.Decoder) error
- func (s *Org) Encode(e *jx.Encoder)
- func (s *Org) GetAdditionalProps() OrgAdditional
- func (s *Org) GetCreatedAt() time.Time
- func (s *Org) GetID() string
- func (s *Org) GetName() string
- func (s *Org) GetRegion() string
- func (s *Org) GetSchema() OptURI
- func (s *Org) GetWorkosOrganizationId() OptString
- func (s *Org) MarshalJSON() ([]byte, error)
- func (s *Org) SetAdditionalProps(val OrgAdditional)
- func (s *Org) SetCreatedAt(val time.Time)
- func (s *Org) SetID(val string)
- func (s *Org) SetName(val string)
- func (s *Org) SetRegion(val string)
- func (s *Org) SetSchema(val OptURI)
- func (s *Org) SetWorkosOrganizationId(val OptString)
- func (s *Org) UnmarshalJSON(data []byte) error
- type OrgAdditional
- type PatchRepoCIWebhookInputBody
- func (s *PatchRepoCIWebhookInputBody) Decode(d *jx.Decoder) error
- func (s *PatchRepoCIWebhookInputBody) Encode(e *jx.Encoder)
- func (s *PatchRepoCIWebhookInputBody) GetAdditionalProps() PatchRepoCIWebhookInputBodyAdditional
- func (s *PatchRepoCIWebhookInputBody) GetDisplayName() OptString
- func (s *PatchRepoCIWebhookInputBody) GetEnabled() OptBool
- func (s *PatchRepoCIWebhookInputBody) GetEvents() []string
- func (s *PatchRepoCIWebhookInputBody) GetRefFilter() OptString
- func (s *PatchRepoCIWebhookInputBody) GetSchema() OptURI
- func (s *PatchRepoCIWebhookInputBody) MarshalJSON() ([]byte, error)
- func (s *PatchRepoCIWebhookInputBody) SetAdditionalProps(val PatchRepoCIWebhookInputBodyAdditional)
- func (s *PatchRepoCIWebhookInputBody) SetDisplayName(val OptString)
- func (s *PatchRepoCIWebhookInputBody) SetEnabled(val OptBool)
- func (s *PatchRepoCIWebhookInputBody) SetEvents(val []string)
- func (s *PatchRepoCIWebhookInputBody) SetRefFilter(val OptString)
- func (s *PatchRepoCIWebhookInputBody) SetSchema(val OptURI)
- func (s *PatchRepoCIWebhookInputBody) UnmarshalJSON(data []byte) error
- type PatchRepoCIWebhookInputBodyAdditional
- func (s *PatchRepoCIWebhookInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s PatchRepoCIWebhookInputBodyAdditional) Encode(e *jx.Encoder)
- func (s PatchRepoCIWebhookInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *PatchRepoCIWebhookInputBodyAdditional) UnmarshalJSON(data []byte) error
- type PatchRepoCIWebhookParams
- type Project
- func (s *Project) Decode(d *jx.Decoder) error
- func (s *Project) Encode(e *jx.Encoder)
- func (s *Project) GetAdditionalProps() ProjectAdditional
- func (s *Project) GetCreatedAt() time.Time
- func (s *Project) GetID() string
- func (s *Project) GetName() string
- func (s *Project) GetOwnerId() string
- func (s *Project) GetOwnerType() ProjectOwnerType
- func (s *Project) GetRegion() string
- func (s *Project) GetSchema() OptURI
- func (s *Project) MarshalJSON() ([]byte, error)
- func (s *Project) SetAdditionalProps(val ProjectAdditional)
- func (s *Project) SetCreatedAt(val time.Time)
- func (s *Project) SetID(val string)
- func (s *Project) SetName(val string)
- func (s *Project) SetOwnerId(val string)
- func (s *Project) SetOwnerType(val ProjectOwnerType)
- func (s *Project) SetRegion(val string)
- func (s *Project) SetSchema(val OptURI)
- func (s *Project) UnmarshalJSON(data []byte) error
- func (s *Project) Validate() error
- type ProjectAdditional
- type ProjectGrant
- func (s *ProjectGrant) Decode(d *jx.Decoder) error
- func (s *ProjectGrant) Encode(e *jx.Encoder)
- func (s *ProjectGrant) GetAdditionalProps() ProjectGrantAdditional
- func (s *ProjectGrant) GetGranteeId() string
- func (s *ProjectGrant) GetGranteeName() OptString
- func (s *ProjectGrant) GetGranteeType() string
- func (s *ProjectGrant) GetRole() string
- func (s *ProjectGrant) GetSource() string
- func (s *ProjectGrant) MarshalJSON() ([]byte, error)
- func (s *ProjectGrant) SetAdditionalProps(val ProjectGrantAdditional)
- func (s *ProjectGrant) SetGranteeId(val string)
- func (s *ProjectGrant) SetGranteeName(val OptString)
- func (s *ProjectGrant) SetGranteeType(val string)
- func (s *ProjectGrant) SetRole(val string)
- func (s *ProjectGrant) SetSource(val string)
- func (s *ProjectGrant) UnmarshalJSON(data []byte) error
- type ProjectGrantAdditional
- type ProjectOwnerType
- func (ProjectOwnerType) AllValues() []ProjectOwnerType
- func (s *ProjectOwnerType) Decode(d *jx.Decoder) error
- func (s ProjectOwnerType) Encode(e *jx.Encoder)
- func (s ProjectOwnerType) MarshalJSON() ([]byte, error)
- func (s ProjectOwnerType) MarshalText() ([]byte, error)
- func (s *ProjectOwnerType) UnmarshalJSON(data []byte) error
- func (s *ProjectOwnerType) UnmarshalText(data []byte) error
- func (s ProjectOwnerType) Validate() error
- type RemoveOrgMemberNoContent
- type RemoveOrgMemberParams
- type Repo
- func (s *Repo) Decode(d *jx.Decoder) error
- func (s *Repo) Encode(e *jx.Encoder)
- func (s *Repo) GetAdditionalProps() RepoAdditional
- func (s *Repo) GetClusterHost() OptString
- func (s *Repo) GetForeign() OptBool
- func (s *Repo) GetFullName() OptString
- func (s *Repo) GetID() string
- func (s *Repo) GetMirrorSuspended() OptBool
- func (s *Repo) GetMirrorSuspendedAt() OptString
- func (s *Repo) GetName() string
- func (s *Repo) GetObjectFormat() OptString
- func (s *Repo) GetOwningProjectId() string
- func (s *Repo) GetPath() OptString
- func (s *Repo) GetProvisionAttempts() OptInt64
- func (s *Repo) GetProvisionReason() OptString
- func (s *Repo) GetRepoGroupId() OptString
- func (s *Repo) GetSchema() OptURI
- func (s *Repo) GetState() OptString
- func (s *Repo) GetVisibility() OptString
- func (s *Repo) MarshalJSON() ([]byte, error)
- func (s *Repo) SetAdditionalProps(val RepoAdditional)
- func (s *Repo) SetClusterHost(val OptString)
- func (s *Repo) SetForeign(val OptBool)
- func (s *Repo) SetFullName(val OptString)
- func (s *Repo) SetID(val string)
- func (s *Repo) SetMirrorSuspended(val OptBool)
- func (s *Repo) SetMirrorSuspendedAt(val OptString)
- func (s *Repo) SetName(val string)
- func (s *Repo) SetObjectFormat(val OptString)
- func (s *Repo) SetOwningProjectId(val string)
- func (s *Repo) SetPath(val OptString)
- func (s *Repo) SetProvisionAttempts(val OptInt64)
- func (s *Repo) SetProvisionReason(val OptString)
- func (s *Repo) SetRepoGroupId(val OptString)
- func (s *Repo) SetSchema(val OptURI)
- func (s *Repo) SetState(val OptString)
- func (s *Repo) SetVisibility(val OptString)
- func (s *Repo) UnmarshalJSON(data []byte) error
- type RepoAdditional
- type RepoCandidate
- func (s *RepoCandidate) Decode(d *jx.Decoder) error
- func (s *RepoCandidate) Encode(e *jx.Encoder)
- func (s *RepoCandidate) GetAccess() RepoCandidateAccess
- func (s *RepoCandidate) GetAdditionalProps() RepoCandidateAdditional
- func (s *RepoCandidate) GetOnboardable() bool
- func (s *RepoCandidate) MarshalJSON() ([]byte, error)
- func (s *RepoCandidate) SetAccess(val RepoCandidateAccess)
- func (s *RepoCandidate) SetAdditionalProps(val RepoCandidateAdditional)
- func (s *RepoCandidate) SetOnboardable(val bool)
- func (s *RepoCandidate) UnmarshalJSON(data []byte) error
- func (s *RepoCandidate) Validate() error
- type RepoCandidateAccess
- func (RepoCandidateAccess) AllValues() []RepoCandidateAccess
- func (s *RepoCandidateAccess) Decode(d *jx.Decoder) error
- func (s RepoCandidateAccess) Encode(e *jx.Encoder)
- func (s RepoCandidateAccess) MarshalJSON() ([]byte, error)
- func (s RepoCandidateAccess) MarshalText() ([]byte, error)
- func (s *RepoCandidateAccess) UnmarshalJSON(data []byte) error
- func (s *RepoCandidateAccess) UnmarshalText(data []byte) error
- func (s RepoCandidateAccess) Validate() error
- type RepoCandidateAdditional
- type RepoGrant
- func (s *RepoGrant) Decode(d *jx.Decoder) error
- func (s *RepoGrant) Encode(e *jx.Encoder)
- func (s *RepoGrant) GetAdditionalProps() RepoGrantAdditional
- func (s *RepoGrant) GetGranteeId() string
- func (s *RepoGrant) GetGranteeName() OptString
- func (s *RepoGrant) GetGranteeType() string
- func (s *RepoGrant) GetRole() string
- func (s *RepoGrant) GetSource() string
- func (s *RepoGrant) MarshalJSON() ([]byte, error)
- func (s *RepoGrant) SetAdditionalProps(val RepoGrantAdditional)
- func (s *RepoGrant) SetGranteeId(val string)
- func (s *RepoGrant) SetGranteeName(val OptString)
- func (s *RepoGrant) SetGranteeType(val string)
- func (s *RepoGrant) SetRole(val string)
- func (s *RepoGrant) SetSource(val string)
- func (s *RepoGrant) UnmarshalJSON(data []byte) error
- type RepoGrantAdditional
- type RepoIndexEntry
- func (s *RepoIndexEntry) Decode(d *jx.Decoder) error
- func (s *RepoIndexEntry) Encode(e *jx.Encoder)
- func (s *RepoIndexEntry) GetAdditionalProps() RepoIndexEntryAdditional
- func (s *RepoIndexEntry) GetCandidate() OptRepoCandidate
- func (s *RepoIndexEntry) GetCell() string
- func (s *RepoIndexEntry) GetClusterSlug() string
- func (s *RepoIndexEntry) GetFullName() string
- func (s *RepoIndexEntry) GetID() string
- func (s *RepoIndexEntry) GetJurisdiction() string
- func (s *RepoIndexEntry) GetName() string
- func (s *RepoIndexEntry) GetPlacements() []RepoPlacement
- func (s *RepoIndexEntry) GetPrimaries() OptRepoPrimaries
- func (s *RepoIndexEntry) GetStars() OptInt64
- func (s *RepoIndexEntry) GetVisibility() string
- func (s *RepoIndexEntry) MarshalJSON() ([]byte, error)
- func (s *RepoIndexEntry) SetAdditionalProps(val RepoIndexEntryAdditional)
- func (s *RepoIndexEntry) SetCandidate(val OptRepoCandidate)
- func (s *RepoIndexEntry) SetCell(val string)
- func (s *RepoIndexEntry) SetClusterSlug(val string)
- func (s *RepoIndexEntry) SetFullName(val string)
- func (s *RepoIndexEntry) SetID(val string)
- func (s *RepoIndexEntry) SetJurisdiction(val string)
- func (s *RepoIndexEntry) SetName(val string)
- func (s *RepoIndexEntry) SetPlacements(val []RepoPlacement)
- func (s *RepoIndexEntry) SetPrimaries(val OptRepoPrimaries)
- func (s *RepoIndexEntry) SetStars(val OptInt64)
- func (s *RepoIndexEntry) SetVisibility(val string)
- func (s *RepoIndexEntry) UnmarshalJSON(data []byte) error
- func (s *RepoIndexEntry) Validate() error
- type RepoIndexEntryAdditional
- type RepoPlacement
- func (s *RepoPlacement) Decode(d *jx.Decoder) error
- func (s *RepoPlacement) Encode(e *jx.Encoder)
- func (s *RepoPlacement) GetAdditionalProps() RepoPlacementAdditional
- func (s *RepoPlacement) GetCell() string
- func (s *RepoPlacement) GetClusterSlug() string
- func (s *RepoPlacement) GetID() string
- func (s *RepoPlacement) GetJurisdiction() string
- func (s *RepoPlacement) GetMirror() bool
- func (s *RepoPlacement) GetStatus() RepoPlacementStatus
- func (s *RepoPlacement) MarshalJSON() ([]byte, error)
- func (s *RepoPlacement) SetAdditionalProps(val RepoPlacementAdditional)
- func (s *RepoPlacement) SetCell(val string)
- func (s *RepoPlacement) SetClusterSlug(val string)
- func (s *RepoPlacement) SetID(val string)
- func (s *RepoPlacement) SetJurisdiction(val string)
- func (s *RepoPlacement) SetMirror(val bool)
- func (s *RepoPlacement) SetStatus(val RepoPlacementStatus)
- func (s *RepoPlacement) UnmarshalJSON(data []byte) error
- func (s *RepoPlacement) Validate() error
- type RepoPlacementAdditional
- type RepoPlacementStatus
- func (RepoPlacementStatus) AllValues() []RepoPlacementStatus
- func (s *RepoPlacementStatus) Decode(d *jx.Decoder) error
- func (s RepoPlacementStatus) Encode(e *jx.Encoder)
- func (s RepoPlacementStatus) MarshalJSON() ([]byte, error)
- func (s RepoPlacementStatus) MarshalText() ([]byte, error)
- func (s *RepoPlacementStatus) UnmarshalJSON(data []byte) error
- func (s *RepoPlacementStatus) UnmarshalText(data []byte) error
- func (s RepoPlacementStatus) Validate() error
- type RepoPrimaries
- func (s *RepoPrimaries) Decode(d *jx.Decoder) error
- func (s *RepoPrimaries) Encode(e *jx.Encoder)
- func (s *RepoPrimaries) GetAdditionalProps() RepoPrimariesAdditional
- func (s *RepoPrimaries) GetGitData() string
- func (s *RepoPrimaries) GetProcessing() string
- func (s *RepoPrimaries) MarshalJSON() ([]byte, error)
- func (s *RepoPrimaries) SetAdditionalProps(val RepoPrimariesAdditional)
- func (s *RepoPrimaries) SetGitData(val string)
- func (s *RepoPrimaries) SetProcessing(val string)
- func (s *RepoPrimaries) UnmarshalJSON(data []byte) error
- type RepoPrimariesAdditional
- type ResolveHandleParams
- type ResolveMirrorPlacementsParams
- type ResolveMirrorPlacementsProvider
- type ResolvePlacementsOutputBody
- func (s *ResolvePlacementsOutputBody) Decode(d *jx.Decoder) error
- func (s *ResolvePlacementsOutputBody) Encode(e *jx.Encoder)
- func (s *ResolvePlacementsOutputBody) GetAdditionalProps() ResolvePlacementsOutputBodyAdditional
- func (s *ResolvePlacementsOutputBody) GetPlacements() []ResolvedPlacement
- func (s *ResolvePlacementsOutputBody) GetSchema() OptURI
- func (s *ResolvePlacementsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ResolvePlacementsOutputBody) SetAdditionalProps(val ResolvePlacementsOutputBodyAdditional)
- func (s *ResolvePlacementsOutputBody) SetPlacements(val []ResolvedPlacement)
- func (s *ResolvePlacementsOutputBody) SetSchema(val OptURI)
- func (s *ResolvePlacementsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ResolvePlacementsOutputBody) Validate() error
- type ResolvePlacementsOutputBodyAdditional
- func (s *ResolvePlacementsOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ResolvePlacementsOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ResolvePlacementsOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ResolvePlacementsOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ResolvedIdentity
- func (s *ResolvedIdentity) Decode(d *jx.Decoder) error
- func (s *ResolvedIdentity) Encode(e *jx.Encoder)
- func (s *ResolvedIdentity) GetAccountId() string
- func (s *ResolvedIdentity) GetAdditionalProps() ResolvedIdentityAdditional
- func (s *ResolvedIdentity) GetHandle() string
- func (s *ResolvedIdentity) GetProvider() string
- func (s *ResolvedIdentity) GetProviderUserId() string
- func (s *ResolvedIdentity) GetSchema() OptURI
- func (s *ResolvedIdentity) MarshalJSON() ([]byte, error)
- func (s *ResolvedIdentity) SetAccountId(val string)
- func (s *ResolvedIdentity) SetAdditionalProps(val ResolvedIdentityAdditional)
- func (s *ResolvedIdentity) SetHandle(val string)
- func (s *ResolvedIdentity) SetProvider(val string)
- func (s *ResolvedIdentity) SetProviderUserId(val string)
- func (s *ResolvedIdentity) SetSchema(val OptURI)
- func (s *ResolvedIdentity) UnmarshalJSON(data []byte) error
- type ResolvedIdentityAdditional
- type ResolvedPlacement
- func (s *ResolvedPlacement) Decode(d *jx.Decoder) error
- func (s *ResolvedPlacement) Encode(e *jx.Encoder)
- func (s *ResolvedPlacement) GetAdditionalProps() ResolvedPlacementAdditional
- func (s *ResolvedPlacement) GetCell() OptString
- func (s *ResolvedPlacement) GetClusterHost() string
- func (s *ResolvedPlacement) GetJurisdiction() OptString
- func (s *ResolvedPlacement) GetMirrorId() string
- func (s *ResolvedPlacement) MarshalJSON() ([]byte, error)
- func (s *ResolvedPlacement) SetAdditionalProps(val ResolvedPlacementAdditional)
- func (s *ResolvedPlacement) SetCell(val OptString)
- func (s *ResolvedPlacement) SetClusterHost(val string)
- func (s *ResolvedPlacement) SetJurisdiction(val OptString)
- func (s *ResolvedPlacement) SetMirrorId(val string)
- func (s *ResolvedPlacement) UnmarshalJSON(data []byte) error
- type ResolvedPlacementAdditional
- type ResourceAccess
- func (s *ResourceAccess) Decode(d *jx.Decoder) error
- func (s *ResourceAccess) Encode(e *jx.Encoder)
- func (s *ResourceAccess) GetAdditionalProps() ResourceAccessAdditional
- func (s *ResourceAccess) GetPermissions() []string
- func (s *ResourceAccess) GetResourceId() string
- func (s *ResourceAccess) MarshalJSON() ([]byte, error)
- func (s *ResourceAccess) SetAdditionalProps(val ResourceAccessAdditional)
- func (s *ResourceAccess) SetPermissions(val []string)
- func (s *ResourceAccess) SetResourceId(val string)
- func (s *ResourceAccess) UnmarshalJSON(data []byte) error
- func (s *ResourceAccess) Validate() error
- type ResourceAccessAdditional
- type RevokeProjectAccessByProviderNoContent
- type RevokeProjectAccessByProviderParams
- type RevokeProjectAccessNoContent
- type RevokeProjectAccessParams
- type RevokeRepoAccessByProviderNoContent
- type RevokeRepoAccessByProviderParams
- type RevokeRepoAccessNoContent
- type RevokeRepoAccessParams
- type RevokeServiceAccountAccessNoContent
- type RevokeServiceAccountAccessParams
- type RevokeServiceAccountAccessResourceType
- func (RevokeServiceAccountAccessResourceType) AllValues() []RevokeServiceAccountAccessResourceType
- func (s RevokeServiceAccountAccessResourceType) MarshalText() ([]byte, error)
- func (s *RevokeServiceAccountAccessResourceType) UnmarshalText(data []byte) error
- func (s RevokeServiceAccountAccessResourceType) Validate() error
- type SecuritySource
- type ServiceAccount
- func (s *ServiceAccount) Decode(d *jx.Decoder) error
- func (s *ServiceAccount) Encode(e *jx.Encoder)
- func (s *ServiceAccount) GetAccountId() string
- func (s *ServiceAccount) GetAdditionalProps() ServiceAccountAdditional
- func (s *ServiceAccount) GetCreatedAt() time.Time
- func (s *ServiceAccount) GetName() string
- func (s *ServiceAccount) GetOrgId() string
- func (s *ServiceAccount) GetSchema() OptURI
- func (s *ServiceAccount) GetStatus() string
- func (s *ServiceAccount) GetSystemManaged() bool
- func (s *ServiceAccount) MarshalJSON() ([]byte, error)
- func (s *ServiceAccount) SetAccountId(val string)
- func (s *ServiceAccount) SetAdditionalProps(val ServiceAccountAdditional)
- func (s *ServiceAccount) SetCreatedAt(val time.Time)
- func (s *ServiceAccount) SetName(val string)
- func (s *ServiceAccount) SetOrgId(val string)
- func (s *ServiceAccount) SetSchema(val OptURI)
- func (s *ServiceAccount) SetStatus(val string)
- func (s *ServiceAccount) SetSystemManaged(val bool)
- func (s *ServiceAccount) UnmarshalJSON(data []byte) error
- type ServiceAccountAdditional
- type ServiceAccountGrant
- func (s *ServiceAccountGrant) Decode(d *jx.Decoder) error
- func (s *ServiceAccountGrant) Encode(e *jx.Encoder)
- func (s *ServiceAccountGrant) GetAdditionalProps() ServiceAccountGrantAdditional
- func (s *ServiceAccountGrant) GetResourceId() string
- func (s *ServiceAccountGrant) GetResourceName() OptString
- func (s *ServiceAccountGrant) GetResourceType() string
- func (s *ServiceAccountGrant) GetRole() string
- func (s *ServiceAccountGrant) MarshalJSON() ([]byte, error)
- func (s *ServiceAccountGrant) SetAdditionalProps(val ServiceAccountGrantAdditional)
- func (s *ServiceAccountGrant) SetResourceId(val string)
- func (s *ServiceAccountGrant) SetResourceName(val OptString)
- func (s *ServiceAccountGrant) SetResourceType(val string)
- func (s *ServiceAccountGrant) SetRole(val string)
- func (s *ServiceAccountGrant) UnmarshalJSON(data []byte) error
- type ServiceAccountGrantAdditional
- type ServiceAccountWithGrants
- func (s *ServiceAccountWithGrants) Decode(d *jx.Decoder) error
- func (s *ServiceAccountWithGrants) Encode(e *jx.Encoder)
- func (s *ServiceAccountWithGrants) GetAccountId() string
- func (s *ServiceAccountWithGrants) GetAdditionalProps() ServiceAccountWithGrantsAdditional
- func (s *ServiceAccountWithGrants) GetCreatedAt() time.Time
- func (s *ServiceAccountWithGrants) GetGrants() []string
- func (s *ServiceAccountWithGrants) GetName() string
- func (s *ServiceAccountWithGrants) GetOrgId() string
- func (s *ServiceAccountWithGrants) GetStatus() string
- func (s *ServiceAccountWithGrants) GetSystemManaged() bool
- func (s *ServiceAccountWithGrants) MarshalJSON() ([]byte, error)
- func (s *ServiceAccountWithGrants) SetAccountId(val string)
- func (s *ServiceAccountWithGrants) SetAdditionalProps(val ServiceAccountWithGrantsAdditional)
- func (s *ServiceAccountWithGrants) SetCreatedAt(val time.Time)
- func (s *ServiceAccountWithGrants) SetGrants(val []string)
- func (s *ServiceAccountWithGrants) SetName(val string)
- func (s *ServiceAccountWithGrants) SetOrgId(val string)
- func (s *ServiceAccountWithGrants) SetStatus(val string)
- func (s *ServiceAccountWithGrants) SetSystemManaged(val bool)
- func (s *ServiceAccountWithGrants) UnmarshalJSON(data []byte) error
- func (s *ServiceAccountWithGrants) Validate() error
- type ServiceAccountWithGrantsAdditional
- type SessionAuth
- type SetRepoVisibilityInputBody
- func (s *SetRepoVisibilityInputBody) Decode(d *jx.Decoder) error
- func (s *SetRepoVisibilityInputBody) Encode(e *jx.Encoder)
- func (s *SetRepoVisibilityInputBody) GetAdditionalProps() SetRepoVisibilityInputBodyAdditional
- func (s *SetRepoVisibilityInputBody) GetSchema() OptURI
- func (s *SetRepoVisibilityInputBody) GetVisibility() SetRepoVisibilityInputBodyVisibility
- func (s *SetRepoVisibilityInputBody) MarshalJSON() ([]byte, error)
- func (s *SetRepoVisibilityInputBody) SetAdditionalProps(val SetRepoVisibilityInputBodyAdditional)
- func (s *SetRepoVisibilityInputBody) SetSchema(val OptURI)
- func (s *SetRepoVisibilityInputBody) SetVisibility(val SetRepoVisibilityInputBodyVisibility)
- func (s *SetRepoVisibilityInputBody) UnmarshalJSON(data []byte) error
- func (s *SetRepoVisibilityInputBody) Validate() error
- type SetRepoVisibilityInputBodyAdditional
- type SetRepoVisibilityInputBodyVisibility
- func (SetRepoVisibilityInputBodyVisibility) AllValues() []SetRepoVisibilityInputBodyVisibility
- func (s *SetRepoVisibilityInputBodyVisibility) Decode(d *jx.Decoder) error
- func (s SetRepoVisibilityInputBodyVisibility) Encode(e *jx.Encoder)
- func (s SetRepoVisibilityInputBodyVisibility) MarshalJSON() ([]byte, error)
- func (s SetRepoVisibilityInputBodyVisibility) MarshalText() ([]byte, error)
- func (s *SetRepoVisibilityInputBodyVisibility) UnmarshalJSON(data []byte) error
- func (s *SetRepoVisibilityInputBodyVisibility) UnmarshalText(data []byte) error
- func (s SetRepoVisibilityInputBodyVisibility) Validate() error
- type SetRepoVisibilityOutputBody
- func (s *SetRepoVisibilityOutputBody) Decode(d *jx.Decoder) error
- func (s *SetRepoVisibilityOutputBody) Encode(e *jx.Encoder)
- func (s *SetRepoVisibilityOutputBody) GetAdditionalProps() SetRepoVisibilityOutputBodyAdditional
- func (s *SetRepoVisibilityOutputBody) GetSchema() OptURI
- func (s *SetRepoVisibilityOutputBody) GetVisibility() SetRepoVisibilityOutputBodyVisibility
- func (s *SetRepoVisibilityOutputBody) MarshalJSON() ([]byte, error)
- func (s *SetRepoVisibilityOutputBody) SetAdditionalProps(val SetRepoVisibilityOutputBodyAdditional)
- func (s *SetRepoVisibilityOutputBody) SetSchema(val OptURI)
- func (s *SetRepoVisibilityOutputBody) SetVisibility(val SetRepoVisibilityOutputBodyVisibility)
- func (s *SetRepoVisibilityOutputBody) UnmarshalJSON(data []byte) error
- func (s *SetRepoVisibilityOutputBody) Validate() error
- type SetRepoVisibilityOutputBodyAdditional
- func (s *SetRepoVisibilityOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s SetRepoVisibilityOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s SetRepoVisibilityOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *SetRepoVisibilityOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type SetRepoVisibilityOutputBodyVisibility
- func (SetRepoVisibilityOutputBodyVisibility) AllValues() []SetRepoVisibilityOutputBodyVisibility
- func (s *SetRepoVisibilityOutputBodyVisibility) Decode(d *jx.Decoder) error
- func (s SetRepoVisibilityOutputBodyVisibility) Encode(e *jx.Encoder)
- func (s SetRepoVisibilityOutputBodyVisibility) MarshalJSON() ([]byte, error)
- func (s SetRepoVisibilityOutputBodyVisibility) MarshalText() ([]byte, error)
- func (s *SetRepoVisibilityOutputBodyVisibility) UnmarshalJSON(data []byte) error
- func (s *SetRepoVisibilityOutputBodyVisibility) UnmarshalText(data []byte) error
- func (s SetRepoVisibilityOutputBodyVisibility) Validate() error
- type SetRepoVisibilityParams
- type TopologyCluster
- func (s *TopologyCluster) Decode(d *jx.Decoder) error
- func (s *TopologyCluster) Encode(e *jx.Encoder)
- func (s *TopologyCluster) GetAdditionalProps() TopologyClusterAdditional
- func (s *TopologyCluster) GetHost() string
- func (s *TopologyCluster) GetIsDefault() bool
- func (s *TopologyCluster) GetLabel() string
- func (s *TopologyCluster) GetPublicUrl() string
- func (s *TopologyCluster) GetSlug() string
- func (s *TopologyCluster) MarshalJSON() ([]byte, error)
- func (s *TopologyCluster) SetAdditionalProps(val TopologyClusterAdditional)
- func (s *TopologyCluster) SetHost(val string)
- func (s *TopologyCluster) SetIsDefault(val bool)
- func (s *TopologyCluster) SetLabel(val string)
- func (s *TopologyCluster) SetPublicUrl(val string)
- func (s *TopologyCluster) SetSlug(val string)
- func (s *TopologyCluster) UnmarshalJSON(data []byte) error
- type TopologyClusterAdditional
- type TopologyJurisdiction
- func (s *TopologyJurisdiction) Decode(d *jx.Decoder) error
- func (s *TopologyJurisdiction) Encode(e *jx.Encoder)
- func (s *TopologyJurisdiction) GetAdditionalProps() TopologyJurisdictionAdditional
- func (s *TopologyJurisdiction) GetID() string
- func (s *TopologyJurisdiction) GetLabel() string
- func (s *TopologyJurisdiction) GetRegions() []TopologyRegion
- func (s *TopologyJurisdiction) MarshalJSON() ([]byte, error)
- func (s *TopologyJurisdiction) SetAdditionalProps(val TopologyJurisdictionAdditional)
- func (s *TopologyJurisdiction) SetID(val string)
- func (s *TopologyJurisdiction) SetLabel(val string)
- func (s *TopologyJurisdiction) SetRegions(val []TopologyRegion)
- func (s *TopologyJurisdiction) UnmarshalJSON(data []byte) error
- func (s *TopologyJurisdiction) Validate() error
- type TopologyJurisdictionAdditional
- type TopologyRegion
- func (s *TopologyRegion) Decode(d *jx.Decoder) error
- func (s *TopologyRegion) Encode(e *jx.Encoder)
- func (s *TopologyRegion) GetAdditionalProps() TopologyRegionAdditional
- func (s *TopologyRegion) GetClusters() []TopologyCluster
- func (s *TopologyRegion) GetID() string
- func (s *TopologyRegion) GetLabel() string
- func (s *TopologyRegion) MarshalJSON() ([]byte, error)
- func (s *TopologyRegion) SetAdditionalProps(val TopologyRegionAdditional)
- func (s *TopologyRegion) SetClusters(val []TopologyCluster)
- func (s *TopologyRegion) SetID(val string)
- func (s *TopologyRegion) SetLabel(val string)
- func (s *TopologyRegion) UnmarshalJSON(data []byte) error
- func (s *TopologyRegion) Validate() error
- type TopologyRegionAdditional
- type WillDeleteStruct
- func (s *WillDeleteStruct) Decode(d *jx.Decoder) error
- func (s *WillDeleteStruct) Encode(e *jx.Encoder)
- func (s *WillDeleteStruct) GetAdditionalProps() WillDeleteStructAdditional
- func (s *WillDeleteStruct) GetProfileDataNote() string
- func (s *WillDeleteStruct) GetRepos() []DeletionRepo
- func (s *WillDeleteStruct) MarshalJSON() ([]byte, error)
- func (s *WillDeleteStruct) SetAdditionalProps(val WillDeleteStructAdditional)
- func (s *WillDeleteStruct) SetProfileDataNote(val string)
- func (s *WillDeleteStruct) SetRepos(val []DeletionRepo)
- func (s *WillDeleteStruct) UnmarshalJSON(data []byte) error
- func (s *WillDeleteStruct) Validate() error
- type WillDeleteStructAdditional
- type WillUnlinkStruct
- func (s *WillUnlinkStruct) Decode(d *jx.Decoder) error
- func (s *WillUnlinkStruct) Encode(e *jx.Encoder)
- func (s *WillUnlinkStruct) GetAdditionalProps() WillUnlinkStructAdditional
- func (s *WillUnlinkStruct) GetGrants() []DeletionGrant
- func (s *WillUnlinkStruct) GetMemberships() []DeletionMembership
- func (s *WillUnlinkStruct) MarshalJSON() ([]byte, error)
- func (s *WillUnlinkStruct) SetAdditionalProps(val WillUnlinkStructAdditional)
- func (s *WillUnlinkStruct) SetGrants(val []DeletionGrant)
- func (s *WillUnlinkStruct) SetMemberships(val []DeletionMembership)
- func (s *WillUnlinkStruct) UnmarshalJSON(data []byte) error
- func (s *WillUnlinkStruct) Validate() error
- type WillUnlinkStructAdditional
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIError ¶
APIError reports the title/detail/status of a control-plane RFC 7807 problem response, or "" if err isn't a control-plane API error. Use it to render a clean message instead of ogen's wrapped decode string:
if _, err := client.CreateOrg(ctx, body); err != nil {
if msg := coreapi.APIError(err); msg != "" {
return cli.NewSilentError(errors.New(msg))
}
return err
}
func GetRolesForBearerAuth ¶
GetRolesForBearerAuth returns the required roles for the given operation.
This is useful for authorization scenarios where you need to know which roles are required for an operation.
Example:
requiredRoles := GetRolesForBearerAuth(AddPetOperation)
Returns nil if the operation has no role requirements or if the operation is unknown.
func GetRolesForSessionAuth ¶
GetRolesForSessionAuth returns the required roles for the given operation.
This is useful for authorization scenarios where you need to know which roles are required for an operation.
Example:
requiredRoles := GetRolesForSessionAuth(AddPetOperation)
Returns nil if the operation has no role requirements or if the operation is unknown.
func StripSecurityWrapping ¶ added in v0.10.1
StripSecurityWrapping returns err with ogen's generated security wrappers removed from the rendered message, and err unchanged when it carries none.
It exists because those wrappers turn an actionable auth failure into something a user has to read past: an unreachable login server surfaces as
resolve mirror placements: security "BearerAuth": security source "BearerAuth": cannot reach the login server for …
where the two middle segments say nothing a user can act on — they name the OpenAPI security scheme that failed to resolve, which is an implementation detail of how the client asks for a token.
The segments are peeled structurally rather than by search-and-replace: each link in the chain is decomposed into the prefix its wrapper added plus the message it wrapped, and only a prefix that is itself a generated wrapper is dropped. Identical text appearing inside a message (an API error detail, say) is left alone, because it is not a wrapper prefix. Walking stops at the first link whose message doesn't contain its cause verbatim (a message that was rewritten rather than wrapped, e.g. the per-context re-login errors) — there is nothing further to decompose past that point.
Types ¶
type AddOrgMemberInputBody ¶
type AddOrgMemberInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Provider string `json:"provider"`
ProviderUserId string `json:"providerUserId"`
// Role at the org; defaults to member.
Role OptAddOrgMemberInputBodyRole `json:"role"`
AdditionalProps AddOrgMemberInputBodyAdditional
}
Ref: #/components/schemas/AddOrgMemberInputBody
func (*AddOrgMemberInputBody) Decode ¶
func (s *AddOrgMemberInputBody) Decode(d *jx.Decoder) error
Decode decodes AddOrgMemberInputBody from json.
func (*AddOrgMemberInputBody) Encode ¶
func (s *AddOrgMemberInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AddOrgMemberInputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *AddOrgMemberInputBody) GetAdditionalProps() AddOrgMemberInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*AddOrgMemberInputBody) GetProvider ¶
func (s *AddOrgMemberInputBody) GetProvider() string
GetProvider returns the value of Provider.
func (*AddOrgMemberInputBody) GetProviderUserId ¶
func (s *AddOrgMemberInputBody) GetProviderUserId() string
GetProviderUserId returns the value of ProviderUserId.
func (*AddOrgMemberInputBody) GetRole ¶
func (s *AddOrgMemberInputBody) GetRole() OptAddOrgMemberInputBodyRole
GetRole returns the value of Role.
func (*AddOrgMemberInputBody) GetSchema ¶
func (s *AddOrgMemberInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*AddOrgMemberInputBody) MarshalJSON ¶
func (s *AddOrgMemberInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AddOrgMemberInputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *AddOrgMemberInputBody) SetAdditionalProps(val AddOrgMemberInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*AddOrgMemberInputBody) SetProvider ¶
func (s *AddOrgMemberInputBody) SetProvider(val string)
SetProvider sets the value of Provider.
func (*AddOrgMemberInputBody) SetProviderUserId ¶
func (s *AddOrgMemberInputBody) SetProviderUserId(val string)
SetProviderUserId sets the value of ProviderUserId.
func (*AddOrgMemberInputBody) SetRole ¶
func (s *AddOrgMemberInputBody) SetRole(val OptAddOrgMemberInputBodyRole)
SetRole sets the value of Role.
func (*AddOrgMemberInputBody) SetSchema ¶
func (s *AddOrgMemberInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*AddOrgMemberInputBody) UnmarshalJSON ¶
func (s *AddOrgMemberInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AddOrgMemberInputBody) Validate ¶
func (s *AddOrgMemberInputBody) Validate() error
type AddOrgMemberInputBodyAdditional ¶ added in v0.7.6
func (*AddOrgMemberInputBodyAdditional) Decode ¶ added in v0.7.6
func (s *AddOrgMemberInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes AddOrgMemberInputBodyAdditional from json.
func (AddOrgMemberInputBodyAdditional) Encode ¶ added in v0.7.6
func (s AddOrgMemberInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AddOrgMemberInputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s AddOrgMemberInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AddOrgMemberInputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *AddOrgMemberInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AddOrgMemberInputBodyRole ¶
type AddOrgMemberInputBodyRole string
Role at the org; defaults to member.
const ( AddOrgMemberInputBodyRoleOwner AddOrgMemberInputBodyRole = "owner" AddOrgMemberInputBodyRoleAdmin AddOrgMemberInputBodyRole = "admin" AddOrgMemberInputBodyRoleMember AddOrgMemberInputBodyRole = "member" )
func (AddOrgMemberInputBodyRole) AllValues ¶
func (AddOrgMemberInputBodyRole) AllValues() []AddOrgMemberInputBodyRole
AllValues returns all AddOrgMemberInputBodyRole values.
func (*AddOrgMemberInputBodyRole) Decode ¶
func (s *AddOrgMemberInputBodyRole) Decode(d *jx.Decoder) error
Decode decodes AddOrgMemberInputBodyRole from json.
func (AddOrgMemberInputBodyRole) Encode ¶
func (s AddOrgMemberInputBodyRole) Encode(e *jx.Encoder)
Encode encodes AddOrgMemberInputBodyRole as json.
func (AddOrgMemberInputBodyRole) MarshalJSON ¶
func (s AddOrgMemberInputBodyRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (AddOrgMemberInputBodyRole) MarshalText ¶
func (s AddOrgMemberInputBodyRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AddOrgMemberInputBodyRole) UnmarshalJSON ¶
func (s *AddOrgMemberInputBodyRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AddOrgMemberInputBodyRole) UnmarshalText ¶
func (s *AddOrgMemberInputBodyRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (AddOrgMemberInputBodyRole) Validate ¶
func (s AddOrgMemberInputBodyRole) Validate() error
type AddOrgMemberParams ¶
type AddOrgMemberParams struct {
OrgId string
}
AddOrgMemberParams is parameters of addOrgMember operation.
type AuditEvent ¶
type AuditEvent struct {
ActorId string `json:"actorId"`
EventType string `json:"eventType"`
ID string `json:"id"`
// Source IP recorded when the event was logged.
IpAddress OptString `json:"ipAddress"`
Metadata OptAuditEventMetadata `json:"metadata"`
OccurredAt time.Time `json:"occurredAt"`
AdditionalProps AuditEventAdditional
}
Ref: #/components/schemas/AuditEvent
func (*AuditEvent) Decode ¶
func (s *AuditEvent) Decode(d *jx.Decoder) error
Decode decodes AuditEvent from json.
func (*AuditEvent) Encode ¶
func (s *AuditEvent) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AuditEvent) GetActorId ¶
func (s *AuditEvent) GetActorId() string
GetActorId returns the value of ActorId.
func (*AuditEvent) GetAdditionalProps ¶ added in v0.7.6
func (s *AuditEvent) GetAdditionalProps() AuditEventAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*AuditEvent) GetEventType ¶
func (s *AuditEvent) GetEventType() string
GetEventType returns the value of EventType.
func (*AuditEvent) GetIpAddress ¶
func (s *AuditEvent) GetIpAddress() OptString
GetIpAddress returns the value of IpAddress.
func (*AuditEvent) GetMetadata ¶
func (s *AuditEvent) GetMetadata() OptAuditEventMetadata
GetMetadata returns the value of Metadata.
func (*AuditEvent) GetOccurredAt ¶
func (s *AuditEvent) GetOccurredAt() time.Time
GetOccurredAt returns the value of OccurredAt.
func (*AuditEvent) MarshalJSON ¶
func (s *AuditEvent) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AuditEvent) SetActorId ¶
func (s *AuditEvent) SetActorId(val string)
SetActorId sets the value of ActorId.
func (*AuditEvent) SetAdditionalProps ¶ added in v0.7.6
func (s *AuditEvent) SetAdditionalProps(val AuditEventAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*AuditEvent) SetEventType ¶
func (s *AuditEvent) SetEventType(val string)
SetEventType sets the value of EventType.
func (*AuditEvent) SetIpAddress ¶
func (s *AuditEvent) SetIpAddress(val OptString)
SetIpAddress sets the value of IpAddress.
func (*AuditEvent) SetMetadata ¶
func (s *AuditEvent) SetMetadata(val OptAuditEventMetadata)
SetMetadata sets the value of Metadata.
func (*AuditEvent) SetOccurredAt ¶
func (s *AuditEvent) SetOccurredAt(val time.Time)
SetOccurredAt sets the value of OccurredAt.
func (*AuditEvent) UnmarshalJSON ¶
func (s *AuditEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AuditEventAdditional ¶ added in v0.7.6
func (*AuditEventAdditional) Decode ¶ added in v0.7.6
func (s *AuditEventAdditional) Decode(d *jx.Decoder) error
Decode decodes AuditEventAdditional from json.
func (AuditEventAdditional) Encode ¶ added in v0.7.6
func (s AuditEventAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AuditEventAdditional) MarshalJSON ¶ added in v0.7.6
func (s AuditEventAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AuditEventAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *AuditEventAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AuditEventMetadata ¶
func (*AuditEventMetadata) Decode ¶
func (s *AuditEventMetadata) Decode(d *jx.Decoder) error
Decode decodes AuditEventMetadata from json.
func (AuditEventMetadata) Encode ¶
func (s AuditEventMetadata) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AuditEventMetadata) MarshalJSON ¶
func (s AuditEventMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AuditEventMetadata) UnmarshalJSON ¶
func (s *AuditEventMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AvailableMirror ¶ added in v0.7.8
type AvailableMirror struct {
// Caller's effective GitHub access: read, write, or admin.
Access AvailableMirrorAccess `json:"access"`
IsArchived OptBool `json:"isArchived"`
IsPrivate OptBool `json:"isPrivate"`
Owner string `json:"owner"`
Repo string `json:"repo"`
// Available (can onboard), mirrored (already mirrored), or owner-only (personal repo of another
// user).
Status AvailableMirrorStatus `json:"status"`
AdditionalProps AvailableMirrorAdditional
}
Ref: #/components/schemas/AvailableMirror
func (*AvailableMirror) Decode ¶ added in v0.7.8
func (s *AvailableMirror) Decode(d *jx.Decoder) error
Decode decodes AvailableMirror from json.
func (*AvailableMirror) Encode ¶ added in v0.7.8
func (s *AvailableMirror) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AvailableMirror) GetAccess ¶ added in v0.7.8
func (s *AvailableMirror) GetAccess() AvailableMirrorAccess
GetAccess returns the value of Access.
func (*AvailableMirror) GetAdditionalProps ¶ added in v0.7.8
func (s *AvailableMirror) GetAdditionalProps() AvailableMirrorAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*AvailableMirror) GetIsArchived ¶ added in v0.7.8
func (s *AvailableMirror) GetIsArchived() OptBool
GetIsArchived returns the value of IsArchived.
func (*AvailableMirror) GetIsPrivate ¶ added in v0.7.8
func (s *AvailableMirror) GetIsPrivate() OptBool
GetIsPrivate returns the value of IsPrivate.
func (*AvailableMirror) GetOwner ¶ added in v0.7.8
func (s *AvailableMirror) GetOwner() string
GetOwner returns the value of Owner.
func (*AvailableMirror) GetRepo ¶ added in v0.7.8
func (s *AvailableMirror) GetRepo() string
GetRepo returns the value of Repo.
func (*AvailableMirror) GetStatus ¶ added in v0.7.8
func (s *AvailableMirror) GetStatus() AvailableMirrorStatus
GetStatus returns the value of Status.
func (*AvailableMirror) MarshalJSON ¶ added in v0.7.8
func (s *AvailableMirror) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AvailableMirror) SetAccess ¶ added in v0.7.8
func (s *AvailableMirror) SetAccess(val AvailableMirrorAccess)
SetAccess sets the value of Access.
func (*AvailableMirror) SetAdditionalProps ¶ added in v0.7.8
func (s *AvailableMirror) SetAdditionalProps(val AvailableMirrorAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*AvailableMirror) SetIsArchived ¶ added in v0.7.8
func (s *AvailableMirror) SetIsArchived(val OptBool)
SetIsArchived sets the value of IsArchived.
func (*AvailableMirror) SetIsPrivate ¶ added in v0.7.8
func (s *AvailableMirror) SetIsPrivate(val OptBool)
SetIsPrivate sets the value of IsPrivate.
func (*AvailableMirror) SetOwner ¶ added in v0.7.8
func (s *AvailableMirror) SetOwner(val string)
SetOwner sets the value of Owner.
func (*AvailableMirror) SetRepo ¶ added in v0.7.8
func (s *AvailableMirror) SetRepo(val string)
SetRepo sets the value of Repo.
func (*AvailableMirror) SetStatus ¶ added in v0.7.8
func (s *AvailableMirror) SetStatus(val AvailableMirrorStatus)
SetStatus sets the value of Status.
func (*AvailableMirror) UnmarshalJSON ¶ added in v0.7.8
func (s *AvailableMirror) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AvailableMirror) Validate ¶ added in v0.7.8
func (s *AvailableMirror) Validate() error
type AvailableMirrorAccess ¶ added in v0.7.8
type AvailableMirrorAccess string
Caller's effective GitHub access: read, write, or admin.
const ( AvailableMirrorAccessRead AvailableMirrorAccess = "read" AvailableMirrorAccessWrite AvailableMirrorAccess = "write" AvailableMirrorAccessAdmin AvailableMirrorAccess = "admin" )
func (AvailableMirrorAccess) AllValues ¶ added in v0.7.8
func (AvailableMirrorAccess) AllValues() []AvailableMirrorAccess
AllValues returns all AvailableMirrorAccess values.
func (*AvailableMirrorAccess) Decode ¶ added in v0.7.8
func (s *AvailableMirrorAccess) Decode(d *jx.Decoder) error
Decode decodes AvailableMirrorAccess from json.
func (AvailableMirrorAccess) Encode ¶ added in v0.7.8
func (s AvailableMirrorAccess) Encode(e *jx.Encoder)
Encode encodes AvailableMirrorAccess as json.
func (AvailableMirrorAccess) MarshalJSON ¶ added in v0.7.8
func (s AvailableMirrorAccess) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (AvailableMirrorAccess) MarshalText ¶ added in v0.7.8
func (s AvailableMirrorAccess) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AvailableMirrorAccess) UnmarshalJSON ¶ added in v0.7.8
func (s *AvailableMirrorAccess) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AvailableMirrorAccess) UnmarshalText ¶ added in v0.7.8
func (s *AvailableMirrorAccess) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (AvailableMirrorAccess) Validate ¶ added in v0.7.8
func (s AvailableMirrorAccess) Validate() error
type AvailableMirrorAdditional ¶ added in v0.7.8
func (*AvailableMirrorAdditional) Decode ¶ added in v0.7.8
func (s *AvailableMirrorAdditional) Decode(d *jx.Decoder) error
Decode decodes AvailableMirrorAdditional from json.
func (AvailableMirrorAdditional) Encode ¶ added in v0.7.8
func (s AvailableMirrorAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AvailableMirrorAdditional) MarshalJSON ¶ added in v0.7.8
func (s AvailableMirrorAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AvailableMirrorAdditional) UnmarshalJSON ¶ added in v0.7.8
func (s *AvailableMirrorAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AvailableMirrorStatus ¶ added in v0.7.8
type AvailableMirrorStatus string
Available (can onboard), mirrored (already mirrored), or owner-only (personal repo of another user).
const ( AvailableMirrorStatusAvailable AvailableMirrorStatus = "available" AvailableMirrorStatusMirrored AvailableMirrorStatus = "mirrored" AvailableMirrorStatusOwnerOnly AvailableMirrorStatus = "owner-only" )
func (AvailableMirrorStatus) AllValues ¶ added in v0.7.8
func (AvailableMirrorStatus) AllValues() []AvailableMirrorStatus
AllValues returns all AvailableMirrorStatus values.
func (*AvailableMirrorStatus) Decode ¶ added in v0.7.8
func (s *AvailableMirrorStatus) Decode(d *jx.Decoder) error
Decode decodes AvailableMirrorStatus from json.
func (AvailableMirrorStatus) Encode ¶ added in v0.7.8
func (s AvailableMirrorStatus) Encode(e *jx.Encoder)
Encode encodes AvailableMirrorStatus as json.
func (AvailableMirrorStatus) MarshalJSON ¶ added in v0.7.8
func (s AvailableMirrorStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (AvailableMirrorStatus) MarshalText ¶ added in v0.7.8
func (s AvailableMirrorStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AvailableMirrorStatus) UnmarshalJSON ¶ added in v0.7.8
func (s *AvailableMirrorStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AvailableMirrorStatus) UnmarshalText ¶ added in v0.7.8
func (s *AvailableMirrorStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (AvailableMirrorStatus) Validate ¶ added in v0.7.8
func (s AvailableMirrorStatus) Validate() error
type BatchLookupInputBody ¶
type BatchLookupInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Refs []LookupRef `json:"refs"`
AdditionalProps BatchLookupInputBodyAdditional
}
Ref: #/components/schemas/BatchLookupInputBody
func (*BatchLookupInputBody) Decode ¶
func (s *BatchLookupInputBody) Decode(d *jx.Decoder) error
Decode decodes BatchLookupInputBody from json.
func (*BatchLookupInputBody) Encode ¶
func (s *BatchLookupInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BatchLookupInputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *BatchLookupInputBody) GetAdditionalProps() BatchLookupInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*BatchLookupInputBody) GetRefs ¶
func (s *BatchLookupInputBody) GetRefs() []LookupRef
GetRefs returns the value of Refs.
func (*BatchLookupInputBody) GetSchema ¶
func (s *BatchLookupInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*BatchLookupInputBody) MarshalJSON ¶
func (s *BatchLookupInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BatchLookupInputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *BatchLookupInputBody) SetAdditionalProps(val BatchLookupInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*BatchLookupInputBody) SetRefs ¶
func (s *BatchLookupInputBody) SetRefs(val []LookupRef)
SetRefs sets the value of Refs.
func (*BatchLookupInputBody) SetSchema ¶
func (s *BatchLookupInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*BatchLookupInputBody) UnmarshalJSON ¶
func (s *BatchLookupInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BatchLookupInputBody) Validate ¶
func (s *BatchLookupInputBody) Validate() error
type BatchLookupInputBodyAdditional ¶ added in v0.7.6
func (*BatchLookupInputBodyAdditional) Decode ¶ added in v0.7.6
func (s *BatchLookupInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes BatchLookupInputBodyAdditional from json.
func (BatchLookupInputBodyAdditional) Encode ¶ added in v0.7.6
func (s BatchLookupInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (BatchLookupInputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s BatchLookupInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BatchLookupInputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *BatchLookupInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BatchLookupOutputBody ¶
type BatchLookupOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Refs []LookupRefResult `json:"refs"`
AdditionalProps BatchLookupOutputBodyAdditional
}
Ref: #/components/schemas/BatchLookupOutputBody
func (*BatchLookupOutputBody) Decode ¶
func (s *BatchLookupOutputBody) Decode(d *jx.Decoder) error
Decode decodes BatchLookupOutputBody from json.
func (*BatchLookupOutputBody) Encode ¶
func (s *BatchLookupOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BatchLookupOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *BatchLookupOutputBody) GetAdditionalProps() BatchLookupOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*BatchLookupOutputBody) GetRefs ¶
func (s *BatchLookupOutputBody) GetRefs() []LookupRefResult
GetRefs returns the value of Refs.
func (*BatchLookupOutputBody) GetSchema ¶
func (s *BatchLookupOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*BatchLookupOutputBody) MarshalJSON ¶
func (s *BatchLookupOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BatchLookupOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *BatchLookupOutputBody) SetAdditionalProps(val BatchLookupOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*BatchLookupOutputBody) SetRefs ¶
func (s *BatchLookupOutputBody) SetRefs(val []LookupRefResult)
SetRefs sets the value of Refs.
func (*BatchLookupOutputBody) SetSchema ¶
func (s *BatchLookupOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*BatchLookupOutputBody) UnmarshalJSON ¶
func (s *BatchLookupOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BatchLookupOutputBody) Validate ¶
func (s *BatchLookupOutputBody) Validate() error
type BatchLookupOutputBodyAdditional ¶ added in v0.7.6
func (*BatchLookupOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *BatchLookupOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes BatchLookupOutputBodyAdditional from json.
func (BatchLookupOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s BatchLookupOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (BatchLookupOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s BatchLookupOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BatchLookupOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *BatchLookupOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BearerAuth ¶
func (*BearerAuth) GetRoles ¶
func (s *BearerAuth) GetRoles() []string
GetRoles returns the value of Roles.
func (*BearerAuth) GetToken ¶
func (s *BearerAuth) GetToken() string
GetToken returns the value of Token.
func (*BearerAuth) SetRoles ¶
func (s *BearerAuth) SetRoles(val []string)
SetRoles sets the value of Roles.
func (*BearerAuth) SetToken ¶
func (s *BearerAuth) SetToken(val string)
SetToken sets the value of Token.
type Binding ¶
type Binding struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
AccountId string `json:"accountId"`
AttributeFilter jx.Raw `json:"attributeFilter"`
CreatedAt time.Time `json:"createdAt"`
ID string `json:"id"`
ProviderId string `json:"providerId"`
AdditionalProps BindingAdditional
}
Ref: #/components/schemas/Binding
func (*Binding) GetAccountId ¶
GetAccountId returns the value of AccountId.
func (*Binding) GetAdditionalProps ¶ added in v0.7.6
func (s *Binding) GetAdditionalProps() BindingAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*Binding) GetAttributeFilter ¶
GetAttributeFilter returns the value of AttributeFilter.
func (*Binding) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Binding) GetProviderId ¶
GetProviderId returns the value of ProviderId.
func (*Binding) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Binding) SetAccountId ¶
SetAccountId sets the value of AccountId.
func (*Binding) SetAdditionalProps ¶ added in v0.7.6
func (s *Binding) SetAdditionalProps(val BindingAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*Binding) SetAttributeFilter ¶
SetAttributeFilter sets the value of AttributeFilter.
func (*Binding) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Binding) SetProviderId ¶
SetProviderId sets the value of ProviderId.
func (*Binding) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type BindingAdditional ¶ added in v0.7.6
func (*BindingAdditional) Decode ¶ added in v0.7.6
func (s *BindingAdditional) Decode(d *jx.Decoder) error
Decode decodes BindingAdditional from json.
func (BindingAdditional) Encode ¶ added in v0.7.6
func (s BindingAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (BindingAdditional) MarshalJSON ¶ added in v0.7.6
func (s BindingAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BindingAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *BindingAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIWebhookView ¶ added in v0.9.0
type CIWebhookView struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
BkOrganization string `json:"bk_organization"`
BkPipeline string `json:"bk_pipeline"`
CreatedAt time.Time `json:"created_at"`
DisplayName string `json:"display_name"`
Enabled bool `json:"enabled"`
Events []string `json:"events"`
ID string `json:"id"`
Provider string `json:"provider"`
RefFilter string `json:"ref_filter"`
RepoID string `json:"repo_id"`
UpdatedAt time.Time `json:"updated_at"`
AdditionalProps CIWebhookViewAdditional
}
Ref: #/components/schemas/CIWebhookView
func (*CIWebhookView) Decode ¶ added in v0.9.0
func (s *CIWebhookView) Decode(d *jx.Decoder) error
Decode decodes CIWebhookView from json.
func (*CIWebhookView) Encode ¶ added in v0.9.0
func (s *CIWebhookView) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CIWebhookView) GetAdditionalProps ¶ added in v0.9.0
func (s *CIWebhookView) GetAdditionalProps() CIWebhookViewAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CIWebhookView) GetBkOrganization ¶ added in v0.9.0
func (s *CIWebhookView) GetBkOrganization() string
GetBkOrganization returns the value of BkOrganization.
func (*CIWebhookView) GetBkPipeline ¶ added in v0.9.0
func (s *CIWebhookView) GetBkPipeline() string
GetBkPipeline returns the value of BkPipeline.
func (*CIWebhookView) GetCreatedAt ¶ added in v0.9.0
func (s *CIWebhookView) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*CIWebhookView) GetDisplayName ¶ added in v0.9.0
func (s *CIWebhookView) GetDisplayName() string
GetDisplayName returns the value of DisplayName.
func (*CIWebhookView) GetEnabled ¶ added in v0.9.0
func (s *CIWebhookView) GetEnabled() bool
GetEnabled returns the value of Enabled.
func (*CIWebhookView) GetEvents ¶ added in v0.9.0
func (s *CIWebhookView) GetEvents() []string
GetEvents returns the value of Events.
func (*CIWebhookView) GetID ¶ added in v0.9.0
func (s *CIWebhookView) GetID() string
GetID returns the value of ID.
func (*CIWebhookView) GetProvider ¶ added in v0.9.0
func (s *CIWebhookView) GetProvider() string
GetProvider returns the value of Provider.
func (*CIWebhookView) GetRefFilter ¶ added in v0.9.0
func (s *CIWebhookView) GetRefFilter() string
GetRefFilter returns the value of RefFilter.
func (*CIWebhookView) GetRepoID ¶ added in v0.9.0
func (s *CIWebhookView) GetRepoID() string
GetRepoID returns the value of RepoID.
func (*CIWebhookView) GetSchema ¶ added in v0.9.0
func (s *CIWebhookView) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CIWebhookView) GetUpdatedAt ¶ added in v0.9.0
func (s *CIWebhookView) GetUpdatedAt() time.Time
GetUpdatedAt returns the value of UpdatedAt.
func (*CIWebhookView) MarshalJSON ¶ added in v0.9.0
func (s *CIWebhookView) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIWebhookView) SetAdditionalProps ¶ added in v0.9.0
func (s *CIWebhookView) SetAdditionalProps(val CIWebhookViewAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CIWebhookView) SetBkOrganization ¶ added in v0.9.0
func (s *CIWebhookView) SetBkOrganization(val string)
SetBkOrganization sets the value of BkOrganization.
func (*CIWebhookView) SetBkPipeline ¶ added in v0.9.0
func (s *CIWebhookView) SetBkPipeline(val string)
SetBkPipeline sets the value of BkPipeline.
func (*CIWebhookView) SetCreatedAt ¶ added in v0.9.0
func (s *CIWebhookView) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*CIWebhookView) SetDisplayName ¶ added in v0.9.0
func (s *CIWebhookView) SetDisplayName(val string)
SetDisplayName sets the value of DisplayName.
func (*CIWebhookView) SetEnabled ¶ added in v0.9.0
func (s *CIWebhookView) SetEnabled(val bool)
SetEnabled sets the value of Enabled.
func (*CIWebhookView) SetEvents ¶ added in v0.9.0
func (s *CIWebhookView) SetEvents(val []string)
SetEvents sets the value of Events.
func (*CIWebhookView) SetID ¶ added in v0.9.0
func (s *CIWebhookView) SetID(val string)
SetID sets the value of ID.
func (*CIWebhookView) SetProvider ¶ added in v0.9.0
func (s *CIWebhookView) SetProvider(val string)
SetProvider sets the value of Provider.
func (*CIWebhookView) SetRefFilter ¶ added in v0.9.0
func (s *CIWebhookView) SetRefFilter(val string)
SetRefFilter sets the value of RefFilter.
func (*CIWebhookView) SetRepoID ¶ added in v0.9.0
func (s *CIWebhookView) SetRepoID(val string)
SetRepoID sets the value of RepoID.
func (*CIWebhookView) SetSchema ¶ added in v0.9.0
func (s *CIWebhookView) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CIWebhookView) SetUpdatedAt ¶ added in v0.9.0
func (s *CIWebhookView) SetUpdatedAt(val time.Time)
SetUpdatedAt sets the value of UpdatedAt.
func (*CIWebhookView) UnmarshalJSON ¶ added in v0.9.0
func (s *CIWebhookView) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CIWebhookView) Validate ¶ added in v0.9.0
func (s *CIWebhookView) Validate() error
type CIWebhookViewAdditional ¶ added in v0.9.0
func (*CIWebhookViewAdditional) Decode ¶ added in v0.9.0
func (s *CIWebhookViewAdditional) Decode(d *jx.Decoder) error
Decode decodes CIWebhookViewAdditional from json.
func (CIWebhookViewAdditional) Encode ¶ added in v0.9.0
func (s CIWebhookViewAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CIWebhookViewAdditional) MarshalJSON ¶ added in v0.9.0
func (s CIWebhookViewAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIWebhookViewAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *CIWebhookViewAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CancelDeletionOK ¶ added in v0.9.0
type CancelDeletionOK struct{}
CancelDeletionOK is response for CancelDeletion operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements OAS client.
func New ¶
New returns a *Client wired to talk to the Entire control plane (Core API) as the currently logged-in user.
The host and bearer come from auth.ResolveControlPlaneTarget. Control-plane commands target a login server directly — unlike `git clone` or the data API, there's no resource host to match a context against — so the active contexts.json login is used as-is, and `entire auth use <ctx>` retargets the control plane onto that login server; with no active context this errors with the `entire login` hint. The Core API is served at <host>/api/v1. The bearer is resolved lazily per request, re-minting silently from the stored refresh token.
For a resource whose home jurisdiction is another region, the client's transport follows the home core's 421 redirect and exchanges the login token for one that core accepts (see newCrossJurisHTTPClient).
func NewClient ¶
func NewClient(serverURL string, sec SecuritySource, opts ...ClientOption) (*Client, error)
NewClient initializes new Client defined by OAS.
func NewForCluster ¶ added in v0.7.8
NewForCluster returns a *Client for a resource-provider control-plane command whose subject is a mirror on clusterHost (mirror create/remove, mirror collaborators list).
Unlike New — which dials the active context — the core is discovered from the cluster's /.well-known/entire-cluster.json and the matching local context supplies the bearer (see auth.ResolveControlPlaneTargetForCluster). This is what lets a command act on a cluster fronted by a federation other than the active login, e.g. running `repo mirror collaborators list … aws-us-east-2.entire.io` while the active context is a partial.to login: without it the active context's core 400s with "unknown cluster_host" because it doesn't front the cluster. ENTIRE_TOKEN is honoured identically to New.
func NewWithBearer ¶ added in v0.7.4
NewWithBearer returns a *Client targeting an explicit core origin with a fixed bearer token: the token is sent verbatim, not re-resolved or re-minted per request. Used when a command must hit a specific login server with a token already in hand: e.g. `entire auth status` querying /me on the active context's core with that context's session token. A cross-jurisdiction call still follows the home core's 421 and exchanges this token for that core's audience (see newCrossJurisHTTPClient).
func (*Client) AddOrgMember ¶
func (c *Client) AddOrgMember(ctx context.Context, request *AddOrgMemberInputBody, params AddOrgMemberParams) (*Membership, error)
AddOrgMember invokes addOrgMember operation.
Add a member to an organization.
POST /orgs/{orgId}/members
func (*Client) BatchLookup ¶
func (c *Client) BatchLookup(ctx context.Context, request *BatchLookupInputBody) (*BatchLookupOutputBody, error)
BatchLookup invokes batchLookup operation.
Batch-resolve (type, id) refs to enriched records.
POST /lookup
func (*Client) CancelDeletion ¶ added in v0.9.0
CancelDeletion invokes cancelDeletion operation.
Cancel a pending deletion request for the calling account.
POST /me/cancel-deletion
func (*Client) CompleteOnboarding ¶ added in v0.9.0
func (c *Client) CompleteOnboarding(ctx context.Context) (*CompleteOnboardingOutputBody, error)
CompleteOnboarding invokes completeOnboarding operation.
Record that the calling account completed web onboarding.
POST /me/onboarding/complete
func (*Client) CoreOrigin ¶ added in v0.7.8
CoreOrigin reports the control-plane core origin this client dials — scheme://host, the apiBasePath stripped. It is the single source of truth for "which core am I talking to": whether the client came from New (active context), NewForCluster (the cluster's core), or the ENTIRE_TOKEN bypass (the token's aud), the origin is whatever was actually wired in. Use it for user-facing "talking to <core>" output so the named core can never diverge from where requests go — re-deriving it from ResolveControlPlaneTarget would silently miss the ENTIRE_TOKEN and cluster cases.
func (*Client) CreateBinding ¶
func (c *Client) CreateBinding(ctx context.Context, request *CreateBindingInputBody, params CreateBindingParams) (*Binding, error)
CreateBinding invokes createBinding operation.
Create OIDC binding.
POST /service-accounts/{accountId}/bindings
func (*Client) CreateMirror ¶
func (c *Client) CreateMirror(ctx context.Context, request *CreateMirrorInputBody) (*CreatedMirror, error)
CreateMirror invokes createMirror operation.
Create GitHub mirror.
POST /mirrors
func (*Client) CreateProject ¶
func (c *Client) CreateProject(ctx context.Context, request *CreateProjectInputBody) (*Project, error)
CreateProject invokes createProject operation.
Create project.
POST /projects
func (*Client) CreateRepoCIWebhook ¶ added in v0.9.0
func (c *Client) CreateRepoCIWebhook(ctx context.Context, request *CreateRepoCIWebhookInputBody, params CreateRepoCIWebhookParams) (*CIWebhookView, error)
CreateRepoCIWebhook invokes createRepoCIWebhook operation.
Enroll a repo into a CI webhook (Buildkite).
POST /repos/{repoId}/ci-webhooks
func (*Client) CreateServiceAccount ¶
func (c *Client) CreateServiceAccount(ctx context.Context, request *CreateServiceAccountInputBody) (*ServiceAccount, error)
CreateServiceAccount invokes createServiceAccount operation.
Create service account.
POST /service-accounts
func (*Client) DeleteBinding ¶
func (c *Client) DeleteBinding(ctx context.Context, params DeleteBindingParams) error
DeleteBinding invokes deleteBinding operation.
Delete OIDC binding.
DELETE /service-accounts/{accountId}/bindings/{bindingId}
func (*Client) DeleteMe ¶ added in v0.8.0
DeleteMe invokes deleteMe operation.
Request deletion of the calling account (7-day cooldown; cancel via POST /me/cancel-deletion).
DELETE /me
func (*Client) DeleteMirror ¶
func (c *Client) DeleteMirror(ctx context.Context, params DeleteMirrorParams) error
DeleteMirror invokes deleteMirror operation.
Delete a mirror by upstream coords + cluster host.
DELETE /mirrors
func (*Client) DeleteOrg ¶ added in v0.7.8
func (c *Client) DeleteOrg(ctx context.Context, params DeleteOrgParams) error
DeleteOrg invokes deleteOrg operation.
Delete an organization.
DELETE /orgs/{orgId}
func (*Client) DeleteProject ¶ added in v0.7.8
func (c *Client) DeleteProject(ctx context.Context, params DeleteProjectParams) error
DeleteProject invokes deleteProject operation.
Delete a project.
DELETE /projects/{projectId}
func (*Client) DeleteRepo ¶
func (c *Client) DeleteRepo(ctx context.Context, params DeleteRepoParams) error
DeleteRepo invokes deleteRepo operation.
Delete repository.
DELETE /repos/{repoId}
func (*Client) DeleteRepoCIWebhook ¶ added in v0.9.0
func (c *Client) DeleteRepoCIWebhook(ctx context.Context, params DeleteRepoCIWebhookParams) error
DeleteRepoCIWebhook invokes deleteRepoCIWebhook operation.
Delete a repo's CI webhook.
DELETE /repos/{repoId}/ci-webhooks/{id}
func (*Client) DeleteServiceAccount ¶
func (c *Client) DeleteServiceAccount(ctx context.Context, params DeleteServiceAccountParams) error
DeleteServiceAccount invokes deleteServiceAccount operation.
Delete service account.
DELETE /service-accounts/{accountId}
func (*Client) GetDeletionPreview ¶ added in v0.9.0
func (c *Client) GetDeletionPreview(ctx context.Context) (*GetDeletionPreviewOutputBody, error)
GetDeletionPreview invokes getDeletionPreview operation.
Preview what deleting the calling account will erase, unlink, and block on.
GET /me/deletion-preview
func (*Client) GetMe ¶
func (c *Client) GetMe(ctx context.Context) (*GetMeOutputBody, error)
GetMe invokes getMe operation.
Get the calling account's identity and profile.
GET /me
func (*Client) GetMirror ¶
GetMirror invokes getMirror operation.
Get mirror by id.
GET /mirrors/{mirrorId}
func (*Client) GetOnboardingStatus ¶ added in v0.9.0
func (c *Client) GetOnboardingStatus(ctx context.Context) (*GetOnboardingStatusOutputBody, error)
GetOnboardingStatus invokes getOnboardingStatus operation.
Report whether the calling account still needs to complete onboarding.
GET /me/onboarding
func (*Client) GetOrg ¶ added in v0.7.8
GetOrg invokes getOrg operation.
Get an organization.
GET /orgs/{orgId}
func (*Client) GetPermissions ¶
func (c *Client) GetPermissions(ctx context.Context, params GetPermissionsParams) (*GetPermissionsOutputBody, error)
GetPermissions invokes getPermissions operation.
List the caller's permissions on a single resource.
GET /access/{resourceType}/{resourceId}
func (*Client) GetProject ¶ added in v0.7.8
GetProject invokes getProject operation.
Get a project by id.
GET /projects/{projectId}
func (*Client) GetRepoVisibility ¶ added in v0.7.8
func (c *Client) GetRepoVisibility(ctx context.Context, params GetRepoVisibilityParams) (*GetRepoVisibilityOutputBody, error)
GetRepoVisibility invokes getRepoVisibility operation.
Get repository visibility.
GET /repos/{repoId}/visibility
func (*Client) GetServiceAccount ¶
func (c *Client) GetServiceAccount(ctx context.Context, params GetServiceAccountParams) (*ServiceAccount, error)
GetServiceAccount invokes getServiceAccount operation.
Get service account.
GET /service-accounts/{accountId}
func (*Client) GetTopology ¶ added in v0.9.0
func (c *Client) GetTopology(ctx context.Context) (*GetTopologyOutputBody, error)
GetTopology invokes getTopology operation.
Get the cluster topology as a jurisdiction → region → cluster tree.
GET /topology
func (*Client) GetVersion ¶ added in v0.7.7
func (c *Client) GetVersion(ctx context.Context) (*GetVersionOutputBody, error)
GetVersion invokes getVersion operation.
Get the server version and mode.
GET /version
func (*Client) GrantProjectAccess ¶
func (c *Client) GrantProjectAccess(ctx context.Context, request *GrantProjectAccessInputBody, params GrantProjectAccessParams) (*GrantProjectAccessOutputBody, error)
GrantProjectAccess invokes grantProjectAccess operation.
Grant project access to an identity.
POST /projects/{projectId}/grants
func (*Client) GrantRepoAccess ¶
func (c *Client) GrantRepoAccess(ctx context.Context, request *GrantRepoAccessInputBody, params GrantRepoAccessParams) (*GrantRepoAccessOutputBody, error)
GrantRepoAccess invokes grantRepoAccess operation.
Grant repo access to an identity.
POST /repos/{repoId}/grants
func (*Client) GrantServiceAccountAccess ¶
func (c *Client) GrantServiceAccountAccess(ctx context.Context, request *GrantServiceAccountAccessInputBody, params GrantServiceAccountAccessParams) (*GrantServiceAccountAccessOutputBody, error)
GrantServiceAccountAccess invokes grantServiceAccountAccess operation.
Grant service account access on a repo or project.
POST /service-accounts/{accountId}/grants
func (*Client) ListAuditEvents ¶
func (c *Client) ListAuditEvents(ctx context.Context, params ListAuditEventsParams) (*ListAuditEventsOutputBody, error)
ListAuditEvents invokes listAuditEvents operation.
List the calling account's recent audit events.
GET /audit
func (*Client) ListAvailableMirrors ¶ added in v0.7.8
func (c *Client) ListAvailableMirrors(ctx context.Context, params ListAvailableMirrorsParams) (*ListAvailableMirrorsOutputBody, error)
ListAvailableMirrors invokes listAvailableMirrors operation.
List GitHub repos the caller could onboard as mirrors.
GET /mirrors/available
func (*Client) ListBindings ¶
func (c *Client) ListBindings(ctx context.Context, params ListBindingsParams) (*ListBindingsOutputBody, error)
ListBindings invokes listBindings operation.
List OIDC bindings.
GET /service-accounts/{accountId}/bindings
func (*Client) ListClusters ¶ added in v0.7.8
func (c *Client) ListClusters(ctx context.Context) (*ListClustersOutputBody, error)
ListClusters invokes listClusters operation.
List data-plane clusters attached to this control plane.
GET /clusters
func (*Client) ListMirrorCollaborators ¶ added in v0.7.7
func (c *Client) ListMirrorCollaborators(ctx context.Context, params ListMirrorCollaboratorsParams) (*ListMirrorCollaboratorsOutputBody, error)
ListMirrorCollaborators invokes listMirrorCollaborators operation.
List the principals with access to a mirror (live GitHub-admin gated).
GET /mirrors/collaborators
func (*Client) ListMirrors ¶
func (c *Client) ListMirrors(ctx context.Context, params ListMirrorsParams) (*ListMirrorsOutputBody, error)
ListMirrors invokes listMirrors operation.
List mirrors visible to the caller.
GET /mirrors
func (*Client) ListOIDCProviders ¶
func (c *Client) ListOIDCProviders(ctx context.Context, params ListOIDCProvidersParams) (*ListOIDCProvidersOutputBody, error)
ListOIDCProviders invokes listOIDCProviders operation.
List federated OIDC identity providers.
GET /oidc-providers
func (*Client) ListOrgMembers ¶
func (c *Client) ListOrgMembers(ctx context.Context, params ListOrgMembersParams) (*ListOrgMembersOutputBody, error)
ListOrgMembers invokes listOrgMembers operation.
List members of an organization.
GET /orgs/{orgId}/members
func (*Client) ListOrgProjects ¶
func (c *Client) ListOrgProjects(ctx context.Context, params ListOrgProjectsParams) (*ListOrgProjectsOutputBody, error)
ListOrgProjects invokes listOrgProjects operation.
List projects owned by an organization.
GET /orgs/{orgId}/projects
func (*Client) ListOrgs ¶
func (c *Client) ListOrgs(ctx context.Context, params ListOrgsParams) (*ListOrgsOutputBodyHeaders, error)
ListOrgs invokes listOrgs operation.
List organizations the caller can see (or one by name).
GET /orgs
func (*Client) ListProjectMembers ¶
func (c *Client) ListProjectMembers(ctx context.Context, params ListProjectMembersParams) (*ListProjectMembersOutputBody, error)
ListProjectMembers invokes listProjectMembers operation.
List project members and their roles.
GET /projects/{projectId}/members
func (*Client) ListProjectRepos ¶
func (c *Client) ListProjectRepos(ctx context.Context, params ListProjectReposParams) (*ListProjectReposOutputBody, error)
ListProjectRepos invokes listProjectRepos operation.
List repositories in a project (or one by name).
GET /projects/{projectId}/repos
func (*Client) ListProjects ¶
func (c *Client) ListProjects(ctx context.Context, params ListProjectsParams) (*ListProjectsOutputBody, error)
ListProjects invokes listProjects operation.
List projects accessible to the caller (or one by name).
GET /projects
func (*Client) ListRepoCIWebhooks ¶ added in v0.9.0
func (c *Client) ListRepoCIWebhooks(ctx context.Context, params ListRepoCIWebhooksParams) (*ListRepoCIWebhooksOutputBody, error)
ListRepoCIWebhooks invokes listRepoCIWebhooks operation.
List a repo's CI webhooks.
GET /repos/{repoId}/ci-webhooks
func (*Client) ListRepoGrants ¶ added in v0.7.8
func (c *Client) ListRepoGrants(ctx context.Context, params ListRepoGrantsParams) (*ListRepoGrantsOutputBody, error)
ListRepoGrants invokes listRepoGrants operation.
List repo grants.
GET /repos/{repoId}/grants
func (*Client) ListRepos ¶ added in v0.8.0
func (c *Client) ListRepos(ctx context.Context, params ListReposParams) (*ListReposOutputBody, error)
ListRepos invokes listRepos operation.
List the caller's readable repositories (placement index).
GET /repos
func (*Client) ListServiceAccountGrants ¶
func (c *Client) ListServiceAccountGrants(ctx context.Context, params ListServiceAccountGrantsParams) (*ListServiceAccountGrantsOutputBody, error)
ListServiceAccountGrants invokes listServiceAccountGrants operation.
List service account grants.
GET /service-accounts/{accountId}/grants
func (*Client) ListServiceAccounts ¶
func (c *Client) ListServiceAccounts(ctx context.Context, params ListServiceAccountsParams) (*ListServiceAccountsOutputBody, error)
ListServiceAccounts invokes listServiceAccounts operation.
List service accounts in an org.
GET /service-accounts
func (*Client) LookupRepoBySlug ¶ added in v0.8.0
func (c *Client) LookupRepoBySlug(ctx context.Context, params LookupRepoBySlugParams) (*LookupBySlugOutputBody, error)
LookupRepoBySlug invokes lookupRepoBySlug operation.
Resolve a repo slug to routing info (unauthenticated).
GET /repos/lookup-by-slug
func (*Client) LookupResources ¶
func (c *Client) LookupResources(ctx context.Context, params LookupResourcesParams) (*LookupResourcesOutputBody, error)
LookupResources invokes lookupResources operation.
List resources of a type the caller can access.
GET /access/{resourceType}
func (*Client) PatchRepoCIWebhook ¶ added in v0.9.0
func (c *Client) PatchRepoCIWebhook(ctx context.Context, request *PatchRepoCIWebhookInputBody, params PatchRepoCIWebhookParams) (*CIWebhookView, error)
PatchRepoCIWebhook invokes patchRepoCIWebhook operation.
Update a repo's CI webhook.
PATCH /repos/{repoId}/ci-webhooks/{id}
func (*Client) RemoveOrgMember ¶
func (c *Client) RemoveOrgMember(ctx context.Context, params RemoveOrgMemberParams) error
RemoveOrgMember invokes removeOrgMember operation.
Remove a member from an organization.
DELETE /orgs/{orgId}/members/{provider}/{providerUserId}
func (*Client) ResolveHandle ¶
func (c *Client) ResolveHandle(ctx context.Context, params ResolveHandleParams) (*ResolvedIdentity, error)
ResolveHandle invokes resolveHandle operation.
Resolve account by external provider handle.
GET /identity/handles/{provider}/{handle}
func (*Client) ResolveMirrorPlacements ¶ added in v0.9.0
func (c *Client) ResolveMirrorPlacements(ctx context.Context, params ResolveMirrorPlacementsParams) (*ResolvePlacementsOutputBody, error)
ResolveMirrorPlacements invokes resolveMirrorPlacements operation.
Resolve the pullable cluster placements of a mirrored upstream (clone discovery).
GET /mirrors/placements
func (*Client) RevokeProjectAccess ¶
func (c *Client) RevokeProjectAccess(ctx context.Context, params RevokeProjectAccessParams) error
RevokeProjectAccess invokes revokeProjectAccess operation.
Revoke project access by grantee id.
DELETE /projects/{projectId}/grants/{granteeType}/{granteeId}
func (*Client) RevokeProjectAccessByProvider ¶
func (c *Client) RevokeProjectAccessByProvider(ctx context.Context, params RevokeProjectAccessByProviderParams) error
RevokeProjectAccessByProvider invokes revokeProjectAccessByProvider operation.
Revoke project access by provider identity.
DELETE /projects/{projectId}/grants/account/{provider}/{providerUserId}
func (*Client) RevokeRepoAccess ¶ added in v0.7.8
func (c *Client) RevokeRepoAccess(ctx context.Context, params RevokeRepoAccessParams) error
RevokeRepoAccess invokes revokeRepoAccess operation.
Revoke repo access by grantee id.
DELETE /repos/{repoId}/grants/{granteeType}/{granteeId}
func (*Client) RevokeRepoAccessByProvider ¶ added in v0.7.8
func (c *Client) RevokeRepoAccessByProvider(ctx context.Context, params RevokeRepoAccessByProviderParams) error
RevokeRepoAccessByProvider invokes revokeRepoAccessByProvider operation.
Revoke repo access by provider identity.
DELETE /repos/{repoId}/grants/account/{provider}/{providerUserId}
func (*Client) RevokeServiceAccountAccess ¶
func (c *Client) RevokeServiceAccountAccess(ctx context.Context, params RevokeServiceAccountAccessParams) error
RevokeServiceAccountAccess invokes revokeServiceAccountAccess operation.
Revoke service account access.
DELETE /service-accounts/{accountId}/grants/{resourceType}/{resourceId}
func (*Client) SetRepoVisibility ¶ added in v0.7.8
func (c *Client) SetRepoVisibility(ctx context.Context, request *SetRepoVisibilityInputBody, params SetRepoVisibilityParams) (*SetRepoVisibilityOutputBody, error)
SetRepoVisibility invokes setRepoVisibility operation.
Set repository visibility.
PUT /repos/{repoId}/visibility
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 Cluster ¶ added in v0.7.8
type Cluster struct {
ApiUrl OptString `json:"apiUrl"`
IsDefault bool `json:"isDefault"`
Jurisdiction string `json:"jurisdiction"`
PublicUrl string `json:"publicUrl"`
Slug string `json:"slug"`
AdditionalProps ClusterAdditional
}
Ref: #/components/schemas/Cluster
func (*Cluster) GetAdditionalProps ¶ added in v0.7.8
func (s *Cluster) GetAdditionalProps() ClusterAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*Cluster) GetIsDefault ¶ added in v0.7.8
GetIsDefault returns the value of IsDefault.
func (*Cluster) GetJurisdiction ¶ added in v0.7.8
GetJurisdiction returns the value of Jurisdiction.
func (*Cluster) GetPublicUrl ¶ added in v0.7.8
GetPublicUrl returns the value of PublicUrl.
func (*Cluster) MarshalJSON ¶ added in v0.7.8
MarshalJSON implements stdjson.Marshaler.
func (*Cluster) SetAdditionalProps ¶ added in v0.7.8
func (s *Cluster) SetAdditionalProps(val ClusterAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*Cluster) SetIsDefault ¶ added in v0.7.8
SetIsDefault sets the value of IsDefault.
func (*Cluster) SetJurisdiction ¶ added in v0.7.8
SetJurisdiction sets the value of Jurisdiction.
func (*Cluster) SetPublicUrl ¶ added in v0.7.8
SetPublicUrl sets the value of PublicUrl.
func (*Cluster) UnmarshalJSON ¶ added in v0.7.8
UnmarshalJSON implements stdjson.Unmarshaler.
type ClusterAdditional ¶ added in v0.7.8
func (*ClusterAdditional) Decode ¶ added in v0.7.8
func (s *ClusterAdditional) Decode(d *jx.Decoder) error
Decode decodes ClusterAdditional from json.
func (ClusterAdditional) Encode ¶ added in v0.7.8
func (s ClusterAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ClusterAdditional) MarshalJSON ¶ added in v0.7.8
func (s ClusterAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ClusterAdditional) UnmarshalJSON ¶ added in v0.7.8
func (s *ClusterAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteOnboardingOutputBody ¶ added in v0.9.0
type CompleteOnboardingOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Always false after onboarding completion is recorded.
NeedsOnboarding bool `json:"needsOnboarding"`
AdditionalProps CompleteOnboardingOutputBodyAdditional
}
Ref: #/components/schemas/CompleteOnboardingOutputBody
func (*CompleteOnboardingOutputBody) Decode ¶ added in v0.9.0
func (s *CompleteOnboardingOutputBody) Decode(d *jx.Decoder) error
Decode decodes CompleteOnboardingOutputBody from json.
func (*CompleteOnboardingOutputBody) Encode ¶ added in v0.9.0
func (s *CompleteOnboardingOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CompleteOnboardingOutputBody) GetAdditionalProps ¶ added in v0.9.0
func (s *CompleteOnboardingOutputBody) GetAdditionalProps() CompleteOnboardingOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CompleteOnboardingOutputBody) GetNeedsOnboarding ¶ added in v0.9.0
func (s *CompleteOnboardingOutputBody) GetNeedsOnboarding() bool
GetNeedsOnboarding returns the value of NeedsOnboarding.
func (*CompleteOnboardingOutputBody) GetSchema ¶ added in v0.9.0
func (s *CompleteOnboardingOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CompleteOnboardingOutputBody) MarshalJSON ¶ added in v0.9.0
func (s *CompleteOnboardingOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteOnboardingOutputBody) SetAdditionalProps ¶ added in v0.9.0
func (s *CompleteOnboardingOutputBody) SetAdditionalProps(val CompleteOnboardingOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CompleteOnboardingOutputBody) SetNeedsOnboarding ¶ added in v0.9.0
func (s *CompleteOnboardingOutputBody) SetNeedsOnboarding(val bool)
SetNeedsOnboarding sets the value of NeedsOnboarding.
func (*CompleteOnboardingOutputBody) SetSchema ¶ added in v0.9.0
func (s *CompleteOnboardingOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CompleteOnboardingOutputBody) UnmarshalJSON ¶ added in v0.9.0
func (s *CompleteOnboardingOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CompleteOnboardingOutputBodyAdditional ¶ added in v0.9.0
func (*CompleteOnboardingOutputBodyAdditional) Decode ¶ added in v0.9.0
func (s *CompleteOnboardingOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes CompleteOnboardingOutputBodyAdditional from json.
func (CompleteOnboardingOutputBodyAdditional) Encode ¶ added in v0.9.0
func (s CompleteOnboardingOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CompleteOnboardingOutputBodyAdditional) MarshalJSON ¶ added in v0.9.0
func (s CompleteOnboardingOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CompleteOnboardingOutputBodyAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *CompleteOnboardingOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateBindingInputBody ¶
type CreateBindingInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Exact-match key/value map; empty filter matches any token.
AttributeFilter jx.Raw `json:"attributeFilter"`
ProviderId string `json:"providerId"`
AdditionalProps CreateBindingInputBodyAdditional
}
Ref: #/components/schemas/CreateBindingInputBody
func (*CreateBindingInputBody) Decode ¶
func (s *CreateBindingInputBody) Decode(d *jx.Decoder) error
Decode decodes CreateBindingInputBody from json.
func (*CreateBindingInputBody) Encode ¶
func (s *CreateBindingInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateBindingInputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *CreateBindingInputBody) GetAdditionalProps() CreateBindingInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreateBindingInputBody) GetAttributeFilter ¶
func (s *CreateBindingInputBody) GetAttributeFilter() jx.Raw
GetAttributeFilter returns the value of AttributeFilter.
func (*CreateBindingInputBody) GetProviderId ¶
func (s *CreateBindingInputBody) GetProviderId() string
GetProviderId returns the value of ProviderId.
func (*CreateBindingInputBody) GetSchema ¶
func (s *CreateBindingInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreateBindingInputBody) MarshalJSON ¶
func (s *CreateBindingInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateBindingInputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *CreateBindingInputBody) SetAdditionalProps(val CreateBindingInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreateBindingInputBody) SetAttributeFilter ¶
func (s *CreateBindingInputBody) SetAttributeFilter(val jx.Raw)
SetAttributeFilter sets the value of AttributeFilter.
func (*CreateBindingInputBody) SetProviderId ¶
func (s *CreateBindingInputBody) SetProviderId(val string)
SetProviderId sets the value of ProviderId.
func (*CreateBindingInputBody) SetSchema ¶
func (s *CreateBindingInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreateBindingInputBody) UnmarshalJSON ¶
func (s *CreateBindingInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateBindingInputBody) Validate ¶
func (s *CreateBindingInputBody) Validate() error
type CreateBindingInputBodyAdditional ¶ added in v0.7.6
func (*CreateBindingInputBodyAdditional) Decode ¶ added in v0.7.6
func (s *CreateBindingInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes CreateBindingInputBodyAdditional from json.
func (CreateBindingInputBodyAdditional) Encode ¶ added in v0.7.6
func (s CreateBindingInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateBindingInputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s CreateBindingInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateBindingInputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *CreateBindingInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateBindingParams ¶
type CreateBindingParams struct {
AccountId string
}
CreateBindingParams is parameters of createBinding operation.
type CreateMirrorInputBody ¶
type CreateMirrorInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Destination cluster, as either a bare DNS host or the publicUrl returned by GET /api/v1/clusters.
ClusterHost string `json:"clusterHost"`
Owner string `json:"owner"`
Provider CreateMirrorInputBodyProvider `json:"provider"`
Repo string `json:"repo"`
AdditionalProps CreateMirrorInputBodyAdditional
}
Ref: #/components/schemas/CreateMirrorInputBody
func (*CreateMirrorInputBody) Decode ¶
func (s *CreateMirrorInputBody) Decode(d *jx.Decoder) error
Decode decodes CreateMirrorInputBody from json.
func (*CreateMirrorInputBody) Encode ¶
func (s *CreateMirrorInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateMirrorInputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *CreateMirrorInputBody) GetAdditionalProps() CreateMirrorInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreateMirrorInputBody) GetClusterHost ¶
func (s *CreateMirrorInputBody) GetClusterHost() string
GetClusterHost returns the value of ClusterHost.
func (*CreateMirrorInputBody) GetOwner ¶
func (s *CreateMirrorInputBody) GetOwner() string
GetOwner returns the value of Owner.
func (*CreateMirrorInputBody) GetProvider ¶
func (s *CreateMirrorInputBody) GetProvider() CreateMirrorInputBodyProvider
GetProvider returns the value of Provider.
func (*CreateMirrorInputBody) GetRepo ¶
func (s *CreateMirrorInputBody) GetRepo() string
GetRepo returns the value of Repo.
func (*CreateMirrorInputBody) GetSchema ¶
func (s *CreateMirrorInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreateMirrorInputBody) MarshalJSON ¶
func (s *CreateMirrorInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateMirrorInputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *CreateMirrorInputBody) SetAdditionalProps(val CreateMirrorInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreateMirrorInputBody) SetClusterHost ¶
func (s *CreateMirrorInputBody) SetClusterHost(val string)
SetClusterHost sets the value of ClusterHost.
func (*CreateMirrorInputBody) SetOwner ¶
func (s *CreateMirrorInputBody) SetOwner(val string)
SetOwner sets the value of Owner.
func (*CreateMirrorInputBody) SetProvider ¶
func (s *CreateMirrorInputBody) SetProvider(val CreateMirrorInputBodyProvider)
SetProvider sets the value of Provider.
func (*CreateMirrorInputBody) SetRepo ¶
func (s *CreateMirrorInputBody) SetRepo(val string)
SetRepo sets the value of Repo.
func (*CreateMirrorInputBody) SetSchema ¶
func (s *CreateMirrorInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreateMirrorInputBody) UnmarshalJSON ¶
func (s *CreateMirrorInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateMirrorInputBody) Validate ¶
func (s *CreateMirrorInputBody) Validate() error
type CreateMirrorInputBodyAdditional ¶ added in v0.7.6
func (*CreateMirrorInputBodyAdditional) Decode ¶ added in v0.7.6
func (s *CreateMirrorInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes CreateMirrorInputBodyAdditional from json.
func (CreateMirrorInputBodyAdditional) Encode ¶ added in v0.7.6
func (s CreateMirrorInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateMirrorInputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s CreateMirrorInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateMirrorInputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *CreateMirrorInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateMirrorInputBodyProvider ¶
type CreateMirrorInputBodyProvider string
const (
CreateMirrorInputBodyProviderGithub CreateMirrorInputBodyProvider = "github"
)
func (CreateMirrorInputBodyProvider) AllValues ¶
func (CreateMirrorInputBodyProvider) AllValues() []CreateMirrorInputBodyProvider
AllValues returns all CreateMirrorInputBodyProvider values.
func (*CreateMirrorInputBodyProvider) Decode ¶
func (s *CreateMirrorInputBodyProvider) Decode(d *jx.Decoder) error
Decode decodes CreateMirrorInputBodyProvider from json.
func (CreateMirrorInputBodyProvider) Encode ¶
func (s CreateMirrorInputBodyProvider) Encode(e *jx.Encoder)
Encode encodes CreateMirrorInputBodyProvider as json.
func (CreateMirrorInputBodyProvider) MarshalJSON ¶
func (s CreateMirrorInputBodyProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateMirrorInputBodyProvider) MarshalText ¶
func (s CreateMirrorInputBodyProvider) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateMirrorInputBodyProvider) UnmarshalJSON ¶
func (s *CreateMirrorInputBodyProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateMirrorInputBodyProvider) UnmarshalText ¶
func (s *CreateMirrorInputBodyProvider) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateMirrorInputBodyProvider) Validate ¶
func (s CreateMirrorInputBodyProvider) Validate() error
type CreateOrgInputBody ¶
type CreateOrgInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Display name.
Name string `json:"name"`
// Jurisdiction slug; defaults to the server's home jurisdiction.
Region OptString `json:"region"`
AdditionalProps CreateOrgInputBodyAdditional
}
Ref: #/components/schemas/CreateOrgInputBody
func (*CreateOrgInputBody) Decode ¶
func (s *CreateOrgInputBody) Decode(d *jx.Decoder) error
Decode decodes CreateOrgInputBody from json.
func (*CreateOrgInputBody) Encode ¶
func (s *CreateOrgInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateOrgInputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *CreateOrgInputBody) GetAdditionalProps() CreateOrgInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreateOrgInputBody) GetName ¶
func (s *CreateOrgInputBody) GetName() string
GetName returns the value of Name.
func (*CreateOrgInputBody) GetRegion ¶
func (s *CreateOrgInputBody) GetRegion() OptString
GetRegion returns the value of Region.
func (*CreateOrgInputBody) GetSchema ¶
func (s *CreateOrgInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreateOrgInputBody) MarshalJSON ¶
func (s *CreateOrgInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateOrgInputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *CreateOrgInputBody) SetAdditionalProps(val CreateOrgInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreateOrgInputBody) SetName ¶
func (s *CreateOrgInputBody) SetName(val string)
SetName sets the value of Name.
func (*CreateOrgInputBody) SetRegion ¶
func (s *CreateOrgInputBody) SetRegion(val OptString)
SetRegion sets the value of Region.
func (*CreateOrgInputBody) SetSchema ¶
func (s *CreateOrgInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreateOrgInputBody) UnmarshalJSON ¶
func (s *CreateOrgInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateOrgInputBody) Validate ¶
func (s *CreateOrgInputBody) Validate() error
type CreateOrgInputBodyAdditional ¶ added in v0.7.6
func (*CreateOrgInputBodyAdditional) Decode ¶ added in v0.7.6
func (s *CreateOrgInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes CreateOrgInputBodyAdditional from json.
func (CreateOrgInputBodyAdditional) Encode ¶ added in v0.7.6
func (s CreateOrgInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateOrgInputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s CreateOrgInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateOrgInputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *CreateOrgInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateProjectInputBody ¶
type CreateProjectInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Name string `json:"name"`
OwnerId string `json:"ownerId"`
OwnerType CreateProjectInputBodyOwnerType `json:"ownerType"`
Region OptString `json:"region"`
AdditionalProps CreateProjectInputBodyAdditional
}
Ref: #/components/schemas/CreateProjectInputBody
func (*CreateProjectInputBody) Decode ¶
func (s *CreateProjectInputBody) Decode(d *jx.Decoder) error
Decode decodes CreateProjectInputBody from json.
func (*CreateProjectInputBody) Encode ¶
func (s *CreateProjectInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateProjectInputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *CreateProjectInputBody) GetAdditionalProps() CreateProjectInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreateProjectInputBody) GetName ¶
func (s *CreateProjectInputBody) GetName() string
GetName returns the value of Name.
func (*CreateProjectInputBody) GetOwnerId ¶
func (s *CreateProjectInputBody) GetOwnerId() string
GetOwnerId returns the value of OwnerId.
func (*CreateProjectInputBody) GetOwnerType ¶
func (s *CreateProjectInputBody) GetOwnerType() CreateProjectInputBodyOwnerType
GetOwnerType returns the value of OwnerType.
func (*CreateProjectInputBody) GetRegion ¶
func (s *CreateProjectInputBody) GetRegion() OptString
GetRegion returns the value of Region.
func (*CreateProjectInputBody) GetSchema ¶
func (s *CreateProjectInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreateProjectInputBody) MarshalJSON ¶
func (s *CreateProjectInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateProjectInputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *CreateProjectInputBody) SetAdditionalProps(val CreateProjectInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreateProjectInputBody) SetName ¶
func (s *CreateProjectInputBody) SetName(val string)
SetName sets the value of Name.
func (*CreateProjectInputBody) SetOwnerId ¶
func (s *CreateProjectInputBody) SetOwnerId(val string)
SetOwnerId sets the value of OwnerId.
func (*CreateProjectInputBody) SetOwnerType ¶
func (s *CreateProjectInputBody) SetOwnerType(val CreateProjectInputBodyOwnerType)
SetOwnerType sets the value of OwnerType.
func (*CreateProjectInputBody) SetRegion ¶
func (s *CreateProjectInputBody) SetRegion(val OptString)
SetRegion sets the value of Region.
func (*CreateProjectInputBody) SetSchema ¶
func (s *CreateProjectInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreateProjectInputBody) UnmarshalJSON ¶
func (s *CreateProjectInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateProjectInputBody) Validate ¶
func (s *CreateProjectInputBody) Validate() error
type CreateProjectInputBodyAdditional ¶ added in v0.7.6
func (*CreateProjectInputBodyAdditional) Decode ¶ added in v0.7.6
func (s *CreateProjectInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes CreateProjectInputBodyAdditional from json.
func (CreateProjectInputBodyAdditional) Encode ¶ added in v0.7.6
func (s CreateProjectInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateProjectInputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s CreateProjectInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateProjectInputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *CreateProjectInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateProjectInputBodyOwnerType ¶
type CreateProjectInputBodyOwnerType string
const ( CreateProjectInputBodyOwnerTypeOrg CreateProjectInputBodyOwnerType = "org" CreateProjectInputBodyOwnerTypeAccount CreateProjectInputBodyOwnerType = "account" )
func (CreateProjectInputBodyOwnerType) AllValues ¶
func (CreateProjectInputBodyOwnerType) AllValues() []CreateProjectInputBodyOwnerType
AllValues returns all CreateProjectInputBodyOwnerType values.
func (*CreateProjectInputBodyOwnerType) Decode ¶
func (s *CreateProjectInputBodyOwnerType) Decode(d *jx.Decoder) error
Decode decodes CreateProjectInputBodyOwnerType from json.
func (CreateProjectInputBodyOwnerType) Encode ¶
func (s CreateProjectInputBodyOwnerType) Encode(e *jx.Encoder)
Encode encodes CreateProjectInputBodyOwnerType as json.
func (CreateProjectInputBodyOwnerType) MarshalJSON ¶
func (s CreateProjectInputBodyOwnerType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateProjectInputBodyOwnerType) MarshalText ¶
func (s CreateProjectInputBodyOwnerType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateProjectInputBodyOwnerType) UnmarshalJSON ¶
func (s *CreateProjectInputBodyOwnerType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateProjectInputBodyOwnerType) UnmarshalText ¶
func (s *CreateProjectInputBodyOwnerType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateProjectInputBodyOwnerType) Validate ¶
func (s CreateProjectInputBodyOwnerType) Validate() error
type CreateRepoCIWebhookInputBody ¶ added in v0.9.0
type CreateRepoCIWebhookInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
BkClusterID string `json:"bk_cluster_id"`
BkOrganization string `json:"bk_organization"`
BkPipeline OptString `json:"bk_pipeline"`
DisplayName OptString `json:"display_name"`
Events []string `json:"events"`
Provider CreateRepoCIWebhookInputBodyProvider `json:"provider"`
RefFilter OptString `json:"ref_filter"`
AdditionalProps CreateRepoCIWebhookInputBodyAdditional
}
Ref: #/components/schemas/CreateRepoCIWebhookInputBody
func (*CreateRepoCIWebhookInputBody) Decode ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) Decode(d *jx.Decoder) error
Decode decodes CreateRepoCIWebhookInputBody from json.
func (*CreateRepoCIWebhookInputBody) Encode ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateRepoCIWebhookInputBody) GetAdditionalProps ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) GetAdditionalProps() CreateRepoCIWebhookInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreateRepoCIWebhookInputBody) GetBkClusterID ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) GetBkClusterID() string
GetBkClusterID returns the value of BkClusterID.
func (*CreateRepoCIWebhookInputBody) GetBkOrganization ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) GetBkOrganization() string
GetBkOrganization returns the value of BkOrganization.
func (*CreateRepoCIWebhookInputBody) GetBkPipeline ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) GetBkPipeline() OptString
GetBkPipeline returns the value of BkPipeline.
func (*CreateRepoCIWebhookInputBody) GetDisplayName ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) GetDisplayName() OptString
GetDisplayName returns the value of DisplayName.
func (*CreateRepoCIWebhookInputBody) GetEvents ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) GetEvents() []string
GetEvents returns the value of Events.
func (*CreateRepoCIWebhookInputBody) GetProvider ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) GetProvider() CreateRepoCIWebhookInputBodyProvider
GetProvider returns the value of Provider.
func (*CreateRepoCIWebhookInputBody) GetRefFilter ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) GetRefFilter() OptString
GetRefFilter returns the value of RefFilter.
func (*CreateRepoCIWebhookInputBody) GetSchema ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreateRepoCIWebhookInputBody) MarshalJSON ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateRepoCIWebhookInputBody) SetAdditionalProps ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) SetAdditionalProps(val CreateRepoCIWebhookInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreateRepoCIWebhookInputBody) SetBkClusterID ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) SetBkClusterID(val string)
SetBkClusterID sets the value of BkClusterID.
func (*CreateRepoCIWebhookInputBody) SetBkOrganization ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) SetBkOrganization(val string)
SetBkOrganization sets the value of BkOrganization.
func (*CreateRepoCIWebhookInputBody) SetBkPipeline ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) SetBkPipeline(val OptString)
SetBkPipeline sets the value of BkPipeline.
func (*CreateRepoCIWebhookInputBody) SetDisplayName ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) SetDisplayName(val OptString)
SetDisplayName sets the value of DisplayName.
func (*CreateRepoCIWebhookInputBody) SetEvents ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) SetEvents(val []string)
SetEvents sets the value of Events.
func (*CreateRepoCIWebhookInputBody) SetProvider ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) SetProvider(val CreateRepoCIWebhookInputBodyProvider)
SetProvider sets the value of Provider.
func (*CreateRepoCIWebhookInputBody) SetRefFilter ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) SetRefFilter(val OptString)
SetRefFilter sets the value of RefFilter.
func (*CreateRepoCIWebhookInputBody) SetSchema ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreateRepoCIWebhookInputBody) UnmarshalJSON ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateRepoCIWebhookInputBody) Validate ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) Validate() error
type CreateRepoCIWebhookInputBodyAdditional ¶ added in v0.9.0
func (*CreateRepoCIWebhookInputBodyAdditional) Decode ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes CreateRepoCIWebhookInputBodyAdditional from json.
func (CreateRepoCIWebhookInputBodyAdditional) Encode ¶ added in v0.9.0
func (s CreateRepoCIWebhookInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateRepoCIWebhookInputBodyAdditional) MarshalJSON ¶ added in v0.9.0
func (s CreateRepoCIWebhookInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateRepoCIWebhookInputBodyAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateRepoCIWebhookInputBodyProvider ¶ added in v0.9.0
type CreateRepoCIWebhookInputBodyProvider string
const (
CreateRepoCIWebhookInputBodyProviderBuildkite CreateRepoCIWebhookInputBodyProvider = "buildkite"
)
func (CreateRepoCIWebhookInputBodyProvider) AllValues ¶ added in v0.9.0
func (CreateRepoCIWebhookInputBodyProvider) AllValues() []CreateRepoCIWebhookInputBodyProvider
AllValues returns all CreateRepoCIWebhookInputBodyProvider values.
func (*CreateRepoCIWebhookInputBodyProvider) Decode ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBodyProvider) Decode(d *jx.Decoder) error
Decode decodes CreateRepoCIWebhookInputBodyProvider from json.
func (CreateRepoCIWebhookInputBodyProvider) Encode ¶ added in v0.9.0
func (s CreateRepoCIWebhookInputBodyProvider) Encode(e *jx.Encoder)
Encode encodes CreateRepoCIWebhookInputBodyProvider as json.
func (CreateRepoCIWebhookInputBodyProvider) MarshalJSON ¶ added in v0.9.0
func (s CreateRepoCIWebhookInputBodyProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateRepoCIWebhookInputBodyProvider) MarshalText ¶ added in v0.9.0
func (s CreateRepoCIWebhookInputBodyProvider) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateRepoCIWebhookInputBodyProvider) UnmarshalJSON ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBodyProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateRepoCIWebhookInputBodyProvider) UnmarshalText ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBodyProvider) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateRepoCIWebhookInputBodyProvider) Validate ¶ added in v0.9.0
func (s CreateRepoCIWebhookInputBodyProvider) Validate() error
type CreateRepoCIWebhookParams ¶ added in v0.9.0
type CreateRepoCIWebhookParams struct {
RepoId string
}
CreateRepoCIWebhookParams is parameters of createRepoCIWebhook operation.
type CreateRepoInputBody ¶
type CreateRepoInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Public host of the cluster to pin the repo to (e.g. royalcanin.partial.to); empty lands on the
// jurisdiction default.
ClusterHost OptString `json:"clusterHost"`
Name string `json:"name"`
// Hash format; defaults to sha1.
ObjectFormat OptCreateRepoInputBodyObjectFormat `json:"objectFormat"`
ProjectId string `json:"projectId"`
AdditionalProps CreateRepoInputBodyAdditional
}
Ref: #/components/schemas/CreateRepoInputBody
func (*CreateRepoInputBody) Decode ¶
func (s *CreateRepoInputBody) Decode(d *jx.Decoder) error
Decode decodes CreateRepoInputBody from json.
func (*CreateRepoInputBody) Encode ¶
func (s *CreateRepoInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateRepoInputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *CreateRepoInputBody) GetAdditionalProps() CreateRepoInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreateRepoInputBody) GetClusterHost ¶
func (s *CreateRepoInputBody) GetClusterHost() OptString
GetClusterHost returns the value of ClusterHost.
func (*CreateRepoInputBody) GetName ¶
func (s *CreateRepoInputBody) GetName() string
GetName returns the value of Name.
func (*CreateRepoInputBody) GetObjectFormat ¶
func (s *CreateRepoInputBody) GetObjectFormat() OptCreateRepoInputBodyObjectFormat
GetObjectFormat returns the value of ObjectFormat.
func (*CreateRepoInputBody) GetProjectId ¶
func (s *CreateRepoInputBody) GetProjectId() string
GetProjectId returns the value of ProjectId.
func (*CreateRepoInputBody) GetSchema ¶
func (s *CreateRepoInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreateRepoInputBody) MarshalJSON ¶
func (s *CreateRepoInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateRepoInputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *CreateRepoInputBody) SetAdditionalProps(val CreateRepoInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreateRepoInputBody) SetClusterHost ¶
func (s *CreateRepoInputBody) SetClusterHost(val OptString)
SetClusterHost sets the value of ClusterHost.
func (*CreateRepoInputBody) SetName ¶
func (s *CreateRepoInputBody) SetName(val string)
SetName sets the value of Name.
func (*CreateRepoInputBody) SetObjectFormat ¶
func (s *CreateRepoInputBody) SetObjectFormat(val OptCreateRepoInputBodyObjectFormat)
SetObjectFormat sets the value of ObjectFormat.
func (*CreateRepoInputBody) SetProjectId ¶
func (s *CreateRepoInputBody) SetProjectId(val string)
SetProjectId sets the value of ProjectId.
func (*CreateRepoInputBody) SetSchema ¶
func (s *CreateRepoInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreateRepoInputBody) UnmarshalJSON ¶
func (s *CreateRepoInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateRepoInputBody) Validate ¶
func (s *CreateRepoInputBody) Validate() error
type CreateRepoInputBodyAdditional ¶ added in v0.7.6
func (*CreateRepoInputBodyAdditional) Decode ¶ added in v0.7.6
func (s *CreateRepoInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes CreateRepoInputBodyAdditional from json.
func (CreateRepoInputBodyAdditional) Encode ¶ added in v0.7.6
func (s CreateRepoInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateRepoInputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s CreateRepoInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateRepoInputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *CreateRepoInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateRepoInputBodyObjectFormat ¶
type CreateRepoInputBodyObjectFormat string
Hash format; defaults to sha1.
const ( CreateRepoInputBodyObjectFormatSHA1 CreateRepoInputBodyObjectFormat = "sha1" CreateRepoInputBodyObjectFormatSHA256 CreateRepoInputBodyObjectFormat = "sha256" )
func (CreateRepoInputBodyObjectFormat) AllValues ¶
func (CreateRepoInputBodyObjectFormat) AllValues() []CreateRepoInputBodyObjectFormat
AllValues returns all CreateRepoInputBodyObjectFormat values.
func (*CreateRepoInputBodyObjectFormat) Decode ¶
func (s *CreateRepoInputBodyObjectFormat) Decode(d *jx.Decoder) error
Decode decodes CreateRepoInputBodyObjectFormat from json.
func (CreateRepoInputBodyObjectFormat) Encode ¶
func (s CreateRepoInputBodyObjectFormat) Encode(e *jx.Encoder)
Encode encodes CreateRepoInputBodyObjectFormat as json.
func (CreateRepoInputBodyObjectFormat) MarshalJSON ¶
func (s CreateRepoInputBodyObjectFormat) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateRepoInputBodyObjectFormat) MarshalText ¶
func (s CreateRepoInputBodyObjectFormat) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateRepoInputBodyObjectFormat) UnmarshalJSON ¶
func (s *CreateRepoInputBodyObjectFormat) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateRepoInputBodyObjectFormat) UnmarshalText ¶
func (s *CreateRepoInputBodyObjectFormat) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateRepoInputBodyObjectFormat) Validate ¶
func (s CreateRepoInputBodyObjectFormat) Validate() error
type CreateServiceAccountInputBody ¶
type CreateServiceAccountInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Name string `json:"name"`
OrgId string `json:"orgId"`
AdditionalProps CreateServiceAccountInputBodyAdditional
}
Ref: #/components/schemas/CreateServiceAccountInputBody
func (*CreateServiceAccountInputBody) Decode ¶
func (s *CreateServiceAccountInputBody) Decode(d *jx.Decoder) error
Decode decodes CreateServiceAccountInputBody from json.
func (*CreateServiceAccountInputBody) Encode ¶
func (s *CreateServiceAccountInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateServiceAccountInputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *CreateServiceAccountInputBody) GetAdditionalProps() CreateServiceAccountInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreateServiceAccountInputBody) GetName ¶
func (s *CreateServiceAccountInputBody) GetName() string
GetName returns the value of Name.
func (*CreateServiceAccountInputBody) GetOrgId ¶
func (s *CreateServiceAccountInputBody) GetOrgId() string
GetOrgId returns the value of OrgId.
func (*CreateServiceAccountInputBody) GetSchema ¶
func (s *CreateServiceAccountInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreateServiceAccountInputBody) MarshalJSON ¶
func (s *CreateServiceAccountInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateServiceAccountInputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *CreateServiceAccountInputBody) SetAdditionalProps(val CreateServiceAccountInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreateServiceAccountInputBody) SetName ¶
func (s *CreateServiceAccountInputBody) SetName(val string)
SetName sets the value of Name.
func (*CreateServiceAccountInputBody) SetOrgId ¶
func (s *CreateServiceAccountInputBody) SetOrgId(val string)
SetOrgId sets the value of OrgId.
func (*CreateServiceAccountInputBody) SetSchema ¶
func (s *CreateServiceAccountInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreateServiceAccountInputBody) UnmarshalJSON ¶
func (s *CreateServiceAccountInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateServiceAccountInputBody) Validate ¶
func (s *CreateServiceAccountInputBody) Validate() error
type CreateServiceAccountInputBodyAdditional ¶ added in v0.7.6
func (*CreateServiceAccountInputBodyAdditional) Decode ¶ added in v0.7.6
func (s *CreateServiceAccountInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes CreateServiceAccountInputBodyAdditional from json.
func (CreateServiceAccountInputBodyAdditional) Encode ¶ added in v0.7.6
func (s CreateServiceAccountInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateServiceAccountInputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s CreateServiceAccountInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateServiceAccountInputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *CreateServiceAccountInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreatedMirror ¶
type CreatedMirror struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// True on fresh creation; false when an existing mirror was returned.
Created bool `json:"created"`
// Deprecated: always false. Poll the mirror status instead — an empty upstream still reaches
// 'ready'.
Empty bool `json:"empty"`
MirrorId string `json:"mirrorId"`
MirrorUrl string `json:"mirrorUrl"`
PublicUrl string `json:"publicUrl"`
// True when an existing placement was returned that an admin suspended.
Suspended bool `json:"suspended"`
AdditionalProps CreatedMirrorAdditional
}
Ref: #/components/schemas/CreatedMirror
func (*CreatedMirror) Decode ¶
func (s *CreatedMirror) Decode(d *jx.Decoder) error
Decode decodes CreatedMirror from json.
func (*CreatedMirror) Encode ¶
func (s *CreatedMirror) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreatedMirror) GetAdditionalProps ¶ added in v0.7.6
func (s *CreatedMirror) GetAdditionalProps() CreatedMirrorAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreatedMirror) GetCreated ¶
func (s *CreatedMirror) GetCreated() bool
GetCreated returns the value of Created.
func (*CreatedMirror) GetEmpty ¶ added in v0.7.4
func (s *CreatedMirror) GetEmpty() bool
GetEmpty returns the value of Empty.
func (*CreatedMirror) GetMirrorId ¶
func (s *CreatedMirror) GetMirrorId() string
GetMirrorId returns the value of MirrorId.
func (*CreatedMirror) GetMirrorUrl ¶
func (s *CreatedMirror) GetMirrorUrl() string
GetMirrorUrl returns the value of MirrorUrl.
func (*CreatedMirror) GetPublicUrl ¶
func (s *CreatedMirror) GetPublicUrl() string
GetPublicUrl returns the value of PublicUrl.
func (*CreatedMirror) GetSchema ¶
func (s *CreatedMirror) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreatedMirror) GetSuspended ¶ added in v0.8.0
func (s *CreatedMirror) GetSuspended() bool
GetSuspended returns the value of Suspended.
func (*CreatedMirror) MarshalJSON ¶
func (s *CreatedMirror) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreatedMirror) SetAdditionalProps ¶ added in v0.7.6
func (s *CreatedMirror) SetAdditionalProps(val CreatedMirrorAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreatedMirror) SetCreated ¶
func (s *CreatedMirror) SetCreated(val bool)
SetCreated sets the value of Created.
func (*CreatedMirror) SetEmpty ¶ added in v0.7.4
func (s *CreatedMirror) SetEmpty(val bool)
SetEmpty sets the value of Empty.
func (*CreatedMirror) SetMirrorId ¶
func (s *CreatedMirror) SetMirrorId(val string)
SetMirrorId sets the value of MirrorId.
func (*CreatedMirror) SetMirrorUrl ¶
func (s *CreatedMirror) SetMirrorUrl(val string)
SetMirrorUrl sets the value of MirrorUrl.
func (*CreatedMirror) SetPublicUrl ¶
func (s *CreatedMirror) SetPublicUrl(val string)
SetPublicUrl sets the value of PublicUrl.
func (*CreatedMirror) SetSchema ¶
func (s *CreatedMirror) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreatedMirror) SetSuspended ¶ added in v0.8.0
func (s *CreatedMirror) SetSuspended(val bool)
SetSuspended sets the value of Suspended.
func (*CreatedMirror) UnmarshalJSON ¶
func (s *CreatedMirror) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreatedMirrorAdditional ¶ added in v0.7.6
func (*CreatedMirrorAdditional) Decode ¶ added in v0.7.6
func (s *CreatedMirrorAdditional) Decode(d *jx.Decoder) error
Decode decodes CreatedMirrorAdditional from json.
func (CreatedMirrorAdditional) Encode ¶ added in v0.7.6
func (s CreatedMirrorAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreatedMirrorAdditional) MarshalJSON ¶ added in v0.7.6
func (s CreatedMirrorAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreatedMirrorAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *CreatedMirrorAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeleteBindingNoContent ¶
type DeleteBindingNoContent struct{}
DeleteBindingNoContent is response for DeleteBinding operation.
type DeleteBindingParams ¶
DeleteBindingParams is parameters of deleteBinding operation.
type DeleteMeAccepted ¶ added in v0.9.0
type DeleteMeAccepted struct{}
DeleteMeAccepted is response for DeleteMe operation.
type DeleteMirrorNoContent ¶
type DeleteMirrorNoContent struct{}
DeleteMirrorNoContent is response for DeleteMirror operation.
type DeleteMirrorParams ¶
type DeleteMirrorParams struct {
Provider DeleteMirrorProvider
Owner string
Repo string
// Public host of the cluster serving the mirror.
ClusterHost string
}
DeleteMirrorParams is parameters of deleteMirror operation.
type DeleteMirrorProvider ¶
type DeleteMirrorProvider string
const (
DeleteMirrorProviderGithub DeleteMirrorProvider = "github"
)
func (DeleteMirrorProvider) AllValues ¶
func (DeleteMirrorProvider) AllValues() []DeleteMirrorProvider
AllValues returns all DeleteMirrorProvider values.
func (DeleteMirrorProvider) MarshalText ¶
func (s DeleteMirrorProvider) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*DeleteMirrorProvider) UnmarshalText ¶
func (s *DeleteMirrorProvider) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (DeleteMirrorProvider) Validate ¶
func (s DeleteMirrorProvider) Validate() error
type DeleteOrgNoContent ¶ added in v0.7.8
type DeleteOrgNoContent struct{}
DeleteOrgNoContent is response for DeleteOrg operation.
type DeleteOrgParams ¶ added in v0.7.8
type DeleteOrgParams struct {
OrgId string
}
DeleteOrgParams is parameters of deleteOrg operation.
type DeleteProjectNoContent ¶ added in v0.7.8
type DeleteProjectNoContent struct{}
DeleteProjectNoContent is response for DeleteProject operation.
type DeleteProjectParams ¶ added in v0.7.8
type DeleteProjectParams struct {
ProjectId string
}
DeleteProjectParams is parameters of deleteProject operation.
type DeleteRepoCIWebhookNoContent ¶ added in v0.9.0
type DeleteRepoCIWebhookNoContent struct{}
DeleteRepoCIWebhookNoContent is response for DeleteRepoCIWebhook operation.
type DeleteRepoCIWebhookParams ¶ added in v0.9.0
type DeleteRepoCIWebhookParams struct {
RepoId string
ID string
Teardown OptBool `json:",omitempty,omitzero"`
}
DeleteRepoCIWebhookParams is parameters of deleteRepoCIWebhook operation.
type DeleteRepoNoContent ¶
type DeleteRepoNoContent struct{}
DeleteRepoNoContent is response for DeleteRepo operation.
type DeleteRepoParams ¶
type DeleteRepoParams struct {
RepoId string
}
DeleteRepoParams is parameters of deleteRepo operation.
type DeleteServiceAccountNoContent ¶
type DeleteServiceAccountNoContent struct{}
DeleteServiceAccountNoContent is response for DeleteServiceAccount operation.
type DeleteServiceAccountParams ¶
type DeleteServiceAccountParams struct {
AccountId string
}
DeleteServiceAccountParams is parameters of deleteServiceAccount operation.
type DeletionBlocker ¶ added in v0.9.0
type DeletionBlocker struct {
// True when the account can self-serve delete this org (it is the only member and the org has no
// projects). When false, the org has other members or data and must be transferred/removed via
// support. The UI should offer a delete action only when this is true.
Deletable bool `json:"deletable"`
// Resource ID (org ULID).
ID string `json:"id"`
// Blocker kind. Currently always 'owned_org'.
Kind DeletionBlockerKind `json:"kind"`
// Copy explaining how to clear the blocker.
Message string `json:"message"`
// Human-readable resource name.
Name string `json:"name"`
AdditionalProps DeletionBlockerAdditional
}
Ref: #/components/schemas/DeletionBlocker
func (*DeletionBlocker) Decode ¶ added in v0.9.0
func (s *DeletionBlocker) Decode(d *jx.Decoder) error
Decode decodes DeletionBlocker from json.
func (*DeletionBlocker) Encode ¶ added in v0.9.0
func (s *DeletionBlocker) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DeletionBlocker) GetAdditionalProps ¶ added in v0.9.0
func (s *DeletionBlocker) GetAdditionalProps() DeletionBlockerAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*DeletionBlocker) GetDeletable ¶ added in v0.9.0
func (s *DeletionBlocker) GetDeletable() bool
GetDeletable returns the value of Deletable.
func (*DeletionBlocker) GetID ¶ added in v0.9.0
func (s *DeletionBlocker) GetID() string
GetID returns the value of ID.
func (*DeletionBlocker) GetKind ¶ added in v0.9.0
func (s *DeletionBlocker) GetKind() DeletionBlockerKind
GetKind returns the value of Kind.
func (*DeletionBlocker) GetMessage ¶ added in v0.9.0
func (s *DeletionBlocker) GetMessage() string
GetMessage returns the value of Message.
func (*DeletionBlocker) GetName ¶ added in v0.9.0
func (s *DeletionBlocker) GetName() string
GetName returns the value of Name.
func (*DeletionBlocker) MarshalJSON ¶ added in v0.9.0
func (s *DeletionBlocker) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeletionBlocker) SetAdditionalProps ¶ added in v0.9.0
func (s *DeletionBlocker) SetAdditionalProps(val DeletionBlockerAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*DeletionBlocker) SetDeletable ¶ added in v0.9.0
func (s *DeletionBlocker) SetDeletable(val bool)
SetDeletable sets the value of Deletable.
func (*DeletionBlocker) SetID ¶ added in v0.9.0
func (s *DeletionBlocker) SetID(val string)
SetID sets the value of ID.
func (*DeletionBlocker) SetKind ¶ added in v0.9.0
func (s *DeletionBlocker) SetKind(val DeletionBlockerKind)
SetKind sets the value of Kind.
func (*DeletionBlocker) SetMessage ¶ added in v0.9.0
func (s *DeletionBlocker) SetMessage(val string)
SetMessage sets the value of Message.
func (*DeletionBlocker) SetName ¶ added in v0.9.0
func (s *DeletionBlocker) SetName(val string)
SetName sets the value of Name.
func (*DeletionBlocker) UnmarshalJSON ¶ added in v0.9.0
func (s *DeletionBlocker) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DeletionBlocker) Validate ¶ added in v0.9.0
func (s *DeletionBlocker) Validate() error
type DeletionBlockerAdditional ¶ added in v0.9.0
func (*DeletionBlockerAdditional) Decode ¶ added in v0.9.0
func (s *DeletionBlockerAdditional) Decode(d *jx.Decoder) error
Decode decodes DeletionBlockerAdditional from json.
func (DeletionBlockerAdditional) Encode ¶ added in v0.9.0
func (s DeletionBlockerAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DeletionBlockerAdditional) MarshalJSON ¶ added in v0.9.0
func (s DeletionBlockerAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeletionBlockerAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *DeletionBlockerAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeletionBlockerKind ¶ added in v0.9.0
type DeletionBlockerKind string
Blocker kind. Currently always 'owned_org'.
const (
DeletionBlockerKindOwnedOrg DeletionBlockerKind = "owned_org"
)
func (DeletionBlockerKind) AllValues ¶ added in v0.9.0
func (DeletionBlockerKind) AllValues() []DeletionBlockerKind
AllValues returns all DeletionBlockerKind values.
func (*DeletionBlockerKind) Decode ¶ added in v0.9.0
func (s *DeletionBlockerKind) Decode(d *jx.Decoder) error
Decode decodes DeletionBlockerKind from json.
func (DeletionBlockerKind) Encode ¶ added in v0.9.0
func (s DeletionBlockerKind) Encode(e *jx.Encoder)
Encode encodes DeletionBlockerKind as json.
func (DeletionBlockerKind) MarshalJSON ¶ added in v0.9.0
func (s DeletionBlockerKind) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (DeletionBlockerKind) MarshalText ¶ added in v0.9.0
func (s DeletionBlockerKind) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*DeletionBlockerKind) UnmarshalJSON ¶ added in v0.9.0
func (s *DeletionBlockerKind) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DeletionBlockerKind) UnmarshalText ¶ added in v0.9.0
func (s *DeletionBlockerKind) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (DeletionBlockerKind) Validate ¶ added in v0.9.0
func (s DeletionBlockerKind) Validate() error
type DeletionGrant ¶ added in v0.9.0
type DeletionGrant struct {
// Region the repo lives in (us/eu/au); empty for project grants.
Jurisdiction OptString `json:"jurisdiction"`
// Granted resource ULID.
ResourceId string `json:"resourceId"`
// Granted resource name.
ResourceName string `json:"resourceName"`
// Granted resource type.
ResourceType DeletionGrantResourceType `json:"resourceType"`
// Granted role.
Role string `json:"role"`
AdditionalProps DeletionGrantAdditional
}
Ref: #/components/schemas/DeletionGrant
func (*DeletionGrant) Decode ¶ added in v0.9.0
func (s *DeletionGrant) Decode(d *jx.Decoder) error
Decode decodes DeletionGrant from json.
func (*DeletionGrant) Encode ¶ added in v0.9.0
func (s *DeletionGrant) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DeletionGrant) GetAdditionalProps ¶ added in v0.9.0
func (s *DeletionGrant) GetAdditionalProps() DeletionGrantAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*DeletionGrant) GetJurisdiction ¶ added in v0.9.0
func (s *DeletionGrant) GetJurisdiction() OptString
GetJurisdiction returns the value of Jurisdiction.
func (*DeletionGrant) GetResourceId ¶ added in v0.9.0
func (s *DeletionGrant) GetResourceId() string
GetResourceId returns the value of ResourceId.
func (*DeletionGrant) GetResourceName ¶ added in v0.9.0
func (s *DeletionGrant) GetResourceName() string
GetResourceName returns the value of ResourceName.
func (*DeletionGrant) GetResourceType ¶ added in v0.9.0
func (s *DeletionGrant) GetResourceType() DeletionGrantResourceType
GetResourceType returns the value of ResourceType.
func (*DeletionGrant) GetRole ¶ added in v0.9.0
func (s *DeletionGrant) GetRole() string
GetRole returns the value of Role.
func (*DeletionGrant) MarshalJSON ¶ added in v0.9.0
func (s *DeletionGrant) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeletionGrant) SetAdditionalProps ¶ added in v0.9.0
func (s *DeletionGrant) SetAdditionalProps(val DeletionGrantAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*DeletionGrant) SetJurisdiction ¶ added in v0.9.0
func (s *DeletionGrant) SetJurisdiction(val OptString)
SetJurisdiction sets the value of Jurisdiction.
func (*DeletionGrant) SetResourceId ¶ added in v0.9.0
func (s *DeletionGrant) SetResourceId(val string)
SetResourceId sets the value of ResourceId.
func (*DeletionGrant) SetResourceName ¶ added in v0.9.0
func (s *DeletionGrant) SetResourceName(val string)
SetResourceName sets the value of ResourceName.
func (*DeletionGrant) SetResourceType ¶ added in v0.9.0
func (s *DeletionGrant) SetResourceType(val DeletionGrantResourceType)
SetResourceType sets the value of ResourceType.
func (*DeletionGrant) SetRole ¶ added in v0.9.0
func (s *DeletionGrant) SetRole(val string)
SetRole sets the value of Role.
func (*DeletionGrant) UnmarshalJSON ¶ added in v0.9.0
func (s *DeletionGrant) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DeletionGrant) Validate ¶ added in v0.9.0
func (s *DeletionGrant) Validate() error
type DeletionGrantAdditional ¶ added in v0.9.0
func (*DeletionGrantAdditional) Decode ¶ added in v0.9.0
func (s *DeletionGrantAdditional) Decode(d *jx.Decoder) error
Decode decodes DeletionGrantAdditional from json.
func (DeletionGrantAdditional) Encode ¶ added in v0.9.0
func (s DeletionGrantAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DeletionGrantAdditional) MarshalJSON ¶ added in v0.9.0
func (s DeletionGrantAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeletionGrantAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *DeletionGrantAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeletionGrantResourceType ¶ added in v0.9.0
type DeletionGrantResourceType string
Granted resource type.
const ( DeletionGrantResourceTypeProject DeletionGrantResourceType = "project" DeletionGrantResourceTypeRepo DeletionGrantResourceType = "repo" )
func (DeletionGrantResourceType) AllValues ¶ added in v0.9.0
func (DeletionGrantResourceType) AllValues() []DeletionGrantResourceType
AllValues returns all DeletionGrantResourceType values.
func (*DeletionGrantResourceType) Decode ¶ added in v0.9.0
func (s *DeletionGrantResourceType) Decode(d *jx.Decoder) error
Decode decodes DeletionGrantResourceType from json.
func (DeletionGrantResourceType) Encode ¶ added in v0.9.0
func (s DeletionGrantResourceType) Encode(e *jx.Encoder)
Encode encodes DeletionGrantResourceType as json.
func (DeletionGrantResourceType) MarshalJSON ¶ added in v0.9.0
func (s DeletionGrantResourceType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (DeletionGrantResourceType) MarshalText ¶ added in v0.9.0
func (s DeletionGrantResourceType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*DeletionGrantResourceType) UnmarshalJSON ¶ added in v0.9.0
func (s *DeletionGrantResourceType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DeletionGrantResourceType) UnmarshalText ¶ added in v0.9.0
func (s *DeletionGrantResourceType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (DeletionGrantResourceType) Validate ¶ added in v0.9.0
func (s DeletionGrantResourceType) Validate() error
type DeletionMembership ¶ added in v0.9.0
type DeletionMembership struct {
// Org name.
Name string `json:"name"`
// Org ULID.
OrgId string `json:"orgId"`
AdditionalProps DeletionMembershipAdditional
}
Ref: #/components/schemas/DeletionMembership
func (*DeletionMembership) Decode ¶ added in v0.9.0
func (s *DeletionMembership) Decode(d *jx.Decoder) error
Decode decodes DeletionMembership from json.
func (*DeletionMembership) Encode ¶ added in v0.9.0
func (s *DeletionMembership) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DeletionMembership) GetAdditionalProps ¶ added in v0.9.0
func (s *DeletionMembership) GetAdditionalProps() DeletionMembershipAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*DeletionMembership) GetName ¶ added in v0.9.0
func (s *DeletionMembership) GetName() string
GetName returns the value of Name.
func (*DeletionMembership) GetOrgId ¶ added in v0.9.0
func (s *DeletionMembership) GetOrgId() string
GetOrgId returns the value of OrgId.
func (*DeletionMembership) MarshalJSON ¶ added in v0.9.0
func (s *DeletionMembership) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeletionMembership) SetAdditionalProps ¶ added in v0.9.0
func (s *DeletionMembership) SetAdditionalProps(val DeletionMembershipAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*DeletionMembership) SetName ¶ added in v0.9.0
func (s *DeletionMembership) SetName(val string)
SetName sets the value of Name.
func (*DeletionMembership) SetOrgId ¶ added in v0.9.0
func (s *DeletionMembership) SetOrgId(val string)
SetOrgId sets the value of OrgId.
func (*DeletionMembership) UnmarshalJSON ¶ added in v0.9.0
func (s *DeletionMembership) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeletionMembershipAdditional ¶ added in v0.9.0
func (*DeletionMembershipAdditional) Decode ¶ added in v0.9.0
func (s *DeletionMembershipAdditional) Decode(d *jx.Decoder) error
Decode decodes DeletionMembershipAdditional from json.
func (DeletionMembershipAdditional) Encode ¶ added in v0.9.0
func (s DeletionMembershipAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DeletionMembershipAdditional) MarshalJSON ¶ added in v0.9.0
func (s DeletionMembershipAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeletionMembershipAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *DeletionMembershipAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeletionRepo ¶ added in v0.9.0
type DeletionRepo struct {
// Cluster slug the repo is placed on, if known.
Cluster OptString `json:"cluster"`
// Repo ULID.
ID string `json:"id"`
// Repo name.
Name string `json:"name"`
AdditionalProps DeletionRepoAdditional
}
Ref: #/components/schemas/DeletionRepo
func (*DeletionRepo) Decode ¶ added in v0.9.0
func (s *DeletionRepo) Decode(d *jx.Decoder) error
Decode decodes DeletionRepo from json.
func (*DeletionRepo) Encode ¶ added in v0.9.0
func (s *DeletionRepo) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DeletionRepo) GetAdditionalProps ¶ added in v0.9.0
func (s *DeletionRepo) GetAdditionalProps() DeletionRepoAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*DeletionRepo) GetCluster ¶ added in v0.9.0
func (s *DeletionRepo) GetCluster() OptString
GetCluster returns the value of Cluster.
func (*DeletionRepo) GetID ¶ added in v0.9.0
func (s *DeletionRepo) GetID() string
GetID returns the value of ID.
func (*DeletionRepo) GetName ¶ added in v0.9.0
func (s *DeletionRepo) GetName() string
GetName returns the value of Name.
func (*DeletionRepo) MarshalJSON ¶ added in v0.9.0
func (s *DeletionRepo) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeletionRepo) SetAdditionalProps ¶ added in v0.9.0
func (s *DeletionRepo) SetAdditionalProps(val DeletionRepoAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*DeletionRepo) SetCluster ¶ added in v0.9.0
func (s *DeletionRepo) SetCluster(val OptString)
SetCluster sets the value of Cluster.
func (*DeletionRepo) SetID ¶ added in v0.9.0
func (s *DeletionRepo) SetID(val string)
SetID sets the value of ID.
func (*DeletionRepo) SetName ¶ added in v0.9.0
func (s *DeletionRepo) SetName(val string)
SetName sets the value of Name.
func (*DeletionRepo) UnmarshalJSON ¶ added in v0.9.0
func (s *DeletionRepo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DeletionRepoAdditional ¶ added in v0.9.0
func (*DeletionRepoAdditional) Decode ¶ added in v0.9.0
func (s *DeletionRepoAdditional) Decode(d *jx.Decoder) error
Decode decodes DeletionRepoAdditional from json.
func (DeletionRepoAdditional) Encode ¶ added in v0.9.0
func (s DeletionRepoAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DeletionRepoAdditional) MarshalJSON ¶ added in v0.9.0
func (s DeletionRepoAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DeletionRepoAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *DeletionRepoAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorDetail ¶
type ErrorDetail struct {
// Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'.
Location OptString `json:"location"`
// Error message text.
Message OptString `json:"message"`
// The value at the given location.
Value jx.Raw `json:"value"`
AdditionalProps ErrorDetailAdditional
}
Ref: #/components/schemas/ErrorDetail
func (*ErrorDetail) Decode ¶
func (s *ErrorDetail) Decode(d *jx.Decoder) error
Decode decodes ErrorDetail from json.
func (*ErrorDetail) Encode ¶
func (s *ErrorDetail) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ErrorDetail) GetAdditionalProps ¶ added in v0.7.6
func (s *ErrorDetail) GetAdditionalProps() ErrorDetailAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ErrorDetail) GetLocation ¶
func (s *ErrorDetail) GetLocation() OptString
GetLocation returns the value of Location.
func (*ErrorDetail) GetMessage ¶
func (s *ErrorDetail) GetMessage() OptString
GetMessage returns the value of Message.
func (*ErrorDetail) GetValue ¶
func (s *ErrorDetail) GetValue() jx.Raw
GetValue returns the value of Value.
func (*ErrorDetail) MarshalJSON ¶
func (s *ErrorDetail) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ErrorDetail) SetAdditionalProps ¶ added in v0.7.6
func (s *ErrorDetail) SetAdditionalProps(val ErrorDetailAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ErrorDetail) SetLocation ¶
func (s *ErrorDetail) SetLocation(val OptString)
SetLocation sets the value of Location.
func (*ErrorDetail) SetMessage ¶
func (s *ErrorDetail) SetMessage(val OptString)
SetMessage sets the value of Message.
func (*ErrorDetail) SetValue ¶
func (s *ErrorDetail) SetValue(val jx.Raw)
SetValue sets the value of Value.
func (*ErrorDetail) UnmarshalJSON ¶
func (s *ErrorDetail) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorDetailAdditional ¶ added in v0.7.6
func (*ErrorDetailAdditional) Decode ¶ added in v0.7.6
func (s *ErrorDetailAdditional) Decode(d *jx.Decoder) error
Decode decodes ErrorDetailAdditional from json.
func (ErrorDetailAdditional) Encode ¶ added in v0.7.6
func (s ErrorDetailAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ErrorDetailAdditional) MarshalJSON ¶ added in v0.7.6
func (s ErrorDetailAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ErrorDetailAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ErrorDetailAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorModel ¶
type ErrorModel struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// A human-readable explanation specific to this occurrence of the problem.
Detail OptString `json:"detail"`
// Optional list of individual error details.
Errors []ErrorDetail `json:"errors"`
// A URI reference that identifies the specific occurrence of the problem.
Instance OptURI `json:"instance"`
// HTTP status code.
Status OptInt64 `json:"status"`
// A short, human-readable summary of the problem type. This value should not change between
// occurrences of the error.
Title OptString `json:"title"`
// A URI reference to human-readable documentation for the error.
Type OptURI `json:"type"`
AdditionalProps ErrorModelAdditional
}
Ref: #/components/schemas/ErrorModel
func (*ErrorModel) Decode ¶
func (s *ErrorModel) Decode(d *jx.Decoder) error
Decode decodes ErrorModel from json.
func (*ErrorModel) Encode ¶
func (s *ErrorModel) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ErrorModel) GetAdditionalProps ¶ added in v0.7.6
func (s *ErrorModel) GetAdditionalProps() ErrorModelAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ErrorModel) GetDetail ¶
func (s *ErrorModel) GetDetail() OptString
GetDetail returns the value of Detail.
func (*ErrorModel) GetErrors ¶
func (s *ErrorModel) GetErrors() []ErrorDetail
GetErrors returns the value of Errors.
func (*ErrorModel) GetInstance ¶
func (s *ErrorModel) GetInstance() OptURI
GetInstance returns the value of Instance.
func (*ErrorModel) GetSchema ¶
func (s *ErrorModel) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ErrorModel) GetStatus ¶
func (s *ErrorModel) GetStatus() OptInt64
GetStatus returns the value of Status.
func (*ErrorModel) GetTitle ¶
func (s *ErrorModel) GetTitle() OptString
GetTitle returns the value of Title.
func (*ErrorModel) GetType ¶
func (s *ErrorModel) GetType() OptURI
GetType returns the value of Type.
func (*ErrorModel) MarshalJSON ¶
func (s *ErrorModel) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ErrorModel) SetAdditionalProps ¶ added in v0.7.6
func (s *ErrorModel) SetAdditionalProps(val ErrorModelAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ErrorModel) SetDetail ¶
func (s *ErrorModel) SetDetail(val OptString)
SetDetail sets the value of Detail.
func (*ErrorModel) SetErrors ¶
func (s *ErrorModel) SetErrors(val []ErrorDetail)
SetErrors sets the value of Errors.
func (*ErrorModel) SetInstance ¶
func (s *ErrorModel) SetInstance(val OptURI)
SetInstance sets the value of Instance.
func (*ErrorModel) SetSchema ¶
func (s *ErrorModel) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ErrorModel) SetStatus ¶
func (s *ErrorModel) SetStatus(val OptInt64)
SetStatus sets the value of Status.
func (*ErrorModel) SetTitle ¶
func (s *ErrorModel) SetTitle(val OptString)
SetTitle sets the value of Title.
func (*ErrorModel) SetType ¶
func (s *ErrorModel) SetType(val OptURI)
SetType sets the value of Type.
func (*ErrorModel) UnmarshalJSON ¶
func (s *ErrorModel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorModelAdditional ¶ added in v0.7.6
func (*ErrorModelAdditional) Decode ¶ added in v0.7.6
func (s *ErrorModelAdditional) Decode(d *jx.Decoder) error
Decode decodes ErrorModelAdditional from json.
func (ErrorModelAdditional) Encode ¶ added in v0.7.6
func (s ErrorModelAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ErrorModelAdditional) MarshalJSON ¶ added in v0.7.6
func (s ErrorModelAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ErrorModelAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ErrorModelAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorModelStatusCode ¶
type ErrorModelStatusCode struct {
StatusCode int
Response ErrorModel
}
ErrorModelStatusCode wraps ErrorModel with StatusCode.
func (*ErrorModelStatusCode) Error ¶
func (s *ErrorModelStatusCode) Error() string
func (*ErrorModelStatusCode) GetResponse ¶
func (s *ErrorModelStatusCode) GetResponse() ErrorModel
GetResponse returns the value of Response.
func (*ErrorModelStatusCode) GetStatusCode ¶
func (s *ErrorModelStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*ErrorModelStatusCode) SetResponse ¶
func (s *ErrorModelStatusCode) SetResponse(val ErrorModel)
SetResponse sets the value of Response.
func (*ErrorModelStatusCode) SetStatusCode ¶
func (s *ErrorModelStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
type GetDeletionPreviewOutputBody ¶ added in v0.9.0
type GetDeletionPreviewOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// True when Blockers is non-empty: DELETE /me will be refused with 409.
Blocked bool `json:"blocked"`
// Resources that must be resolved before deletion (owned orgs).
Blockers []DeletionBlocker `json:"blockers"`
WillDelete WillDeleteStruct `json:"willDelete"`
WillUnlink WillUnlinkStruct `json:"willUnlink"`
AdditionalProps GetDeletionPreviewOutputBodyAdditional
}
Ref: #/components/schemas/GetDeletionPreviewOutputBody
func (*GetDeletionPreviewOutputBody) Decode ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) Decode(d *jx.Decoder) error
Decode decodes GetDeletionPreviewOutputBody from json.
func (*GetDeletionPreviewOutputBody) Encode ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetDeletionPreviewOutputBody) GetAdditionalProps ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) GetAdditionalProps() GetDeletionPreviewOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GetDeletionPreviewOutputBody) GetBlocked ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) GetBlocked() bool
GetBlocked returns the value of Blocked.
func (*GetDeletionPreviewOutputBody) GetBlockers ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) GetBlockers() []DeletionBlocker
GetBlockers returns the value of Blockers.
func (*GetDeletionPreviewOutputBody) GetSchema ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*GetDeletionPreviewOutputBody) GetWillDelete ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) GetWillDelete() WillDeleteStruct
GetWillDelete returns the value of WillDelete.
func (*GetDeletionPreviewOutputBody) GetWillUnlink ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) GetWillUnlink() WillUnlinkStruct
GetWillUnlink returns the value of WillUnlink.
func (*GetDeletionPreviewOutputBody) MarshalJSON ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetDeletionPreviewOutputBody) SetAdditionalProps ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) SetAdditionalProps(val GetDeletionPreviewOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GetDeletionPreviewOutputBody) SetBlocked ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) SetBlocked(val bool)
SetBlocked sets the value of Blocked.
func (*GetDeletionPreviewOutputBody) SetBlockers ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) SetBlockers(val []DeletionBlocker)
SetBlockers sets the value of Blockers.
func (*GetDeletionPreviewOutputBody) SetSchema ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*GetDeletionPreviewOutputBody) SetWillDelete ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) SetWillDelete(val WillDeleteStruct)
SetWillDelete sets the value of WillDelete.
func (*GetDeletionPreviewOutputBody) SetWillUnlink ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) SetWillUnlink(val WillUnlinkStruct)
SetWillUnlink sets the value of WillUnlink.
func (*GetDeletionPreviewOutputBody) UnmarshalJSON ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetDeletionPreviewOutputBody) Validate ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBody) Validate() error
type GetDeletionPreviewOutputBodyAdditional ¶ added in v0.9.0
func (*GetDeletionPreviewOutputBodyAdditional) Decode ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes GetDeletionPreviewOutputBodyAdditional from json.
func (GetDeletionPreviewOutputBodyAdditional) Encode ¶ added in v0.9.0
func (s GetDeletionPreviewOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetDeletionPreviewOutputBodyAdditional) MarshalJSON ¶ added in v0.9.0
func (s GetDeletionPreviewOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetDeletionPreviewOutputBodyAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *GetDeletionPreviewOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMeOutputBody ¶
type GetMeOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Auth MeAuth `json:"auth"`
// Present only when a deletion is pending; carries the cooldown window.
Deletion OptMeDeletion `json:"deletion"`
Global MeGlobal `json:"global"`
Jurisdiction OptString `json:"jurisdiction"`
Mode OptGetMeOutputBodyMode `json:"mode"`
Regional OptMeRegional `json:"regional"`
AdditionalProps GetMeOutputBodyAdditional
}
Ref: #/components/schemas/GetMeOutputBody
func (*GetMeOutputBody) Decode ¶
func (s *GetMeOutputBody) Decode(d *jx.Decoder) error
Decode decodes GetMeOutputBody from json.
func (*GetMeOutputBody) Encode ¶
func (s *GetMeOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetMeOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *GetMeOutputBody) GetAdditionalProps() GetMeOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GetMeOutputBody) GetAuth ¶
func (s *GetMeOutputBody) GetAuth() MeAuth
GetAuth returns the value of Auth.
func (*GetMeOutputBody) GetDeletion ¶ added in v0.9.0
func (s *GetMeOutputBody) GetDeletion() OptMeDeletion
GetDeletion returns the value of Deletion.
func (*GetMeOutputBody) GetGlobal ¶
func (s *GetMeOutputBody) GetGlobal() MeGlobal
GetGlobal returns the value of Global.
func (*GetMeOutputBody) GetJurisdiction ¶
func (s *GetMeOutputBody) GetJurisdiction() OptString
GetJurisdiction returns the value of Jurisdiction.
func (*GetMeOutputBody) GetMode ¶
func (s *GetMeOutputBody) GetMode() OptGetMeOutputBodyMode
GetMode returns the value of Mode.
func (*GetMeOutputBody) GetRegional ¶
func (s *GetMeOutputBody) GetRegional() OptMeRegional
GetRegional returns the value of Regional.
func (*GetMeOutputBody) GetRegionalUnavailable ¶
func (s *GetMeOutputBody) GetRegionalUnavailable() OptMeRegionalUnavailable
GetRegionalUnavailable returns the value of RegionalUnavailable.
func (*GetMeOutputBody) GetSchema ¶
func (s *GetMeOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*GetMeOutputBody) MarshalJSON ¶
func (s *GetMeOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMeOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *GetMeOutputBody) SetAdditionalProps(val GetMeOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GetMeOutputBody) SetAuth ¶
func (s *GetMeOutputBody) SetAuth(val MeAuth)
SetAuth sets the value of Auth.
func (*GetMeOutputBody) SetDeletion ¶ added in v0.9.0
func (s *GetMeOutputBody) SetDeletion(val OptMeDeletion)
SetDeletion sets the value of Deletion.
func (*GetMeOutputBody) SetGlobal ¶
func (s *GetMeOutputBody) SetGlobal(val MeGlobal)
SetGlobal sets the value of Global.
func (*GetMeOutputBody) SetJurisdiction ¶
func (s *GetMeOutputBody) SetJurisdiction(val OptString)
SetJurisdiction sets the value of Jurisdiction.
func (*GetMeOutputBody) SetMode ¶
func (s *GetMeOutputBody) SetMode(val OptGetMeOutputBodyMode)
SetMode sets the value of Mode.
func (*GetMeOutputBody) SetRegional ¶
func (s *GetMeOutputBody) SetRegional(val OptMeRegional)
SetRegional sets the value of Regional.
func (*GetMeOutputBody) SetRegionalUnavailable ¶
func (s *GetMeOutputBody) SetRegionalUnavailable(val OptMeRegionalUnavailable)
SetRegionalUnavailable sets the value of RegionalUnavailable.
func (*GetMeOutputBody) SetSchema ¶
func (s *GetMeOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*GetMeOutputBody) UnmarshalJSON ¶
func (s *GetMeOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetMeOutputBody) Validate ¶
func (s *GetMeOutputBody) Validate() error
type GetMeOutputBodyAdditional ¶ added in v0.7.6
func (*GetMeOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *GetMeOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes GetMeOutputBodyAdditional from json.
func (GetMeOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s GetMeOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetMeOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s GetMeOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMeOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *GetMeOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMeOutputBodyMode ¶
type GetMeOutputBodyMode string
const ( GetMeOutputBodyModeStandalone GetMeOutputBodyMode = "standalone" GetMeOutputBodyModeGlobal GetMeOutputBodyMode = "global" GetMeOutputBodyModeRegional GetMeOutputBodyMode = "regional" )
func (GetMeOutputBodyMode) AllValues ¶
func (GetMeOutputBodyMode) AllValues() []GetMeOutputBodyMode
AllValues returns all GetMeOutputBodyMode values.
func (*GetMeOutputBodyMode) Decode ¶
func (s *GetMeOutputBodyMode) Decode(d *jx.Decoder) error
Decode decodes GetMeOutputBodyMode from json.
func (GetMeOutputBodyMode) Encode ¶
func (s GetMeOutputBodyMode) Encode(e *jx.Encoder)
Encode encodes GetMeOutputBodyMode as json.
func (GetMeOutputBodyMode) MarshalJSON ¶
func (s GetMeOutputBodyMode) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GetMeOutputBodyMode) MarshalText ¶
func (s GetMeOutputBodyMode) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GetMeOutputBodyMode) UnmarshalJSON ¶
func (s *GetMeOutputBodyMode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetMeOutputBodyMode) UnmarshalText ¶
func (s *GetMeOutputBodyMode) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GetMeOutputBodyMode) Validate ¶
func (s GetMeOutputBodyMode) Validate() error
type GetMirrorParams ¶
type GetMirrorParams struct {
MirrorId string
}
GetMirrorParams is parameters of getMirror operation.
type GetOnboardingStatusOutputBody ¶ added in v0.9.0
type GetOnboardingStatusOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// True until the account completes web onboarding at least once.
NeedsOnboarding bool `json:"needsOnboarding"`
AdditionalProps GetOnboardingStatusOutputBodyAdditional
}
Ref: #/components/schemas/GetOnboardingStatusOutputBody
func (*GetOnboardingStatusOutputBody) Decode ¶ added in v0.9.0
func (s *GetOnboardingStatusOutputBody) Decode(d *jx.Decoder) error
Decode decodes GetOnboardingStatusOutputBody from json.
func (*GetOnboardingStatusOutputBody) Encode ¶ added in v0.9.0
func (s *GetOnboardingStatusOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetOnboardingStatusOutputBody) GetAdditionalProps ¶ added in v0.9.0
func (s *GetOnboardingStatusOutputBody) GetAdditionalProps() GetOnboardingStatusOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GetOnboardingStatusOutputBody) GetNeedsOnboarding ¶ added in v0.9.0
func (s *GetOnboardingStatusOutputBody) GetNeedsOnboarding() bool
GetNeedsOnboarding returns the value of NeedsOnboarding.
func (*GetOnboardingStatusOutputBody) GetSchema ¶ added in v0.9.0
func (s *GetOnboardingStatusOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*GetOnboardingStatusOutputBody) MarshalJSON ¶ added in v0.9.0
func (s *GetOnboardingStatusOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOnboardingStatusOutputBody) SetAdditionalProps ¶ added in v0.9.0
func (s *GetOnboardingStatusOutputBody) SetAdditionalProps(val GetOnboardingStatusOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GetOnboardingStatusOutputBody) SetNeedsOnboarding ¶ added in v0.9.0
func (s *GetOnboardingStatusOutputBody) SetNeedsOnboarding(val bool)
SetNeedsOnboarding sets the value of NeedsOnboarding.
func (*GetOnboardingStatusOutputBody) SetSchema ¶ added in v0.9.0
func (s *GetOnboardingStatusOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*GetOnboardingStatusOutputBody) UnmarshalJSON ¶ added in v0.9.0
func (s *GetOnboardingStatusOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOnboardingStatusOutputBodyAdditional ¶ added in v0.9.0
func (*GetOnboardingStatusOutputBodyAdditional) Decode ¶ added in v0.9.0
func (s *GetOnboardingStatusOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes GetOnboardingStatusOutputBodyAdditional from json.
func (GetOnboardingStatusOutputBodyAdditional) Encode ¶ added in v0.9.0
func (s GetOnboardingStatusOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetOnboardingStatusOutputBodyAdditional) MarshalJSON ¶ added in v0.9.0
func (s GetOnboardingStatusOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOnboardingStatusOutputBodyAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *GetOnboardingStatusOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOrgParams ¶ added in v0.7.8
type GetOrgParams struct {
OrgId string
}
GetOrgParams is parameters of getOrg operation.
type GetPermissionsOutputBody ¶
type GetPermissionsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Explain OptGetPermissionsOutputBodyExplain `json:"explain"`
Permissions []string `json:"permissions"`
ResourceId string `json:"resourceId"`
ResourceType string `json:"resourceType"`
AdditionalProps GetPermissionsOutputBodyAdditional
}
Ref: #/components/schemas/GetPermissionsOutputBody
func (*GetPermissionsOutputBody) Decode ¶
func (s *GetPermissionsOutputBody) Decode(d *jx.Decoder) error
Decode decodes GetPermissionsOutputBody from json.
func (*GetPermissionsOutputBody) Encode ¶
func (s *GetPermissionsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetPermissionsOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *GetPermissionsOutputBody) GetAdditionalProps() GetPermissionsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GetPermissionsOutputBody) GetExplain ¶
func (s *GetPermissionsOutputBody) GetExplain() OptGetPermissionsOutputBodyExplain
GetExplain returns the value of Explain.
func (*GetPermissionsOutputBody) GetPermissions ¶
func (s *GetPermissionsOutputBody) GetPermissions() []string
GetPermissions returns the value of Permissions.
func (*GetPermissionsOutputBody) GetResourceId ¶
func (s *GetPermissionsOutputBody) GetResourceId() string
GetResourceId returns the value of ResourceId.
func (*GetPermissionsOutputBody) GetResourceType ¶
func (s *GetPermissionsOutputBody) GetResourceType() string
GetResourceType returns the value of ResourceType.
func (*GetPermissionsOutputBody) GetSchema ¶
func (s *GetPermissionsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*GetPermissionsOutputBody) MarshalJSON ¶
func (s *GetPermissionsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetPermissionsOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *GetPermissionsOutputBody) SetAdditionalProps(val GetPermissionsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GetPermissionsOutputBody) SetExplain ¶
func (s *GetPermissionsOutputBody) SetExplain(val OptGetPermissionsOutputBodyExplain)
SetExplain sets the value of Explain.
func (*GetPermissionsOutputBody) SetPermissions ¶
func (s *GetPermissionsOutputBody) SetPermissions(val []string)
SetPermissions sets the value of Permissions.
func (*GetPermissionsOutputBody) SetResourceId ¶
func (s *GetPermissionsOutputBody) SetResourceId(val string)
SetResourceId sets the value of ResourceId.
func (*GetPermissionsOutputBody) SetResourceType ¶
func (s *GetPermissionsOutputBody) SetResourceType(val string)
SetResourceType sets the value of ResourceType.
func (*GetPermissionsOutputBody) SetSchema ¶
func (s *GetPermissionsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*GetPermissionsOutputBody) UnmarshalJSON ¶
func (s *GetPermissionsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetPermissionsOutputBodyAdditional ¶ added in v0.7.6
func (*GetPermissionsOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *GetPermissionsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes GetPermissionsOutputBodyAdditional from json.
func (GetPermissionsOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s GetPermissionsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetPermissionsOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s GetPermissionsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetPermissionsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *GetPermissionsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetPermissionsOutputBodyExplain ¶
func (*GetPermissionsOutputBodyExplain) Decode ¶
func (s *GetPermissionsOutputBodyExplain) Decode(d *jx.Decoder) error
Decode decodes GetPermissionsOutputBodyExplain from json.
func (GetPermissionsOutputBodyExplain) Encode ¶
func (s GetPermissionsOutputBodyExplain) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetPermissionsOutputBodyExplain) MarshalJSON ¶
func (s GetPermissionsOutputBodyExplain) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetPermissionsOutputBodyExplain) UnmarshalJSON ¶
func (s *GetPermissionsOutputBodyExplain) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetPermissionsParams ¶
type GetPermissionsParams struct {
ResourceType string
ResourceId string
// If set, return the SpiceDB trace for this permission instead of the permission list.
Explain OptString `json:",omitempty,omitzero"`
}
GetPermissionsParams is parameters of getPermissions operation.
type GetProjectParams ¶ added in v0.7.8
type GetProjectParams struct {
ProjectId string
}
GetProjectParams is parameters of getProject operation.
type GetRepoParams ¶
type GetRepoParams struct {
RepoId string
}
GetRepoParams is parameters of getRepo operation.
type GetRepoVisibilityOutputBody ¶ added in v0.7.8
type GetRepoVisibilityOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Visibility GetRepoVisibilityOutputBodyVisibility `json:"visibility"`
AdditionalProps GetRepoVisibilityOutputBodyAdditional
}
Ref: #/components/schemas/GetRepoVisibilityOutputBody
func (*GetRepoVisibilityOutputBody) Decode ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBody) Decode(d *jx.Decoder) error
Decode decodes GetRepoVisibilityOutputBody from json.
func (*GetRepoVisibilityOutputBody) Encode ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRepoVisibilityOutputBody) GetAdditionalProps ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBody) GetAdditionalProps() GetRepoVisibilityOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GetRepoVisibilityOutputBody) GetSchema ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*GetRepoVisibilityOutputBody) GetVisibility ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBody) GetVisibility() GetRepoVisibilityOutputBodyVisibility
GetVisibility returns the value of Visibility.
func (*GetRepoVisibilityOutputBody) MarshalJSON ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRepoVisibilityOutputBody) SetAdditionalProps ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBody) SetAdditionalProps(val GetRepoVisibilityOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GetRepoVisibilityOutputBody) SetSchema ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*GetRepoVisibilityOutputBody) SetVisibility ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBody) SetVisibility(val GetRepoVisibilityOutputBodyVisibility)
SetVisibility sets the value of Visibility.
func (*GetRepoVisibilityOutputBody) UnmarshalJSON ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRepoVisibilityOutputBody) Validate ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBody) Validate() error
type GetRepoVisibilityOutputBodyAdditional ¶ added in v0.7.8
func (*GetRepoVisibilityOutputBodyAdditional) Decode ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes GetRepoVisibilityOutputBodyAdditional from json.
func (GetRepoVisibilityOutputBodyAdditional) Encode ¶ added in v0.7.8
func (s GetRepoVisibilityOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetRepoVisibilityOutputBodyAdditional) MarshalJSON ¶ added in v0.7.8
func (s GetRepoVisibilityOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRepoVisibilityOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRepoVisibilityOutputBodyVisibility ¶ added in v0.7.8
type GetRepoVisibilityOutputBodyVisibility string
const ( GetRepoVisibilityOutputBodyVisibilityPublic GetRepoVisibilityOutputBodyVisibility = "public" GetRepoVisibilityOutputBodyVisibilityPrivate GetRepoVisibilityOutputBodyVisibility = "private" )
func (GetRepoVisibilityOutputBodyVisibility) AllValues ¶ added in v0.7.8
func (GetRepoVisibilityOutputBodyVisibility) AllValues() []GetRepoVisibilityOutputBodyVisibility
AllValues returns all GetRepoVisibilityOutputBodyVisibility values.
func (*GetRepoVisibilityOutputBodyVisibility) Decode ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBodyVisibility) Decode(d *jx.Decoder) error
Decode decodes GetRepoVisibilityOutputBodyVisibility from json.
func (GetRepoVisibilityOutputBodyVisibility) Encode ¶ added in v0.7.8
func (s GetRepoVisibilityOutputBodyVisibility) Encode(e *jx.Encoder)
Encode encodes GetRepoVisibilityOutputBodyVisibility as json.
func (GetRepoVisibilityOutputBodyVisibility) MarshalJSON ¶ added in v0.7.8
func (s GetRepoVisibilityOutputBodyVisibility) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GetRepoVisibilityOutputBodyVisibility) MarshalText ¶ added in v0.7.8
func (s GetRepoVisibilityOutputBodyVisibility) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GetRepoVisibilityOutputBodyVisibility) UnmarshalJSON ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBodyVisibility) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRepoVisibilityOutputBodyVisibility) UnmarshalText ¶ added in v0.7.8
func (s *GetRepoVisibilityOutputBodyVisibility) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GetRepoVisibilityOutputBodyVisibility) Validate ¶ added in v0.7.8
func (s GetRepoVisibilityOutputBodyVisibility) Validate() error
type GetRepoVisibilityParams ¶ added in v0.7.8
type GetRepoVisibilityParams struct {
RepoId string
}
GetRepoVisibilityParams is parameters of getRepoVisibility operation.
type GetServiceAccountParams ¶
type GetServiceAccountParams struct {
AccountId string
}
GetServiceAccountParams is parameters of getServiceAccount operation.
type GetTopologyOutputBody ¶ added in v0.9.0
type GetTopologyOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Jurisdictions []TopologyJurisdiction `json:"jurisdictions"`
AdditionalProps GetTopologyOutputBodyAdditional
}
Ref: #/components/schemas/GetTopologyOutputBody
func (*GetTopologyOutputBody) Decode ¶ added in v0.9.0
func (s *GetTopologyOutputBody) Decode(d *jx.Decoder) error
Decode decodes GetTopologyOutputBody from json.
func (*GetTopologyOutputBody) Encode ¶ added in v0.9.0
func (s *GetTopologyOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetTopologyOutputBody) GetAdditionalProps ¶ added in v0.9.0
func (s *GetTopologyOutputBody) GetAdditionalProps() GetTopologyOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GetTopologyOutputBody) GetJurisdictions ¶ added in v0.9.0
func (s *GetTopologyOutputBody) GetJurisdictions() []TopologyJurisdiction
GetJurisdictions returns the value of Jurisdictions.
func (*GetTopologyOutputBody) GetSchema ¶ added in v0.9.0
func (s *GetTopologyOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*GetTopologyOutputBody) MarshalJSON ¶ added in v0.9.0
func (s *GetTopologyOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetTopologyOutputBody) SetAdditionalProps ¶ added in v0.9.0
func (s *GetTopologyOutputBody) SetAdditionalProps(val GetTopologyOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GetTopologyOutputBody) SetJurisdictions ¶ added in v0.9.0
func (s *GetTopologyOutputBody) SetJurisdictions(val []TopologyJurisdiction)
SetJurisdictions sets the value of Jurisdictions.
func (*GetTopologyOutputBody) SetSchema ¶ added in v0.9.0
func (s *GetTopologyOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*GetTopologyOutputBody) UnmarshalJSON ¶ added in v0.9.0
func (s *GetTopologyOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetTopologyOutputBody) Validate ¶ added in v0.9.0
func (s *GetTopologyOutputBody) Validate() error
type GetTopologyOutputBodyAdditional ¶ added in v0.9.0
func (*GetTopologyOutputBodyAdditional) Decode ¶ added in v0.9.0
func (s *GetTopologyOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes GetTopologyOutputBodyAdditional from json.
func (GetTopologyOutputBodyAdditional) Encode ¶ added in v0.9.0
func (s GetTopologyOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetTopologyOutputBodyAdditional) MarshalJSON ¶ added in v0.9.0
func (s GetTopologyOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetTopologyOutputBodyAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *GetTopologyOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionOutputBody ¶ added in v0.7.7
type GetVersionOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Server mode.
Mode OptGetVersionOutputBodyMode `json:"mode"`
// Git commit SHA of the running entire-core binary, or "dev" for an untagged local build.
Version string `json:"version"`
AdditionalProps GetVersionOutputBodyAdditional
}
Ref: #/components/schemas/GetVersionOutputBody
func (*GetVersionOutputBody) Decode ¶ added in v0.7.7
func (s *GetVersionOutputBody) Decode(d *jx.Decoder) error
Decode decodes GetVersionOutputBody from json.
func (*GetVersionOutputBody) Encode ¶ added in v0.7.7
func (s *GetVersionOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetVersionOutputBody) GetAdditionalProps ¶ added in v0.7.7
func (s *GetVersionOutputBody) GetAdditionalProps() GetVersionOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GetVersionOutputBody) GetMode ¶ added in v0.7.7
func (s *GetVersionOutputBody) GetMode() OptGetVersionOutputBodyMode
GetMode returns the value of Mode.
func (*GetVersionOutputBody) GetSchema ¶ added in v0.7.7
func (s *GetVersionOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*GetVersionOutputBody) GetVersion ¶ added in v0.7.7
func (s *GetVersionOutputBody) GetVersion() string
GetVersion returns the value of Version.
func (*GetVersionOutputBody) MarshalJSON ¶ added in v0.7.7
func (s *GetVersionOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionOutputBody) SetAdditionalProps ¶ added in v0.7.7
func (s *GetVersionOutputBody) SetAdditionalProps(val GetVersionOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GetVersionOutputBody) SetMode ¶ added in v0.7.7
func (s *GetVersionOutputBody) SetMode(val OptGetVersionOutputBodyMode)
SetMode sets the value of Mode.
func (*GetVersionOutputBody) SetSchema ¶ added in v0.7.7
func (s *GetVersionOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*GetVersionOutputBody) SetVersion ¶ added in v0.7.7
func (s *GetVersionOutputBody) SetVersion(val string)
SetVersion sets the value of Version.
func (*GetVersionOutputBody) UnmarshalJSON ¶ added in v0.7.7
func (s *GetVersionOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetVersionOutputBody) Validate ¶ added in v0.7.7
func (s *GetVersionOutputBody) Validate() error
type GetVersionOutputBodyAdditional ¶ added in v0.7.7
func (*GetVersionOutputBodyAdditional) Decode ¶ added in v0.7.7
func (s *GetVersionOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes GetVersionOutputBodyAdditional from json.
func (GetVersionOutputBodyAdditional) Encode ¶ added in v0.7.7
func (s GetVersionOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetVersionOutputBodyAdditional) MarshalJSON ¶ added in v0.7.7
func (s GetVersionOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.7
func (s *GetVersionOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionOutputBodyMode ¶ added in v0.7.7
type GetVersionOutputBodyMode string
Server mode.
const ( GetVersionOutputBodyModeStandalone GetVersionOutputBodyMode = "standalone" GetVersionOutputBodyModeGlobal GetVersionOutputBodyMode = "global" GetVersionOutputBodyModeRegional GetVersionOutputBodyMode = "regional" )
func (GetVersionOutputBodyMode) AllValues ¶ added in v0.7.7
func (GetVersionOutputBodyMode) AllValues() []GetVersionOutputBodyMode
AllValues returns all GetVersionOutputBodyMode values.
func (*GetVersionOutputBodyMode) Decode ¶ added in v0.7.7
func (s *GetVersionOutputBodyMode) Decode(d *jx.Decoder) error
Decode decodes GetVersionOutputBodyMode from json.
func (GetVersionOutputBodyMode) Encode ¶ added in v0.7.7
func (s GetVersionOutputBodyMode) Encode(e *jx.Encoder)
Encode encodes GetVersionOutputBodyMode as json.
func (GetVersionOutputBodyMode) MarshalJSON ¶ added in v0.7.7
func (s GetVersionOutputBodyMode) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GetVersionOutputBodyMode) MarshalText ¶ added in v0.7.7
func (s GetVersionOutputBodyMode) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GetVersionOutputBodyMode) UnmarshalJSON ¶ added in v0.7.7
func (s *GetVersionOutputBodyMode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetVersionOutputBodyMode) UnmarshalText ¶ added in v0.7.7
func (s *GetVersionOutputBodyMode) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GetVersionOutputBodyMode) Validate ¶ added in v0.7.7
func (s GetVersionOutputBodyMode) Validate() error
type GrantProjectAccessInputBody ¶
type GrantProjectAccessInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
GranteeType OptGrantProjectAccessInputBodyGranteeType `json:"granteeType"`
Provider string `json:"provider"`
ProviderUserId string `json:"providerUserId"`
Role GrantProjectAccessInputBodyRole `json:"role"`
AdditionalProps GrantProjectAccessInputBodyAdditional
}
Ref: #/components/schemas/GrantProjectAccessInputBody
func (*GrantProjectAccessInputBody) Decode ¶
func (s *GrantProjectAccessInputBody) Decode(d *jx.Decoder) error
Decode decodes GrantProjectAccessInputBody from json.
func (*GrantProjectAccessInputBody) Encode ¶
func (s *GrantProjectAccessInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GrantProjectAccessInputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *GrantProjectAccessInputBody) GetAdditionalProps() GrantProjectAccessInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GrantProjectAccessInputBody) GetGranteeType ¶
func (s *GrantProjectAccessInputBody) GetGranteeType() OptGrantProjectAccessInputBodyGranteeType
GetGranteeType returns the value of GranteeType.
func (*GrantProjectAccessInputBody) GetProvider ¶
func (s *GrantProjectAccessInputBody) GetProvider() string
GetProvider returns the value of Provider.
func (*GrantProjectAccessInputBody) GetProviderUserId ¶
func (s *GrantProjectAccessInputBody) GetProviderUserId() string
GetProviderUserId returns the value of ProviderUserId.
func (*GrantProjectAccessInputBody) GetRole ¶
func (s *GrantProjectAccessInputBody) GetRole() GrantProjectAccessInputBodyRole
GetRole returns the value of Role.
func (*GrantProjectAccessInputBody) GetSchema ¶
func (s *GrantProjectAccessInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*GrantProjectAccessInputBody) MarshalJSON ¶
func (s *GrantProjectAccessInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GrantProjectAccessInputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *GrantProjectAccessInputBody) SetAdditionalProps(val GrantProjectAccessInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GrantProjectAccessInputBody) SetGranteeType ¶
func (s *GrantProjectAccessInputBody) SetGranteeType(val OptGrantProjectAccessInputBodyGranteeType)
SetGranteeType sets the value of GranteeType.
func (*GrantProjectAccessInputBody) SetProvider ¶
func (s *GrantProjectAccessInputBody) SetProvider(val string)
SetProvider sets the value of Provider.
func (*GrantProjectAccessInputBody) SetProviderUserId ¶
func (s *GrantProjectAccessInputBody) SetProviderUserId(val string)
SetProviderUserId sets the value of ProviderUserId.
func (*GrantProjectAccessInputBody) SetRole ¶
func (s *GrantProjectAccessInputBody) SetRole(val GrantProjectAccessInputBodyRole)
SetRole sets the value of Role.
func (*GrantProjectAccessInputBody) SetSchema ¶
func (s *GrantProjectAccessInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*GrantProjectAccessInputBody) UnmarshalJSON ¶
func (s *GrantProjectAccessInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GrantProjectAccessInputBody) Validate ¶
func (s *GrantProjectAccessInputBody) Validate() error
type GrantProjectAccessInputBodyAdditional ¶ added in v0.7.6
func (*GrantProjectAccessInputBodyAdditional) Decode ¶ added in v0.7.6
func (s *GrantProjectAccessInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes GrantProjectAccessInputBodyAdditional from json.
func (GrantProjectAccessInputBodyAdditional) Encode ¶ added in v0.7.6
func (s GrantProjectAccessInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GrantProjectAccessInputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s GrantProjectAccessInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GrantProjectAccessInputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *GrantProjectAccessInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GrantProjectAccessInputBodyGranteeType ¶
type GrantProjectAccessInputBodyGranteeType string
const (
GrantProjectAccessInputBodyGranteeTypeAccount GrantProjectAccessInputBodyGranteeType = "account"
)
func (GrantProjectAccessInputBodyGranteeType) AllValues ¶
func (GrantProjectAccessInputBodyGranteeType) AllValues() []GrantProjectAccessInputBodyGranteeType
AllValues returns all GrantProjectAccessInputBodyGranteeType values.
func (*GrantProjectAccessInputBodyGranteeType) Decode ¶
func (s *GrantProjectAccessInputBodyGranteeType) Decode(d *jx.Decoder) error
Decode decodes GrantProjectAccessInputBodyGranteeType from json.
func (GrantProjectAccessInputBodyGranteeType) Encode ¶
func (s GrantProjectAccessInputBodyGranteeType) Encode(e *jx.Encoder)
Encode encodes GrantProjectAccessInputBodyGranteeType as json.
func (GrantProjectAccessInputBodyGranteeType) MarshalJSON ¶
func (s GrantProjectAccessInputBodyGranteeType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GrantProjectAccessInputBodyGranteeType) MarshalText ¶
func (s GrantProjectAccessInputBodyGranteeType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GrantProjectAccessInputBodyGranteeType) UnmarshalJSON ¶
func (s *GrantProjectAccessInputBodyGranteeType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GrantProjectAccessInputBodyGranteeType) UnmarshalText ¶
func (s *GrantProjectAccessInputBodyGranteeType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GrantProjectAccessInputBodyGranteeType) Validate ¶
func (s GrantProjectAccessInputBodyGranteeType) Validate() error
type GrantProjectAccessInputBodyRole ¶ added in v0.7.8
type GrantProjectAccessInputBodyRole string
const ( GrantProjectAccessInputBodyRoleReader GrantProjectAccessInputBodyRole = "reader" GrantProjectAccessInputBodyRoleWriter GrantProjectAccessInputBodyRole = "writer" GrantProjectAccessInputBodyRoleAdmin GrantProjectAccessInputBodyRole = "admin" )
func (GrantProjectAccessInputBodyRole) AllValues ¶ added in v0.7.8
func (GrantProjectAccessInputBodyRole) AllValues() []GrantProjectAccessInputBodyRole
AllValues returns all GrantProjectAccessInputBodyRole values.
func (*GrantProjectAccessInputBodyRole) Decode ¶ added in v0.7.8
func (s *GrantProjectAccessInputBodyRole) Decode(d *jx.Decoder) error
Decode decodes GrantProjectAccessInputBodyRole from json.
func (GrantProjectAccessInputBodyRole) Encode ¶ added in v0.7.8
func (s GrantProjectAccessInputBodyRole) Encode(e *jx.Encoder)
Encode encodes GrantProjectAccessInputBodyRole as json.
func (GrantProjectAccessInputBodyRole) MarshalJSON ¶ added in v0.7.8
func (s GrantProjectAccessInputBodyRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GrantProjectAccessInputBodyRole) MarshalText ¶ added in v0.7.8
func (s GrantProjectAccessInputBodyRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GrantProjectAccessInputBodyRole) UnmarshalJSON ¶ added in v0.7.8
func (s *GrantProjectAccessInputBodyRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GrantProjectAccessInputBodyRole) UnmarshalText ¶ added in v0.7.8
func (s *GrantProjectAccessInputBodyRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GrantProjectAccessInputBodyRole) Validate ¶ added in v0.7.8
func (s GrantProjectAccessInputBodyRole) Validate() error
type GrantProjectAccessOutputBody ¶
type GrantProjectAccessOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Status string `json:"status"`
AdditionalProps GrantProjectAccessOutputBodyAdditional
}
Ref: #/components/schemas/GrantProjectAccessOutputBody
func (*GrantProjectAccessOutputBody) Decode ¶
func (s *GrantProjectAccessOutputBody) Decode(d *jx.Decoder) error
Decode decodes GrantProjectAccessOutputBody from json.
func (*GrantProjectAccessOutputBody) Encode ¶
func (s *GrantProjectAccessOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GrantProjectAccessOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *GrantProjectAccessOutputBody) GetAdditionalProps() GrantProjectAccessOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GrantProjectAccessOutputBody) GetSchema ¶
func (s *GrantProjectAccessOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*GrantProjectAccessOutputBody) GetStatus ¶
func (s *GrantProjectAccessOutputBody) GetStatus() string
GetStatus returns the value of Status.
func (*GrantProjectAccessOutputBody) MarshalJSON ¶
func (s *GrantProjectAccessOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GrantProjectAccessOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *GrantProjectAccessOutputBody) SetAdditionalProps(val GrantProjectAccessOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GrantProjectAccessOutputBody) SetSchema ¶
func (s *GrantProjectAccessOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*GrantProjectAccessOutputBody) SetStatus ¶
func (s *GrantProjectAccessOutputBody) SetStatus(val string)
SetStatus sets the value of Status.
func (*GrantProjectAccessOutputBody) UnmarshalJSON ¶
func (s *GrantProjectAccessOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GrantProjectAccessOutputBodyAdditional ¶ added in v0.7.6
func (*GrantProjectAccessOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *GrantProjectAccessOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes GrantProjectAccessOutputBodyAdditional from json.
func (GrantProjectAccessOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s GrantProjectAccessOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GrantProjectAccessOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s GrantProjectAccessOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GrantProjectAccessOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *GrantProjectAccessOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GrantProjectAccessParams ¶
type GrantProjectAccessParams struct {
ProjectId string
}
GrantProjectAccessParams is parameters of grantProjectAccess operation.
type GrantRepoAccessInputBody ¶
type GrantRepoAccessInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
GranteeType OptGrantRepoAccessInputBodyGranteeType `json:"granteeType"`
Provider string `json:"provider"`
ProviderUserId string `json:"providerUserId"`
Role GrantRepoAccessInputBodyRole `json:"role"`
AdditionalProps GrantRepoAccessInputBodyAdditional
}
Ref: #/components/schemas/GrantRepoAccessInputBody
func (*GrantRepoAccessInputBody) Decode ¶
func (s *GrantRepoAccessInputBody) Decode(d *jx.Decoder) error
Decode decodes GrantRepoAccessInputBody from json.
func (*GrantRepoAccessInputBody) Encode ¶
func (s *GrantRepoAccessInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GrantRepoAccessInputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *GrantRepoAccessInputBody) GetAdditionalProps() GrantRepoAccessInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GrantRepoAccessInputBody) GetGranteeType ¶
func (s *GrantRepoAccessInputBody) GetGranteeType() OptGrantRepoAccessInputBodyGranteeType
GetGranteeType returns the value of GranteeType.
func (*GrantRepoAccessInputBody) GetProvider ¶
func (s *GrantRepoAccessInputBody) GetProvider() string
GetProvider returns the value of Provider.
func (*GrantRepoAccessInputBody) GetProviderUserId ¶
func (s *GrantRepoAccessInputBody) GetProviderUserId() string
GetProviderUserId returns the value of ProviderUserId.
func (*GrantRepoAccessInputBody) GetRole ¶
func (s *GrantRepoAccessInputBody) GetRole() GrantRepoAccessInputBodyRole
GetRole returns the value of Role.
func (*GrantRepoAccessInputBody) GetSchema ¶
func (s *GrantRepoAccessInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*GrantRepoAccessInputBody) MarshalJSON ¶
func (s *GrantRepoAccessInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GrantRepoAccessInputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *GrantRepoAccessInputBody) SetAdditionalProps(val GrantRepoAccessInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GrantRepoAccessInputBody) SetGranteeType ¶
func (s *GrantRepoAccessInputBody) SetGranteeType(val OptGrantRepoAccessInputBodyGranteeType)
SetGranteeType sets the value of GranteeType.
func (*GrantRepoAccessInputBody) SetProvider ¶
func (s *GrantRepoAccessInputBody) SetProvider(val string)
SetProvider sets the value of Provider.
func (*GrantRepoAccessInputBody) SetProviderUserId ¶
func (s *GrantRepoAccessInputBody) SetProviderUserId(val string)
SetProviderUserId sets the value of ProviderUserId.
func (*GrantRepoAccessInputBody) SetRole ¶
func (s *GrantRepoAccessInputBody) SetRole(val GrantRepoAccessInputBodyRole)
SetRole sets the value of Role.
func (*GrantRepoAccessInputBody) SetSchema ¶
func (s *GrantRepoAccessInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*GrantRepoAccessInputBody) UnmarshalJSON ¶
func (s *GrantRepoAccessInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GrantRepoAccessInputBody) Validate ¶
func (s *GrantRepoAccessInputBody) Validate() error
type GrantRepoAccessInputBodyAdditional ¶ added in v0.7.6
func (*GrantRepoAccessInputBodyAdditional) Decode ¶ added in v0.7.6
func (s *GrantRepoAccessInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes GrantRepoAccessInputBodyAdditional from json.
func (GrantRepoAccessInputBodyAdditional) Encode ¶ added in v0.7.6
func (s GrantRepoAccessInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GrantRepoAccessInputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s GrantRepoAccessInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GrantRepoAccessInputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *GrantRepoAccessInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GrantRepoAccessInputBodyGranteeType ¶
type GrantRepoAccessInputBodyGranteeType string
const (
GrantRepoAccessInputBodyGranteeTypeAccount GrantRepoAccessInputBodyGranteeType = "account"
)
func (GrantRepoAccessInputBodyGranteeType) AllValues ¶
func (GrantRepoAccessInputBodyGranteeType) AllValues() []GrantRepoAccessInputBodyGranteeType
AllValues returns all GrantRepoAccessInputBodyGranteeType values.
func (*GrantRepoAccessInputBodyGranteeType) Decode ¶
func (s *GrantRepoAccessInputBodyGranteeType) Decode(d *jx.Decoder) error
Decode decodes GrantRepoAccessInputBodyGranteeType from json.
func (GrantRepoAccessInputBodyGranteeType) Encode ¶
func (s GrantRepoAccessInputBodyGranteeType) Encode(e *jx.Encoder)
Encode encodes GrantRepoAccessInputBodyGranteeType as json.
func (GrantRepoAccessInputBodyGranteeType) MarshalJSON ¶
func (s GrantRepoAccessInputBodyGranteeType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GrantRepoAccessInputBodyGranteeType) MarshalText ¶
func (s GrantRepoAccessInputBodyGranteeType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GrantRepoAccessInputBodyGranteeType) UnmarshalJSON ¶
func (s *GrantRepoAccessInputBodyGranteeType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GrantRepoAccessInputBodyGranteeType) UnmarshalText ¶
func (s *GrantRepoAccessInputBodyGranteeType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GrantRepoAccessInputBodyGranteeType) Validate ¶
func (s GrantRepoAccessInputBodyGranteeType) Validate() error
type GrantRepoAccessInputBodyRole ¶ added in v0.7.8
type GrantRepoAccessInputBodyRole string
const ( GrantRepoAccessInputBodyRoleReader GrantRepoAccessInputBodyRole = "reader" GrantRepoAccessInputBodyRoleWriter GrantRepoAccessInputBodyRole = "writer" GrantRepoAccessInputBodyRoleAdmin GrantRepoAccessInputBodyRole = "admin" GrantRepoAccessInputBodyRoleCiManager GrantRepoAccessInputBodyRole = "ci_manager" )
func (GrantRepoAccessInputBodyRole) AllValues ¶ added in v0.7.8
func (GrantRepoAccessInputBodyRole) AllValues() []GrantRepoAccessInputBodyRole
AllValues returns all GrantRepoAccessInputBodyRole values.
func (*GrantRepoAccessInputBodyRole) Decode ¶ added in v0.7.8
func (s *GrantRepoAccessInputBodyRole) Decode(d *jx.Decoder) error
Decode decodes GrantRepoAccessInputBodyRole from json.
func (GrantRepoAccessInputBodyRole) Encode ¶ added in v0.7.8
func (s GrantRepoAccessInputBodyRole) Encode(e *jx.Encoder)
Encode encodes GrantRepoAccessInputBodyRole as json.
func (GrantRepoAccessInputBodyRole) MarshalJSON ¶ added in v0.7.8
func (s GrantRepoAccessInputBodyRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GrantRepoAccessInputBodyRole) MarshalText ¶ added in v0.7.8
func (s GrantRepoAccessInputBodyRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GrantRepoAccessInputBodyRole) UnmarshalJSON ¶ added in v0.7.8
func (s *GrantRepoAccessInputBodyRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GrantRepoAccessInputBodyRole) UnmarshalText ¶ added in v0.7.8
func (s *GrantRepoAccessInputBodyRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GrantRepoAccessInputBodyRole) Validate ¶ added in v0.7.8
func (s GrantRepoAccessInputBodyRole) Validate() error
type GrantRepoAccessOutputBody ¶
type GrantRepoAccessOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Status string `json:"status"`
AdditionalProps GrantRepoAccessOutputBodyAdditional
}
Ref: #/components/schemas/GrantRepoAccessOutputBody
func (*GrantRepoAccessOutputBody) Decode ¶
func (s *GrantRepoAccessOutputBody) Decode(d *jx.Decoder) error
Decode decodes GrantRepoAccessOutputBody from json.
func (*GrantRepoAccessOutputBody) Encode ¶
func (s *GrantRepoAccessOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GrantRepoAccessOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *GrantRepoAccessOutputBody) GetAdditionalProps() GrantRepoAccessOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GrantRepoAccessOutputBody) GetSchema ¶
func (s *GrantRepoAccessOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*GrantRepoAccessOutputBody) GetStatus ¶
func (s *GrantRepoAccessOutputBody) GetStatus() string
GetStatus returns the value of Status.
func (*GrantRepoAccessOutputBody) MarshalJSON ¶
func (s *GrantRepoAccessOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GrantRepoAccessOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *GrantRepoAccessOutputBody) SetAdditionalProps(val GrantRepoAccessOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GrantRepoAccessOutputBody) SetSchema ¶
func (s *GrantRepoAccessOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*GrantRepoAccessOutputBody) SetStatus ¶
func (s *GrantRepoAccessOutputBody) SetStatus(val string)
SetStatus sets the value of Status.
func (*GrantRepoAccessOutputBody) UnmarshalJSON ¶
func (s *GrantRepoAccessOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GrantRepoAccessOutputBodyAdditional ¶ added in v0.7.6
func (*GrantRepoAccessOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *GrantRepoAccessOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes GrantRepoAccessOutputBodyAdditional from json.
func (GrantRepoAccessOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s GrantRepoAccessOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GrantRepoAccessOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s GrantRepoAccessOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GrantRepoAccessOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *GrantRepoAccessOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GrantRepoAccessParams ¶
type GrantRepoAccessParams struct {
RepoId string
}
GrantRepoAccessParams is parameters of grantRepoAccess operation.
type GrantServiceAccountAccessInputBody ¶
type GrantServiceAccountAccessInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
ResourceId string `json:"resourceId"`
ResourceType GrantServiceAccountAccessInputBodyResourceType `json:"resourceType"`
Role GrantServiceAccountAccessInputBodyRole `json:"role"`
AdditionalProps GrantServiceAccountAccessInputBodyAdditional
}
Ref: #/components/schemas/GrantServiceAccountAccessInputBody
func (*GrantServiceAccountAccessInputBody) Decode ¶
func (s *GrantServiceAccountAccessInputBody) Decode(d *jx.Decoder) error
Decode decodes GrantServiceAccountAccessInputBody from json.
func (*GrantServiceAccountAccessInputBody) Encode ¶
func (s *GrantServiceAccountAccessInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GrantServiceAccountAccessInputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *GrantServiceAccountAccessInputBody) GetAdditionalProps() GrantServiceAccountAccessInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GrantServiceAccountAccessInputBody) GetResourceId ¶
func (s *GrantServiceAccountAccessInputBody) GetResourceId() string
GetResourceId returns the value of ResourceId.
func (*GrantServiceAccountAccessInputBody) GetResourceType ¶
func (s *GrantServiceAccountAccessInputBody) GetResourceType() GrantServiceAccountAccessInputBodyResourceType
GetResourceType returns the value of ResourceType.
func (*GrantServiceAccountAccessInputBody) GetRole ¶
func (s *GrantServiceAccountAccessInputBody) GetRole() GrantServiceAccountAccessInputBodyRole
GetRole returns the value of Role.
func (*GrantServiceAccountAccessInputBody) GetSchema ¶
func (s *GrantServiceAccountAccessInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*GrantServiceAccountAccessInputBody) MarshalJSON ¶
func (s *GrantServiceAccountAccessInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GrantServiceAccountAccessInputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *GrantServiceAccountAccessInputBody) SetAdditionalProps(val GrantServiceAccountAccessInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GrantServiceAccountAccessInputBody) SetResourceId ¶
func (s *GrantServiceAccountAccessInputBody) SetResourceId(val string)
SetResourceId sets the value of ResourceId.
func (*GrantServiceAccountAccessInputBody) SetResourceType ¶
func (s *GrantServiceAccountAccessInputBody) SetResourceType(val GrantServiceAccountAccessInputBodyResourceType)
SetResourceType sets the value of ResourceType.
func (*GrantServiceAccountAccessInputBody) SetRole ¶
func (s *GrantServiceAccountAccessInputBody) SetRole(val GrantServiceAccountAccessInputBodyRole)
SetRole sets the value of Role.
func (*GrantServiceAccountAccessInputBody) SetSchema ¶
func (s *GrantServiceAccountAccessInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*GrantServiceAccountAccessInputBody) UnmarshalJSON ¶
func (s *GrantServiceAccountAccessInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GrantServiceAccountAccessInputBody) Validate ¶
func (s *GrantServiceAccountAccessInputBody) Validate() error
type GrantServiceAccountAccessInputBodyAdditional ¶ added in v0.7.6
func (*GrantServiceAccountAccessInputBodyAdditional) Decode ¶ added in v0.7.6
func (s *GrantServiceAccountAccessInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes GrantServiceAccountAccessInputBodyAdditional from json.
func (GrantServiceAccountAccessInputBodyAdditional) Encode ¶ added in v0.7.6
func (s GrantServiceAccountAccessInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GrantServiceAccountAccessInputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s GrantServiceAccountAccessInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GrantServiceAccountAccessInputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *GrantServiceAccountAccessInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GrantServiceAccountAccessInputBodyResourceType ¶
type GrantServiceAccountAccessInputBodyResourceType string
const ( GrantServiceAccountAccessInputBodyResourceTypeRepo GrantServiceAccountAccessInputBodyResourceType = "repo" GrantServiceAccountAccessInputBodyResourceTypeProject GrantServiceAccountAccessInputBodyResourceType = "project" )
func (GrantServiceAccountAccessInputBodyResourceType) AllValues ¶
func (GrantServiceAccountAccessInputBodyResourceType) AllValues() []GrantServiceAccountAccessInputBodyResourceType
AllValues returns all GrantServiceAccountAccessInputBodyResourceType values.
func (*GrantServiceAccountAccessInputBodyResourceType) Decode ¶
func (s *GrantServiceAccountAccessInputBodyResourceType) Decode(d *jx.Decoder) error
Decode decodes GrantServiceAccountAccessInputBodyResourceType from json.
func (GrantServiceAccountAccessInputBodyResourceType) Encode ¶
func (s GrantServiceAccountAccessInputBodyResourceType) Encode(e *jx.Encoder)
Encode encodes GrantServiceAccountAccessInputBodyResourceType as json.
func (GrantServiceAccountAccessInputBodyResourceType) MarshalJSON ¶
func (s GrantServiceAccountAccessInputBodyResourceType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GrantServiceAccountAccessInputBodyResourceType) MarshalText ¶
func (s GrantServiceAccountAccessInputBodyResourceType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GrantServiceAccountAccessInputBodyResourceType) UnmarshalJSON ¶
func (s *GrantServiceAccountAccessInputBodyResourceType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GrantServiceAccountAccessInputBodyResourceType) UnmarshalText ¶
func (s *GrantServiceAccountAccessInputBodyResourceType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GrantServiceAccountAccessInputBodyResourceType) Validate ¶
func (s GrantServiceAccountAccessInputBodyResourceType) Validate() error
type GrantServiceAccountAccessInputBodyRole ¶ added in v0.7.8
type GrantServiceAccountAccessInputBodyRole string
const ( GrantServiceAccountAccessInputBodyRoleReader GrantServiceAccountAccessInputBodyRole = "reader" GrantServiceAccountAccessInputBodyRoleWriter GrantServiceAccountAccessInputBodyRole = "writer" GrantServiceAccountAccessInputBodyRoleAdmin GrantServiceAccountAccessInputBodyRole = "admin" )
func (GrantServiceAccountAccessInputBodyRole) AllValues ¶ added in v0.7.8
func (GrantServiceAccountAccessInputBodyRole) AllValues() []GrantServiceAccountAccessInputBodyRole
AllValues returns all GrantServiceAccountAccessInputBodyRole values.
func (*GrantServiceAccountAccessInputBodyRole) Decode ¶ added in v0.7.8
func (s *GrantServiceAccountAccessInputBodyRole) Decode(d *jx.Decoder) error
Decode decodes GrantServiceAccountAccessInputBodyRole from json.
func (GrantServiceAccountAccessInputBodyRole) Encode ¶ added in v0.7.8
func (s GrantServiceAccountAccessInputBodyRole) Encode(e *jx.Encoder)
Encode encodes GrantServiceAccountAccessInputBodyRole as json.
func (GrantServiceAccountAccessInputBodyRole) MarshalJSON ¶ added in v0.7.8
func (s GrantServiceAccountAccessInputBodyRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GrantServiceAccountAccessInputBodyRole) MarshalText ¶ added in v0.7.8
func (s GrantServiceAccountAccessInputBodyRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GrantServiceAccountAccessInputBodyRole) UnmarshalJSON ¶ added in v0.7.8
func (s *GrantServiceAccountAccessInputBodyRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GrantServiceAccountAccessInputBodyRole) UnmarshalText ¶ added in v0.7.8
func (s *GrantServiceAccountAccessInputBodyRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GrantServiceAccountAccessInputBodyRole) Validate ¶ added in v0.7.8
func (s GrantServiceAccountAccessInputBodyRole) Validate() error
type GrantServiceAccountAccessOutputBody ¶
type GrantServiceAccountAccessOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Status string `json:"status"`
AdditionalProps GrantServiceAccountAccessOutputBodyAdditional
}
Ref: #/components/schemas/GrantServiceAccountAccessOutputBody
func (*GrantServiceAccountAccessOutputBody) Decode ¶
func (s *GrantServiceAccountAccessOutputBody) Decode(d *jx.Decoder) error
Decode decodes GrantServiceAccountAccessOutputBody from json.
func (*GrantServiceAccountAccessOutputBody) Encode ¶
func (s *GrantServiceAccountAccessOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GrantServiceAccountAccessOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *GrantServiceAccountAccessOutputBody) GetAdditionalProps() GrantServiceAccountAccessOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GrantServiceAccountAccessOutputBody) GetSchema ¶
func (s *GrantServiceAccountAccessOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*GrantServiceAccountAccessOutputBody) GetStatus ¶
func (s *GrantServiceAccountAccessOutputBody) GetStatus() string
GetStatus returns the value of Status.
func (*GrantServiceAccountAccessOutputBody) MarshalJSON ¶
func (s *GrantServiceAccountAccessOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GrantServiceAccountAccessOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *GrantServiceAccountAccessOutputBody) SetAdditionalProps(val GrantServiceAccountAccessOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GrantServiceAccountAccessOutputBody) SetSchema ¶
func (s *GrantServiceAccountAccessOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*GrantServiceAccountAccessOutputBody) SetStatus ¶
func (s *GrantServiceAccountAccessOutputBody) SetStatus(val string)
SetStatus sets the value of Status.
func (*GrantServiceAccountAccessOutputBody) UnmarshalJSON ¶
func (s *GrantServiceAccountAccessOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GrantServiceAccountAccessOutputBodyAdditional ¶ added in v0.7.6
func (*GrantServiceAccountAccessOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *GrantServiceAccountAccessOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes GrantServiceAccountAccessOutputBodyAdditional from json.
func (GrantServiceAccountAccessOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s GrantServiceAccountAccessOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GrantServiceAccountAccessOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s GrantServiceAccountAccessOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GrantServiceAccountAccessOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *GrantServiceAccountAccessOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GrantServiceAccountAccessParams ¶
type GrantServiceAccountAccessParams struct {
AccountId string
}
GrantServiceAccountAccessParams is parameters of grantServiceAccountAccess operation.
type Invoker ¶
type Invoker interface {
// AddOrgMember invokes addOrgMember operation.
//
// Add a member to an organization.
//
// POST /orgs/{orgId}/members
AddOrgMember(ctx context.Context, request *AddOrgMemberInputBody, params AddOrgMemberParams) (*Membership, error)
// BatchLookup invokes batchLookup operation.
//
// Batch-resolve (type, id) refs to enriched records.
//
// POST /lookup
BatchLookup(ctx context.Context, request *BatchLookupInputBody) (*BatchLookupOutputBody, error)
// CancelDeletion invokes cancelDeletion operation.
//
// Cancel a pending deletion request for the calling account.
//
// POST /me/cancel-deletion
CancelDeletion(ctx context.Context) error
// CompleteOnboarding invokes completeOnboarding operation.
//
// Record that the calling account completed web onboarding.
//
// POST /me/onboarding/complete
CompleteOnboarding(ctx context.Context) (*CompleteOnboardingOutputBody, error)
// CreateBinding invokes createBinding operation.
//
// Create OIDC binding.
//
// POST /service-accounts/{accountId}/bindings
CreateBinding(ctx context.Context, request *CreateBindingInputBody, params CreateBindingParams) (*Binding, error)
// CreateMirror invokes createMirror operation.
//
// Create GitHub mirror.
//
// POST /mirrors
CreateMirror(ctx context.Context, request *CreateMirrorInputBody) (*CreatedMirror, error)
// CreateOrg invokes createOrg operation.
//
// Create organization.
//
// POST /orgs
CreateOrg(ctx context.Context, request *CreateOrgInputBody) (*Org, error)
// CreateProject invokes createProject operation.
//
// Create project.
//
// POST /projects
CreateProject(ctx context.Context, request *CreateProjectInputBody) (*Project, error)
// CreateRepo invokes createRepo operation.
//
// Create repository.
//
// POST /repos
CreateRepo(ctx context.Context, request *CreateRepoInputBody) (*Repo, error)
// CreateRepoCIWebhook invokes createRepoCIWebhook operation.
//
// Enroll a repo into a CI webhook (Buildkite).
//
// POST /repos/{repoId}/ci-webhooks
CreateRepoCIWebhook(ctx context.Context, request *CreateRepoCIWebhookInputBody, params CreateRepoCIWebhookParams) (*CIWebhookView, error)
// CreateServiceAccount invokes createServiceAccount operation.
//
// Create service account.
//
// POST /service-accounts
CreateServiceAccount(ctx context.Context, request *CreateServiceAccountInputBody) (*ServiceAccount, error)
// DeleteBinding invokes deleteBinding operation.
//
// Delete OIDC binding.
//
// DELETE /service-accounts/{accountId}/bindings/{bindingId}
DeleteBinding(ctx context.Context, params DeleteBindingParams) error
// DeleteMe invokes deleteMe operation.
//
// Request deletion of the calling account (7-day cooldown; cancel via POST /me/cancel-deletion).
//
// DELETE /me
DeleteMe(ctx context.Context) error
// DeleteMirror invokes deleteMirror operation.
//
// Delete a mirror by upstream coords + cluster host.
//
// DELETE /mirrors
DeleteMirror(ctx context.Context, params DeleteMirrorParams) error
// DeleteOrg invokes deleteOrg operation.
//
// Delete an organization.
//
// DELETE /orgs/{orgId}
DeleteOrg(ctx context.Context, params DeleteOrgParams) error
// DeleteProject invokes deleteProject operation.
//
// Delete a project.
//
// DELETE /projects/{projectId}
DeleteProject(ctx context.Context, params DeleteProjectParams) error
// DeleteRepo invokes deleteRepo operation.
//
// Delete repository.
//
// DELETE /repos/{repoId}
DeleteRepo(ctx context.Context, params DeleteRepoParams) error
// DeleteRepoCIWebhook invokes deleteRepoCIWebhook operation.
//
// Delete a repo's CI webhook.
//
// DELETE /repos/{repoId}/ci-webhooks/{id}
DeleteRepoCIWebhook(ctx context.Context, params DeleteRepoCIWebhookParams) error
// DeleteServiceAccount invokes deleteServiceAccount operation.
//
// Delete service account.
//
// DELETE /service-accounts/{accountId}
DeleteServiceAccount(ctx context.Context, params DeleteServiceAccountParams) error
// GetDeletionPreview invokes getDeletionPreview operation.
//
// Preview what deleting the calling account will erase, unlink, and block on.
//
// GET /me/deletion-preview
GetDeletionPreview(ctx context.Context) (*GetDeletionPreviewOutputBody, error)
// GetMe invokes getMe operation.
//
// Get the calling account's identity and profile.
//
// GET /me
GetMe(ctx context.Context) (*GetMeOutputBody, error)
// GetMirror invokes getMirror operation.
//
// Get mirror by id.
//
// GET /mirrors/{mirrorId}
GetMirror(ctx context.Context, params GetMirrorParams) (*Mirror, error)
// GetOnboardingStatus invokes getOnboardingStatus operation.
//
// Report whether the calling account still needs to complete onboarding.
//
// GET /me/onboarding
GetOnboardingStatus(ctx context.Context) (*GetOnboardingStatusOutputBody, error)
// GetOrg invokes getOrg operation.
//
// Get an organization.
//
// GET /orgs/{orgId}
GetOrg(ctx context.Context, params GetOrgParams) (*Org, error)
// GetPermissions invokes getPermissions operation.
//
// List the caller's permissions on a single resource.
//
// GET /access/{resourceType}/{resourceId}
GetPermissions(ctx context.Context, params GetPermissionsParams) (*GetPermissionsOutputBody, error)
// GetProject invokes getProject operation.
//
// Get a project by id.
//
// GET /projects/{projectId}
GetProject(ctx context.Context, params GetProjectParams) (*Project, error)
// GetRepo invokes getRepo operation.
//
// Get repository.
//
// GET /repos/{repoId}
GetRepo(ctx context.Context, params GetRepoParams) (*Repo, error)
// GetRepoVisibility invokes getRepoVisibility operation.
//
// Get repository visibility.
//
// GET /repos/{repoId}/visibility
GetRepoVisibility(ctx context.Context, params GetRepoVisibilityParams) (*GetRepoVisibilityOutputBody, error)
// GetServiceAccount invokes getServiceAccount operation.
//
// Get service account.
//
// GET /service-accounts/{accountId}
GetServiceAccount(ctx context.Context, params GetServiceAccountParams) (*ServiceAccount, error)
// GetTopology invokes getTopology operation.
//
// Get the cluster topology as a jurisdiction → region → cluster tree.
//
// GET /topology
GetTopology(ctx context.Context) (*GetTopologyOutputBody, error)
// GetVersion invokes getVersion operation.
//
// Get the server version and mode.
//
// GET /version
GetVersion(ctx context.Context) (*GetVersionOutputBody, error)
// GrantProjectAccess invokes grantProjectAccess operation.
//
// Grant project access to an identity.
//
// POST /projects/{projectId}/grants
GrantProjectAccess(ctx context.Context, request *GrantProjectAccessInputBody, params GrantProjectAccessParams) (*GrantProjectAccessOutputBody, error)
// GrantRepoAccess invokes grantRepoAccess operation.
//
// Grant repo access to an identity.
//
// POST /repos/{repoId}/grants
GrantRepoAccess(ctx context.Context, request *GrantRepoAccessInputBody, params GrantRepoAccessParams) (*GrantRepoAccessOutputBody, error)
// GrantServiceAccountAccess invokes grantServiceAccountAccess operation.
//
// Grant service account access on a repo or project.
//
// POST /service-accounts/{accountId}/grants
GrantServiceAccountAccess(ctx context.Context, request *GrantServiceAccountAccessInputBody, params GrantServiceAccountAccessParams) (*GrantServiceAccountAccessOutputBody, error)
// ListAuditEvents invokes listAuditEvents operation.
//
// List the calling account's recent audit events.
//
// GET /audit
ListAuditEvents(ctx context.Context, params ListAuditEventsParams) (*ListAuditEventsOutputBody, error)
// ListAvailableMirrors invokes listAvailableMirrors operation.
//
// List GitHub repos the caller could onboard as mirrors.
//
// GET /mirrors/available
ListAvailableMirrors(ctx context.Context, params ListAvailableMirrorsParams) (*ListAvailableMirrorsOutputBody, error)
// ListBindings invokes listBindings operation.
//
// List OIDC bindings.
//
// GET /service-accounts/{accountId}/bindings
ListBindings(ctx context.Context, params ListBindingsParams) (*ListBindingsOutputBody, error)
// ListClusters invokes listClusters operation.
//
// List data-plane clusters attached to this control plane.
//
// GET /clusters
ListClusters(ctx context.Context) (*ListClustersOutputBody, error)
// ListMirrorCollaborators invokes listMirrorCollaborators operation.
//
// List the principals with access to a mirror (live GitHub-admin gated).
//
// GET /mirrors/collaborators
ListMirrorCollaborators(ctx context.Context, params ListMirrorCollaboratorsParams) (*ListMirrorCollaboratorsOutputBody, error)
// ListMirrors invokes listMirrors operation.
//
// List mirrors visible to the caller.
//
// GET /mirrors
ListMirrors(ctx context.Context, params ListMirrorsParams) (*ListMirrorsOutputBody, error)
// ListOIDCProviders invokes listOIDCProviders operation.
//
// List federated OIDC identity providers.
//
// GET /oidc-providers
ListOIDCProviders(ctx context.Context, params ListOIDCProvidersParams) (*ListOIDCProvidersOutputBody, error)
// ListOrgMembers invokes listOrgMembers operation.
//
// List members of an organization.
//
// GET /orgs/{orgId}/members
ListOrgMembers(ctx context.Context, params ListOrgMembersParams) (*ListOrgMembersOutputBody, error)
// ListOrgProjects invokes listOrgProjects operation.
//
// List projects owned by an organization.
//
// GET /orgs/{orgId}/projects
ListOrgProjects(ctx context.Context, params ListOrgProjectsParams) (*ListOrgProjectsOutputBody, error)
// ListOrgs invokes listOrgs operation.
//
// List organizations the caller can see (or one by name).
//
// GET /orgs
ListOrgs(ctx context.Context, params ListOrgsParams) (*ListOrgsOutputBodyHeaders, error)
// ListProjectMembers invokes listProjectMembers operation.
//
// List project members and their roles.
//
// GET /projects/{projectId}/members
ListProjectMembers(ctx context.Context, params ListProjectMembersParams) (*ListProjectMembersOutputBody, error)
// ListProjectRepos invokes listProjectRepos operation.
//
// List repositories in a project (or one by name).
//
// GET /projects/{projectId}/repos
ListProjectRepos(ctx context.Context, params ListProjectReposParams) (*ListProjectReposOutputBody, error)
// ListProjects invokes listProjects operation.
//
// List projects accessible to the caller (or one by name).
//
// GET /projects
ListProjects(ctx context.Context, params ListProjectsParams) (*ListProjectsOutputBody, error)
// ListRepoCIWebhooks invokes listRepoCIWebhooks operation.
//
// List a repo's CI webhooks.
//
// GET /repos/{repoId}/ci-webhooks
ListRepoCIWebhooks(ctx context.Context, params ListRepoCIWebhooksParams) (*ListRepoCIWebhooksOutputBody, error)
// ListRepoGrants invokes listRepoGrants operation.
//
// List repo grants.
//
// GET /repos/{repoId}/grants
ListRepoGrants(ctx context.Context, params ListRepoGrantsParams) (*ListRepoGrantsOutputBody, error)
// ListRepos invokes listRepos operation.
//
// List the caller's readable repositories (placement index).
//
// GET /repos
ListRepos(ctx context.Context, params ListReposParams) (*ListReposOutputBody, error)
// ListServiceAccountGrants invokes listServiceAccountGrants operation.
//
// List service account grants.
//
// GET /service-accounts/{accountId}/grants
ListServiceAccountGrants(ctx context.Context, params ListServiceAccountGrantsParams) (*ListServiceAccountGrantsOutputBody, error)
// ListServiceAccounts invokes listServiceAccounts operation.
//
// List service accounts in an org.
//
// GET /service-accounts
ListServiceAccounts(ctx context.Context, params ListServiceAccountsParams) (*ListServiceAccountsOutputBody, error)
// LookupRepoBySlug invokes lookupRepoBySlug operation.
//
// Resolve a repo slug to routing info (unauthenticated).
//
// GET /repos/lookup-by-slug
LookupRepoBySlug(ctx context.Context, params LookupRepoBySlugParams) (*LookupBySlugOutputBody, error)
// LookupResources invokes lookupResources operation.
//
// List resources of a type the caller can access.
//
// GET /access/{resourceType}
LookupResources(ctx context.Context, params LookupResourcesParams) (*LookupResourcesOutputBody, error)
// PatchRepoCIWebhook invokes patchRepoCIWebhook operation.
//
// Update a repo's CI webhook.
//
// PATCH /repos/{repoId}/ci-webhooks/{id}
PatchRepoCIWebhook(ctx context.Context, request *PatchRepoCIWebhookInputBody, params PatchRepoCIWebhookParams) (*CIWebhookView, error)
// RemoveOrgMember invokes removeOrgMember operation.
//
// Remove a member from an organization.
//
// DELETE /orgs/{orgId}/members/{provider}/{providerUserId}
RemoveOrgMember(ctx context.Context, params RemoveOrgMemberParams) error
// ResolveHandle invokes resolveHandle operation.
//
// Resolve account by external provider handle.
//
// GET /identity/handles/{provider}/{handle}
ResolveHandle(ctx context.Context, params ResolveHandleParams) (*ResolvedIdentity, error)
// ResolveMirrorPlacements invokes resolveMirrorPlacements operation.
//
// Resolve the pullable cluster placements of a mirrored upstream (clone discovery).
//
// GET /mirrors/placements
ResolveMirrorPlacements(ctx context.Context, params ResolveMirrorPlacementsParams) (*ResolvePlacementsOutputBody, error)
// RevokeProjectAccess invokes revokeProjectAccess operation.
//
// Revoke project access by grantee id.
//
// DELETE /projects/{projectId}/grants/{granteeType}/{granteeId}
RevokeProjectAccess(ctx context.Context, params RevokeProjectAccessParams) error
// RevokeProjectAccessByProvider invokes revokeProjectAccessByProvider operation.
//
// Revoke project access by provider identity.
//
// DELETE /projects/{projectId}/grants/account/{provider}/{providerUserId}
RevokeProjectAccessByProvider(ctx context.Context, params RevokeProjectAccessByProviderParams) error
// RevokeRepoAccess invokes revokeRepoAccess operation.
//
// Revoke repo access by grantee id.
//
// DELETE /repos/{repoId}/grants/{granteeType}/{granteeId}
RevokeRepoAccess(ctx context.Context, params RevokeRepoAccessParams) error
// RevokeRepoAccessByProvider invokes revokeRepoAccessByProvider operation.
//
// Revoke repo access by provider identity.
//
// DELETE /repos/{repoId}/grants/account/{provider}/{providerUserId}
RevokeRepoAccessByProvider(ctx context.Context, params RevokeRepoAccessByProviderParams) error
// RevokeServiceAccountAccess invokes revokeServiceAccountAccess operation.
//
// Revoke service account access.
//
// DELETE /service-accounts/{accountId}/grants/{resourceType}/{resourceId}
RevokeServiceAccountAccess(ctx context.Context, params RevokeServiceAccountAccessParams) error
// SetRepoVisibility invokes setRepoVisibility operation.
//
// Set repository visibility.
//
// PUT /repos/{repoId}/visibility
SetRepoVisibility(ctx context.Context, request *SetRepoVisibilityInputBody, params SetRepoVisibilityParams) (*SetRepoVisibilityOutputBody, error)
}
Invoker invokes operations described by OpenAPI v3 specification.
type ListAuditEventsOutputBody ¶
type ListAuditEventsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Events []AuditEvent `json:"events"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
AdditionalProps ListAuditEventsOutputBodyAdditional
}
Ref: #/components/schemas/ListAuditEventsOutputBody
func (*ListAuditEventsOutputBody) Decode ¶
func (s *ListAuditEventsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListAuditEventsOutputBody from json.
func (*ListAuditEventsOutputBody) Encode ¶
func (s *ListAuditEventsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListAuditEventsOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *ListAuditEventsOutputBody) GetAdditionalProps() ListAuditEventsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListAuditEventsOutputBody) GetEvents ¶
func (s *ListAuditEventsOutputBody) GetEvents() []AuditEvent
GetEvents returns the value of Events.
func (*ListAuditEventsOutputBody) GetNextPageToken ¶ added in v0.7.8
func (s *ListAuditEventsOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListAuditEventsOutputBody) GetSchema ¶
func (s *ListAuditEventsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListAuditEventsOutputBody) MarshalJSON ¶
func (s *ListAuditEventsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListAuditEventsOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *ListAuditEventsOutputBody) SetAdditionalProps(val ListAuditEventsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListAuditEventsOutputBody) SetEvents ¶
func (s *ListAuditEventsOutputBody) SetEvents(val []AuditEvent)
SetEvents sets the value of Events.
func (*ListAuditEventsOutputBody) SetNextPageToken ¶ added in v0.7.8
func (s *ListAuditEventsOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListAuditEventsOutputBody) SetSchema ¶
func (s *ListAuditEventsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListAuditEventsOutputBody) UnmarshalJSON ¶
func (s *ListAuditEventsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListAuditEventsOutputBody) Validate ¶
func (s *ListAuditEventsOutputBody) Validate() error
type ListAuditEventsOutputBodyAdditional ¶ added in v0.7.6
func (*ListAuditEventsOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *ListAuditEventsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListAuditEventsOutputBodyAdditional from json.
func (ListAuditEventsOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s ListAuditEventsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListAuditEventsOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s ListAuditEventsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListAuditEventsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ListAuditEventsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListAuditEventsParams ¶ added in v0.7.8
type ListAuditEventsParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
}
ListAuditEventsParams is parameters of listAuditEvents operation.
type ListAvailableMirrorsOutputBody ¶ added in v0.7.8
type ListAvailableMirrorsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Available []AvailableMirror `json:"available"`
AdditionalProps ListAvailableMirrorsOutputBodyAdditional
}
Ref: #/components/schemas/ListAvailableMirrorsOutputBody
func (*ListAvailableMirrorsOutputBody) Decode ¶ added in v0.7.8
func (s *ListAvailableMirrorsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListAvailableMirrorsOutputBody from json.
func (*ListAvailableMirrorsOutputBody) Encode ¶ added in v0.7.8
func (s *ListAvailableMirrorsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListAvailableMirrorsOutputBody) GetAdditionalProps ¶ added in v0.7.8
func (s *ListAvailableMirrorsOutputBody) GetAdditionalProps() ListAvailableMirrorsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListAvailableMirrorsOutputBody) GetAvailable ¶ added in v0.7.8
func (s *ListAvailableMirrorsOutputBody) GetAvailable() []AvailableMirror
GetAvailable returns the value of Available.
func (*ListAvailableMirrorsOutputBody) GetSchema ¶ added in v0.7.8
func (s *ListAvailableMirrorsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListAvailableMirrorsOutputBody) MarshalJSON ¶ added in v0.7.8
func (s *ListAvailableMirrorsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListAvailableMirrorsOutputBody) SetAdditionalProps ¶ added in v0.7.8
func (s *ListAvailableMirrorsOutputBody) SetAdditionalProps(val ListAvailableMirrorsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListAvailableMirrorsOutputBody) SetAvailable ¶ added in v0.7.8
func (s *ListAvailableMirrorsOutputBody) SetAvailable(val []AvailableMirror)
SetAvailable sets the value of Available.
func (*ListAvailableMirrorsOutputBody) SetSchema ¶ added in v0.7.8
func (s *ListAvailableMirrorsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListAvailableMirrorsOutputBody) UnmarshalJSON ¶ added in v0.7.8
func (s *ListAvailableMirrorsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListAvailableMirrorsOutputBody) Validate ¶ added in v0.7.8
func (s *ListAvailableMirrorsOutputBody) Validate() error
type ListAvailableMirrorsOutputBodyAdditional ¶ added in v0.7.8
func (*ListAvailableMirrorsOutputBodyAdditional) Decode ¶ added in v0.7.8
func (s *ListAvailableMirrorsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListAvailableMirrorsOutputBodyAdditional from json.
func (ListAvailableMirrorsOutputBodyAdditional) Encode ¶ added in v0.7.8
func (s ListAvailableMirrorsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListAvailableMirrorsOutputBodyAdditional) MarshalJSON ¶ added in v0.7.8
func (s ListAvailableMirrorsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListAvailableMirrorsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.8
func (s *ListAvailableMirrorsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListAvailableMirrorsParams ¶ added in v0.7.8
type ListAvailableMirrorsParams struct {
// Optional: restrict to repos with this owner login (case-insensitive).
Owner OptString `json:",omitempty,omitzero"`
}
ListAvailableMirrorsParams is parameters of listAvailableMirrors operation.
type ListBindingsOutputBody ¶
type ListBindingsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Bindings []Binding `json:"bindings"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
AdditionalProps ListBindingsOutputBodyAdditional
}
Ref: #/components/schemas/ListBindingsOutputBody
func (*ListBindingsOutputBody) Decode ¶
func (s *ListBindingsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListBindingsOutputBody from json.
func (*ListBindingsOutputBody) Encode ¶
func (s *ListBindingsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListBindingsOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *ListBindingsOutputBody) GetAdditionalProps() ListBindingsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListBindingsOutputBody) GetBindings ¶
func (s *ListBindingsOutputBody) GetBindings() []Binding
GetBindings returns the value of Bindings.
func (*ListBindingsOutputBody) GetNextPageToken ¶ added in v0.7.8
func (s *ListBindingsOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListBindingsOutputBody) GetSchema ¶
func (s *ListBindingsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListBindingsOutputBody) MarshalJSON ¶
func (s *ListBindingsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListBindingsOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *ListBindingsOutputBody) SetAdditionalProps(val ListBindingsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListBindingsOutputBody) SetBindings ¶
func (s *ListBindingsOutputBody) SetBindings(val []Binding)
SetBindings sets the value of Bindings.
func (*ListBindingsOutputBody) SetNextPageToken ¶ added in v0.7.8
func (s *ListBindingsOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListBindingsOutputBody) SetSchema ¶
func (s *ListBindingsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListBindingsOutputBody) UnmarshalJSON ¶
func (s *ListBindingsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListBindingsOutputBody) Validate ¶
func (s *ListBindingsOutputBody) Validate() error
type ListBindingsOutputBodyAdditional ¶ added in v0.7.6
func (*ListBindingsOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *ListBindingsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListBindingsOutputBodyAdditional from json.
func (ListBindingsOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s ListBindingsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListBindingsOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s ListBindingsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListBindingsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ListBindingsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListBindingsParams ¶
type ListBindingsParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
AccountId string
}
ListBindingsParams is parameters of listBindings operation.
type ListClustersOutputBody ¶ added in v0.7.8
type ListClustersOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Clusters []Cluster `json:"clusters"`
AdditionalProps ListClustersOutputBodyAdditional
}
Ref: #/components/schemas/ListClustersOutputBody
func (*ListClustersOutputBody) Decode ¶ added in v0.7.8
func (s *ListClustersOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListClustersOutputBody from json.
func (*ListClustersOutputBody) Encode ¶ added in v0.7.8
func (s *ListClustersOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListClustersOutputBody) GetAdditionalProps ¶ added in v0.7.8
func (s *ListClustersOutputBody) GetAdditionalProps() ListClustersOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListClustersOutputBody) GetClusters ¶ added in v0.7.8
func (s *ListClustersOutputBody) GetClusters() []Cluster
GetClusters returns the value of Clusters.
func (*ListClustersOutputBody) GetSchema ¶ added in v0.7.8
func (s *ListClustersOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListClustersOutputBody) MarshalJSON ¶ added in v0.7.8
func (s *ListClustersOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListClustersOutputBody) SetAdditionalProps ¶ added in v0.7.8
func (s *ListClustersOutputBody) SetAdditionalProps(val ListClustersOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListClustersOutputBody) SetClusters ¶ added in v0.7.8
func (s *ListClustersOutputBody) SetClusters(val []Cluster)
SetClusters sets the value of Clusters.
func (*ListClustersOutputBody) SetSchema ¶ added in v0.7.8
func (s *ListClustersOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListClustersOutputBody) UnmarshalJSON ¶ added in v0.7.8
func (s *ListClustersOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListClustersOutputBody) Validate ¶ added in v0.7.8
func (s *ListClustersOutputBody) Validate() error
type ListClustersOutputBodyAdditional ¶ added in v0.7.8
func (*ListClustersOutputBodyAdditional) Decode ¶ added in v0.7.8
func (s *ListClustersOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListClustersOutputBodyAdditional from json.
func (ListClustersOutputBodyAdditional) Encode ¶ added in v0.7.8
func (s ListClustersOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListClustersOutputBodyAdditional) MarshalJSON ¶ added in v0.7.8
func (s ListClustersOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListClustersOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.8
func (s *ListClustersOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListMirrorCollaboratorsOutputBody ¶ added in v0.7.7
type ListMirrorCollaboratorsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Collaborators []MirrorCollaborator `json:"collaborators"`
AdditionalProps ListMirrorCollaboratorsOutputBodyAdditional
}
Ref: #/components/schemas/ListMirrorCollaboratorsOutputBody
func (*ListMirrorCollaboratorsOutputBody) Decode ¶ added in v0.7.7
func (s *ListMirrorCollaboratorsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListMirrorCollaboratorsOutputBody from json.
func (*ListMirrorCollaboratorsOutputBody) Encode ¶ added in v0.7.7
func (s *ListMirrorCollaboratorsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListMirrorCollaboratorsOutputBody) GetAdditionalProps ¶ added in v0.7.7
func (s *ListMirrorCollaboratorsOutputBody) GetAdditionalProps() ListMirrorCollaboratorsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListMirrorCollaboratorsOutputBody) GetCollaborators ¶ added in v0.7.7
func (s *ListMirrorCollaboratorsOutputBody) GetCollaborators() []MirrorCollaborator
GetCollaborators returns the value of Collaborators.
func (*ListMirrorCollaboratorsOutputBody) GetSchema ¶ added in v0.7.7
func (s *ListMirrorCollaboratorsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListMirrorCollaboratorsOutputBody) MarshalJSON ¶ added in v0.7.7
func (s *ListMirrorCollaboratorsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListMirrorCollaboratorsOutputBody) SetAdditionalProps ¶ added in v0.7.7
func (s *ListMirrorCollaboratorsOutputBody) SetAdditionalProps(val ListMirrorCollaboratorsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListMirrorCollaboratorsOutputBody) SetCollaborators ¶ added in v0.7.7
func (s *ListMirrorCollaboratorsOutputBody) SetCollaborators(val []MirrorCollaborator)
SetCollaborators sets the value of Collaborators.
func (*ListMirrorCollaboratorsOutputBody) SetSchema ¶ added in v0.7.7
func (s *ListMirrorCollaboratorsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListMirrorCollaboratorsOutputBody) UnmarshalJSON ¶ added in v0.7.7
func (s *ListMirrorCollaboratorsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListMirrorCollaboratorsOutputBody) Validate ¶ added in v0.7.7
func (s *ListMirrorCollaboratorsOutputBody) Validate() error
type ListMirrorCollaboratorsOutputBodyAdditional ¶ added in v0.7.7
func (*ListMirrorCollaboratorsOutputBodyAdditional) Decode ¶ added in v0.7.7
func (s *ListMirrorCollaboratorsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListMirrorCollaboratorsOutputBodyAdditional from json.
func (ListMirrorCollaboratorsOutputBodyAdditional) Encode ¶ added in v0.7.7
func (s ListMirrorCollaboratorsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListMirrorCollaboratorsOutputBodyAdditional) MarshalJSON ¶ added in v0.7.7
func (s ListMirrorCollaboratorsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListMirrorCollaboratorsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.7
func (s *ListMirrorCollaboratorsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListMirrorCollaboratorsParams ¶ added in v0.7.7
type ListMirrorCollaboratorsParams struct {
Provider ListMirrorCollaboratorsProvider
Owner string
Repo string
// Public host of the cluster serving the mirror.
ClusterHost string
}
ListMirrorCollaboratorsParams is parameters of listMirrorCollaborators operation.
type ListMirrorCollaboratorsProvider ¶ added in v0.7.7
type ListMirrorCollaboratorsProvider string
const (
ListMirrorCollaboratorsProviderGithub ListMirrorCollaboratorsProvider = "github"
)
func (ListMirrorCollaboratorsProvider) AllValues ¶ added in v0.7.7
func (ListMirrorCollaboratorsProvider) AllValues() []ListMirrorCollaboratorsProvider
AllValues returns all ListMirrorCollaboratorsProvider values.
func (ListMirrorCollaboratorsProvider) MarshalText ¶ added in v0.7.7
func (s ListMirrorCollaboratorsProvider) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListMirrorCollaboratorsProvider) UnmarshalText ¶ added in v0.7.7
func (s *ListMirrorCollaboratorsProvider) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListMirrorCollaboratorsProvider) Validate ¶ added in v0.7.7
func (s ListMirrorCollaboratorsProvider) Validate() error
type ListMirrorsOutputBody ¶
type ListMirrorsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Mirrors []Mirror `json:"mirrors"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
AdditionalProps ListMirrorsOutputBodyAdditional
}
Ref: #/components/schemas/ListMirrorsOutputBody
func (*ListMirrorsOutputBody) Decode ¶
func (s *ListMirrorsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListMirrorsOutputBody from json.
func (*ListMirrorsOutputBody) Encode ¶
func (s *ListMirrorsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListMirrorsOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *ListMirrorsOutputBody) GetAdditionalProps() ListMirrorsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListMirrorsOutputBody) GetMirrors ¶
func (s *ListMirrorsOutputBody) GetMirrors() []Mirror
GetMirrors returns the value of Mirrors.
func (*ListMirrorsOutputBody) GetNextPageToken ¶ added in v0.7.8
func (s *ListMirrorsOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListMirrorsOutputBody) GetSchema ¶
func (s *ListMirrorsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListMirrorsOutputBody) MarshalJSON ¶
func (s *ListMirrorsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListMirrorsOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *ListMirrorsOutputBody) SetAdditionalProps(val ListMirrorsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListMirrorsOutputBody) SetMirrors ¶
func (s *ListMirrorsOutputBody) SetMirrors(val []Mirror)
SetMirrors sets the value of Mirrors.
func (*ListMirrorsOutputBody) SetNextPageToken ¶ added in v0.7.8
func (s *ListMirrorsOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListMirrorsOutputBody) SetSchema ¶
func (s *ListMirrorsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListMirrorsOutputBody) UnmarshalJSON ¶
func (s *ListMirrorsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListMirrorsOutputBody) Validate ¶
func (s *ListMirrorsOutputBody) Validate() error
type ListMirrorsOutputBodyAdditional ¶ added in v0.7.6
func (*ListMirrorsOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *ListMirrorsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListMirrorsOutputBodyAdditional from json.
func (ListMirrorsOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s ListMirrorsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListMirrorsOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s ListMirrorsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListMirrorsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ListMirrorsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListMirrorsParams ¶
type ListMirrorsParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
// Optional: restrict to mirrors on this cluster (public host, e.g. royalcanin.partial.to).
// Case-sensitive exact match.
Cluster OptString `json:",omitempty,omitzero"`
// Optional: restrict to mirrors of this upstream provider, case-insensitive (e.g. "github").
Provider OptString `json:",omitempty,omitzero"`
// Optional: restrict to mirrors with this upstream owner login (case-insensitive).
Owner OptString `json:",omitempty,omitzero"`
}
ListMirrorsParams is parameters of listMirrors operation.
type ListOIDCProvidersOutputBody ¶
type ListOIDCProvidersOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
Providers []OIDCProvider `json:"providers"`
AdditionalProps ListOIDCProvidersOutputBodyAdditional
}
Ref: #/components/schemas/ListOIDCProvidersOutputBody
func (*ListOIDCProvidersOutputBody) Decode ¶
func (s *ListOIDCProvidersOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListOIDCProvidersOutputBody from json.
func (*ListOIDCProvidersOutputBody) Encode ¶
func (s *ListOIDCProvidersOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListOIDCProvidersOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *ListOIDCProvidersOutputBody) GetAdditionalProps() ListOIDCProvidersOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListOIDCProvidersOutputBody) GetNextPageToken ¶ added in v0.7.8
func (s *ListOIDCProvidersOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListOIDCProvidersOutputBody) GetProviders ¶
func (s *ListOIDCProvidersOutputBody) GetProviders() []OIDCProvider
GetProviders returns the value of Providers.
func (*ListOIDCProvidersOutputBody) GetSchema ¶
func (s *ListOIDCProvidersOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListOIDCProvidersOutputBody) MarshalJSON ¶
func (s *ListOIDCProvidersOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOIDCProvidersOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *ListOIDCProvidersOutputBody) SetAdditionalProps(val ListOIDCProvidersOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListOIDCProvidersOutputBody) SetNextPageToken ¶ added in v0.7.8
func (s *ListOIDCProvidersOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListOIDCProvidersOutputBody) SetProviders ¶
func (s *ListOIDCProvidersOutputBody) SetProviders(val []OIDCProvider)
SetProviders sets the value of Providers.
func (*ListOIDCProvidersOutputBody) SetSchema ¶
func (s *ListOIDCProvidersOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListOIDCProvidersOutputBody) UnmarshalJSON ¶
func (s *ListOIDCProvidersOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListOIDCProvidersOutputBody) Validate ¶
func (s *ListOIDCProvidersOutputBody) Validate() error
type ListOIDCProvidersOutputBodyAdditional ¶ added in v0.7.6
func (*ListOIDCProvidersOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *ListOIDCProvidersOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListOIDCProvidersOutputBodyAdditional from json.
func (ListOIDCProvidersOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s ListOIDCProvidersOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListOIDCProvidersOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s ListOIDCProvidersOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOIDCProvidersOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ListOIDCProvidersOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListOIDCProvidersParams ¶ added in v0.7.8
type ListOIDCProvidersParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
}
ListOIDCProvidersParams is parameters of listOIDCProviders operation.
type ListOrgMembersOutputBody ¶
type ListOrgMembersOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Members []Membership `json:"members"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
AdditionalProps ListOrgMembersOutputBodyAdditional
}
Ref: #/components/schemas/ListOrgMembersOutputBody
func (*ListOrgMembersOutputBody) Decode ¶
func (s *ListOrgMembersOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListOrgMembersOutputBody from json.
func (*ListOrgMembersOutputBody) Encode ¶
func (s *ListOrgMembersOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListOrgMembersOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *ListOrgMembersOutputBody) GetAdditionalProps() ListOrgMembersOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListOrgMembersOutputBody) GetMembers ¶
func (s *ListOrgMembersOutputBody) GetMembers() []Membership
GetMembers returns the value of Members.
func (*ListOrgMembersOutputBody) GetNextPageToken ¶ added in v0.7.8
func (s *ListOrgMembersOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListOrgMembersOutputBody) GetSchema ¶
func (s *ListOrgMembersOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListOrgMembersOutputBody) MarshalJSON ¶
func (s *ListOrgMembersOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgMembersOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *ListOrgMembersOutputBody) SetAdditionalProps(val ListOrgMembersOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListOrgMembersOutputBody) SetMembers ¶
func (s *ListOrgMembersOutputBody) SetMembers(val []Membership)
SetMembers sets the value of Members.
func (*ListOrgMembersOutputBody) SetNextPageToken ¶ added in v0.7.8
func (s *ListOrgMembersOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListOrgMembersOutputBody) SetSchema ¶
func (s *ListOrgMembersOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListOrgMembersOutputBody) UnmarshalJSON ¶
func (s *ListOrgMembersOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListOrgMembersOutputBody) Validate ¶
func (s *ListOrgMembersOutputBody) Validate() error
type ListOrgMembersOutputBodyAdditional ¶ added in v0.7.6
func (*ListOrgMembersOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *ListOrgMembersOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListOrgMembersOutputBodyAdditional from json.
func (ListOrgMembersOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s ListOrgMembersOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListOrgMembersOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s ListOrgMembersOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgMembersOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ListOrgMembersOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListOrgMembersParams ¶
type ListOrgMembersParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
OrgId string
}
ListOrgMembersParams is parameters of listOrgMembers operation.
type ListOrgProjectsOutputBody ¶
type ListOrgProjectsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
Project OptProject `json:"project"`
Projects []Project `json:"projects"`
AdditionalProps ListOrgProjectsOutputBodyAdditional
}
Ref: #/components/schemas/ListOrgProjectsOutputBody
func (*ListOrgProjectsOutputBody) Decode ¶
func (s *ListOrgProjectsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListOrgProjectsOutputBody from json.
func (*ListOrgProjectsOutputBody) Encode ¶
func (s *ListOrgProjectsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListOrgProjectsOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *ListOrgProjectsOutputBody) GetAdditionalProps() ListOrgProjectsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListOrgProjectsOutputBody) GetNextPageToken ¶ added in v0.7.8
func (s *ListOrgProjectsOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListOrgProjectsOutputBody) GetProject ¶ added in v0.7.8
func (s *ListOrgProjectsOutputBody) GetProject() OptProject
GetProject returns the value of Project.
func (*ListOrgProjectsOutputBody) GetProjects ¶
func (s *ListOrgProjectsOutputBody) GetProjects() []Project
GetProjects returns the value of Projects.
func (*ListOrgProjectsOutputBody) GetSchema ¶
func (s *ListOrgProjectsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListOrgProjectsOutputBody) MarshalJSON ¶
func (s *ListOrgProjectsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgProjectsOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *ListOrgProjectsOutputBody) SetAdditionalProps(val ListOrgProjectsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListOrgProjectsOutputBody) SetNextPageToken ¶ added in v0.7.8
func (s *ListOrgProjectsOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListOrgProjectsOutputBody) SetProject ¶ added in v0.7.8
func (s *ListOrgProjectsOutputBody) SetProject(val OptProject)
SetProject sets the value of Project.
func (*ListOrgProjectsOutputBody) SetProjects ¶
func (s *ListOrgProjectsOutputBody) SetProjects(val []Project)
SetProjects sets the value of Projects.
func (*ListOrgProjectsOutputBody) SetSchema ¶
func (s *ListOrgProjectsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListOrgProjectsOutputBody) UnmarshalJSON ¶
func (s *ListOrgProjectsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListOrgProjectsOutputBody) Validate ¶
func (s *ListOrgProjectsOutputBody) Validate() error
type ListOrgProjectsOutputBodyAdditional ¶ added in v0.7.6
func (*ListOrgProjectsOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *ListOrgProjectsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListOrgProjectsOutputBodyAdditional from json.
func (ListOrgProjectsOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s ListOrgProjectsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListOrgProjectsOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s ListOrgProjectsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgProjectsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ListOrgProjectsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListOrgProjectsParams ¶
type ListOrgProjectsParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
OrgId string
// Optional: exact-match project name (case-insensitive).
Name OptString `json:",omitempty,omitzero"`
}
ListOrgProjectsParams is parameters of listOrgProjects operation.
type ListOrgsOutputBody ¶
type ListOrgsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
Org OptOrg `json:"org"`
Orgs []Org `json:"orgs"`
AdditionalProps ListOrgsOutputBodyAdditional
}
Ref: #/components/schemas/ListOrgsOutputBody
func (*ListOrgsOutputBody) Decode ¶
func (s *ListOrgsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListOrgsOutputBody from json.
func (*ListOrgsOutputBody) Encode ¶
func (s *ListOrgsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListOrgsOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *ListOrgsOutputBody) GetAdditionalProps() ListOrgsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListOrgsOutputBody) GetNextPageToken ¶ added in v0.7.8
func (s *ListOrgsOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListOrgsOutputBody) GetOrg ¶ added in v0.7.8
func (s *ListOrgsOutputBody) GetOrg() OptOrg
GetOrg returns the value of Org.
func (*ListOrgsOutputBody) GetOrgs ¶
func (s *ListOrgsOutputBody) GetOrgs() []Org
GetOrgs returns the value of Orgs.
func (*ListOrgsOutputBody) GetSchema ¶
func (s *ListOrgsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListOrgsOutputBody) MarshalJSON ¶
func (s *ListOrgsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgsOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *ListOrgsOutputBody) SetAdditionalProps(val ListOrgsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListOrgsOutputBody) SetNextPageToken ¶ added in v0.7.8
func (s *ListOrgsOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListOrgsOutputBody) SetOrg ¶ added in v0.7.8
func (s *ListOrgsOutputBody) SetOrg(val OptOrg)
SetOrg sets the value of Org.
func (*ListOrgsOutputBody) SetOrgs ¶
func (s *ListOrgsOutputBody) SetOrgs(val []Org)
SetOrgs sets the value of Orgs.
func (*ListOrgsOutputBody) SetSchema ¶
func (s *ListOrgsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListOrgsOutputBody) UnmarshalJSON ¶
func (s *ListOrgsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListOrgsOutputBodyAdditional ¶ added in v0.7.6
func (*ListOrgsOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *ListOrgsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListOrgsOutputBodyAdditional from json.
func (ListOrgsOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s ListOrgsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListOrgsOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s ListOrgsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ListOrgsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListOrgsOutputBodyHeaders ¶ added in v0.9.0
type ListOrgsOutputBodyHeaders struct {
CacheControl OptString
ETag OptString
Vary OptString
Response ListOrgsOutputBody
}
ListOrgsOutputBodyHeaders wraps ListOrgsOutputBody with response headers.
func (*ListOrgsOutputBodyHeaders) GetCacheControl ¶ added in v0.9.0
func (s *ListOrgsOutputBodyHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*ListOrgsOutputBodyHeaders) GetETag ¶ added in v0.9.0
func (s *ListOrgsOutputBodyHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*ListOrgsOutputBodyHeaders) GetResponse ¶ added in v0.9.0
func (s *ListOrgsOutputBodyHeaders) GetResponse() ListOrgsOutputBody
GetResponse returns the value of Response.
func (*ListOrgsOutputBodyHeaders) GetVary ¶ added in v0.9.0
func (s *ListOrgsOutputBodyHeaders) GetVary() OptString
GetVary returns the value of Vary.
func (*ListOrgsOutputBodyHeaders) SetCacheControl ¶ added in v0.9.0
func (s *ListOrgsOutputBodyHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*ListOrgsOutputBodyHeaders) SetETag ¶ added in v0.9.0
func (s *ListOrgsOutputBodyHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*ListOrgsOutputBodyHeaders) SetResponse ¶ added in v0.9.0
func (s *ListOrgsOutputBodyHeaders) SetResponse(val ListOrgsOutputBody)
SetResponse sets the value of Response.
func (*ListOrgsOutputBodyHeaders) SetVary ¶ added in v0.9.0
func (s *ListOrgsOutputBodyHeaders) SetVary(val OptString)
SetVary sets the value of Vary.
type ListOrgsParams ¶ added in v0.7.8
type ListOrgsParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
// Optional: exact-match org name (case-insensitive).
Name OptString `json:",omitempty,omitzero"`
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
ListOrgsParams is parameters of listOrgs operation.
type ListProjectMembersOutputBody ¶
type ListProjectMembersOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Members []ProjectGrant `json:"members"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
AdditionalProps ListProjectMembersOutputBodyAdditional
}
Ref: #/components/schemas/ListProjectMembersOutputBody
func (*ListProjectMembersOutputBody) Decode ¶
func (s *ListProjectMembersOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListProjectMembersOutputBody from json.
func (*ListProjectMembersOutputBody) Encode ¶
func (s *ListProjectMembersOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListProjectMembersOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *ListProjectMembersOutputBody) GetAdditionalProps() ListProjectMembersOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListProjectMembersOutputBody) GetMembers ¶
func (s *ListProjectMembersOutputBody) GetMembers() []ProjectGrant
GetMembers returns the value of Members.
func (*ListProjectMembersOutputBody) GetNextPageToken ¶ added in v0.7.8
func (s *ListProjectMembersOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListProjectMembersOutputBody) GetSchema ¶
func (s *ListProjectMembersOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListProjectMembersOutputBody) MarshalJSON ¶
func (s *ListProjectMembersOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListProjectMembersOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *ListProjectMembersOutputBody) SetAdditionalProps(val ListProjectMembersOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListProjectMembersOutputBody) SetMembers ¶
func (s *ListProjectMembersOutputBody) SetMembers(val []ProjectGrant)
SetMembers sets the value of Members.
func (*ListProjectMembersOutputBody) SetNextPageToken ¶ added in v0.7.8
func (s *ListProjectMembersOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListProjectMembersOutputBody) SetSchema ¶
func (s *ListProjectMembersOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListProjectMembersOutputBody) UnmarshalJSON ¶
func (s *ListProjectMembersOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListProjectMembersOutputBody) Validate ¶
func (s *ListProjectMembersOutputBody) Validate() error
type ListProjectMembersOutputBodyAdditional ¶ added in v0.7.6
func (*ListProjectMembersOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *ListProjectMembersOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListProjectMembersOutputBodyAdditional from json.
func (ListProjectMembersOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s ListProjectMembersOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListProjectMembersOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s ListProjectMembersOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListProjectMembersOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ListProjectMembersOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListProjectMembersParams ¶
type ListProjectMembersParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
ProjectId string
}
ListProjectMembersParams is parameters of listProjectMembers operation.
type ListProjectReposOutputBody ¶
type ListProjectReposOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
Repo OptRepo `json:"repo"`
Repos []Repo `json:"repos"`
AdditionalProps ListProjectReposOutputBodyAdditional
}
Ref: #/components/schemas/ListProjectReposOutputBody
func (*ListProjectReposOutputBody) Decode ¶
func (s *ListProjectReposOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListProjectReposOutputBody from json.
func (*ListProjectReposOutputBody) Encode ¶
func (s *ListProjectReposOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListProjectReposOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *ListProjectReposOutputBody) GetAdditionalProps() ListProjectReposOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListProjectReposOutputBody) GetNextPageToken ¶ added in v0.7.8
func (s *ListProjectReposOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListProjectReposOutputBody) GetRepo ¶ added in v0.7.8
func (s *ListProjectReposOutputBody) GetRepo() OptRepo
GetRepo returns the value of Repo.
func (*ListProjectReposOutputBody) GetRepos ¶
func (s *ListProjectReposOutputBody) GetRepos() []Repo
GetRepos returns the value of Repos.
func (*ListProjectReposOutputBody) GetSchema ¶
func (s *ListProjectReposOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListProjectReposOutputBody) MarshalJSON ¶
func (s *ListProjectReposOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListProjectReposOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *ListProjectReposOutputBody) SetAdditionalProps(val ListProjectReposOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListProjectReposOutputBody) SetNextPageToken ¶ added in v0.7.8
func (s *ListProjectReposOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListProjectReposOutputBody) SetRepo ¶ added in v0.7.8
func (s *ListProjectReposOutputBody) SetRepo(val OptRepo)
SetRepo sets the value of Repo.
func (*ListProjectReposOutputBody) SetRepos ¶
func (s *ListProjectReposOutputBody) SetRepos(val []Repo)
SetRepos sets the value of Repos.
func (*ListProjectReposOutputBody) SetSchema ¶
func (s *ListProjectReposOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListProjectReposOutputBody) UnmarshalJSON ¶
func (s *ListProjectReposOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListProjectReposOutputBodyAdditional ¶ added in v0.7.6
func (*ListProjectReposOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *ListProjectReposOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListProjectReposOutputBodyAdditional from json.
func (ListProjectReposOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s ListProjectReposOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListProjectReposOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s ListProjectReposOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListProjectReposOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ListProjectReposOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListProjectReposParams ¶
type ListProjectReposParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
ProjectId string
// Optional: exact-match repo name (case-insensitive).
Name OptString `json:",omitempty,omitzero"`
}
ListProjectReposParams is parameters of listProjectRepos operation.
type ListProjectsOutputBody ¶
type ListProjectsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
Project OptProject `json:"project"`
Projects []Project `json:"projects"`
AdditionalProps ListProjectsOutputBodyAdditional
}
Ref: #/components/schemas/ListProjectsOutputBody
func (*ListProjectsOutputBody) Decode ¶
func (s *ListProjectsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListProjectsOutputBody from json.
func (*ListProjectsOutputBody) Encode ¶
func (s *ListProjectsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListProjectsOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *ListProjectsOutputBody) GetAdditionalProps() ListProjectsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListProjectsOutputBody) GetNextPageToken ¶ added in v0.7.8
func (s *ListProjectsOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListProjectsOutputBody) GetProject ¶
func (s *ListProjectsOutputBody) GetProject() OptProject
GetProject returns the value of Project.
func (*ListProjectsOutputBody) GetProjects ¶
func (s *ListProjectsOutputBody) GetProjects() []Project
GetProjects returns the value of Projects.
func (*ListProjectsOutputBody) GetSchema ¶
func (s *ListProjectsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListProjectsOutputBody) MarshalJSON ¶
func (s *ListProjectsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListProjectsOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *ListProjectsOutputBody) SetAdditionalProps(val ListProjectsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListProjectsOutputBody) SetNextPageToken ¶ added in v0.7.8
func (s *ListProjectsOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListProjectsOutputBody) SetProject ¶
func (s *ListProjectsOutputBody) SetProject(val OptProject)
SetProject sets the value of Project.
func (*ListProjectsOutputBody) SetProjects ¶
func (s *ListProjectsOutputBody) SetProjects(val []Project)
SetProjects sets the value of Projects.
func (*ListProjectsOutputBody) SetSchema ¶
func (s *ListProjectsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListProjectsOutputBody) UnmarshalJSON ¶
func (s *ListProjectsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListProjectsOutputBody) Validate ¶
func (s *ListProjectsOutputBody) Validate() error
type ListProjectsOutputBodyAdditional ¶ added in v0.7.6
func (*ListProjectsOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *ListProjectsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListProjectsOutputBodyAdditional from json.
func (ListProjectsOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s ListProjectsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListProjectsOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s ListProjectsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListProjectsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ListProjectsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListProjectsParams ¶
type ListProjectsParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
// Optional: exact-match project name (case-insensitive).
Name OptString `json:",omitempty,omitzero"`
}
ListProjectsParams is parameters of listProjects operation.
type ListRepoCIWebhooksOutputBody ¶ added in v0.9.0
type ListRepoCIWebhooksOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Subscriptions []CIWebhookView `json:"subscriptions"`
AdditionalProps ListRepoCIWebhooksOutputBodyAdditional
}
Ref: #/components/schemas/ListRepoCIWebhooksOutputBody
func (*ListRepoCIWebhooksOutputBody) Decode ¶ added in v0.9.0
func (s *ListRepoCIWebhooksOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListRepoCIWebhooksOutputBody from json.
func (*ListRepoCIWebhooksOutputBody) Encode ¶ added in v0.9.0
func (s *ListRepoCIWebhooksOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListRepoCIWebhooksOutputBody) GetAdditionalProps ¶ added in v0.9.0
func (s *ListRepoCIWebhooksOutputBody) GetAdditionalProps() ListRepoCIWebhooksOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListRepoCIWebhooksOutputBody) GetSchema ¶ added in v0.9.0
func (s *ListRepoCIWebhooksOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListRepoCIWebhooksOutputBody) GetSubscriptions ¶ added in v0.9.0
func (s *ListRepoCIWebhooksOutputBody) GetSubscriptions() []CIWebhookView
GetSubscriptions returns the value of Subscriptions.
func (*ListRepoCIWebhooksOutputBody) MarshalJSON ¶ added in v0.9.0
func (s *ListRepoCIWebhooksOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListRepoCIWebhooksOutputBody) SetAdditionalProps ¶ added in v0.9.0
func (s *ListRepoCIWebhooksOutputBody) SetAdditionalProps(val ListRepoCIWebhooksOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListRepoCIWebhooksOutputBody) SetSchema ¶ added in v0.9.0
func (s *ListRepoCIWebhooksOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListRepoCIWebhooksOutputBody) SetSubscriptions ¶ added in v0.9.0
func (s *ListRepoCIWebhooksOutputBody) SetSubscriptions(val []CIWebhookView)
SetSubscriptions sets the value of Subscriptions.
func (*ListRepoCIWebhooksOutputBody) UnmarshalJSON ¶ added in v0.9.0
func (s *ListRepoCIWebhooksOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListRepoCIWebhooksOutputBody) Validate ¶ added in v0.9.0
func (s *ListRepoCIWebhooksOutputBody) Validate() error
type ListRepoCIWebhooksOutputBodyAdditional ¶ added in v0.9.0
func (*ListRepoCIWebhooksOutputBodyAdditional) Decode ¶ added in v0.9.0
func (s *ListRepoCIWebhooksOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListRepoCIWebhooksOutputBodyAdditional from json.
func (ListRepoCIWebhooksOutputBodyAdditional) Encode ¶ added in v0.9.0
func (s ListRepoCIWebhooksOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListRepoCIWebhooksOutputBodyAdditional) MarshalJSON ¶ added in v0.9.0
func (s ListRepoCIWebhooksOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListRepoCIWebhooksOutputBodyAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *ListRepoCIWebhooksOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListRepoCIWebhooksParams ¶ added in v0.9.0
type ListRepoCIWebhooksParams struct {
RepoId string
}
ListRepoCIWebhooksParams is parameters of listRepoCIWebhooks operation.
type ListRepoGrantsOutputBody ¶ added in v0.7.8
type ListRepoGrantsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Grants []RepoGrant `json:"grants"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
AdditionalProps ListRepoGrantsOutputBodyAdditional
}
Ref: #/components/schemas/ListRepoGrantsOutputBody
func (*ListRepoGrantsOutputBody) Decode ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListRepoGrantsOutputBody from json.
func (*ListRepoGrantsOutputBody) Encode ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListRepoGrantsOutputBody) GetAdditionalProps ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBody) GetAdditionalProps() ListRepoGrantsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListRepoGrantsOutputBody) GetGrants ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBody) GetGrants() []RepoGrant
GetGrants returns the value of Grants.
func (*ListRepoGrantsOutputBody) GetNextPageToken ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListRepoGrantsOutputBody) GetSchema ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListRepoGrantsOutputBody) MarshalJSON ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListRepoGrantsOutputBody) SetAdditionalProps ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBody) SetAdditionalProps(val ListRepoGrantsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListRepoGrantsOutputBody) SetGrants ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBody) SetGrants(val []RepoGrant)
SetGrants sets the value of Grants.
func (*ListRepoGrantsOutputBody) SetNextPageToken ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListRepoGrantsOutputBody) SetSchema ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListRepoGrantsOutputBody) UnmarshalJSON ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListRepoGrantsOutputBody) Validate ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBody) Validate() error
type ListRepoGrantsOutputBodyAdditional ¶ added in v0.7.8
func (*ListRepoGrantsOutputBodyAdditional) Decode ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListRepoGrantsOutputBodyAdditional from json.
func (ListRepoGrantsOutputBodyAdditional) Encode ¶ added in v0.7.8
func (s ListRepoGrantsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListRepoGrantsOutputBodyAdditional) MarshalJSON ¶ added in v0.7.8
func (s ListRepoGrantsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListRepoGrantsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.8
func (s *ListRepoGrantsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListRepoGrantsParams ¶ added in v0.7.8
type ListRepoGrantsParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
RepoId string
}
ListRepoGrantsParams is parameters of listRepoGrants operation.
type ListReposOutputBody ¶ added in v0.8.0
type ListReposOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
Repos []RepoIndexEntry `json:"repos"`
Truncated bool `json:"truncated"`
AdditionalProps ListReposOutputBodyAdditional
}
Ref: #/components/schemas/ListReposOutputBody
func (*ListReposOutputBody) Decode ¶ added in v0.8.0
func (s *ListReposOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListReposOutputBody from json.
func (*ListReposOutputBody) Encode ¶ added in v0.8.0
func (s *ListReposOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListReposOutputBody) GetAdditionalProps ¶ added in v0.8.0
func (s *ListReposOutputBody) GetAdditionalProps() ListReposOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListReposOutputBody) GetNextPageToken ¶ added in v0.9.0
func (s *ListReposOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListReposOutputBody) GetRepos ¶ added in v0.8.0
func (s *ListReposOutputBody) GetRepos() []RepoIndexEntry
GetRepos returns the value of Repos.
func (*ListReposOutputBody) GetSchema ¶ added in v0.8.0
func (s *ListReposOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListReposOutputBody) GetTruncated ¶ added in v0.8.0
func (s *ListReposOutputBody) GetTruncated() bool
GetTruncated returns the value of Truncated.
func (*ListReposOutputBody) MarshalJSON ¶ added in v0.8.0
func (s *ListReposOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListReposOutputBody) SetAdditionalProps ¶ added in v0.8.0
func (s *ListReposOutputBody) SetAdditionalProps(val ListReposOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListReposOutputBody) SetNextPageToken ¶ added in v0.9.0
func (s *ListReposOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListReposOutputBody) SetRepos ¶ added in v0.8.0
func (s *ListReposOutputBody) SetRepos(val []RepoIndexEntry)
SetRepos sets the value of Repos.
func (*ListReposOutputBody) SetSchema ¶ added in v0.8.0
func (s *ListReposOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListReposOutputBody) SetTruncated ¶ added in v0.8.0
func (s *ListReposOutputBody) SetTruncated(val bool)
SetTruncated sets the value of Truncated.
func (*ListReposOutputBody) UnmarshalJSON ¶ added in v0.8.0
func (s *ListReposOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListReposOutputBody) Validate ¶ added in v0.8.0
func (s *ListReposOutputBody) Validate() error
type ListReposOutputBodyAdditional ¶ added in v0.8.0
func (*ListReposOutputBodyAdditional) Decode ¶ added in v0.8.0
func (s *ListReposOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListReposOutputBodyAdditional from json.
func (ListReposOutputBodyAdditional) Encode ¶ added in v0.8.0
func (s ListReposOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListReposOutputBodyAdditional) MarshalJSON ¶ added in v0.8.0
func (s ListReposOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListReposOutputBodyAdditional) UnmarshalJSON ¶ added in v0.8.0
func (s *ListReposOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListReposParams ¶ added in v0.9.0
type ListReposParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
// Onboarded (default): repos in Entire; all: also include onboardable GitHub candidates.
Scope OptListReposScope `json:",omitempty,omitzero"`
// Optional: exact-match full_name (owner/repo, case-insensitive). Returns that repo's zero-or-one
// entries; pagination and scope are ignored.
Filter OptString `json:",omitempty,omitzero"`
}
ListReposParams is parameters of listRepos operation.
type ListReposScope ¶ added in v0.9.0
type ListReposScope string
Onboarded (default): repos in Entire; all: also include onboardable GitHub candidates.
const ( ListReposScopeOnboarded ListReposScope = "onboarded" ListReposScopeAll ListReposScope = "all" )
func (ListReposScope) AllValues ¶ added in v0.9.0
func (ListReposScope) AllValues() []ListReposScope
AllValues returns all ListReposScope values.
func (ListReposScope) MarshalText ¶ added in v0.9.0
func (s ListReposScope) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListReposScope) UnmarshalText ¶ added in v0.9.0
func (s *ListReposScope) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListReposScope) Validate ¶ added in v0.9.0
func (s ListReposScope) Validate() error
type ListServiceAccountGrantsOutputBody ¶
type ListServiceAccountGrantsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Grants []ServiceAccountGrant `json:"grants"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
AdditionalProps ListServiceAccountGrantsOutputBodyAdditional
}
Ref: #/components/schemas/ListServiceAccountGrantsOutputBody
func (*ListServiceAccountGrantsOutputBody) Decode ¶
func (s *ListServiceAccountGrantsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListServiceAccountGrantsOutputBody from json.
func (*ListServiceAccountGrantsOutputBody) Encode ¶
func (s *ListServiceAccountGrantsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListServiceAccountGrantsOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *ListServiceAccountGrantsOutputBody) GetAdditionalProps() ListServiceAccountGrantsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListServiceAccountGrantsOutputBody) GetGrants ¶
func (s *ListServiceAccountGrantsOutputBody) GetGrants() []ServiceAccountGrant
GetGrants returns the value of Grants.
func (*ListServiceAccountGrantsOutputBody) GetNextPageToken ¶ added in v0.7.8
func (s *ListServiceAccountGrantsOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListServiceAccountGrantsOutputBody) GetSchema ¶
func (s *ListServiceAccountGrantsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListServiceAccountGrantsOutputBody) MarshalJSON ¶
func (s *ListServiceAccountGrantsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListServiceAccountGrantsOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *ListServiceAccountGrantsOutputBody) SetAdditionalProps(val ListServiceAccountGrantsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListServiceAccountGrantsOutputBody) SetGrants ¶
func (s *ListServiceAccountGrantsOutputBody) SetGrants(val []ServiceAccountGrant)
SetGrants sets the value of Grants.
func (*ListServiceAccountGrantsOutputBody) SetNextPageToken ¶ added in v0.7.8
func (s *ListServiceAccountGrantsOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListServiceAccountGrantsOutputBody) SetSchema ¶
func (s *ListServiceAccountGrantsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListServiceAccountGrantsOutputBody) UnmarshalJSON ¶
func (s *ListServiceAccountGrantsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListServiceAccountGrantsOutputBody) Validate ¶
func (s *ListServiceAccountGrantsOutputBody) Validate() error
type ListServiceAccountGrantsOutputBodyAdditional ¶ added in v0.7.6
func (*ListServiceAccountGrantsOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *ListServiceAccountGrantsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListServiceAccountGrantsOutputBodyAdditional from json.
func (ListServiceAccountGrantsOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s ListServiceAccountGrantsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListServiceAccountGrantsOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s ListServiceAccountGrantsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListServiceAccountGrantsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ListServiceAccountGrantsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListServiceAccountGrantsParams ¶
type ListServiceAccountGrantsParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
AccountId string
}
ListServiceAccountGrantsParams is parameters of listServiceAccountGrants operation.
type ListServiceAccountsOutputBody ¶
type ListServiceAccountsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
ServiceAccounts []ServiceAccountWithGrants `json:"serviceAccounts"`
AdditionalProps ListServiceAccountsOutputBodyAdditional
}
Ref: #/components/schemas/ListServiceAccountsOutputBody
func (*ListServiceAccountsOutputBody) Decode ¶
func (s *ListServiceAccountsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListServiceAccountsOutputBody from json.
func (*ListServiceAccountsOutputBody) Encode ¶
func (s *ListServiceAccountsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListServiceAccountsOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *ListServiceAccountsOutputBody) GetAdditionalProps() ListServiceAccountsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListServiceAccountsOutputBody) GetNextPageToken ¶ added in v0.7.8
func (s *ListServiceAccountsOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListServiceAccountsOutputBody) GetSchema ¶
func (s *ListServiceAccountsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListServiceAccountsOutputBody) GetServiceAccounts ¶
func (s *ListServiceAccountsOutputBody) GetServiceAccounts() []ServiceAccountWithGrants
GetServiceAccounts returns the value of ServiceAccounts.
func (*ListServiceAccountsOutputBody) MarshalJSON ¶
func (s *ListServiceAccountsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListServiceAccountsOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *ListServiceAccountsOutputBody) SetAdditionalProps(val ListServiceAccountsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListServiceAccountsOutputBody) SetNextPageToken ¶ added in v0.7.8
func (s *ListServiceAccountsOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListServiceAccountsOutputBody) SetSchema ¶
func (s *ListServiceAccountsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListServiceAccountsOutputBody) SetServiceAccounts ¶
func (s *ListServiceAccountsOutputBody) SetServiceAccounts(val []ServiceAccountWithGrants)
SetServiceAccounts sets the value of ServiceAccounts.
func (*ListServiceAccountsOutputBody) UnmarshalJSON ¶
func (s *ListServiceAccountsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListServiceAccountsOutputBody) Validate ¶
func (s *ListServiceAccountsOutputBody) Validate() error
type ListServiceAccountsOutputBodyAdditional ¶ added in v0.7.6
func (*ListServiceAccountsOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *ListServiceAccountsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListServiceAccountsOutputBodyAdditional from json.
func (ListServiceAccountsOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s ListServiceAccountsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListServiceAccountsOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s ListServiceAccountsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListServiceAccountsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ListServiceAccountsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListServiceAccountsParams ¶
type ListServiceAccountsParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
OrgId string
}
ListServiceAccountsParams is parameters of listServiceAccounts operation.
type LookupBySlugOutputBody ¶ added in v0.8.0
type LookupBySlugOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Cell string `json:"cell"`
Jurisdiction string `json:"jurisdiction"`
Owner string `json:"owner"`
Repo string `json:"repo"`
RepoId string `json:"repoId"`
AdditionalProps LookupBySlugOutputBodyAdditional
}
Ref: #/components/schemas/LookupBySlugOutputBody
func (*LookupBySlugOutputBody) Decode ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) Decode(d *jx.Decoder) error
Decode decodes LookupBySlugOutputBody from json.
func (*LookupBySlugOutputBody) Encode ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*LookupBySlugOutputBody) GetAdditionalProps ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) GetAdditionalProps() LookupBySlugOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*LookupBySlugOutputBody) GetCell ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) GetCell() string
GetCell returns the value of Cell.
func (*LookupBySlugOutputBody) GetJurisdiction ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) GetJurisdiction() string
GetJurisdiction returns the value of Jurisdiction.
func (*LookupBySlugOutputBody) GetOwner ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) GetOwner() string
GetOwner returns the value of Owner.
func (*LookupBySlugOutputBody) GetRepo ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) GetRepo() string
GetRepo returns the value of Repo.
func (*LookupBySlugOutputBody) GetRepoId ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) GetRepoId() string
GetRepoId returns the value of RepoId.
func (*LookupBySlugOutputBody) GetSchema ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*LookupBySlugOutputBody) MarshalJSON ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LookupBySlugOutputBody) SetAdditionalProps ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) SetAdditionalProps(val LookupBySlugOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*LookupBySlugOutputBody) SetCell ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) SetCell(val string)
SetCell sets the value of Cell.
func (*LookupBySlugOutputBody) SetJurisdiction ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) SetJurisdiction(val string)
SetJurisdiction sets the value of Jurisdiction.
func (*LookupBySlugOutputBody) SetOwner ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) SetOwner(val string)
SetOwner sets the value of Owner.
func (*LookupBySlugOutputBody) SetRepo ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) SetRepo(val string)
SetRepo sets the value of Repo.
func (*LookupBySlugOutputBody) SetRepoId ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) SetRepoId(val string)
SetRepoId sets the value of RepoId.
func (*LookupBySlugOutputBody) SetSchema ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*LookupBySlugOutputBody) UnmarshalJSON ¶ added in v0.8.0
func (s *LookupBySlugOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type LookupBySlugOutputBodyAdditional ¶ added in v0.8.0
func (*LookupBySlugOutputBodyAdditional) Decode ¶ added in v0.8.0
func (s *LookupBySlugOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes LookupBySlugOutputBodyAdditional from json.
func (LookupBySlugOutputBodyAdditional) Encode ¶ added in v0.8.0
func (s LookupBySlugOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (LookupBySlugOutputBodyAdditional) MarshalJSON ¶ added in v0.8.0
func (s LookupBySlugOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LookupBySlugOutputBodyAdditional) UnmarshalJSON ¶ added in v0.8.0
func (s *LookupBySlugOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type LookupRef ¶
type LookupRef struct {
ID string `json:"id"`
// Resource type slug; "org", "project", "repo" are enriched, unknown types pass through.
Type string `json:"type"`
AdditionalProps LookupRefAdditional
}
Ref: #/components/schemas/LookupRef
func (*LookupRef) GetAdditionalProps ¶ added in v0.7.6
func (s *LookupRef) GetAdditionalProps() LookupRefAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*LookupRef) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*LookupRef) SetAdditionalProps ¶ added in v0.7.6
func (s *LookupRef) SetAdditionalProps(val LookupRefAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*LookupRef) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type LookupRefAdditional ¶ added in v0.7.6
func (*LookupRefAdditional) Decode ¶ added in v0.7.6
func (s *LookupRefAdditional) Decode(d *jx.Decoder) error
Decode decodes LookupRefAdditional from json.
func (LookupRefAdditional) Encode ¶ added in v0.7.6
func (s LookupRefAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (LookupRefAdditional) MarshalJSON ¶ added in v0.7.6
func (s LookupRefAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LookupRefAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *LookupRefAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type LookupRefResult ¶
type LookupRefResult struct {
ID string `json:"id"`
Name OptString `json:"name"`
OwnerId OptString `json:"ownerId"`
OwnerType OptLookupRefResultOwnerType `json:"ownerType"`
ProjectId OptString `json:"projectId"`
Type string `json:"type"`
URL OptString `json:"url"`
AdditionalProps LookupRefResultAdditional
}
Ref: #/components/schemas/LookupRefResult
func (*LookupRefResult) Decode ¶
func (s *LookupRefResult) Decode(d *jx.Decoder) error
Decode decodes LookupRefResult from json.
func (*LookupRefResult) Encode ¶
func (s *LookupRefResult) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*LookupRefResult) GetAdditionalProps ¶ added in v0.7.6
func (s *LookupRefResult) GetAdditionalProps() LookupRefResultAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*LookupRefResult) GetID ¶
func (s *LookupRefResult) GetID() string
GetID returns the value of ID.
func (*LookupRefResult) GetName ¶
func (s *LookupRefResult) GetName() OptString
GetName returns the value of Name.
func (*LookupRefResult) GetOwnerId ¶
func (s *LookupRefResult) GetOwnerId() OptString
GetOwnerId returns the value of OwnerId.
func (*LookupRefResult) GetOwnerType ¶
func (s *LookupRefResult) GetOwnerType() OptLookupRefResultOwnerType
GetOwnerType returns the value of OwnerType.
func (*LookupRefResult) GetProjectId ¶
func (s *LookupRefResult) GetProjectId() OptString
GetProjectId returns the value of ProjectId.
func (*LookupRefResult) GetType ¶
func (s *LookupRefResult) GetType() string
GetType returns the value of Type.
func (*LookupRefResult) GetURL ¶
func (s *LookupRefResult) GetURL() OptString
GetURL returns the value of URL.
func (*LookupRefResult) MarshalJSON ¶
func (s *LookupRefResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LookupRefResult) SetAdditionalProps ¶ added in v0.7.6
func (s *LookupRefResult) SetAdditionalProps(val LookupRefResultAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*LookupRefResult) SetID ¶
func (s *LookupRefResult) SetID(val string)
SetID sets the value of ID.
func (*LookupRefResult) SetName ¶
func (s *LookupRefResult) SetName(val OptString)
SetName sets the value of Name.
func (*LookupRefResult) SetOwnerId ¶
func (s *LookupRefResult) SetOwnerId(val OptString)
SetOwnerId sets the value of OwnerId.
func (*LookupRefResult) SetOwnerType ¶
func (s *LookupRefResult) SetOwnerType(val OptLookupRefResultOwnerType)
SetOwnerType sets the value of OwnerType.
func (*LookupRefResult) SetProjectId ¶
func (s *LookupRefResult) SetProjectId(val OptString)
SetProjectId sets the value of ProjectId.
func (*LookupRefResult) SetType ¶
func (s *LookupRefResult) SetType(val string)
SetType sets the value of Type.
func (*LookupRefResult) SetURL ¶
func (s *LookupRefResult) SetURL(val OptString)
SetURL sets the value of URL.
func (*LookupRefResult) UnmarshalJSON ¶
func (s *LookupRefResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*LookupRefResult) Validate ¶
func (s *LookupRefResult) Validate() error
type LookupRefResultAdditional ¶ added in v0.7.6
func (*LookupRefResultAdditional) Decode ¶ added in v0.7.6
func (s *LookupRefResultAdditional) Decode(d *jx.Decoder) error
Decode decodes LookupRefResultAdditional from json.
func (LookupRefResultAdditional) Encode ¶ added in v0.7.6
func (s LookupRefResultAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (LookupRefResultAdditional) MarshalJSON ¶ added in v0.7.6
func (s LookupRefResultAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LookupRefResultAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *LookupRefResultAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type LookupRefResultOwnerType ¶
type LookupRefResultOwnerType string
const ( LookupRefResultOwnerTypeOrg LookupRefResultOwnerType = "org" LookupRefResultOwnerTypeAccount LookupRefResultOwnerType = "account" )
func (LookupRefResultOwnerType) AllValues ¶
func (LookupRefResultOwnerType) AllValues() []LookupRefResultOwnerType
AllValues returns all LookupRefResultOwnerType values.
func (*LookupRefResultOwnerType) Decode ¶
func (s *LookupRefResultOwnerType) Decode(d *jx.Decoder) error
Decode decodes LookupRefResultOwnerType from json.
func (LookupRefResultOwnerType) Encode ¶
func (s LookupRefResultOwnerType) Encode(e *jx.Encoder)
Encode encodes LookupRefResultOwnerType as json.
func (LookupRefResultOwnerType) MarshalJSON ¶
func (s LookupRefResultOwnerType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (LookupRefResultOwnerType) MarshalText ¶
func (s LookupRefResultOwnerType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*LookupRefResultOwnerType) UnmarshalJSON ¶
func (s *LookupRefResultOwnerType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*LookupRefResultOwnerType) UnmarshalText ¶
func (s *LookupRefResultOwnerType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (LookupRefResultOwnerType) Validate ¶
func (s LookupRefResultOwnerType) Validate() error
type LookupRepoBySlugParams ¶ added in v0.8.0
type LookupRepoBySlugParams struct {
// Provider-scoped slug, e.g. gh/acme/oss-lib or et/my-project/my-repo.
Slug string
}
LookupRepoBySlugParams is parameters of lookupRepoBySlug operation.
type LookupResourcesOutputBody ¶
type LookupResourcesOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
Permission OptString `json:"permission"`
ResourceIds []string `json:"resourceIds"`
ResourceType string `json:"resourceType"`
Resources []ResourceAccess `json:"resources"`
AdditionalProps LookupResourcesOutputBodyAdditional
}
Ref: #/components/schemas/LookupResourcesOutputBody
func (*LookupResourcesOutputBody) Decode ¶
func (s *LookupResourcesOutputBody) Decode(d *jx.Decoder) error
Decode decodes LookupResourcesOutputBody from json.
func (*LookupResourcesOutputBody) Encode ¶
func (s *LookupResourcesOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*LookupResourcesOutputBody) GetAdditionalProps ¶ added in v0.7.6
func (s *LookupResourcesOutputBody) GetAdditionalProps() LookupResourcesOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*LookupResourcesOutputBody) GetNextPageToken ¶ added in v0.7.8
func (s *LookupResourcesOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*LookupResourcesOutputBody) GetPermission ¶
func (s *LookupResourcesOutputBody) GetPermission() OptString
GetPermission returns the value of Permission.
func (*LookupResourcesOutputBody) GetResourceIds ¶
func (s *LookupResourcesOutputBody) GetResourceIds() []string
GetResourceIds returns the value of ResourceIds.
func (*LookupResourcesOutputBody) GetResourceType ¶
func (s *LookupResourcesOutputBody) GetResourceType() string
GetResourceType returns the value of ResourceType.
func (*LookupResourcesOutputBody) GetResources ¶
func (s *LookupResourcesOutputBody) GetResources() []ResourceAccess
GetResources returns the value of Resources.
func (*LookupResourcesOutputBody) GetSchema ¶
func (s *LookupResourcesOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*LookupResourcesOutputBody) MarshalJSON ¶
func (s *LookupResourcesOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LookupResourcesOutputBody) SetAdditionalProps ¶ added in v0.7.6
func (s *LookupResourcesOutputBody) SetAdditionalProps(val LookupResourcesOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*LookupResourcesOutputBody) SetNextPageToken ¶ added in v0.7.8
func (s *LookupResourcesOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*LookupResourcesOutputBody) SetPermission ¶
func (s *LookupResourcesOutputBody) SetPermission(val OptString)
SetPermission sets the value of Permission.
func (*LookupResourcesOutputBody) SetResourceIds ¶
func (s *LookupResourcesOutputBody) SetResourceIds(val []string)
SetResourceIds sets the value of ResourceIds.
func (*LookupResourcesOutputBody) SetResourceType ¶
func (s *LookupResourcesOutputBody) SetResourceType(val string)
SetResourceType sets the value of ResourceType.
func (*LookupResourcesOutputBody) SetResources ¶
func (s *LookupResourcesOutputBody) SetResources(val []ResourceAccess)
SetResources sets the value of Resources.
func (*LookupResourcesOutputBody) SetSchema ¶
func (s *LookupResourcesOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*LookupResourcesOutputBody) UnmarshalJSON ¶
func (s *LookupResourcesOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*LookupResourcesOutputBody) Validate ¶
func (s *LookupResourcesOutputBody) Validate() error
type LookupResourcesOutputBodyAdditional ¶ added in v0.7.6
func (*LookupResourcesOutputBodyAdditional) Decode ¶ added in v0.7.6
func (s *LookupResourcesOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes LookupResourcesOutputBodyAdditional from json.
func (LookupResourcesOutputBodyAdditional) Encode ¶ added in v0.7.6
func (s LookupResourcesOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (LookupResourcesOutputBodyAdditional) MarshalJSON ¶ added in v0.7.6
func (s LookupResourcesOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*LookupResourcesOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *LookupResourcesOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type LookupResourcesParams ¶
type LookupResourcesParams struct {
// Maximum entries to return; server may cap further.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
// SpiceDB resource type (e.g. "repo", "project", "org").
ResourceType string
// Optional: only list resources where the caller has this permission. pageSize/pageToken apply only
// when set.
Permission OptString `json:",omitempty,omitzero"`
}
LookupResourcesParams is parameters of lookupResources operation.
type MeAuth ¶
type MeAuth struct {
Provider string `json:"provider"`
ProviderUserId string `json:"providerUserId"`
AdditionalProps MeAuthAdditional
}
Ref: #/components/schemas/MeAuth
func (*MeAuth) GetAdditionalProps ¶ added in v0.7.6
func (s *MeAuth) GetAdditionalProps() MeAuthAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*MeAuth) GetProvider ¶
GetProvider returns the value of Provider.
func (*MeAuth) GetProviderUserId ¶
GetProviderUserId returns the value of ProviderUserId.
func (*MeAuth) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*MeAuth) SetAdditionalProps ¶ added in v0.7.6
func (s *MeAuth) SetAdditionalProps(val MeAuthAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*MeAuth) SetProvider ¶
SetProvider sets the value of Provider.
func (*MeAuth) SetProviderUserId ¶
SetProviderUserId sets the value of ProviderUserId.
func (*MeAuth) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type MeAuthAdditional ¶ added in v0.7.6
func (*MeAuthAdditional) Decode ¶ added in v0.7.6
func (s *MeAuthAdditional) Decode(d *jx.Decoder) error
Decode decodes MeAuthAdditional from json.
func (MeAuthAdditional) Encode ¶ added in v0.7.6
func (s MeAuthAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MeAuthAdditional) MarshalJSON ¶ added in v0.7.6
func (s MeAuthAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MeAuthAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *MeAuthAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MeDeletion ¶ added in v0.9.0
type MeDeletion struct {
// When the cooldown elapses and the account becomes eligible for irreversible hard-deletion.
CooldownEndsAt time.Time `json:"cooldownEndsAt"`
// When deletion was requested (deletion_requested_at).
RequestedAt time.Time `json:"requestedAt"`
AdditionalProps MeDeletionAdditional
}
Ref: #/components/schemas/MeDeletion
func (*MeDeletion) Decode ¶ added in v0.9.0
func (s *MeDeletion) Decode(d *jx.Decoder) error
Decode decodes MeDeletion from json.
func (*MeDeletion) Encode ¶ added in v0.9.0
func (s *MeDeletion) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MeDeletion) GetAdditionalProps ¶ added in v0.9.0
func (s *MeDeletion) GetAdditionalProps() MeDeletionAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*MeDeletion) GetCooldownEndsAt ¶ added in v0.9.0
func (s *MeDeletion) GetCooldownEndsAt() time.Time
GetCooldownEndsAt returns the value of CooldownEndsAt.
func (*MeDeletion) GetRequestedAt ¶ added in v0.9.0
func (s *MeDeletion) GetRequestedAt() time.Time
GetRequestedAt returns the value of RequestedAt.
func (*MeDeletion) MarshalJSON ¶ added in v0.9.0
func (s *MeDeletion) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MeDeletion) SetAdditionalProps ¶ added in v0.9.0
func (s *MeDeletion) SetAdditionalProps(val MeDeletionAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*MeDeletion) SetCooldownEndsAt ¶ added in v0.9.0
func (s *MeDeletion) SetCooldownEndsAt(val time.Time)
SetCooldownEndsAt sets the value of CooldownEndsAt.
func (*MeDeletion) SetRequestedAt ¶ added in v0.9.0
func (s *MeDeletion) SetRequestedAt(val time.Time)
SetRequestedAt sets the value of RequestedAt.
func (*MeDeletion) UnmarshalJSON ¶ added in v0.9.0
func (s *MeDeletion) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MeDeletionAdditional ¶ added in v0.9.0
func (*MeDeletionAdditional) Decode ¶ added in v0.9.0
func (s *MeDeletionAdditional) Decode(d *jx.Decoder) error
Decode decodes MeDeletionAdditional from json.
func (MeDeletionAdditional) Encode ¶ added in v0.9.0
func (s MeDeletionAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MeDeletionAdditional) MarshalJSON ¶ added in v0.9.0
func (s MeDeletionAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MeDeletionAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *MeDeletionAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MeGlobal ¶
type MeGlobal struct {
AccountId string `json:"accountId"`
AvatarUrl OptString `json:"avatarUrl"`
// When the account was created (accounts.created_at).
CreatedAt time.Time `json:"createdAt"`
Handle OptString `json:"handle"`
Handles []MeIdentityHandle `json:"handles"`
HomeJurisdiction OptString `json:"homeJurisdiction"`
AdditionalProps MeGlobalAdditional
}
Ref: #/components/schemas/MeGlobal
func (*MeGlobal) GetAccountId ¶
GetAccountId returns the value of AccountId.
func (*MeGlobal) GetAdditionalProps ¶ added in v0.7.6
func (s *MeGlobal) GetAdditionalProps() MeGlobalAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*MeGlobal) GetAvatarUrl ¶
GetAvatarUrl returns the value of AvatarUrl.
func (*MeGlobal) GetCreatedAt ¶ added in v0.9.0
GetCreatedAt returns the value of CreatedAt.
func (*MeGlobal) GetHandles ¶
func (s *MeGlobal) GetHandles() []MeIdentityHandle
GetHandles returns the value of Handles.
func (*MeGlobal) GetHomeJurisdiction ¶
GetHomeJurisdiction returns the value of HomeJurisdiction.
func (*MeGlobal) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*MeGlobal) SetAccountId ¶
SetAccountId sets the value of AccountId.
func (*MeGlobal) SetAdditionalProps ¶ added in v0.7.6
func (s *MeGlobal) SetAdditionalProps(val MeGlobalAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*MeGlobal) SetAvatarUrl ¶
SetAvatarUrl sets the value of AvatarUrl.
func (*MeGlobal) SetCreatedAt ¶ added in v0.9.0
SetCreatedAt sets the value of CreatedAt.
func (*MeGlobal) SetHandles ¶
func (s *MeGlobal) SetHandles(val []MeIdentityHandle)
SetHandles sets the value of Handles.
func (*MeGlobal) SetHomeJurisdiction ¶
SetHomeJurisdiction sets the value of HomeJurisdiction.
func (*MeGlobal) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type MeGlobalAdditional ¶ added in v0.7.6
func (*MeGlobalAdditional) Decode ¶ added in v0.7.6
func (s *MeGlobalAdditional) Decode(d *jx.Decoder) error
Decode decodes MeGlobalAdditional from json.
func (MeGlobalAdditional) Encode ¶ added in v0.7.6
func (s MeGlobalAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MeGlobalAdditional) MarshalJSON ¶ added in v0.7.6
func (s MeGlobalAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MeGlobalAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *MeGlobalAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MeIdentityHandle ¶
type MeIdentityHandle struct {
// The provider's publicly-visible profile email (from the provider at login; may be empty). NOT the
// account's contact email.
Email OptString `json:"email"`
Handle string `json:"handle"`
Provider string `json:"provider"`
ProviderUserId string `json:"providerUserId"`
AdditionalProps MeIdentityHandleAdditional
}
Ref: #/components/schemas/MeIdentityHandle
func (*MeIdentityHandle) Decode ¶
func (s *MeIdentityHandle) Decode(d *jx.Decoder) error
Decode decodes MeIdentityHandle from json.
func (*MeIdentityHandle) Encode ¶
func (s *MeIdentityHandle) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MeIdentityHandle) GetAdditionalProps ¶ added in v0.7.6
func (s *MeIdentityHandle) GetAdditionalProps() MeIdentityHandleAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*MeIdentityHandle) GetEmail ¶ added in v0.7.8
func (s *MeIdentityHandle) GetEmail() OptString
GetEmail returns the value of Email.
func (*MeIdentityHandle) GetHandle ¶
func (s *MeIdentityHandle) GetHandle() string
GetHandle returns the value of Handle.
func (*MeIdentityHandle) GetProvider ¶
func (s *MeIdentityHandle) GetProvider() string
GetProvider returns the value of Provider.
func (*MeIdentityHandle) GetProviderUserId ¶
func (s *MeIdentityHandle) GetProviderUserId() string
GetProviderUserId returns the value of ProviderUserId.
func (*MeIdentityHandle) MarshalJSON ¶
func (s *MeIdentityHandle) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MeIdentityHandle) SetAdditionalProps ¶ added in v0.7.6
func (s *MeIdentityHandle) SetAdditionalProps(val MeIdentityHandleAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*MeIdentityHandle) SetEmail ¶ added in v0.7.8
func (s *MeIdentityHandle) SetEmail(val OptString)
SetEmail sets the value of Email.
func (*MeIdentityHandle) SetHandle ¶
func (s *MeIdentityHandle) SetHandle(val string)
SetHandle sets the value of Handle.
func (*MeIdentityHandle) SetProvider ¶
func (s *MeIdentityHandle) SetProvider(val string)
SetProvider sets the value of Provider.
func (*MeIdentityHandle) SetProviderUserId ¶
func (s *MeIdentityHandle) SetProviderUserId(val string)
SetProviderUserId sets the value of ProviderUserId.
func (*MeIdentityHandle) UnmarshalJSON ¶
func (s *MeIdentityHandle) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MeIdentityHandleAdditional ¶ added in v0.7.6
func (*MeIdentityHandleAdditional) Decode ¶ added in v0.7.6
func (s *MeIdentityHandleAdditional) Decode(d *jx.Decoder) error
Decode decodes MeIdentityHandleAdditional from json.
func (MeIdentityHandleAdditional) Encode ¶ added in v0.7.6
func (s MeIdentityHandleAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MeIdentityHandleAdditional) MarshalJSON ¶ added in v0.7.6
func (s MeIdentityHandleAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MeIdentityHandleAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *MeIdentityHandleAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MeRegional ¶
type MeRegional struct {
Bio OptString `json:"bio"`
Company OptString `json:"company"`
DisplayName OptString `json:"displayName"`
Email OptString `json:"email"`
Location OptString `json:"location"`
AdditionalProps MeRegionalAdditional
}
Ref: #/components/schemas/MeRegional
func (*MeRegional) Decode ¶
func (s *MeRegional) Decode(d *jx.Decoder) error
Decode decodes MeRegional from json.
func (*MeRegional) Encode ¶
func (s *MeRegional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MeRegional) GetAdditionalProps ¶ added in v0.7.6
func (s *MeRegional) GetAdditionalProps() MeRegionalAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*MeRegional) GetBio ¶
func (s *MeRegional) GetBio() OptString
GetBio returns the value of Bio.
func (*MeRegional) GetCompany ¶
func (s *MeRegional) GetCompany() OptString
GetCompany returns the value of Company.
func (*MeRegional) GetDisplayName ¶
func (s *MeRegional) GetDisplayName() OptString
GetDisplayName returns the value of DisplayName.
func (*MeRegional) GetEmail ¶
func (s *MeRegional) GetEmail() OptString
GetEmail returns the value of Email.
func (*MeRegional) GetLocation ¶
func (s *MeRegional) GetLocation() OptString
GetLocation returns the value of Location.
func (*MeRegional) MarshalJSON ¶
func (s *MeRegional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MeRegional) SetAdditionalProps ¶ added in v0.7.6
func (s *MeRegional) SetAdditionalProps(val MeRegionalAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*MeRegional) SetBio ¶
func (s *MeRegional) SetBio(val OptString)
SetBio sets the value of Bio.
func (*MeRegional) SetCompany ¶
func (s *MeRegional) SetCompany(val OptString)
SetCompany sets the value of Company.
func (*MeRegional) SetDisplayName ¶
func (s *MeRegional) SetDisplayName(val OptString)
SetDisplayName sets the value of DisplayName.
func (*MeRegional) SetEmail ¶
func (s *MeRegional) SetEmail(val OptString)
SetEmail sets the value of Email.
func (*MeRegional) SetLocation ¶
func (s *MeRegional) SetLocation(val OptString)
SetLocation sets the value of Location.
func (*MeRegional) UnmarshalJSON ¶
func (s *MeRegional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MeRegionalAdditional ¶ added in v0.7.6
func (*MeRegionalAdditional) Decode ¶ added in v0.7.6
func (s *MeRegionalAdditional) Decode(d *jx.Decoder) error
Decode decodes MeRegionalAdditional from json.
func (MeRegionalAdditional) Encode ¶ added in v0.7.6
func (s MeRegionalAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MeRegionalAdditional) MarshalJSON ¶ added in v0.7.6
func (s MeRegionalAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MeRegionalAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *MeRegionalAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MeRegionalUnavailable ¶
type MeRegionalUnavailable struct {
Error MeRegionalUnavailableError `json:"error"`
HomeCoreUrl string `json:"homeCoreUrl"`
Jurisdiction string `json:"jurisdiction"`
// Human-readable copy ready to surface in a UI.
}
Ref: #/components/schemas/MeRegionalUnavailable
func (*MeRegionalUnavailable) Decode ¶
func (s *MeRegionalUnavailable) Decode(d *jx.Decoder) error
Decode decodes MeRegionalUnavailable from json.
func (*MeRegionalUnavailable) Encode ¶
func (s *MeRegionalUnavailable) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MeRegionalUnavailable) GetAdditionalProps ¶ added in v0.7.6
func (s *MeRegionalUnavailable) GetAdditionalProps() MeRegionalUnavailableAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*MeRegionalUnavailable) GetError ¶
func (s *MeRegionalUnavailable) GetError() MeRegionalUnavailableError
GetError returns the value of Error.
func (*MeRegionalUnavailable) GetHomeCoreUrl ¶
func (s *MeRegionalUnavailable) GetHomeCoreUrl() string
GetHomeCoreUrl returns the value of HomeCoreUrl.
func (*MeRegionalUnavailable) GetJurisdiction ¶
func (s *MeRegionalUnavailable) GetJurisdiction() string
GetJurisdiction returns the value of Jurisdiction.
func (*MeRegionalUnavailable) GetMessage ¶
func (s *MeRegionalUnavailable) GetMessage() string
GetMessage returns the value of Message.
func (*MeRegionalUnavailable) MarshalJSON ¶
func (s *MeRegionalUnavailable) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MeRegionalUnavailable) SetAdditionalProps ¶ added in v0.7.6
func (s *MeRegionalUnavailable) SetAdditionalProps(val MeRegionalUnavailableAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*MeRegionalUnavailable) SetError ¶
func (s *MeRegionalUnavailable) SetError(val MeRegionalUnavailableError)
SetError sets the value of Error.
func (*MeRegionalUnavailable) SetHomeCoreUrl ¶
func (s *MeRegionalUnavailable) SetHomeCoreUrl(val string)
SetHomeCoreUrl sets the value of HomeCoreUrl.
func (*MeRegionalUnavailable) SetJurisdiction ¶
func (s *MeRegionalUnavailable) SetJurisdiction(val string)
SetJurisdiction sets the value of Jurisdiction.
func (*MeRegionalUnavailable) SetMessage ¶
func (s *MeRegionalUnavailable) SetMessage(val string)
SetMessage sets the value of Message.
func (*MeRegionalUnavailable) UnmarshalJSON ¶
func (s *MeRegionalUnavailable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MeRegionalUnavailable) Validate ¶
func (s *MeRegionalUnavailable) Validate() error
type MeRegionalUnavailableAdditional ¶ added in v0.7.6
func (*MeRegionalUnavailableAdditional) Decode ¶ added in v0.7.6
func (s *MeRegionalUnavailableAdditional) Decode(d *jx.Decoder) error
Decode decodes MeRegionalUnavailableAdditional from json.
func (MeRegionalUnavailableAdditional) Encode ¶ added in v0.7.6
func (s MeRegionalUnavailableAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MeRegionalUnavailableAdditional) MarshalJSON ¶ added in v0.7.6
func (s MeRegionalUnavailableAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MeRegionalUnavailableAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *MeRegionalUnavailableAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MeRegionalUnavailableError ¶
type MeRegionalUnavailableError string
Always 'foreign_jurisdiction'. Discriminator for client-side state machines.
const (
)
func (MeRegionalUnavailableError) AllValues ¶
func (MeRegionalUnavailableError) AllValues() []MeRegionalUnavailableError
AllValues returns all MeRegionalUnavailableError values.
func (*MeRegionalUnavailableError) Decode ¶
func (s *MeRegionalUnavailableError) Decode(d *jx.Decoder) error
Decode decodes MeRegionalUnavailableError from json.
func (MeRegionalUnavailableError) Encode ¶
func (s MeRegionalUnavailableError) Encode(e *jx.Encoder)
Encode encodes MeRegionalUnavailableError as json.
func (MeRegionalUnavailableError) MarshalJSON ¶
func (s MeRegionalUnavailableError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (MeRegionalUnavailableError) MarshalText ¶
func (s MeRegionalUnavailableError) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*MeRegionalUnavailableError) UnmarshalJSON ¶
func (s *MeRegionalUnavailableError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MeRegionalUnavailableError) UnmarshalText ¶
func (s *MeRegionalUnavailableError) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (MeRegionalUnavailableError) Validate ¶
func (s MeRegionalUnavailableError) Validate() error
type Membership ¶
type Membership struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
AccountId string `json:"accountId"`
CreatedAt time.Time `json:"createdAt"`
ID string `json:"id"`
OrgId string `json:"orgId"`
Role string `json:"role"`
Status string `json:"status"`
WorkosOrgMembershipId OptString `json:"workosOrgMembershipId"`
AdditionalProps MembershipAdditional
}
Ref: #/components/schemas/Membership
func (*Membership) Decode ¶
func (s *Membership) Decode(d *jx.Decoder) error
Decode decodes Membership from json.
func (*Membership) Encode ¶
func (s *Membership) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*Membership) GetAccountId ¶
func (s *Membership) GetAccountId() string
GetAccountId returns the value of AccountId.
func (*Membership) GetAdditionalProps ¶ added in v0.7.6
func (s *Membership) GetAdditionalProps() MembershipAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*Membership) GetCreatedAt ¶
func (s *Membership) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*Membership) GetOrgId ¶
func (s *Membership) GetOrgId() string
GetOrgId returns the value of OrgId.
func (*Membership) GetRole ¶
func (s *Membership) GetRole() string
GetRole returns the value of Role.
func (*Membership) GetSchema ¶
func (s *Membership) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*Membership) GetStatus ¶
func (s *Membership) GetStatus() string
GetStatus returns the value of Status.
func (*Membership) GetWorkosOrgMembershipId ¶
func (s *Membership) GetWorkosOrgMembershipId() OptString
GetWorkosOrgMembershipId returns the value of WorkosOrgMembershipId.
func (*Membership) MarshalJSON ¶
func (s *Membership) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Membership) SetAccountId ¶
func (s *Membership) SetAccountId(val string)
SetAccountId sets the value of AccountId.
func (*Membership) SetAdditionalProps ¶ added in v0.7.6
func (s *Membership) SetAdditionalProps(val MembershipAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*Membership) SetCreatedAt ¶
func (s *Membership) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*Membership) SetOrgId ¶
func (s *Membership) SetOrgId(val string)
SetOrgId sets the value of OrgId.
func (*Membership) SetRole ¶
func (s *Membership) SetRole(val string)
SetRole sets the value of Role.
func (*Membership) SetSchema ¶
func (s *Membership) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*Membership) SetStatus ¶
func (s *Membership) SetStatus(val string)
SetStatus sets the value of Status.
func (*Membership) SetWorkosOrgMembershipId ¶
func (s *Membership) SetWorkosOrgMembershipId(val OptString)
SetWorkosOrgMembershipId sets the value of WorkosOrgMembershipId.
func (*Membership) UnmarshalJSON ¶
func (s *Membership) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MembershipAdditional ¶ added in v0.7.6
func (*MembershipAdditional) Decode ¶ added in v0.7.6
func (s *MembershipAdditional) Decode(d *jx.Decoder) error
Decode decodes MembershipAdditional from json.
func (MembershipAdditional) Encode ¶ added in v0.7.6
func (s MembershipAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MembershipAdditional) MarshalJSON ¶ added in v0.7.6
func (s MembershipAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MembershipAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *MembershipAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Mirror ¶
type Mirror struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Physical cell the mirror's cluster runs in, e.g. aws-us-east-2.
Cell OptString `json:"cell"`
// Public host of the cluster serving this mirror.
ClusterHost string `json:"clusterHost"`
CreatedAt time.Time `json:"createdAt"`
InstallationId OptInt64 `json:"installationId"`
IsArchived OptBool `json:"isArchived"`
IsPrivate OptBool `json:"isPrivate"`
Jurisdiction OptString `json:"jurisdiction"`
MirrorId string `json:"mirrorId"`
Owner string `json:"owner"`
Provider string `json:"provider"`
Repo string `json:"repo"`
// Clone lifecycle: processing (cloning), ready (clonable), failed (initial clone failed), or
// suspended.
Status OptMirrorStatus `json:"status"`
SuspendedAt OptDateTime `json:"suspendedAt"`
AdditionalProps MirrorAdditional
}
Ref: #/components/schemas/Mirror
func (*Mirror) GetAdditionalProps ¶ added in v0.7.6
func (s *Mirror) GetAdditionalProps() MirrorAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*Mirror) GetClusterHost ¶
GetClusterHost returns the value of ClusterHost.
func (*Mirror) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Mirror) GetInstallationId ¶
GetInstallationId returns the value of InstallationId.
func (*Mirror) GetIsArchived ¶
GetIsArchived returns the value of IsArchived.
func (*Mirror) GetIsPrivate ¶
GetIsPrivate returns the value of IsPrivate.
func (*Mirror) GetJurisdiction ¶
GetJurisdiction returns the value of Jurisdiction.
func (*Mirror) GetMirrorId ¶
GetMirrorId returns the value of MirrorId.
func (*Mirror) GetProvider ¶
GetProvider returns the value of Provider.
func (*Mirror) GetStatus ¶ added in v0.7.8
func (s *Mirror) GetStatus() OptMirrorStatus
GetStatus returns the value of Status.
func (*Mirror) GetSuspendedAt ¶
func (s *Mirror) GetSuspendedAt() OptDateTime
GetSuspendedAt returns the value of SuspendedAt.
func (*Mirror) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Mirror) SetAdditionalProps ¶ added in v0.7.6
func (s *Mirror) SetAdditionalProps(val MirrorAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*Mirror) SetClusterHost ¶
SetClusterHost sets the value of ClusterHost.
func (*Mirror) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Mirror) SetInstallationId ¶
SetInstallationId sets the value of InstallationId.
func (*Mirror) SetIsArchived ¶
SetIsArchived sets the value of IsArchived.
func (*Mirror) SetIsPrivate ¶
SetIsPrivate sets the value of IsPrivate.
func (*Mirror) SetJurisdiction ¶
SetJurisdiction sets the value of Jurisdiction.
func (*Mirror) SetMirrorId ¶
SetMirrorId sets the value of MirrorId.
func (*Mirror) SetProvider ¶
SetProvider sets the value of Provider.
func (*Mirror) SetStatus ¶ added in v0.7.8
func (s *Mirror) SetStatus(val OptMirrorStatus)
SetStatus sets the value of Status.
func (*Mirror) SetSuspendedAt ¶
func (s *Mirror) SetSuspendedAt(val OptDateTime)
SetSuspendedAt sets the value of SuspendedAt.
func (*Mirror) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type MirrorAdditional ¶ added in v0.7.6
func (*MirrorAdditional) Decode ¶ added in v0.7.6
func (s *MirrorAdditional) Decode(d *jx.Decoder) error
Decode decodes MirrorAdditional from json.
func (MirrorAdditional) Encode ¶ added in v0.7.6
func (s MirrorAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MirrorAdditional) MarshalJSON ¶ added in v0.7.6
func (s MirrorAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MirrorAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *MirrorAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MirrorCollaborator ¶ added in v0.7.7
type MirrorCollaborator struct {
AccountId string `json:"accountId"`
// Primary handle (provider:label), empty if none resolves.
Handle OptString `json:"handle"`
// Reader (pull) or writer (pull+push).
Role string `json:"role"`
AdditionalProps MirrorCollaboratorAdditional
}
Ref: #/components/schemas/MirrorCollaborator
func (*MirrorCollaborator) Decode ¶ added in v0.7.7
func (s *MirrorCollaborator) Decode(d *jx.Decoder) error
Decode decodes MirrorCollaborator from json.
func (*MirrorCollaborator) Encode ¶ added in v0.7.7
func (s *MirrorCollaborator) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MirrorCollaborator) GetAccountId ¶ added in v0.7.7
func (s *MirrorCollaborator) GetAccountId() string
GetAccountId returns the value of AccountId.
func (*MirrorCollaborator) GetAdditionalProps ¶ added in v0.7.7
func (s *MirrorCollaborator) GetAdditionalProps() MirrorCollaboratorAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*MirrorCollaborator) GetHandle ¶ added in v0.7.7
func (s *MirrorCollaborator) GetHandle() OptString
GetHandle returns the value of Handle.
func (*MirrorCollaborator) GetRole ¶ added in v0.7.7
func (s *MirrorCollaborator) GetRole() string
GetRole returns the value of Role.
func (*MirrorCollaborator) MarshalJSON ¶ added in v0.7.7
func (s *MirrorCollaborator) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MirrorCollaborator) SetAccountId ¶ added in v0.7.7
func (s *MirrorCollaborator) SetAccountId(val string)
SetAccountId sets the value of AccountId.
func (*MirrorCollaborator) SetAdditionalProps ¶ added in v0.7.7
func (s *MirrorCollaborator) SetAdditionalProps(val MirrorCollaboratorAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*MirrorCollaborator) SetHandle ¶ added in v0.7.7
func (s *MirrorCollaborator) SetHandle(val OptString)
SetHandle sets the value of Handle.
func (*MirrorCollaborator) SetRole ¶ added in v0.7.7
func (s *MirrorCollaborator) SetRole(val string)
SetRole sets the value of Role.
func (*MirrorCollaborator) UnmarshalJSON ¶ added in v0.7.7
func (s *MirrorCollaborator) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MirrorCollaboratorAdditional ¶ added in v0.7.7
func (*MirrorCollaboratorAdditional) Decode ¶ added in v0.7.7
func (s *MirrorCollaboratorAdditional) Decode(d *jx.Decoder) error
Decode decodes MirrorCollaboratorAdditional from json.
func (MirrorCollaboratorAdditional) Encode ¶ added in v0.7.7
func (s MirrorCollaboratorAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MirrorCollaboratorAdditional) MarshalJSON ¶ added in v0.7.7
func (s MirrorCollaboratorAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MirrorCollaboratorAdditional) UnmarshalJSON ¶ added in v0.7.7
func (s *MirrorCollaboratorAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MirrorStatus ¶ added in v0.7.8
type MirrorStatus string
Clone lifecycle: processing (cloning), ready (clonable), failed (initial clone failed), or suspended.
const ( MirrorStatusProcessing MirrorStatus = "processing" MirrorStatusReady MirrorStatus = "ready" MirrorStatusFailed MirrorStatus = "failed" MirrorStatusSuspended MirrorStatus = "suspended" )
func (MirrorStatus) AllValues ¶ added in v0.7.8
func (MirrorStatus) AllValues() []MirrorStatus
AllValues returns all MirrorStatus values.
func (*MirrorStatus) Decode ¶ added in v0.7.8
func (s *MirrorStatus) Decode(d *jx.Decoder) error
Decode decodes MirrorStatus from json.
func (MirrorStatus) Encode ¶ added in v0.7.8
func (s MirrorStatus) Encode(e *jx.Encoder)
Encode encodes MirrorStatus as json.
func (MirrorStatus) MarshalJSON ¶ added in v0.7.8
func (s MirrorStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (MirrorStatus) MarshalText ¶ added in v0.7.8
func (s MirrorStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*MirrorStatus) UnmarshalJSON ¶ added in v0.7.8
func (s *MirrorStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MirrorStatus) UnmarshalText ¶ added in v0.7.8
func (s *MirrorStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (MirrorStatus) Validate ¶ added in v0.7.8
func (s MirrorStatus) Validate() error
type OIDCProvider ¶
type OIDCProvider struct {
Description OptString `json:"description"`
DisplayName OptString `json:"displayName"`
ID string `json:"id"`
Issuer string `json:"issuer"`
AdditionalProps OIDCProviderAdditional
}
Ref: #/components/schemas/OIDCProvider
func (*OIDCProvider) Decode ¶
func (s *OIDCProvider) Decode(d *jx.Decoder) error
Decode decodes OIDCProvider from json.
func (*OIDCProvider) Encode ¶
func (s *OIDCProvider) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OIDCProvider) GetAdditionalProps ¶ added in v0.7.6
func (s *OIDCProvider) GetAdditionalProps() OIDCProviderAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*OIDCProvider) GetDescription ¶
func (s *OIDCProvider) GetDescription() OptString
GetDescription returns the value of Description.
func (*OIDCProvider) GetDisplayName ¶
func (s *OIDCProvider) GetDisplayName() OptString
GetDisplayName returns the value of DisplayName.
func (*OIDCProvider) GetIssuer ¶
func (s *OIDCProvider) GetIssuer() string
GetIssuer returns the value of Issuer.
func (*OIDCProvider) MarshalJSON ¶
func (s *OIDCProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OIDCProvider) SetAdditionalProps ¶ added in v0.7.6
func (s *OIDCProvider) SetAdditionalProps(val OIDCProviderAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*OIDCProvider) SetDescription ¶
func (s *OIDCProvider) SetDescription(val OptString)
SetDescription sets the value of Description.
func (*OIDCProvider) SetDisplayName ¶
func (s *OIDCProvider) SetDisplayName(val OptString)
SetDisplayName sets the value of DisplayName.
func (*OIDCProvider) SetIssuer ¶
func (s *OIDCProvider) SetIssuer(val string)
SetIssuer sets the value of Issuer.
func (*OIDCProvider) UnmarshalJSON ¶
func (s *OIDCProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OIDCProviderAdditional ¶ added in v0.7.6
func (*OIDCProviderAdditional) Decode ¶ added in v0.7.6
func (s *OIDCProviderAdditional) Decode(d *jx.Decoder) error
Decode decodes OIDCProviderAdditional from json.
func (OIDCProviderAdditional) Encode ¶ added in v0.7.6
func (s OIDCProviderAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OIDCProviderAdditional) MarshalJSON ¶ added in v0.7.6
func (s OIDCProviderAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OIDCProviderAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *OIDCProviderAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OperationName ¶
type OperationName = string
OperationName is the ogen operation name
const ( AddOrgMemberOperation OperationName = "AddOrgMember" BatchLookupOperation OperationName = "BatchLookup" CancelDeletionOperation OperationName = "CancelDeletion" CompleteOnboardingOperation OperationName = "CompleteOnboarding" CreateBindingOperation OperationName = "CreateBinding" CreateMirrorOperation OperationName = "CreateMirror" CreateOrgOperation OperationName = "CreateOrg" CreateProjectOperation OperationName = "CreateProject" CreateRepoOperation OperationName = "CreateRepo" CreateRepoCIWebhookOperation OperationName = "CreateRepoCIWebhook" CreateServiceAccountOperation OperationName = "CreateServiceAccount" DeleteBindingOperation OperationName = "DeleteBinding" DeleteMeOperation OperationName = "DeleteMe" DeleteMirrorOperation OperationName = "DeleteMirror" DeleteOrgOperation OperationName = "DeleteOrg" DeleteProjectOperation OperationName = "DeleteProject" DeleteRepoOperation OperationName = "DeleteRepo" DeleteRepoCIWebhookOperation OperationName = "DeleteRepoCIWebhook" DeleteServiceAccountOperation OperationName = "DeleteServiceAccount" GetDeletionPreviewOperation OperationName = "GetDeletionPreview" GetMeOperation OperationName = "GetMe" GetMirrorOperation OperationName = "GetMirror" GetOnboardingStatusOperation OperationName = "GetOnboardingStatus" GetOrgOperation OperationName = "GetOrg" GetPermissionsOperation OperationName = "GetPermissions" GetProjectOperation OperationName = "GetProject" GetRepoOperation OperationName = "GetRepo" GetRepoVisibilityOperation OperationName = "GetRepoVisibility" GetServiceAccountOperation OperationName = "GetServiceAccount" GetTopologyOperation OperationName = "GetTopology" GetVersionOperation OperationName = "GetVersion" GrantProjectAccessOperation OperationName = "GrantProjectAccess" GrantRepoAccessOperation OperationName = "GrantRepoAccess" GrantServiceAccountAccessOperation OperationName = "GrantServiceAccountAccess" ListAuditEventsOperation OperationName = "ListAuditEvents" ListAvailableMirrorsOperation OperationName = "ListAvailableMirrors" ListBindingsOperation OperationName = "ListBindings" ListClustersOperation OperationName = "ListClusters" ListMirrorCollaboratorsOperation OperationName = "ListMirrorCollaborators" ListMirrorsOperation OperationName = "ListMirrors" ListOIDCProvidersOperation OperationName = "ListOIDCProviders" ListOrgMembersOperation OperationName = "ListOrgMembers" ListOrgProjectsOperation OperationName = "ListOrgProjects" ListOrgsOperation OperationName = "ListOrgs" ListProjectMembersOperation OperationName = "ListProjectMembers" ListProjectReposOperation OperationName = "ListProjectRepos" ListProjectsOperation OperationName = "ListProjects" ListRepoCIWebhooksOperation OperationName = "ListRepoCIWebhooks" ListRepoGrantsOperation OperationName = "ListRepoGrants" ListReposOperation OperationName = "ListRepos" ListServiceAccountGrantsOperation OperationName = "ListServiceAccountGrants" ListServiceAccountsOperation OperationName = "ListServiceAccounts" LookupRepoBySlugOperation OperationName = "LookupRepoBySlug" LookupResourcesOperation OperationName = "LookupResources" PatchRepoCIWebhookOperation OperationName = "PatchRepoCIWebhook" RemoveOrgMemberOperation OperationName = "RemoveOrgMember" ResolveHandleOperation OperationName = "ResolveHandle" ResolveMirrorPlacementsOperation OperationName = "ResolveMirrorPlacements" RevokeProjectAccessOperation OperationName = "RevokeProjectAccess" RevokeProjectAccessByProviderOperation OperationName = "RevokeProjectAccessByProvider" RevokeRepoAccessOperation OperationName = "RevokeRepoAccess" RevokeRepoAccessByProviderOperation OperationName = "RevokeRepoAccessByProvider" RevokeServiceAccountAccessOperation OperationName = "RevokeServiceAccountAccess" SetRepoVisibilityOperation OperationName = "SetRepoVisibility" )
type OptAddOrgMemberInputBodyRole ¶
type OptAddOrgMemberInputBodyRole struct {
Value AddOrgMemberInputBodyRole
Set bool
}
OptAddOrgMemberInputBodyRole is optional AddOrgMemberInputBodyRole.
func NewOptAddOrgMemberInputBodyRole ¶
func NewOptAddOrgMemberInputBodyRole(v AddOrgMemberInputBodyRole) OptAddOrgMemberInputBodyRole
NewOptAddOrgMemberInputBodyRole returns new OptAddOrgMemberInputBodyRole with value set to v.
func (*OptAddOrgMemberInputBodyRole) Decode ¶
func (o *OptAddOrgMemberInputBodyRole) Decode(d *jx.Decoder) error
Decode decodes AddOrgMemberInputBodyRole from json.
func (OptAddOrgMemberInputBodyRole) Encode ¶
func (o OptAddOrgMemberInputBodyRole) Encode(e *jx.Encoder)
Encode encodes AddOrgMemberInputBodyRole as json.
func (OptAddOrgMemberInputBodyRole) Get ¶
func (o OptAddOrgMemberInputBodyRole) Get() (v AddOrgMemberInputBodyRole, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAddOrgMemberInputBodyRole) IsSet ¶
func (o OptAddOrgMemberInputBodyRole) IsSet() bool
IsSet returns true if OptAddOrgMemberInputBodyRole was set.
func (OptAddOrgMemberInputBodyRole) MarshalJSON ¶
func (s OptAddOrgMemberInputBodyRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptAddOrgMemberInputBodyRole) Reset ¶
func (o *OptAddOrgMemberInputBodyRole) Reset()
Reset unsets value.
func (*OptAddOrgMemberInputBodyRole) SetTo ¶
func (o *OptAddOrgMemberInputBodyRole) SetTo(v AddOrgMemberInputBodyRole)
SetTo sets value to v.
func (*OptAddOrgMemberInputBodyRole) UnmarshalJSON ¶
func (s *OptAddOrgMemberInputBodyRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAuditEventMetadata ¶
type OptAuditEventMetadata struct {
Value AuditEventMetadata
Set bool
}
OptAuditEventMetadata is optional AuditEventMetadata.
func NewOptAuditEventMetadata ¶
func NewOptAuditEventMetadata(v AuditEventMetadata) OptAuditEventMetadata
NewOptAuditEventMetadata returns new OptAuditEventMetadata with value set to v.
func (*OptAuditEventMetadata) Decode ¶
func (o *OptAuditEventMetadata) Decode(d *jx.Decoder) error
Decode decodes AuditEventMetadata from json.
func (OptAuditEventMetadata) Encode ¶
func (o OptAuditEventMetadata) Encode(e *jx.Encoder)
Encode encodes AuditEventMetadata as json.
func (OptAuditEventMetadata) Get ¶
func (o OptAuditEventMetadata) Get() (v AuditEventMetadata, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAuditEventMetadata) IsSet ¶
func (o OptAuditEventMetadata) IsSet() bool
IsSet returns true if OptAuditEventMetadata was set.
func (OptAuditEventMetadata) MarshalJSON ¶
func (s OptAuditEventMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAuditEventMetadata) Or ¶
func (o OptAuditEventMetadata) Or(d AuditEventMetadata) AuditEventMetadata
Or returns value if set, or given parameter if does not.
func (*OptAuditEventMetadata) SetTo ¶
func (o *OptAuditEventMetadata) SetTo(v AuditEventMetadata)
SetTo sets value to v.
func (*OptAuditEventMetadata) UnmarshalJSON ¶
func (s *OptAuditEventMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBool ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreateRepoInputBodyObjectFormat ¶
type OptCreateRepoInputBodyObjectFormat struct {
Value CreateRepoInputBodyObjectFormat
Set bool
}
OptCreateRepoInputBodyObjectFormat is optional CreateRepoInputBodyObjectFormat.
func NewOptCreateRepoInputBodyObjectFormat ¶
func NewOptCreateRepoInputBodyObjectFormat(v CreateRepoInputBodyObjectFormat) OptCreateRepoInputBodyObjectFormat
NewOptCreateRepoInputBodyObjectFormat returns new OptCreateRepoInputBodyObjectFormat with value set to v.
func (*OptCreateRepoInputBodyObjectFormat) Decode ¶
func (o *OptCreateRepoInputBodyObjectFormat) Decode(d *jx.Decoder) error
Decode decodes CreateRepoInputBodyObjectFormat from json.
func (OptCreateRepoInputBodyObjectFormat) Encode ¶
func (o OptCreateRepoInputBodyObjectFormat) Encode(e *jx.Encoder)
Encode encodes CreateRepoInputBodyObjectFormat as json.
func (OptCreateRepoInputBodyObjectFormat) Get ¶
func (o OptCreateRepoInputBodyObjectFormat) Get() (v CreateRepoInputBodyObjectFormat, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateRepoInputBodyObjectFormat) IsSet ¶
func (o OptCreateRepoInputBodyObjectFormat) IsSet() bool
IsSet returns true if OptCreateRepoInputBodyObjectFormat was set.
func (OptCreateRepoInputBodyObjectFormat) MarshalJSON ¶
func (s OptCreateRepoInputBodyObjectFormat) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateRepoInputBodyObjectFormat) Or ¶
func (o OptCreateRepoInputBodyObjectFormat) Or(d CreateRepoInputBodyObjectFormat) CreateRepoInputBodyObjectFormat
Or returns value if set, or given parameter if does not.
func (*OptCreateRepoInputBodyObjectFormat) Reset ¶
func (o *OptCreateRepoInputBodyObjectFormat) Reset()
Reset unsets value.
func (*OptCreateRepoInputBodyObjectFormat) SetTo ¶
func (o *OptCreateRepoInputBodyObjectFormat) SetTo(v CreateRepoInputBodyObjectFormat)
SetTo sets value to v.
func (*OptCreateRepoInputBodyObjectFormat) UnmarshalJSON ¶
func (s *OptCreateRepoInputBodyObjectFormat) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDateTime ¶
OptDateTime is optional time.Time.
func NewOptDateTime ¶
func NewOptDateTime(v time.Time) OptDateTime
NewOptDateTime returns new OptDateTime with value set to v.
func (OptDateTime) Get ¶
func (o OptDateTime) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDateTime) IsSet ¶
func (o OptDateTime) IsSet() bool
IsSet returns true if OptDateTime was set.
func (OptDateTime) MarshalJSON ¶
func (s OptDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDateTime) Or ¶
func (o OptDateTime) Or(d time.Time) time.Time
Or returns value if set, or given parameter if does not.
func (*OptDateTime) UnmarshalJSON ¶
func (s *OptDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGetMeOutputBodyMode ¶
type OptGetMeOutputBodyMode struct {
Value GetMeOutputBodyMode
Set bool
}
OptGetMeOutputBodyMode is optional GetMeOutputBodyMode.
func NewOptGetMeOutputBodyMode ¶
func NewOptGetMeOutputBodyMode(v GetMeOutputBodyMode) OptGetMeOutputBodyMode
NewOptGetMeOutputBodyMode returns new OptGetMeOutputBodyMode with value set to v.
func (*OptGetMeOutputBodyMode) Decode ¶
func (o *OptGetMeOutputBodyMode) Decode(d *jx.Decoder) error
Decode decodes GetMeOutputBodyMode from json.
func (OptGetMeOutputBodyMode) Encode ¶
func (o OptGetMeOutputBodyMode) Encode(e *jx.Encoder)
Encode encodes GetMeOutputBodyMode as json.
func (OptGetMeOutputBodyMode) Get ¶
func (o OptGetMeOutputBodyMode) Get() (v GetMeOutputBodyMode, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetMeOutputBodyMode) IsSet ¶
func (o OptGetMeOutputBodyMode) IsSet() bool
IsSet returns true if OptGetMeOutputBodyMode was set.
func (OptGetMeOutputBodyMode) MarshalJSON ¶
func (s OptGetMeOutputBodyMode) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGetMeOutputBodyMode) Or ¶
func (o OptGetMeOutputBodyMode) Or(d GetMeOutputBodyMode) GetMeOutputBodyMode
Or returns value if set, or given parameter if does not.
func (*OptGetMeOutputBodyMode) SetTo ¶
func (o *OptGetMeOutputBodyMode) SetTo(v GetMeOutputBodyMode)
SetTo sets value to v.
func (*OptGetMeOutputBodyMode) UnmarshalJSON ¶
func (s *OptGetMeOutputBodyMode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGetPermissionsOutputBodyExplain ¶
type OptGetPermissionsOutputBodyExplain struct {
Value GetPermissionsOutputBodyExplain
Set bool
}
OptGetPermissionsOutputBodyExplain is optional GetPermissionsOutputBodyExplain.
func NewOptGetPermissionsOutputBodyExplain ¶
func NewOptGetPermissionsOutputBodyExplain(v GetPermissionsOutputBodyExplain) OptGetPermissionsOutputBodyExplain
NewOptGetPermissionsOutputBodyExplain returns new OptGetPermissionsOutputBodyExplain with value set to v.
func (*OptGetPermissionsOutputBodyExplain) Decode ¶
func (o *OptGetPermissionsOutputBodyExplain) Decode(d *jx.Decoder) error
Decode decodes GetPermissionsOutputBodyExplain from json.
func (OptGetPermissionsOutputBodyExplain) Encode ¶
func (o OptGetPermissionsOutputBodyExplain) Encode(e *jx.Encoder)
Encode encodes GetPermissionsOutputBodyExplain as json.
func (OptGetPermissionsOutputBodyExplain) Get ¶
func (o OptGetPermissionsOutputBodyExplain) Get() (v GetPermissionsOutputBodyExplain, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetPermissionsOutputBodyExplain) IsSet ¶
func (o OptGetPermissionsOutputBodyExplain) IsSet() bool
IsSet returns true if OptGetPermissionsOutputBodyExplain was set.
func (OptGetPermissionsOutputBodyExplain) MarshalJSON ¶
func (s OptGetPermissionsOutputBodyExplain) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGetPermissionsOutputBodyExplain) Or ¶
func (o OptGetPermissionsOutputBodyExplain) Or(d GetPermissionsOutputBodyExplain) GetPermissionsOutputBodyExplain
Or returns value if set, or given parameter if does not.
func (*OptGetPermissionsOutputBodyExplain) Reset ¶
func (o *OptGetPermissionsOutputBodyExplain) Reset()
Reset unsets value.
func (*OptGetPermissionsOutputBodyExplain) SetTo ¶
func (o *OptGetPermissionsOutputBodyExplain) SetTo(v GetPermissionsOutputBodyExplain)
SetTo sets value to v.
func (*OptGetPermissionsOutputBodyExplain) UnmarshalJSON ¶
func (s *OptGetPermissionsOutputBodyExplain) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGetVersionOutputBodyMode ¶ added in v0.7.7
type OptGetVersionOutputBodyMode struct {
Value GetVersionOutputBodyMode
Set bool
}
OptGetVersionOutputBodyMode is optional GetVersionOutputBodyMode.
func NewOptGetVersionOutputBodyMode ¶ added in v0.7.7
func NewOptGetVersionOutputBodyMode(v GetVersionOutputBodyMode) OptGetVersionOutputBodyMode
NewOptGetVersionOutputBodyMode returns new OptGetVersionOutputBodyMode with value set to v.
func (*OptGetVersionOutputBodyMode) Decode ¶ added in v0.7.7
func (o *OptGetVersionOutputBodyMode) Decode(d *jx.Decoder) error
Decode decodes GetVersionOutputBodyMode from json.
func (OptGetVersionOutputBodyMode) Encode ¶ added in v0.7.7
func (o OptGetVersionOutputBodyMode) Encode(e *jx.Encoder)
Encode encodes GetVersionOutputBodyMode as json.
func (OptGetVersionOutputBodyMode) Get ¶ added in v0.7.7
func (o OptGetVersionOutputBodyMode) Get() (v GetVersionOutputBodyMode, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetVersionOutputBodyMode) IsSet ¶ added in v0.7.7
func (o OptGetVersionOutputBodyMode) IsSet() bool
IsSet returns true if OptGetVersionOutputBodyMode was set.
func (OptGetVersionOutputBodyMode) MarshalJSON ¶ added in v0.7.7
func (s OptGetVersionOutputBodyMode) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGetVersionOutputBodyMode) Or ¶ added in v0.7.7
Or returns value if set, or given parameter if does not.
func (*OptGetVersionOutputBodyMode) Reset ¶ added in v0.7.7
func (o *OptGetVersionOutputBodyMode) Reset()
Reset unsets value.
func (*OptGetVersionOutputBodyMode) SetTo ¶ added in v0.7.7
func (o *OptGetVersionOutputBodyMode) SetTo(v GetVersionOutputBodyMode)
SetTo sets value to v.
func (*OptGetVersionOutputBodyMode) UnmarshalJSON ¶ added in v0.7.7
func (s *OptGetVersionOutputBodyMode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGrantProjectAccessInputBodyGranteeType ¶
type OptGrantProjectAccessInputBodyGranteeType struct {
Value GrantProjectAccessInputBodyGranteeType
Set bool
}
OptGrantProjectAccessInputBodyGranteeType is optional GrantProjectAccessInputBodyGranteeType.
func NewOptGrantProjectAccessInputBodyGranteeType ¶
func NewOptGrantProjectAccessInputBodyGranteeType(v GrantProjectAccessInputBodyGranteeType) OptGrantProjectAccessInputBodyGranteeType
NewOptGrantProjectAccessInputBodyGranteeType returns new OptGrantProjectAccessInputBodyGranteeType with value set to v.
func (*OptGrantProjectAccessInputBodyGranteeType) Decode ¶
func (o *OptGrantProjectAccessInputBodyGranteeType) Decode(d *jx.Decoder) error
Decode decodes GrantProjectAccessInputBodyGranteeType from json.
func (OptGrantProjectAccessInputBodyGranteeType) Encode ¶
func (o OptGrantProjectAccessInputBodyGranteeType) Encode(e *jx.Encoder)
Encode encodes GrantProjectAccessInputBodyGranteeType as json.
func (OptGrantProjectAccessInputBodyGranteeType) Get ¶
func (o OptGrantProjectAccessInputBodyGranteeType) Get() (v GrantProjectAccessInputBodyGranteeType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGrantProjectAccessInputBodyGranteeType) IsSet ¶
func (o OptGrantProjectAccessInputBodyGranteeType) IsSet() bool
IsSet returns true if OptGrantProjectAccessInputBodyGranteeType was set.
func (OptGrantProjectAccessInputBodyGranteeType) MarshalJSON ¶
func (s OptGrantProjectAccessInputBodyGranteeType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGrantProjectAccessInputBodyGranteeType) Or ¶
func (o OptGrantProjectAccessInputBodyGranteeType) Or(d GrantProjectAccessInputBodyGranteeType) GrantProjectAccessInputBodyGranteeType
Or returns value if set, or given parameter if does not.
func (*OptGrantProjectAccessInputBodyGranteeType) Reset ¶
func (o *OptGrantProjectAccessInputBodyGranteeType) Reset()
Reset unsets value.
func (*OptGrantProjectAccessInputBodyGranteeType) SetTo ¶
func (o *OptGrantProjectAccessInputBodyGranteeType) SetTo(v GrantProjectAccessInputBodyGranteeType)
SetTo sets value to v.
func (*OptGrantProjectAccessInputBodyGranteeType) UnmarshalJSON ¶
func (s *OptGrantProjectAccessInputBodyGranteeType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGrantRepoAccessInputBodyGranteeType ¶
type OptGrantRepoAccessInputBodyGranteeType struct {
Value GrantRepoAccessInputBodyGranteeType
Set bool
}
OptGrantRepoAccessInputBodyGranteeType is optional GrantRepoAccessInputBodyGranteeType.
func NewOptGrantRepoAccessInputBodyGranteeType ¶
func NewOptGrantRepoAccessInputBodyGranteeType(v GrantRepoAccessInputBodyGranteeType) OptGrantRepoAccessInputBodyGranteeType
NewOptGrantRepoAccessInputBodyGranteeType returns new OptGrantRepoAccessInputBodyGranteeType with value set to v.
func (*OptGrantRepoAccessInputBodyGranteeType) Decode ¶
func (o *OptGrantRepoAccessInputBodyGranteeType) Decode(d *jx.Decoder) error
Decode decodes GrantRepoAccessInputBodyGranteeType from json.
func (OptGrantRepoAccessInputBodyGranteeType) Encode ¶
func (o OptGrantRepoAccessInputBodyGranteeType) Encode(e *jx.Encoder)
Encode encodes GrantRepoAccessInputBodyGranteeType as json.
func (OptGrantRepoAccessInputBodyGranteeType) Get ¶
func (o OptGrantRepoAccessInputBodyGranteeType) Get() (v GrantRepoAccessInputBodyGranteeType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGrantRepoAccessInputBodyGranteeType) IsSet ¶
func (o OptGrantRepoAccessInputBodyGranteeType) IsSet() bool
IsSet returns true if OptGrantRepoAccessInputBodyGranteeType was set.
func (OptGrantRepoAccessInputBodyGranteeType) MarshalJSON ¶
func (s OptGrantRepoAccessInputBodyGranteeType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGrantRepoAccessInputBodyGranteeType) Or ¶
func (o OptGrantRepoAccessInputBodyGranteeType) Or(d GrantRepoAccessInputBodyGranteeType) GrantRepoAccessInputBodyGranteeType
Or returns value if set, or given parameter if does not.
func (*OptGrantRepoAccessInputBodyGranteeType) Reset ¶
func (o *OptGrantRepoAccessInputBodyGranteeType) Reset()
Reset unsets value.
func (*OptGrantRepoAccessInputBodyGranteeType) SetTo ¶
func (o *OptGrantRepoAccessInputBodyGranteeType) SetTo(v GrantRepoAccessInputBodyGranteeType)
SetTo sets value to v.
func (*OptGrantRepoAccessInputBodyGranteeType) UnmarshalJSON ¶
func (s *OptGrantRepoAccessInputBodyGranteeType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt32 ¶ added in v0.7.8
OptInt32 is optional int32.
func NewOptInt32 ¶ added in v0.7.8
NewOptInt32 returns new OptInt32 with value set to v.
func (OptInt32) Get ¶ added in v0.7.8
Get returns value and boolean that denotes whether value was set.
type OptInt64 ¶
OptInt64 is optional int64.
func NewOptInt64 ¶
NewOptInt64 returns new OptInt64 with value set to v.
func (OptInt64) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt64) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptListReposScope ¶ added in v0.9.0
type OptListReposScope struct {
Value ListReposScope
Set bool
}
OptListReposScope is optional ListReposScope.
func NewOptListReposScope ¶ added in v0.9.0
func NewOptListReposScope(v ListReposScope) OptListReposScope
NewOptListReposScope returns new OptListReposScope with value set to v.
func (OptListReposScope) Get ¶ added in v0.9.0
func (o OptListReposScope) Get() (v ListReposScope, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListReposScope) IsSet ¶ added in v0.9.0
func (o OptListReposScope) IsSet() bool
IsSet returns true if OptListReposScope was set.
func (OptListReposScope) Or ¶ added in v0.9.0
func (o OptListReposScope) Or(d ListReposScope) ListReposScope
Or returns value if set, or given parameter if does not.
func (*OptListReposScope) Reset ¶ added in v0.9.0
func (o *OptListReposScope) Reset()
Reset unsets value.
func (*OptListReposScope) SetTo ¶ added in v0.9.0
func (o *OptListReposScope) SetTo(v ListReposScope)
SetTo sets value to v.
type OptLookupRefResultOwnerType ¶
type OptLookupRefResultOwnerType struct {
Value LookupRefResultOwnerType
Set bool
}
OptLookupRefResultOwnerType is optional LookupRefResultOwnerType.
func NewOptLookupRefResultOwnerType ¶
func NewOptLookupRefResultOwnerType(v LookupRefResultOwnerType) OptLookupRefResultOwnerType
NewOptLookupRefResultOwnerType returns new OptLookupRefResultOwnerType with value set to v.
func (*OptLookupRefResultOwnerType) Decode ¶
func (o *OptLookupRefResultOwnerType) Decode(d *jx.Decoder) error
Decode decodes LookupRefResultOwnerType from json.
func (OptLookupRefResultOwnerType) Encode ¶
func (o OptLookupRefResultOwnerType) Encode(e *jx.Encoder)
Encode encodes LookupRefResultOwnerType as json.
func (OptLookupRefResultOwnerType) Get ¶
func (o OptLookupRefResultOwnerType) Get() (v LookupRefResultOwnerType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptLookupRefResultOwnerType) IsSet ¶
func (o OptLookupRefResultOwnerType) IsSet() bool
IsSet returns true if OptLookupRefResultOwnerType was set.
func (OptLookupRefResultOwnerType) MarshalJSON ¶
func (s OptLookupRefResultOwnerType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptLookupRefResultOwnerType) Reset ¶
func (o *OptLookupRefResultOwnerType) Reset()
Reset unsets value.
func (*OptLookupRefResultOwnerType) SetTo ¶
func (o *OptLookupRefResultOwnerType) SetTo(v LookupRefResultOwnerType)
SetTo sets value to v.
func (*OptLookupRefResultOwnerType) UnmarshalJSON ¶
func (s *OptLookupRefResultOwnerType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMeDeletion ¶ added in v0.9.0
type OptMeDeletion struct {
Value MeDeletion
Set bool
}
OptMeDeletion is optional MeDeletion.
func NewOptMeDeletion ¶ added in v0.9.0
func NewOptMeDeletion(v MeDeletion) OptMeDeletion
NewOptMeDeletion returns new OptMeDeletion with value set to v.
func (*OptMeDeletion) Decode ¶ added in v0.9.0
func (o *OptMeDeletion) Decode(d *jx.Decoder) error
Decode decodes MeDeletion from json.
func (OptMeDeletion) Encode ¶ added in v0.9.0
func (o OptMeDeletion) Encode(e *jx.Encoder)
Encode encodes MeDeletion as json.
func (OptMeDeletion) Get ¶ added in v0.9.0
func (o OptMeDeletion) Get() (v MeDeletion, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMeDeletion) IsSet ¶ added in v0.9.0
func (o OptMeDeletion) IsSet() bool
IsSet returns true if OptMeDeletion was set.
func (OptMeDeletion) MarshalJSON ¶ added in v0.9.0
func (s OptMeDeletion) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMeDeletion) Or ¶ added in v0.9.0
func (o OptMeDeletion) Or(d MeDeletion) MeDeletion
Or returns value if set, or given parameter if does not.
func (*OptMeDeletion) SetTo ¶ added in v0.9.0
func (o *OptMeDeletion) SetTo(v MeDeletion)
SetTo sets value to v.
func (*OptMeDeletion) UnmarshalJSON ¶ added in v0.9.0
func (s *OptMeDeletion) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMeRegional ¶
type OptMeRegional struct {
Value MeRegional
Set bool
}
OptMeRegional is optional MeRegional.
func NewOptMeRegional ¶
func NewOptMeRegional(v MeRegional) OptMeRegional
NewOptMeRegional returns new OptMeRegional with value set to v.
func (*OptMeRegional) Decode ¶
func (o *OptMeRegional) Decode(d *jx.Decoder) error
Decode decodes MeRegional from json.
func (OptMeRegional) Encode ¶
func (o OptMeRegional) Encode(e *jx.Encoder)
Encode encodes MeRegional as json.
func (OptMeRegional) Get ¶
func (o OptMeRegional) Get() (v MeRegional, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMeRegional) IsSet ¶
func (o OptMeRegional) IsSet() bool
IsSet returns true if OptMeRegional was set.
func (OptMeRegional) MarshalJSON ¶
func (s OptMeRegional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMeRegional) Or ¶
func (o OptMeRegional) Or(d MeRegional) MeRegional
Or returns value if set, or given parameter if does not.
func (*OptMeRegional) UnmarshalJSON ¶
func (s *OptMeRegional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMeRegionalUnavailable ¶
type OptMeRegionalUnavailable struct {
}
OptMeRegionalUnavailable is optional MeRegionalUnavailable.
func NewOptMeRegionalUnavailable ¶
func NewOptMeRegionalUnavailable(v MeRegionalUnavailable) OptMeRegionalUnavailable
NewOptMeRegionalUnavailable returns new OptMeRegionalUnavailable with value set to v.
func (*OptMeRegionalUnavailable) Decode ¶
func (o *OptMeRegionalUnavailable) Decode(d *jx.Decoder) error
Decode decodes MeRegionalUnavailable from json.
func (OptMeRegionalUnavailable) Encode ¶
func (o OptMeRegionalUnavailable) Encode(e *jx.Encoder)
Encode encodes MeRegionalUnavailable as json.
func (OptMeRegionalUnavailable) Get ¶
func (o OptMeRegionalUnavailable) Get() (v MeRegionalUnavailable, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMeRegionalUnavailable) IsSet ¶
func (o OptMeRegionalUnavailable) IsSet() bool
IsSet returns true if OptMeRegionalUnavailable was set.
func (OptMeRegionalUnavailable) MarshalJSON ¶
func (s OptMeRegionalUnavailable) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMeRegionalUnavailable) Or ¶
func (o OptMeRegionalUnavailable) Or(d MeRegionalUnavailable) MeRegionalUnavailable
Or returns value if set, or given parameter if does not.
func (*OptMeRegionalUnavailable) Reset ¶
func (o *OptMeRegionalUnavailable) Reset()
Reset unsets value.
func (*OptMeRegionalUnavailable) SetTo ¶
func (o *OptMeRegionalUnavailable) SetTo(v MeRegionalUnavailable)
SetTo sets value to v.
func (*OptMeRegionalUnavailable) UnmarshalJSON ¶
func (s *OptMeRegionalUnavailable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMirrorStatus ¶ added in v0.7.8
type OptMirrorStatus struct {
Value MirrorStatus
Set bool
}
OptMirrorStatus is optional MirrorStatus.
func NewOptMirrorStatus ¶ added in v0.7.8
func NewOptMirrorStatus(v MirrorStatus) OptMirrorStatus
NewOptMirrorStatus returns new OptMirrorStatus with value set to v.
func (*OptMirrorStatus) Decode ¶ added in v0.7.8
func (o *OptMirrorStatus) Decode(d *jx.Decoder) error
Decode decodes MirrorStatus from json.
func (OptMirrorStatus) Encode ¶ added in v0.7.8
func (o OptMirrorStatus) Encode(e *jx.Encoder)
Encode encodes MirrorStatus as json.
func (OptMirrorStatus) Get ¶ added in v0.7.8
func (o OptMirrorStatus) Get() (v MirrorStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMirrorStatus) IsSet ¶ added in v0.7.8
func (o OptMirrorStatus) IsSet() bool
IsSet returns true if OptMirrorStatus was set.
func (OptMirrorStatus) MarshalJSON ¶ added in v0.7.8
func (s OptMirrorStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMirrorStatus) Or ¶ added in v0.7.8
func (o OptMirrorStatus) Or(d MirrorStatus) MirrorStatus
Or returns value if set, or given parameter if does not.
func (*OptMirrorStatus) Reset ¶ added in v0.7.8
func (o *OptMirrorStatus) Reset()
Reset unsets value.
func (*OptMirrorStatus) SetTo ¶ added in v0.7.8
func (o *OptMirrorStatus) SetTo(v MirrorStatus)
SetTo sets value to v.
func (*OptMirrorStatus) UnmarshalJSON ¶ added in v0.7.8
func (s *OptMirrorStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptOrg ¶ added in v0.7.8
OptOrg is optional Org.
func (OptOrg) Get ¶ added in v0.7.8
Get returns value and boolean that denotes whether value was set.
func (OptOrg) MarshalJSON ¶ added in v0.7.8
MarshalJSON implements stdjson.Marshaler.
func (*OptOrg) UnmarshalJSON ¶ added in v0.7.8
UnmarshalJSON implements stdjson.Unmarshaler.
type OptProject ¶
OptProject is optional Project.
func NewOptProject ¶
func NewOptProject(v Project) OptProject
NewOptProject returns new OptProject with value set to v.
func (*OptProject) Decode ¶
func (o *OptProject) Decode(d *jx.Decoder) error
Decode decodes Project from json.
func (OptProject) Encode ¶
func (o OptProject) Encode(e *jx.Encoder)
Encode encodes Project as json.
func (OptProject) Get ¶
func (o OptProject) Get() (v Project, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptProject) IsSet ¶
func (o OptProject) IsSet() bool
IsSet returns true if OptProject was set.
func (OptProject) MarshalJSON ¶
func (s OptProject) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptProject) Or ¶
func (o OptProject) Or(d Project) Project
Or returns value if set, or given parameter if does not.
func (*OptProject) UnmarshalJSON ¶
func (s *OptProject) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptRepo ¶ added in v0.7.8
OptRepo is optional Repo.
func NewOptRepo ¶ added in v0.7.8
NewOptRepo returns new OptRepo with value set to v.
func (OptRepo) Get ¶ added in v0.7.8
Get returns value and boolean that denotes whether value was set.
func (OptRepo) MarshalJSON ¶ added in v0.7.8
MarshalJSON implements stdjson.Marshaler.
func (*OptRepo) UnmarshalJSON ¶ added in v0.7.8
UnmarshalJSON implements stdjson.Unmarshaler.
type OptRepoCandidate ¶ added in v0.9.0
type OptRepoCandidate struct {
Value RepoCandidate
Set bool
}
OptRepoCandidate is optional RepoCandidate.
func NewOptRepoCandidate ¶ added in v0.9.0
func NewOptRepoCandidate(v RepoCandidate) OptRepoCandidate
NewOptRepoCandidate returns new OptRepoCandidate with value set to v.
func (*OptRepoCandidate) Decode ¶ added in v0.9.0
func (o *OptRepoCandidate) Decode(d *jx.Decoder) error
Decode decodes RepoCandidate from json.
func (OptRepoCandidate) Encode ¶ added in v0.9.0
func (o OptRepoCandidate) Encode(e *jx.Encoder)
Encode encodes RepoCandidate as json.
func (OptRepoCandidate) Get ¶ added in v0.9.0
func (o OptRepoCandidate) Get() (v RepoCandidate, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptRepoCandidate) IsSet ¶ added in v0.9.0
func (o OptRepoCandidate) IsSet() bool
IsSet returns true if OptRepoCandidate was set.
func (OptRepoCandidate) MarshalJSON ¶ added in v0.9.0
func (s OptRepoCandidate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptRepoCandidate) Or ¶ added in v0.9.0
func (o OptRepoCandidate) Or(d RepoCandidate) RepoCandidate
Or returns value if set, or given parameter if does not.
func (*OptRepoCandidate) Reset ¶ added in v0.9.0
func (o *OptRepoCandidate) Reset()
Reset unsets value.
func (*OptRepoCandidate) SetTo ¶ added in v0.9.0
func (o *OptRepoCandidate) SetTo(v RepoCandidate)
SetTo sets value to v.
func (*OptRepoCandidate) UnmarshalJSON ¶ added in v0.9.0
func (s *OptRepoCandidate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptRepoPrimaries ¶ added in v0.9.0
type OptRepoPrimaries struct {
Value RepoPrimaries
Set bool
}
OptRepoPrimaries is optional RepoPrimaries.
func NewOptRepoPrimaries ¶ added in v0.9.0
func NewOptRepoPrimaries(v RepoPrimaries) OptRepoPrimaries
NewOptRepoPrimaries returns new OptRepoPrimaries with value set to v.
func (*OptRepoPrimaries) Decode ¶ added in v0.9.0
func (o *OptRepoPrimaries) Decode(d *jx.Decoder) error
Decode decodes RepoPrimaries from json.
func (OptRepoPrimaries) Encode ¶ added in v0.9.0
func (o OptRepoPrimaries) Encode(e *jx.Encoder)
Encode encodes RepoPrimaries as json.
func (OptRepoPrimaries) Get ¶ added in v0.9.0
func (o OptRepoPrimaries) Get() (v RepoPrimaries, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptRepoPrimaries) IsSet ¶ added in v0.9.0
func (o OptRepoPrimaries) IsSet() bool
IsSet returns true if OptRepoPrimaries was set.
func (OptRepoPrimaries) MarshalJSON ¶ added in v0.9.0
func (s OptRepoPrimaries) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptRepoPrimaries) Or ¶ added in v0.9.0
func (o OptRepoPrimaries) Or(d RepoPrimaries) RepoPrimaries
Or returns value if set, or given parameter if does not.
func (*OptRepoPrimaries) Reset ¶ added in v0.9.0
func (o *OptRepoPrimaries) Reset()
Reset unsets value.
func (*OptRepoPrimaries) SetTo ¶ added in v0.9.0
func (o *OptRepoPrimaries) SetTo(v RepoPrimaries)
SetTo sets value to v.
func (*OptRepoPrimaries) UnmarshalJSON ¶ added in v0.9.0
func (s *OptRepoPrimaries) 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 OptURI ¶
OptURI is optional url.URL.
func (OptURI) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptURI) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Org ¶
type Org struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
CreatedAt time.Time `json:"createdAt"`
ID string `json:"id"`
Name string `json:"name"`
Region string `json:"region"`
WorkosOrganizationId OptString `json:"workosOrganizationId"`
AdditionalProps OrgAdditional
}
Ref: #/components/schemas/Org
func (*Org) GetAdditionalProps ¶ added in v0.7.6
func (s *Org) GetAdditionalProps() OrgAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*Org) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Org) GetWorkosOrganizationId ¶
GetWorkosOrganizationId returns the value of WorkosOrganizationId.
func (*Org) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Org) SetAdditionalProps ¶ added in v0.7.6
func (s *Org) SetAdditionalProps(val OrgAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*Org) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Org) SetWorkosOrganizationId ¶
SetWorkosOrganizationId sets the value of WorkosOrganizationId.
func (*Org) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgAdditional ¶ added in v0.7.6
func (*OrgAdditional) Decode ¶ added in v0.7.6
func (s *OrgAdditional) Decode(d *jx.Decoder) error
Decode decodes OrgAdditional from json.
func (OrgAdditional) Encode ¶ added in v0.7.6
func (s OrgAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OrgAdditional) MarshalJSON ¶ added in v0.7.6
func (s OrgAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *OrgAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PatchRepoCIWebhookInputBody ¶ added in v0.9.0
type PatchRepoCIWebhookInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
DisplayName OptString `json:"display_name"`
Enabled OptBool `json:"enabled"`
Events []string `json:"events"`
RefFilter OptString `json:"ref_filter"`
AdditionalProps PatchRepoCIWebhookInputBodyAdditional
}
Ref: #/components/schemas/PatchRepoCIWebhookInputBody
func (*PatchRepoCIWebhookInputBody) Decode ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) Decode(d *jx.Decoder) error
Decode decodes PatchRepoCIWebhookInputBody from json.
func (*PatchRepoCIWebhookInputBody) Encode ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PatchRepoCIWebhookInputBody) GetAdditionalProps ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) GetAdditionalProps() PatchRepoCIWebhookInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*PatchRepoCIWebhookInputBody) GetDisplayName ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) GetDisplayName() OptString
GetDisplayName returns the value of DisplayName.
func (*PatchRepoCIWebhookInputBody) GetEnabled ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) GetEnabled() OptBool
GetEnabled returns the value of Enabled.
func (*PatchRepoCIWebhookInputBody) GetEvents ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) GetEvents() []string
GetEvents returns the value of Events.
func (*PatchRepoCIWebhookInputBody) GetRefFilter ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) GetRefFilter() OptString
GetRefFilter returns the value of RefFilter.
func (*PatchRepoCIWebhookInputBody) GetSchema ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*PatchRepoCIWebhookInputBody) MarshalJSON ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PatchRepoCIWebhookInputBody) SetAdditionalProps ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) SetAdditionalProps(val PatchRepoCIWebhookInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*PatchRepoCIWebhookInputBody) SetDisplayName ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) SetDisplayName(val OptString)
SetDisplayName sets the value of DisplayName.
func (*PatchRepoCIWebhookInputBody) SetEnabled ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) SetEnabled(val OptBool)
SetEnabled sets the value of Enabled.
func (*PatchRepoCIWebhookInputBody) SetEvents ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) SetEvents(val []string)
SetEvents sets the value of Events.
func (*PatchRepoCIWebhookInputBody) SetRefFilter ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) SetRefFilter(val OptString)
SetRefFilter sets the value of RefFilter.
func (*PatchRepoCIWebhookInputBody) SetSchema ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*PatchRepoCIWebhookInputBody) UnmarshalJSON ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PatchRepoCIWebhookInputBodyAdditional ¶ added in v0.9.0
func (*PatchRepoCIWebhookInputBodyAdditional) Decode ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes PatchRepoCIWebhookInputBodyAdditional from json.
func (PatchRepoCIWebhookInputBodyAdditional) Encode ¶ added in v0.9.0
func (s PatchRepoCIWebhookInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PatchRepoCIWebhookInputBodyAdditional) MarshalJSON ¶ added in v0.9.0
func (s PatchRepoCIWebhookInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PatchRepoCIWebhookInputBodyAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PatchRepoCIWebhookParams ¶ added in v0.9.0
PatchRepoCIWebhookParams is parameters of patchRepoCIWebhook operation.
type Project ¶
type Project struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
CreatedAt time.Time `json:"createdAt"`
ID string `json:"id"`
Name string `json:"name"`
OwnerId string `json:"ownerId"`
OwnerType ProjectOwnerType `json:"ownerType"`
Region string `json:"region"`
AdditionalProps ProjectAdditional
}
Ref: #/components/schemas/Project
func (*Project) GetAdditionalProps ¶ added in v0.7.6
func (s *Project) GetAdditionalProps() ProjectAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*Project) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Project) GetOwnerId ¶
GetOwnerId returns the value of OwnerId.
func (*Project) GetOwnerType ¶
func (s *Project) GetOwnerType() ProjectOwnerType
GetOwnerType returns the value of OwnerType.
func (*Project) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Project) SetAdditionalProps ¶ added in v0.7.6
func (s *Project) SetAdditionalProps(val ProjectAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*Project) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Project) SetOwnerId ¶
SetOwnerId sets the value of OwnerId.
func (*Project) SetOwnerType ¶
func (s *Project) SetOwnerType(val ProjectOwnerType)
SetOwnerType sets the value of OwnerType.
func (*Project) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ProjectAdditional ¶ added in v0.7.6
func (*ProjectAdditional) Decode ¶ added in v0.7.6
func (s *ProjectAdditional) Decode(d *jx.Decoder) error
Decode decodes ProjectAdditional from json.
func (ProjectAdditional) Encode ¶ added in v0.7.6
func (s ProjectAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ProjectAdditional) MarshalJSON ¶ added in v0.7.6
func (s ProjectAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ProjectAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ProjectGrant ¶
type ProjectGrant struct {
GranteeId string `json:"granteeId"`
GranteeName OptString `json:"granteeName"`
GranteeType string `json:"granteeType"`
Role string `json:"role"`
Source string `json:"source"`
AdditionalProps ProjectGrantAdditional
}
Ref: #/components/schemas/ProjectGrant
func (*ProjectGrant) Decode ¶
func (s *ProjectGrant) Decode(d *jx.Decoder) error
Decode decodes ProjectGrant from json.
func (*ProjectGrant) Encode ¶
func (s *ProjectGrant) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProjectGrant) GetAdditionalProps ¶ added in v0.7.6
func (s *ProjectGrant) GetAdditionalProps() ProjectGrantAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ProjectGrant) GetGranteeId ¶
func (s *ProjectGrant) GetGranteeId() string
GetGranteeId returns the value of GranteeId.
func (*ProjectGrant) GetGranteeName ¶ added in v0.7.8
func (s *ProjectGrant) GetGranteeName() OptString
GetGranteeName returns the value of GranteeName.
func (*ProjectGrant) GetGranteeType ¶
func (s *ProjectGrant) GetGranteeType() string
GetGranteeType returns the value of GranteeType.
func (*ProjectGrant) GetRole ¶
func (s *ProjectGrant) GetRole() string
GetRole returns the value of Role.
func (*ProjectGrant) GetSource ¶ added in v0.7.8
func (s *ProjectGrant) GetSource() string
GetSource returns the value of Source.
func (*ProjectGrant) MarshalJSON ¶
func (s *ProjectGrant) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectGrant) SetAdditionalProps ¶ added in v0.7.6
func (s *ProjectGrant) SetAdditionalProps(val ProjectGrantAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ProjectGrant) SetGranteeId ¶
func (s *ProjectGrant) SetGranteeId(val string)
SetGranteeId sets the value of GranteeId.
func (*ProjectGrant) SetGranteeName ¶ added in v0.7.8
func (s *ProjectGrant) SetGranteeName(val OptString)
SetGranteeName sets the value of GranteeName.
func (*ProjectGrant) SetGranteeType ¶
func (s *ProjectGrant) SetGranteeType(val string)
SetGranteeType sets the value of GranteeType.
func (*ProjectGrant) SetRole ¶
func (s *ProjectGrant) SetRole(val string)
SetRole sets the value of Role.
func (*ProjectGrant) SetSource ¶ added in v0.7.8
func (s *ProjectGrant) SetSource(val string)
SetSource sets the value of Source.
func (*ProjectGrant) UnmarshalJSON ¶
func (s *ProjectGrant) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ProjectGrantAdditional ¶ added in v0.7.6
func (*ProjectGrantAdditional) Decode ¶ added in v0.7.6
func (s *ProjectGrantAdditional) Decode(d *jx.Decoder) error
Decode decodes ProjectGrantAdditional from json.
func (ProjectGrantAdditional) Encode ¶ added in v0.7.6
func (s ProjectGrantAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ProjectGrantAdditional) MarshalJSON ¶ added in v0.7.6
func (s ProjectGrantAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectGrantAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ProjectGrantAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ProjectOwnerType ¶
type ProjectOwnerType string
const ( ProjectOwnerTypeOrg ProjectOwnerType = "org" ProjectOwnerTypeAccount ProjectOwnerType = "account" )
func (ProjectOwnerType) AllValues ¶
func (ProjectOwnerType) AllValues() []ProjectOwnerType
AllValues returns all ProjectOwnerType values.
func (*ProjectOwnerType) Decode ¶
func (s *ProjectOwnerType) Decode(d *jx.Decoder) error
Decode decodes ProjectOwnerType from json.
func (ProjectOwnerType) Encode ¶
func (s ProjectOwnerType) Encode(e *jx.Encoder)
Encode encodes ProjectOwnerType as json.
func (ProjectOwnerType) MarshalJSON ¶
func (s ProjectOwnerType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ProjectOwnerType) MarshalText ¶
func (s ProjectOwnerType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ProjectOwnerType) UnmarshalJSON ¶
func (s *ProjectOwnerType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ProjectOwnerType) UnmarshalText ¶
func (s *ProjectOwnerType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ProjectOwnerType) Validate ¶
func (s ProjectOwnerType) Validate() error
type RemoveOrgMemberNoContent ¶
type RemoveOrgMemberNoContent struct{}
RemoveOrgMemberNoContent is response for RemoveOrgMember operation.
type RemoveOrgMemberParams ¶
RemoveOrgMemberParams is parameters of removeOrgMember operation.
type Repo ¶
type Repo struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
ClusterHost OptString `json:"clusterHost"`
Foreign OptBool `json:"foreign"`
FullName OptString `json:"fullName"`
ID string `json:"id"`
MirrorSuspended OptBool `json:"mirrorSuspended"`
MirrorSuspendedAt OptString `json:"mirrorSuspendedAt"`
Name string `json:"name"`
ObjectFormat OptString `json:"objectFormat"`
OwningProjectId string `json:"owningProjectId"`
Path OptString `json:"path"`
ProvisionAttempts OptInt64 `json:"provisionAttempts"`
ProvisionReason OptString `json:"provisionReason"`
RepoGroupId OptString `json:"repoGroupId"`
State OptString `json:"state"`
Visibility OptString `json:"visibility"`
AdditionalProps RepoAdditional
}
Ref: #/components/schemas/Repo
func (*Repo) GetAdditionalProps ¶ added in v0.7.6
func (s *Repo) GetAdditionalProps() RepoAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*Repo) GetClusterHost ¶
GetClusterHost returns the value of ClusterHost.
func (*Repo) GetForeign ¶
GetForeign returns the value of Foreign.
func (*Repo) GetFullName ¶ added in v0.9.0
GetFullName returns the value of FullName.
func (*Repo) GetMirrorSuspended ¶ added in v0.7.7
GetMirrorSuspended returns the value of MirrorSuspended.
func (*Repo) GetMirrorSuspendedAt ¶ added in v0.7.7
GetMirrorSuspendedAt returns the value of MirrorSuspendedAt.
func (*Repo) GetObjectFormat ¶
GetObjectFormat returns the value of ObjectFormat.
func (*Repo) GetOwningProjectId ¶
GetOwningProjectId returns the value of OwningProjectId.
func (*Repo) GetProvisionAttempts ¶
GetProvisionAttempts returns the value of ProvisionAttempts.
func (*Repo) GetProvisionReason ¶
GetProvisionReason returns the value of ProvisionReason.
func (*Repo) GetRepoGroupId ¶ added in v0.9.0
GetRepoGroupId returns the value of RepoGroupId.
func (*Repo) GetVisibility ¶ added in v0.7.8
GetVisibility returns the value of Visibility.
func (*Repo) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Repo) SetAdditionalProps ¶ added in v0.7.6
func (s *Repo) SetAdditionalProps(val RepoAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*Repo) SetClusterHost ¶
SetClusterHost sets the value of ClusterHost.
func (*Repo) SetForeign ¶
SetForeign sets the value of Foreign.
func (*Repo) SetFullName ¶ added in v0.9.0
SetFullName sets the value of FullName.
func (*Repo) SetMirrorSuspended ¶ added in v0.7.7
SetMirrorSuspended sets the value of MirrorSuspended.
func (*Repo) SetMirrorSuspendedAt ¶ added in v0.7.7
SetMirrorSuspendedAt sets the value of MirrorSuspendedAt.
func (*Repo) SetObjectFormat ¶
SetObjectFormat sets the value of ObjectFormat.
func (*Repo) SetOwningProjectId ¶
SetOwningProjectId sets the value of OwningProjectId.
func (*Repo) SetProvisionAttempts ¶
SetProvisionAttempts sets the value of ProvisionAttempts.
func (*Repo) SetProvisionReason ¶
SetProvisionReason sets the value of ProvisionReason.
func (*Repo) SetRepoGroupId ¶ added in v0.9.0
SetRepoGroupId sets the value of RepoGroupId.
func (*Repo) SetVisibility ¶ added in v0.7.8
SetVisibility sets the value of Visibility.
func (*Repo) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoAdditional ¶ added in v0.7.6
func (*RepoAdditional) Decode ¶ added in v0.7.6
func (s *RepoAdditional) Decode(d *jx.Decoder) error
Decode decodes RepoAdditional from json.
func (RepoAdditional) Encode ¶ added in v0.7.6
func (s RepoAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RepoAdditional) MarshalJSON ¶ added in v0.7.6
func (s RepoAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *RepoAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoCandidate ¶ added in v0.9.0
type RepoCandidate struct {
Access RepoCandidateAccess `json:"access"`
Onboardable bool `json:"onboardable"`
AdditionalProps RepoCandidateAdditional
}
Ref: #/components/schemas/RepoCandidate
func (*RepoCandidate) Decode ¶ added in v0.9.0
func (s *RepoCandidate) Decode(d *jx.Decoder) error
Decode decodes RepoCandidate from json.
func (*RepoCandidate) Encode ¶ added in v0.9.0
func (s *RepoCandidate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RepoCandidate) GetAccess ¶ added in v0.9.0
func (s *RepoCandidate) GetAccess() RepoCandidateAccess
GetAccess returns the value of Access.
func (*RepoCandidate) GetAdditionalProps ¶ added in v0.9.0
func (s *RepoCandidate) GetAdditionalProps() RepoCandidateAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*RepoCandidate) GetOnboardable ¶ added in v0.9.0
func (s *RepoCandidate) GetOnboardable() bool
GetOnboardable returns the value of Onboardable.
func (*RepoCandidate) MarshalJSON ¶ added in v0.9.0
func (s *RepoCandidate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoCandidate) SetAccess ¶ added in v0.9.0
func (s *RepoCandidate) SetAccess(val RepoCandidateAccess)
SetAccess sets the value of Access.
func (*RepoCandidate) SetAdditionalProps ¶ added in v0.9.0
func (s *RepoCandidate) SetAdditionalProps(val RepoCandidateAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*RepoCandidate) SetOnboardable ¶ added in v0.9.0
func (s *RepoCandidate) SetOnboardable(val bool)
SetOnboardable sets the value of Onboardable.
func (*RepoCandidate) UnmarshalJSON ¶ added in v0.9.0
func (s *RepoCandidate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RepoCandidate) Validate ¶ added in v0.9.0
func (s *RepoCandidate) Validate() error
type RepoCandidateAccess ¶ added in v0.9.0
type RepoCandidateAccess string
const ( RepoCandidateAccessRead RepoCandidateAccess = "read" RepoCandidateAccessWrite RepoCandidateAccess = "write" RepoCandidateAccessAdmin RepoCandidateAccess = "admin" )
func (RepoCandidateAccess) AllValues ¶ added in v0.9.0
func (RepoCandidateAccess) AllValues() []RepoCandidateAccess
AllValues returns all RepoCandidateAccess values.
func (*RepoCandidateAccess) Decode ¶ added in v0.9.0
func (s *RepoCandidateAccess) Decode(d *jx.Decoder) error
Decode decodes RepoCandidateAccess from json.
func (RepoCandidateAccess) Encode ¶ added in v0.9.0
func (s RepoCandidateAccess) Encode(e *jx.Encoder)
Encode encodes RepoCandidateAccess as json.
func (RepoCandidateAccess) MarshalJSON ¶ added in v0.9.0
func (s RepoCandidateAccess) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (RepoCandidateAccess) MarshalText ¶ added in v0.9.0
func (s RepoCandidateAccess) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*RepoCandidateAccess) UnmarshalJSON ¶ added in v0.9.0
func (s *RepoCandidateAccess) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RepoCandidateAccess) UnmarshalText ¶ added in v0.9.0
func (s *RepoCandidateAccess) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (RepoCandidateAccess) Validate ¶ added in v0.9.0
func (s RepoCandidateAccess) Validate() error
type RepoCandidateAdditional ¶ added in v0.9.0
func (*RepoCandidateAdditional) Decode ¶ added in v0.9.0
func (s *RepoCandidateAdditional) Decode(d *jx.Decoder) error
Decode decodes RepoCandidateAdditional from json.
func (RepoCandidateAdditional) Encode ¶ added in v0.9.0
func (s RepoCandidateAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RepoCandidateAdditional) MarshalJSON ¶ added in v0.9.0
func (s RepoCandidateAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoCandidateAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *RepoCandidateAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoGrant ¶ added in v0.7.8
type RepoGrant struct {
GranteeId string `json:"granteeId"`
GranteeName OptString `json:"granteeName"`
GranteeType string `json:"granteeType"`
Role string `json:"role"`
Source string `json:"source"`
AdditionalProps RepoGrantAdditional
}
Ref: #/components/schemas/RepoGrant
func (*RepoGrant) GetAdditionalProps ¶ added in v0.7.8
func (s *RepoGrant) GetAdditionalProps() RepoGrantAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*RepoGrant) GetGranteeId ¶ added in v0.7.8
GetGranteeId returns the value of GranteeId.
func (*RepoGrant) GetGranteeName ¶ added in v0.7.8
GetGranteeName returns the value of GranteeName.
func (*RepoGrant) GetGranteeType ¶ added in v0.7.8
GetGranteeType returns the value of GranteeType.
func (*RepoGrant) MarshalJSON ¶ added in v0.7.8
MarshalJSON implements stdjson.Marshaler.
func (*RepoGrant) SetAdditionalProps ¶ added in v0.7.8
func (s *RepoGrant) SetAdditionalProps(val RepoGrantAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*RepoGrant) SetGranteeId ¶ added in v0.7.8
SetGranteeId sets the value of GranteeId.
func (*RepoGrant) SetGranteeName ¶ added in v0.7.8
SetGranteeName sets the value of GranteeName.
func (*RepoGrant) SetGranteeType ¶ added in v0.7.8
SetGranteeType sets the value of GranteeType.
func (*RepoGrant) UnmarshalJSON ¶ added in v0.7.8
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoGrantAdditional ¶ added in v0.7.8
func (*RepoGrantAdditional) Decode ¶ added in v0.7.8
func (s *RepoGrantAdditional) Decode(d *jx.Decoder) error
Decode decodes RepoGrantAdditional from json.
func (RepoGrantAdditional) Encode ¶ added in v0.7.8
func (s RepoGrantAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RepoGrantAdditional) MarshalJSON ¶ added in v0.7.8
func (s RepoGrantAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoGrantAdditional) UnmarshalJSON ¶ added in v0.7.8
func (s *RepoGrantAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoIndexEntry ¶ added in v0.8.0
type RepoIndexEntry struct {
Candidate OptRepoCandidate `json:"candidate"`
// Deprecated: schema marks this property as deprecated.
Cell string `json:"cell"`
// Deprecated: schema marks this property as deprecated.
ClusterSlug string `json:"clusterSlug"`
FullName string `json:"full_name"`
ID string `json:"id"`
// Deprecated: schema marks this property as deprecated.
Jurisdiction string `json:"jurisdiction"`
Name string `json:"name"`
Placements []RepoPlacement `json:"placements"`
Primaries OptRepoPrimaries `json:"primaries"`
Stars OptInt64 `json:"stars"`
Visibility string `json:"visibility"`
AdditionalProps RepoIndexEntryAdditional
}
Ref: #/components/schemas/RepoIndexEntry
func (*RepoIndexEntry) Decode ¶ added in v0.8.0
func (s *RepoIndexEntry) Decode(d *jx.Decoder) error
Decode decodes RepoIndexEntry from json.
func (*RepoIndexEntry) Encode ¶ added in v0.8.0
func (s *RepoIndexEntry) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RepoIndexEntry) GetAdditionalProps ¶ added in v0.8.0
func (s *RepoIndexEntry) GetAdditionalProps() RepoIndexEntryAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*RepoIndexEntry) GetCandidate ¶ added in v0.9.0
func (s *RepoIndexEntry) GetCandidate() OptRepoCandidate
GetCandidate returns the value of Candidate.
func (*RepoIndexEntry) GetCell ¶ added in v0.8.0
func (s *RepoIndexEntry) GetCell() string
GetCell returns the value of Cell.
func (*RepoIndexEntry) GetClusterSlug ¶ added in v0.8.0
func (s *RepoIndexEntry) GetClusterSlug() string
GetClusterSlug returns the value of ClusterSlug.
func (*RepoIndexEntry) GetFullName ¶ added in v0.8.0
func (s *RepoIndexEntry) GetFullName() string
GetFullName returns the value of FullName.
func (*RepoIndexEntry) GetID ¶ added in v0.8.0
func (s *RepoIndexEntry) GetID() string
GetID returns the value of ID.
func (*RepoIndexEntry) GetJurisdiction ¶ added in v0.8.0
func (s *RepoIndexEntry) GetJurisdiction() string
GetJurisdiction returns the value of Jurisdiction.
func (*RepoIndexEntry) GetName ¶ added in v0.8.0
func (s *RepoIndexEntry) GetName() string
GetName returns the value of Name.
func (*RepoIndexEntry) GetPlacements ¶ added in v0.8.0
func (s *RepoIndexEntry) GetPlacements() []RepoPlacement
GetPlacements returns the value of Placements.
func (*RepoIndexEntry) GetPrimaries ¶ added in v0.9.0
func (s *RepoIndexEntry) GetPrimaries() OptRepoPrimaries
GetPrimaries returns the value of Primaries.
func (*RepoIndexEntry) GetStars ¶ added in v0.9.0
func (s *RepoIndexEntry) GetStars() OptInt64
GetStars returns the value of Stars.
func (*RepoIndexEntry) GetVisibility ¶ added in v0.8.0
func (s *RepoIndexEntry) GetVisibility() string
GetVisibility returns the value of Visibility.
func (*RepoIndexEntry) MarshalJSON ¶ added in v0.8.0
func (s *RepoIndexEntry) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoIndexEntry) SetAdditionalProps ¶ added in v0.8.0
func (s *RepoIndexEntry) SetAdditionalProps(val RepoIndexEntryAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*RepoIndexEntry) SetCandidate ¶ added in v0.9.0
func (s *RepoIndexEntry) SetCandidate(val OptRepoCandidate)
SetCandidate sets the value of Candidate.
func (*RepoIndexEntry) SetCell ¶ added in v0.8.0
func (s *RepoIndexEntry) SetCell(val string)
SetCell sets the value of Cell.
func (*RepoIndexEntry) SetClusterSlug ¶ added in v0.8.0
func (s *RepoIndexEntry) SetClusterSlug(val string)
SetClusterSlug sets the value of ClusterSlug.
func (*RepoIndexEntry) SetFullName ¶ added in v0.8.0
func (s *RepoIndexEntry) SetFullName(val string)
SetFullName sets the value of FullName.
func (*RepoIndexEntry) SetID ¶ added in v0.8.0
func (s *RepoIndexEntry) SetID(val string)
SetID sets the value of ID.
func (*RepoIndexEntry) SetJurisdiction ¶ added in v0.8.0
func (s *RepoIndexEntry) SetJurisdiction(val string)
SetJurisdiction sets the value of Jurisdiction.
func (*RepoIndexEntry) SetName ¶ added in v0.8.0
func (s *RepoIndexEntry) SetName(val string)
SetName sets the value of Name.
func (*RepoIndexEntry) SetPlacements ¶ added in v0.8.0
func (s *RepoIndexEntry) SetPlacements(val []RepoPlacement)
SetPlacements sets the value of Placements.
func (*RepoIndexEntry) SetPrimaries ¶ added in v0.9.0
func (s *RepoIndexEntry) SetPrimaries(val OptRepoPrimaries)
SetPrimaries sets the value of Primaries.
func (*RepoIndexEntry) SetStars ¶ added in v0.9.0
func (s *RepoIndexEntry) SetStars(val OptInt64)
SetStars sets the value of Stars.
func (*RepoIndexEntry) SetVisibility ¶ added in v0.8.0
func (s *RepoIndexEntry) SetVisibility(val string)
SetVisibility sets the value of Visibility.
func (*RepoIndexEntry) UnmarshalJSON ¶ added in v0.8.0
func (s *RepoIndexEntry) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RepoIndexEntry) Validate ¶ added in v0.8.0
func (s *RepoIndexEntry) Validate() error
type RepoIndexEntryAdditional ¶ added in v0.8.0
func (*RepoIndexEntryAdditional) Decode ¶ added in v0.8.0
func (s *RepoIndexEntryAdditional) Decode(d *jx.Decoder) error
Decode decodes RepoIndexEntryAdditional from json.
func (RepoIndexEntryAdditional) Encode ¶ added in v0.8.0
func (s RepoIndexEntryAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RepoIndexEntryAdditional) MarshalJSON ¶ added in v0.8.0
func (s RepoIndexEntryAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoIndexEntryAdditional) UnmarshalJSON ¶ added in v0.8.0
func (s *RepoIndexEntryAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoPlacement ¶ added in v0.8.0
type RepoPlacement struct {
Cell string `json:"cell"`
ClusterSlug string `json:"clusterSlug"`
ID string `json:"id"`
Jurisdiction string `json:"jurisdiction"`
Mirror bool `json:"mirror"`
Status RepoPlacementStatus `json:"status"`
AdditionalProps RepoPlacementAdditional
}
Ref: #/components/schemas/RepoPlacement
func (*RepoPlacement) Decode ¶ added in v0.8.0
func (s *RepoPlacement) Decode(d *jx.Decoder) error
Decode decodes RepoPlacement from json.
func (*RepoPlacement) Encode ¶ added in v0.8.0
func (s *RepoPlacement) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RepoPlacement) GetAdditionalProps ¶ added in v0.8.0
func (s *RepoPlacement) GetAdditionalProps() RepoPlacementAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*RepoPlacement) GetCell ¶ added in v0.8.0
func (s *RepoPlacement) GetCell() string
GetCell returns the value of Cell.
func (*RepoPlacement) GetClusterSlug ¶ added in v0.9.0
func (s *RepoPlacement) GetClusterSlug() string
GetClusterSlug returns the value of ClusterSlug.
func (*RepoPlacement) GetID ¶ added in v0.8.0
func (s *RepoPlacement) GetID() string
GetID returns the value of ID.
func (*RepoPlacement) GetJurisdiction ¶ added in v0.8.0
func (s *RepoPlacement) GetJurisdiction() string
GetJurisdiction returns the value of Jurisdiction.
func (*RepoPlacement) GetMirror ¶ added in v0.8.0
func (s *RepoPlacement) GetMirror() bool
GetMirror returns the value of Mirror.
func (*RepoPlacement) GetStatus ¶ added in v0.9.0
func (s *RepoPlacement) GetStatus() RepoPlacementStatus
GetStatus returns the value of Status.
func (*RepoPlacement) MarshalJSON ¶ added in v0.8.0
func (s *RepoPlacement) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoPlacement) SetAdditionalProps ¶ added in v0.8.0
func (s *RepoPlacement) SetAdditionalProps(val RepoPlacementAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*RepoPlacement) SetCell ¶ added in v0.8.0
func (s *RepoPlacement) SetCell(val string)
SetCell sets the value of Cell.
func (*RepoPlacement) SetClusterSlug ¶ added in v0.9.0
func (s *RepoPlacement) SetClusterSlug(val string)
SetClusterSlug sets the value of ClusterSlug.
func (*RepoPlacement) SetID ¶ added in v0.8.0
func (s *RepoPlacement) SetID(val string)
SetID sets the value of ID.
func (*RepoPlacement) SetJurisdiction ¶ added in v0.8.0
func (s *RepoPlacement) SetJurisdiction(val string)
SetJurisdiction sets the value of Jurisdiction.
func (*RepoPlacement) SetMirror ¶ added in v0.8.0
func (s *RepoPlacement) SetMirror(val bool)
SetMirror sets the value of Mirror.
func (*RepoPlacement) SetStatus ¶ added in v0.9.0
func (s *RepoPlacement) SetStatus(val RepoPlacementStatus)
SetStatus sets the value of Status.
func (*RepoPlacement) UnmarshalJSON ¶ added in v0.8.0
func (s *RepoPlacement) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RepoPlacement) Validate ¶ added in v0.9.0
func (s *RepoPlacement) Validate() error
type RepoPlacementAdditional ¶ added in v0.8.0
func (*RepoPlacementAdditional) Decode ¶ added in v0.8.0
func (s *RepoPlacementAdditional) Decode(d *jx.Decoder) error
Decode decodes RepoPlacementAdditional from json.
func (RepoPlacementAdditional) Encode ¶ added in v0.8.0
func (s RepoPlacementAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RepoPlacementAdditional) MarshalJSON ¶ added in v0.8.0
func (s RepoPlacementAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoPlacementAdditional) UnmarshalJSON ¶ added in v0.8.0
func (s *RepoPlacementAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoPlacementStatus ¶ added in v0.9.0
type RepoPlacementStatus string
const ( RepoPlacementStatusProcessing RepoPlacementStatus = "processing" RepoPlacementStatusReady RepoPlacementStatus = "ready" RepoPlacementStatusFailed RepoPlacementStatus = "failed" RepoPlacementStatusSuspended RepoPlacementStatus = "suspended" )
func (RepoPlacementStatus) AllValues ¶ added in v0.9.0
func (RepoPlacementStatus) AllValues() []RepoPlacementStatus
AllValues returns all RepoPlacementStatus values.
func (*RepoPlacementStatus) Decode ¶ added in v0.9.0
func (s *RepoPlacementStatus) Decode(d *jx.Decoder) error
Decode decodes RepoPlacementStatus from json.
func (RepoPlacementStatus) Encode ¶ added in v0.9.0
func (s RepoPlacementStatus) Encode(e *jx.Encoder)
Encode encodes RepoPlacementStatus as json.
func (RepoPlacementStatus) MarshalJSON ¶ added in v0.9.0
func (s RepoPlacementStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (RepoPlacementStatus) MarshalText ¶ added in v0.9.0
func (s RepoPlacementStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*RepoPlacementStatus) UnmarshalJSON ¶ added in v0.9.0
func (s *RepoPlacementStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RepoPlacementStatus) UnmarshalText ¶ added in v0.9.0
func (s *RepoPlacementStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (RepoPlacementStatus) Validate ¶ added in v0.9.0
func (s RepoPlacementStatus) Validate() error
type RepoPrimaries ¶ added in v0.9.0
type RepoPrimaries struct {
GitData string `json:"git_data"`
Processing string `json:"processing"`
AdditionalProps RepoPrimariesAdditional
}
Ref: #/components/schemas/RepoPrimaries
func (*RepoPrimaries) Decode ¶ added in v0.9.0
func (s *RepoPrimaries) Decode(d *jx.Decoder) error
Decode decodes RepoPrimaries from json.
func (*RepoPrimaries) Encode ¶ added in v0.9.0
func (s *RepoPrimaries) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RepoPrimaries) GetAdditionalProps ¶ added in v0.9.0
func (s *RepoPrimaries) GetAdditionalProps() RepoPrimariesAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*RepoPrimaries) GetGitData ¶ added in v0.9.0
func (s *RepoPrimaries) GetGitData() string
GetGitData returns the value of GitData.
func (*RepoPrimaries) GetProcessing ¶ added in v0.9.0
func (s *RepoPrimaries) GetProcessing() string
GetProcessing returns the value of Processing.
func (*RepoPrimaries) MarshalJSON ¶ added in v0.9.0
func (s *RepoPrimaries) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoPrimaries) SetAdditionalProps ¶ added in v0.9.0
func (s *RepoPrimaries) SetAdditionalProps(val RepoPrimariesAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*RepoPrimaries) SetGitData ¶ added in v0.9.0
func (s *RepoPrimaries) SetGitData(val string)
SetGitData sets the value of GitData.
func (*RepoPrimaries) SetProcessing ¶ added in v0.9.0
func (s *RepoPrimaries) SetProcessing(val string)
SetProcessing sets the value of Processing.
func (*RepoPrimaries) UnmarshalJSON ¶ added in v0.9.0
func (s *RepoPrimaries) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoPrimariesAdditional ¶ added in v0.9.0
func (*RepoPrimariesAdditional) Decode ¶ added in v0.9.0
func (s *RepoPrimariesAdditional) Decode(d *jx.Decoder) error
Decode decodes RepoPrimariesAdditional from json.
func (RepoPrimariesAdditional) Encode ¶ added in v0.9.0
func (s RepoPrimariesAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RepoPrimariesAdditional) MarshalJSON ¶ added in v0.9.0
func (s RepoPrimariesAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoPrimariesAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *RepoPrimariesAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResolveHandleParams ¶
type ResolveHandleParams struct {
// IdP slug (e.g. "github").
Provider string
// User-visible handle at the provider.
Handle string
}
ResolveHandleParams is parameters of resolveHandle operation.
type ResolveMirrorPlacementsParams ¶ added in v0.9.0
type ResolveMirrorPlacementsParams struct {
Provider ResolveMirrorPlacementsProvider
// Upstream owner login (case-insensitive).
Owner string
// Upstream repo name (case-insensitive).
Repo string
}
ResolveMirrorPlacementsParams is parameters of resolveMirrorPlacements operation.
type ResolveMirrorPlacementsProvider ¶ added in v0.9.0
type ResolveMirrorPlacementsProvider string
const (
ResolveMirrorPlacementsProviderGithub ResolveMirrorPlacementsProvider = "github"
)
func (ResolveMirrorPlacementsProvider) AllValues ¶ added in v0.9.0
func (ResolveMirrorPlacementsProvider) AllValues() []ResolveMirrorPlacementsProvider
AllValues returns all ResolveMirrorPlacementsProvider values.
func (ResolveMirrorPlacementsProvider) MarshalText ¶ added in v0.9.0
func (s ResolveMirrorPlacementsProvider) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ResolveMirrorPlacementsProvider) UnmarshalText ¶ added in v0.9.0
func (s *ResolveMirrorPlacementsProvider) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ResolveMirrorPlacementsProvider) Validate ¶ added in v0.9.0
func (s ResolveMirrorPlacementsProvider) Validate() error
type ResolvePlacementsOutputBody ¶ added in v0.9.0
type ResolvePlacementsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Placements []ResolvedPlacement `json:"placements"`
AdditionalProps ResolvePlacementsOutputBodyAdditional
}
Ref: #/components/schemas/ResolvePlacementsOutputBody
func (*ResolvePlacementsOutputBody) Decode ¶ added in v0.9.0
func (s *ResolvePlacementsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ResolvePlacementsOutputBody from json.
func (*ResolvePlacementsOutputBody) Encode ¶ added in v0.9.0
func (s *ResolvePlacementsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResolvePlacementsOutputBody) GetAdditionalProps ¶ added in v0.9.0
func (s *ResolvePlacementsOutputBody) GetAdditionalProps() ResolvePlacementsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ResolvePlacementsOutputBody) GetPlacements ¶ added in v0.9.0
func (s *ResolvePlacementsOutputBody) GetPlacements() []ResolvedPlacement
GetPlacements returns the value of Placements.
func (*ResolvePlacementsOutputBody) GetSchema ¶ added in v0.9.0
func (s *ResolvePlacementsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ResolvePlacementsOutputBody) MarshalJSON ¶ added in v0.9.0
func (s *ResolvePlacementsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolvePlacementsOutputBody) SetAdditionalProps ¶ added in v0.9.0
func (s *ResolvePlacementsOutputBody) SetAdditionalProps(val ResolvePlacementsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ResolvePlacementsOutputBody) SetPlacements ¶ added in v0.9.0
func (s *ResolvePlacementsOutputBody) SetPlacements(val []ResolvedPlacement)
SetPlacements sets the value of Placements.
func (*ResolvePlacementsOutputBody) SetSchema ¶ added in v0.9.0
func (s *ResolvePlacementsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ResolvePlacementsOutputBody) UnmarshalJSON ¶ added in v0.9.0
func (s *ResolvePlacementsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResolvePlacementsOutputBody) Validate ¶ added in v0.9.0
func (s *ResolvePlacementsOutputBody) Validate() error
type ResolvePlacementsOutputBodyAdditional ¶ added in v0.9.0
func (*ResolvePlacementsOutputBodyAdditional) Decode ¶ added in v0.9.0
func (s *ResolvePlacementsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ResolvePlacementsOutputBodyAdditional from json.
func (ResolvePlacementsOutputBodyAdditional) Encode ¶ added in v0.9.0
func (s ResolvePlacementsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ResolvePlacementsOutputBodyAdditional) MarshalJSON ¶ added in v0.9.0
func (s ResolvePlacementsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolvePlacementsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *ResolvePlacementsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResolvedIdentity ¶
type ResolvedIdentity struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
AccountId string `json:"accountId"`
Handle string `json:"handle"`
Provider string `json:"provider"`
ProviderUserId string `json:"providerUserId"`
AdditionalProps ResolvedIdentityAdditional
}
Ref: #/components/schemas/ResolvedIdentity
func (*ResolvedIdentity) Decode ¶
func (s *ResolvedIdentity) Decode(d *jx.Decoder) error
Decode decodes ResolvedIdentity from json.
func (*ResolvedIdentity) Encode ¶
func (s *ResolvedIdentity) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResolvedIdentity) GetAccountId ¶
func (s *ResolvedIdentity) GetAccountId() string
GetAccountId returns the value of AccountId.
func (*ResolvedIdentity) GetAdditionalProps ¶ added in v0.7.6
func (s *ResolvedIdentity) GetAdditionalProps() ResolvedIdentityAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ResolvedIdentity) GetHandle ¶
func (s *ResolvedIdentity) GetHandle() string
GetHandle returns the value of Handle.
func (*ResolvedIdentity) GetProvider ¶
func (s *ResolvedIdentity) GetProvider() string
GetProvider returns the value of Provider.
func (*ResolvedIdentity) GetProviderUserId ¶
func (s *ResolvedIdentity) GetProviderUserId() string
GetProviderUserId returns the value of ProviderUserId.
func (*ResolvedIdentity) GetSchema ¶
func (s *ResolvedIdentity) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ResolvedIdentity) MarshalJSON ¶
func (s *ResolvedIdentity) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolvedIdentity) SetAccountId ¶
func (s *ResolvedIdentity) SetAccountId(val string)
SetAccountId sets the value of AccountId.
func (*ResolvedIdentity) SetAdditionalProps ¶ added in v0.7.6
func (s *ResolvedIdentity) SetAdditionalProps(val ResolvedIdentityAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ResolvedIdentity) SetHandle ¶
func (s *ResolvedIdentity) SetHandle(val string)
SetHandle sets the value of Handle.
func (*ResolvedIdentity) SetProvider ¶
func (s *ResolvedIdentity) SetProvider(val string)
SetProvider sets the value of Provider.
func (*ResolvedIdentity) SetProviderUserId ¶
func (s *ResolvedIdentity) SetProviderUserId(val string)
SetProviderUserId sets the value of ProviderUserId.
func (*ResolvedIdentity) SetSchema ¶
func (s *ResolvedIdentity) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ResolvedIdentity) UnmarshalJSON ¶
func (s *ResolvedIdentity) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResolvedIdentityAdditional ¶ added in v0.7.6
func (*ResolvedIdentityAdditional) Decode ¶ added in v0.7.6
func (s *ResolvedIdentityAdditional) Decode(d *jx.Decoder) error
Decode decodes ResolvedIdentityAdditional from json.
func (ResolvedIdentityAdditional) Encode ¶ added in v0.7.6
func (s ResolvedIdentityAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ResolvedIdentityAdditional) MarshalJSON ¶ added in v0.7.6
func (s ResolvedIdentityAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolvedIdentityAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ResolvedIdentityAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResolvedPlacement ¶ added in v0.9.0
type ResolvedPlacement struct {
// Physical cell the mirror's cluster runs in, e.g. aws-us-east-2.
Cell OptString `json:"cell"`
// Public host of the cluster serving this mirror.
ClusterHost string `json:"clusterHost"`
Jurisdiction OptString `json:"jurisdiction"`
MirrorId string `json:"mirrorId"`
AdditionalProps ResolvedPlacementAdditional
}
Ref: #/components/schemas/ResolvedPlacement
func (*ResolvedPlacement) Decode ¶ added in v0.9.0
func (s *ResolvedPlacement) Decode(d *jx.Decoder) error
Decode decodes ResolvedPlacement from json.
func (*ResolvedPlacement) Encode ¶ added in v0.9.0
func (s *ResolvedPlacement) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResolvedPlacement) GetAdditionalProps ¶ added in v0.9.0
func (s *ResolvedPlacement) GetAdditionalProps() ResolvedPlacementAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ResolvedPlacement) GetCell ¶ added in v0.9.0
func (s *ResolvedPlacement) GetCell() OptString
GetCell returns the value of Cell.
func (*ResolvedPlacement) GetClusterHost ¶ added in v0.9.0
func (s *ResolvedPlacement) GetClusterHost() string
GetClusterHost returns the value of ClusterHost.
func (*ResolvedPlacement) GetJurisdiction ¶ added in v0.9.0
func (s *ResolvedPlacement) GetJurisdiction() OptString
GetJurisdiction returns the value of Jurisdiction.
func (*ResolvedPlacement) GetMirrorId ¶ added in v0.9.0
func (s *ResolvedPlacement) GetMirrorId() string
GetMirrorId returns the value of MirrorId.
func (*ResolvedPlacement) MarshalJSON ¶ added in v0.9.0
func (s *ResolvedPlacement) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolvedPlacement) SetAdditionalProps ¶ added in v0.9.0
func (s *ResolvedPlacement) SetAdditionalProps(val ResolvedPlacementAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ResolvedPlacement) SetCell ¶ added in v0.9.0
func (s *ResolvedPlacement) SetCell(val OptString)
SetCell sets the value of Cell.
func (*ResolvedPlacement) SetClusterHost ¶ added in v0.9.0
func (s *ResolvedPlacement) SetClusterHost(val string)
SetClusterHost sets the value of ClusterHost.
func (*ResolvedPlacement) SetJurisdiction ¶ added in v0.9.0
func (s *ResolvedPlacement) SetJurisdiction(val OptString)
SetJurisdiction sets the value of Jurisdiction.
func (*ResolvedPlacement) SetMirrorId ¶ added in v0.9.0
func (s *ResolvedPlacement) SetMirrorId(val string)
SetMirrorId sets the value of MirrorId.
func (*ResolvedPlacement) UnmarshalJSON ¶ added in v0.9.0
func (s *ResolvedPlacement) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResolvedPlacementAdditional ¶ added in v0.9.0
func (*ResolvedPlacementAdditional) Decode ¶ added in v0.9.0
func (s *ResolvedPlacementAdditional) Decode(d *jx.Decoder) error
Decode decodes ResolvedPlacementAdditional from json.
func (ResolvedPlacementAdditional) Encode ¶ added in v0.9.0
func (s ResolvedPlacementAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ResolvedPlacementAdditional) MarshalJSON ¶ added in v0.9.0
func (s ResolvedPlacementAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolvedPlacementAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *ResolvedPlacementAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResourceAccess ¶
type ResourceAccess struct {
Permissions []string `json:"permissions"`
ResourceId string `json:"resourceId"`
AdditionalProps ResourceAccessAdditional
}
Ref: #/components/schemas/ResourceAccess
func (*ResourceAccess) Decode ¶
func (s *ResourceAccess) Decode(d *jx.Decoder) error
Decode decodes ResourceAccess from json.
func (*ResourceAccess) Encode ¶
func (s *ResourceAccess) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourceAccess) GetAdditionalProps ¶ added in v0.7.6
func (s *ResourceAccess) GetAdditionalProps() ResourceAccessAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ResourceAccess) GetPermissions ¶
func (s *ResourceAccess) GetPermissions() []string
GetPermissions returns the value of Permissions.
func (*ResourceAccess) GetResourceId ¶
func (s *ResourceAccess) GetResourceId() string
GetResourceId returns the value of ResourceId.
func (*ResourceAccess) MarshalJSON ¶
func (s *ResourceAccess) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceAccess) SetAdditionalProps ¶ added in v0.7.6
func (s *ResourceAccess) SetAdditionalProps(val ResourceAccessAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ResourceAccess) SetPermissions ¶
func (s *ResourceAccess) SetPermissions(val []string)
SetPermissions sets the value of Permissions.
func (*ResourceAccess) SetResourceId ¶
func (s *ResourceAccess) SetResourceId(val string)
SetResourceId sets the value of ResourceId.
func (*ResourceAccess) UnmarshalJSON ¶
func (s *ResourceAccess) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourceAccess) Validate ¶
func (s *ResourceAccess) Validate() error
type ResourceAccessAdditional ¶ added in v0.7.6
func (*ResourceAccessAdditional) Decode ¶ added in v0.7.6
func (s *ResourceAccessAdditional) Decode(d *jx.Decoder) error
Decode decodes ResourceAccessAdditional from json.
func (ResourceAccessAdditional) Encode ¶ added in v0.7.6
func (s ResourceAccessAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ResourceAccessAdditional) MarshalJSON ¶ added in v0.7.6
func (s ResourceAccessAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourceAccessAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ResourceAccessAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RevokeProjectAccessByProviderNoContent ¶
type RevokeProjectAccessByProviderNoContent struct{}
RevokeProjectAccessByProviderNoContent is response for RevokeProjectAccessByProvider operation.
type RevokeProjectAccessByProviderParams ¶
type RevokeProjectAccessByProviderParams struct {
ProjectId string
Provider string
ProviderUserId string
}
RevokeProjectAccessByProviderParams is parameters of revokeProjectAccessByProvider operation.
type RevokeProjectAccessNoContent ¶
type RevokeProjectAccessNoContent struct{}
RevokeProjectAccessNoContent is response for RevokeProjectAccess operation.
type RevokeProjectAccessParams ¶
RevokeProjectAccessParams is parameters of revokeProjectAccess operation.
type RevokeRepoAccessByProviderNoContent ¶ added in v0.7.8
type RevokeRepoAccessByProviderNoContent struct{}
RevokeRepoAccessByProviderNoContent is response for RevokeRepoAccessByProvider operation.
type RevokeRepoAccessByProviderParams ¶ added in v0.7.8
type RevokeRepoAccessByProviderParams struct {
RepoId string
Provider string
ProviderUserId string
}
RevokeRepoAccessByProviderParams is parameters of revokeRepoAccessByProvider operation.
type RevokeRepoAccessNoContent ¶ added in v0.7.8
type RevokeRepoAccessNoContent struct{}
RevokeRepoAccessNoContent is response for RevokeRepoAccess operation.
type RevokeRepoAccessParams ¶ added in v0.7.8
RevokeRepoAccessParams is parameters of revokeRepoAccess operation.
type RevokeServiceAccountAccessNoContent ¶
type RevokeServiceAccountAccessNoContent struct{}
RevokeServiceAccountAccessNoContent is response for RevokeServiceAccountAccess operation.
type RevokeServiceAccountAccessParams ¶
type RevokeServiceAccountAccessParams struct {
AccountId string
ResourceType RevokeServiceAccountAccessResourceType
ResourceId string
}
RevokeServiceAccountAccessParams is parameters of revokeServiceAccountAccess operation.
type RevokeServiceAccountAccessResourceType ¶
type RevokeServiceAccountAccessResourceType string
const ( RevokeServiceAccountAccessResourceTypeRepo RevokeServiceAccountAccessResourceType = "repo" RevokeServiceAccountAccessResourceTypeProject RevokeServiceAccountAccessResourceType = "project" )
func (RevokeServiceAccountAccessResourceType) AllValues ¶
func (RevokeServiceAccountAccessResourceType) AllValues() []RevokeServiceAccountAccessResourceType
AllValues returns all RevokeServiceAccountAccessResourceType values.
func (RevokeServiceAccountAccessResourceType) MarshalText ¶
func (s RevokeServiceAccountAccessResourceType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*RevokeServiceAccountAccessResourceType) UnmarshalText ¶
func (s *RevokeServiceAccountAccessResourceType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (RevokeServiceAccountAccessResourceType) Validate ¶
func (s RevokeServiceAccountAccessResourceType) Validate() error
type SecuritySource ¶
type SecuritySource interface {
// BearerAuth provides bearerAuth security value.
// Bearer token minted by entire-core's device-code flow or STS exchange.
BearerAuth(ctx context.Context, operationName OperationName) (BearerAuth, error)
// SessionAuth provides sessionAuth security value.
// Console session cookie issued by the browser login flow.
SessionAuth(ctx context.Context, operationName OperationName) (SessionAuth, error)
}
SecuritySource is provider of security values (tokens, passwords, etc.).
type ServiceAccount ¶
type ServiceAccount struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
AccountId string `json:"accountId"`
CreatedAt time.Time `json:"createdAt"`
Name string `json:"name"`
OrgId string `json:"orgId"`
Status string `json:"status"`
SystemManaged bool `json:"systemManaged"`
AdditionalProps ServiceAccountAdditional
}
Ref: #/components/schemas/ServiceAccount
func (*ServiceAccount) Decode ¶
func (s *ServiceAccount) Decode(d *jx.Decoder) error
Decode decodes ServiceAccount from json.
func (*ServiceAccount) Encode ¶
func (s *ServiceAccount) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ServiceAccount) GetAccountId ¶
func (s *ServiceAccount) GetAccountId() string
GetAccountId returns the value of AccountId.
func (*ServiceAccount) GetAdditionalProps ¶ added in v0.7.6
func (s *ServiceAccount) GetAdditionalProps() ServiceAccountAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ServiceAccount) GetCreatedAt ¶
func (s *ServiceAccount) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*ServiceAccount) GetName ¶
func (s *ServiceAccount) GetName() string
GetName returns the value of Name.
func (*ServiceAccount) GetOrgId ¶
func (s *ServiceAccount) GetOrgId() string
GetOrgId returns the value of OrgId.
func (*ServiceAccount) GetSchema ¶
func (s *ServiceAccount) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ServiceAccount) GetStatus ¶
func (s *ServiceAccount) GetStatus() string
GetStatus returns the value of Status.
func (*ServiceAccount) GetSystemManaged ¶
func (s *ServiceAccount) GetSystemManaged() bool
GetSystemManaged returns the value of SystemManaged.
func (*ServiceAccount) MarshalJSON ¶
func (s *ServiceAccount) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ServiceAccount) SetAccountId ¶
func (s *ServiceAccount) SetAccountId(val string)
SetAccountId sets the value of AccountId.
func (*ServiceAccount) SetAdditionalProps ¶ added in v0.7.6
func (s *ServiceAccount) SetAdditionalProps(val ServiceAccountAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ServiceAccount) SetCreatedAt ¶
func (s *ServiceAccount) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*ServiceAccount) SetName ¶
func (s *ServiceAccount) SetName(val string)
SetName sets the value of Name.
func (*ServiceAccount) SetOrgId ¶
func (s *ServiceAccount) SetOrgId(val string)
SetOrgId sets the value of OrgId.
func (*ServiceAccount) SetSchema ¶
func (s *ServiceAccount) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ServiceAccount) SetStatus ¶
func (s *ServiceAccount) SetStatus(val string)
SetStatus sets the value of Status.
func (*ServiceAccount) SetSystemManaged ¶
func (s *ServiceAccount) SetSystemManaged(val bool)
SetSystemManaged sets the value of SystemManaged.
func (*ServiceAccount) UnmarshalJSON ¶
func (s *ServiceAccount) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ServiceAccountAdditional ¶ added in v0.7.6
func (*ServiceAccountAdditional) Decode ¶ added in v0.7.6
func (s *ServiceAccountAdditional) Decode(d *jx.Decoder) error
Decode decodes ServiceAccountAdditional from json.
func (ServiceAccountAdditional) Encode ¶ added in v0.7.6
func (s ServiceAccountAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ServiceAccountAdditional) MarshalJSON ¶ added in v0.7.6
func (s ServiceAccountAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ServiceAccountAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ServiceAccountAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ServiceAccountGrant ¶
type ServiceAccountGrant struct {
ResourceId string `json:"resourceId"`
ResourceName OptString `json:"resourceName"`
ResourceType string `json:"resourceType"`
Role string `json:"role"`
AdditionalProps ServiceAccountGrantAdditional
}
Ref: #/components/schemas/ServiceAccountGrant
func (*ServiceAccountGrant) Decode ¶
func (s *ServiceAccountGrant) Decode(d *jx.Decoder) error
Decode decodes ServiceAccountGrant from json.
func (*ServiceAccountGrant) Encode ¶
func (s *ServiceAccountGrant) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ServiceAccountGrant) GetAdditionalProps ¶ added in v0.7.6
func (s *ServiceAccountGrant) GetAdditionalProps() ServiceAccountGrantAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ServiceAccountGrant) GetResourceId ¶
func (s *ServiceAccountGrant) GetResourceId() string
GetResourceId returns the value of ResourceId.
func (*ServiceAccountGrant) GetResourceName ¶
func (s *ServiceAccountGrant) GetResourceName() OptString
GetResourceName returns the value of ResourceName.
func (*ServiceAccountGrant) GetResourceType ¶
func (s *ServiceAccountGrant) GetResourceType() string
GetResourceType returns the value of ResourceType.
func (*ServiceAccountGrant) GetRole ¶
func (s *ServiceAccountGrant) GetRole() string
GetRole returns the value of Role.
func (*ServiceAccountGrant) MarshalJSON ¶
func (s *ServiceAccountGrant) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ServiceAccountGrant) SetAdditionalProps ¶ added in v0.7.6
func (s *ServiceAccountGrant) SetAdditionalProps(val ServiceAccountGrantAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ServiceAccountGrant) SetResourceId ¶
func (s *ServiceAccountGrant) SetResourceId(val string)
SetResourceId sets the value of ResourceId.
func (*ServiceAccountGrant) SetResourceName ¶
func (s *ServiceAccountGrant) SetResourceName(val OptString)
SetResourceName sets the value of ResourceName.
func (*ServiceAccountGrant) SetResourceType ¶
func (s *ServiceAccountGrant) SetResourceType(val string)
SetResourceType sets the value of ResourceType.
func (*ServiceAccountGrant) SetRole ¶
func (s *ServiceAccountGrant) SetRole(val string)
SetRole sets the value of Role.
func (*ServiceAccountGrant) UnmarshalJSON ¶
func (s *ServiceAccountGrant) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ServiceAccountGrantAdditional ¶ added in v0.7.6
func (*ServiceAccountGrantAdditional) Decode ¶ added in v0.7.6
func (s *ServiceAccountGrantAdditional) Decode(d *jx.Decoder) error
Decode decodes ServiceAccountGrantAdditional from json.
func (ServiceAccountGrantAdditional) Encode ¶ added in v0.7.6
func (s ServiceAccountGrantAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ServiceAccountGrantAdditional) MarshalJSON ¶ added in v0.7.6
func (s ServiceAccountGrantAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ServiceAccountGrantAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ServiceAccountGrantAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ServiceAccountWithGrants ¶
type ServiceAccountWithGrants struct {
AccountId string `json:"accountId"`
CreatedAt time.Time `json:"createdAt"`
Grants []string `json:"grants"`
Name string `json:"name"`
OrgId string `json:"orgId"`
Status string `json:"status"`
SystemManaged bool `json:"systemManaged"`
AdditionalProps ServiceAccountWithGrantsAdditional
}
Ref: #/components/schemas/ServiceAccountWithGrants
func (*ServiceAccountWithGrants) Decode ¶
func (s *ServiceAccountWithGrants) Decode(d *jx.Decoder) error
Decode decodes ServiceAccountWithGrants from json.
func (*ServiceAccountWithGrants) Encode ¶
func (s *ServiceAccountWithGrants) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ServiceAccountWithGrants) GetAccountId ¶
func (s *ServiceAccountWithGrants) GetAccountId() string
GetAccountId returns the value of AccountId.
func (*ServiceAccountWithGrants) GetAdditionalProps ¶ added in v0.7.6
func (s *ServiceAccountWithGrants) GetAdditionalProps() ServiceAccountWithGrantsAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ServiceAccountWithGrants) GetCreatedAt ¶
func (s *ServiceAccountWithGrants) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*ServiceAccountWithGrants) GetGrants ¶
func (s *ServiceAccountWithGrants) GetGrants() []string
GetGrants returns the value of Grants.
func (*ServiceAccountWithGrants) GetName ¶
func (s *ServiceAccountWithGrants) GetName() string
GetName returns the value of Name.
func (*ServiceAccountWithGrants) GetOrgId ¶
func (s *ServiceAccountWithGrants) GetOrgId() string
GetOrgId returns the value of OrgId.
func (*ServiceAccountWithGrants) GetStatus ¶
func (s *ServiceAccountWithGrants) GetStatus() string
GetStatus returns the value of Status.
func (*ServiceAccountWithGrants) GetSystemManaged ¶
func (s *ServiceAccountWithGrants) GetSystemManaged() bool
GetSystemManaged returns the value of SystemManaged.
func (*ServiceAccountWithGrants) MarshalJSON ¶
func (s *ServiceAccountWithGrants) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ServiceAccountWithGrants) SetAccountId ¶
func (s *ServiceAccountWithGrants) SetAccountId(val string)
SetAccountId sets the value of AccountId.
func (*ServiceAccountWithGrants) SetAdditionalProps ¶ added in v0.7.6
func (s *ServiceAccountWithGrants) SetAdditionalProps(val ServiceAccountWithGrantsAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ServiceAccountWithGrants) SetCreatedAt ¶
func (s *ServiceAccountWithGrants) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*ServiceAccountWithGrants) SetGrants ¶
func (s *ServiceAccountWithGrants) SetGrants(val []string)
SetGrants sets the value of Grants.
func (*ServiceAccountWithGrants) SetName ¶
func (s *ServiceAccountWithGrants) SetName(val string)
SetName sets the value of Name.
func (*ServiceAccountWithGrants) SetOrgId ¶
func (s *ServiceAccountWithGrants) SetOrgId(val string)
SetOrgId sets the value of OrgId.
func (*ServiceAccountWithGrants) SetStatus ¶
func (s *ServiceAccountWithGrants) SetStatus(val string)
SetStatus sets the value of Status.
func (*ServiceAccountWithGrants) SetSystemManaged ¶
func (s *ServiceAccountWithGrants) SetSystemManaged(val bool)
SetSystemManaged sets the value of SystemManaged.
func (*ServiceAccountWithGrants) UnmarshalJSON ¶
func (s *ServiceAccountWithGrants) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ServiceAccountWithGrants) Validate ¶
func (s *ServiceAccountWithGrants) Validate() error
type ServiceAccountWithGrantsAdditional ¶ added in v0.7.6
func (*ServiceAccountWithGrantsAdditional) Decode ¶ added in v0.7.6
func (s *ServiceAccountWithGrantsAdditional) Decode(d *jx.Decoder) error
Decode decodes ServiceAccountWithGrantsAdditional from json.
func (ServiceAccountWithGrantsAdditional) Encode ¶ added in v0.7.6
func (s ServiceAccountWithGrantsAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ServiceAccountWithGrantsAdditional) MarshalJSON ¶ added in v0.7.6
func (s ServiceAccountWithGrantsAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ServiceAccountWithGrantsAdditional) UnmarshalJSON ¶ added in v0.7.6
func (s *ServiceAccountWithGrantsAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SessionAuth ¶
func (*SessionAuth) GetAPIKey ¶
func (s *SessionAuth) GetAPIKey() string
GetAPIKey returns the value of APIKey.
func (*SessionAuth) GetRoles ¶
func (s *SessionAuth) GetRoles() []string
GetRoles returns the value of Roles.
func (*SessionAuth) SetAPIKey ¶
func (s *SessionAuth) SetAPIKey(val string)
SetAPIKey sets the value of APIKey.
func (*SessionAuth) SetRoles ¶
func (s *SessionAuth) SetRoles(val []string)
SetRoles sets the value of Roles.
type SetRepoVisibilityInputBody ¶ added in v0.7.8
type SetRepoVisibilityInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Visibility SetRepoVisibilityInputBodyVisibility `json:"visibility"`
AdditionalProps SetRepoVisibilityInputBodyAdditional
}
Ref: #/components/schemas/SetRepoVisibilityInputBody
func (*SetRepoVisibilityInputBody) Decode ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBody) Decode(d *jx.Decoder) error
Decode decodes SetRepoVisibilityInputBody from json.
func (*SetRepoVisibilityInputBody) Encode ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SetRepoVisibilityInputBody) GetAdditionalProps ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBody) GetAdditionalProps() SetRepoVisibilityInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*SetRepoVisibilityInputBody) GetSchema ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*SetRepoVisibilityInputBody) GetVisibility ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBody) GetVisibility() SetRepoVisibilityInputBodyVisibility
GetVisibility returns the value of Visibility.
func (*SetRepoVisibilityInputBody) MarshalJSON ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SetRepoVisibilityInputBody) SetAdditionalProps ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBody) SetAdditionalProps(val SetRepoVisibilityInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*SetRepoVisibilityInputBody) SetSchema ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*SetRepoVisibilityInputBody) SetVisibility ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBody) SetVisibility(val SetRepoVisibilityInputBodyVisibility)
SetVisibility sets the value of Visibility.
func (*SetRepoVisibilityInputBody) UnmarshalJSON ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SetRepoVisibilityInputBody) Validate ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBody) Validate() error
type SetRepoVisibilityInputBodyAdditional ¶ added in v0.7.8
func (*SetRepoVisibilityInputBodyAdditional) Decode ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes SetRepoVisibilityInputBodyAdditional from json.
func (SetRepoVisibilityInputBodyAdditional) Encode ¶ added in v0.7.8
func (s SetRepoVisibilityInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (SetRepoVisibilityInputBodyAdditional) MarshalJSON ¶ added in v0.7.8
func (s SetRepoVisibilityInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SetRepoVisibilityInputBodyAdditional) UnmarshalJSON ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SetRepoVisibilityInputBodyVisibility ¶ added in v0.7.8
type SetRepoVisibilityInputBodyVisibility string
const ( SetRepoVisibilityInputBodyVisibilityPublic SetRepoVisibilityInputBodyVisibility = "public" SetRepoVisibilityInputBodyVisibilityPrivate SetRepoVisibilityInputBodyVisibility = "private" )
func (SetRepoVisibilityInputBodyVisibility) AllValues ¶ added in v0.7.8
func (SetRepoVisibilityInputBodyVisibility) AllValues() []SetRepoVisibilityInputBodyVisibility
AllValues returns all SetRepoVisibilityInputBodyVisibility values.
func (*SetRepoVisibilityInputBodyVisibility) Decode ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBodyVisibility) Decode(d *jx.Decoder) error
Decode decodes SetRepoVisibilityInputBodyVisibility from json.
func (SetRepoVisibilityInputBodyVisibility) Encode ¶ added in v0.7.8
func (s SetRepoVisibilityInputBodyVisibility) Encode(e *jx.Encoder)
Encode encodes SetRepoVisibilityInputBodyVisibility as json.
func (SetRepoVisibilityInputBodyVisibility) MarshalJSON ¶ added in v0.7.8
func (s SetRepoVisibilityInputBodyVisibility) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (SetRepoVisibilityInputBodyVisibility) MarshalText ¶ added in v0.7.8
func (s SetRepoVisibilityInputBodyVisibility) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*SetRepoVisibilityInputBodyVisibility) UnmarshalJSON ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBodyVisibility) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SetRepoVisibilityInputBodyVisibility) UnmarshalText ¶ added in v0.7.8
func (s *SetRepoVisibilityInputBodyVisibility) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (SetRepoVisibilityInputBodyVisibility) Validate ¶ added in v0.7.8
func (s SetRepoVisibilityInputBodyVisibility) Validate() error
type SetRepoVisibilityOutputBody ¶ added in v0.7.8
type SetRepoVisibilityOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Visibility SetRepoVisibilityOutputBodyVisibility `json:"visibility"`
AdditionalProps SetRepoVisibilityOutputBodyAdditional
}
Ref: #/components/schemas/SetRepoVisibilityOutputBody
func (*SetRepoVisibilityOutputBody) Decode ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBody) Decode(d *jx.Decoder) error
Decode decodes SetRepoVisibilityOutputBody from json.
func (*SetRepoVisibilityOutputBody) Encode ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SetRepoVisibilityOutputBody) GetAdditionalProps ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBody) GetAdditionalProps() SetRepoVisibilityOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*SetRepoVisibilityOutputBody) GetSchema ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*SetRepoVisibilityOutputBody) GetVisibility ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBody) GetVisibility() SetRepoVisibilityOutputBodyVisibility
GetVisibility returns the value of Visibility.
func (*SetRepoVisibilityOutputBody) MarshalJSON ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SetRepoVisibilityOutputBody) SetAdditionalProps ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBody) SetAdditionalProps(val SetRepoVisibilityOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*SetRepoVisibilityOutputBody) SetSchema ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*SetRepoVisibilityOutputBody) SetVisibility ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBody) SetVisibility(val SetRepoVisibilityOutputBodyVisibility)
SetVisibility sets the value of Visibility.
func (*SetRepoVisibilityOutputBody) UnmarshalJSON ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SetRepoVisibilityOutputBody) Validate ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBody) Validate() error
type SetRepoVisibilityOutputBodyAdditional ¶ added in v0.7.8
func (*SetRepoVisibilityOutputBodyAdditional) Decode ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes SetRepoVisibilityOutputBodyAdditional from json.
func (SetRepoVisibilityOutputBodyAdditional) Encode ¶ added in v0.7.8
func (s SetRepoVisibilityOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (SetRepoVisibilityOutputBodyAdditional) MarshalJSON ¶ added in v0.7.8
func (s SetRepoVisibilityOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SetRepoVisibilityOutputBodyAdditional) UnmarshalJSON ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SetRepoVisibilityOutputBodyVisibility ¶ added in v0.7.8
type SetRepoVisibilityOutputBodyVisibility string
const ( SetRepoVisibilityOutputBodyVisibilityPublic SetRepoVisibilityOutputBodyVisibility = "public" SetRepoVisibilityOutputBodyVisibilityPrivate SetRepoVisibilityOutputBodyVisibility = "private" )
func (SetRepoVisibilityOutputBodyVisibility) AllValues ¶ added in v0.7.8
func (SetRepoVisibilityOutputBodyVisibility) AllValues() []SetRepoVisibilityOutputBodyVisibility
AllValues returns all SetRepoVisibilityOutputBodyVisibility values.
func (*SetRepoVisibilityOutputBodyVisibility) Decode ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBodyVisibility) Decode(d *jx.Decoder) error
Decode decodes SetRepoVisibilityOutputBodyVisibility from json.
func (SetRepoVisibilityOutputBodyVisibility) Encode ¶ added in v0.7.8
func (s SetRepoVisibilityOutputBodyVisibility) Encode(e *jx.Encoder)
Encode encodes SetRepoVisibilityOutputBodyVisibility as json.
func (SetRepoVisibilityOutputBodyVisibility) MarshalJSON ¶ added in v0.7.8
func (s SetRepoVisibilityOutputBodyVisibility) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (SetRepoVisibilityOutputBodyVisibility) MarshalText ¶ added in v0.7.8
func (s SetRepoVisibilityOutputBodyVisibility) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*SetRepoVisibilityOutputBodyVisibility) UnmarshalJSON ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBodyVisibility) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SetRepoVisibilityOutputBodyVisibility) UnmarshalText ¶ added in v0.7.8
func (s *SetRepoVisibilityOutputBodyVisibility) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (SetRepoVisibilityOutputBodyVisibility) Validate ¶ added in v0.7.8
func (s SetRepoVisibilityOutputBodyVisibility) Validate() error
type SetRepoVisibilityParams ¶ added in v0.7.8
type SetRepoVisibilityParams struct {
RepoId string
}
SetRepoVisibilityParams is parameters of setRepoVisibility operation.
type TopologyCluster ¶ added in v0.9.0
type TopologyCluster struct {
// DNS host of this cluster; pass verbatim as clusterHost to POST /api/v1/mirrors.
Host string `json:"host"`
IsDefault bool `json:"isDefault"`
// Human cluster label (the cluster's display name).
Label string `json:"label"`
PublicUrl string `json:"publicUrl"`
Slug string `json:"slug"`
AdditionalProps TopologyClusterAdditional
}
Ref: #/components/schemas/TopologyCluster
func (*TopologyCluster) Decode ¶ added in v0.9.0
func (s *TopologyCluster) Decode(d *jx.Decoder) error
Decode decodes TopologyCluster from json.
func (*TopologyCluster) Encode ¶ added in v0.9.0
func (s *TopologyCluster) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TopologyCluster) GetAdditionalProps ¶ added in v0.9.0
func (s *TopologyCluster) GetAdditionalProps() TopologyClusterAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*TopologyCluster) GetHost ¶ added in v0.9.0
func (s *TopologyCluster) GetHost() string
GetHost returns the value of Host.
func (*TopologyCluster) GetIsDefault ¶ added in v0.9.0
func (s *TopologyCluster) GetIsDefault() bool
GetIsDefault returns the value of IsDefault.
func (*TopologyCluster) GetLabel ¶ added in v0.9.0
func (s *TopologyCluster) GetLabel() string
GetLabel returns the value of Label.
func (*TopologyCluster) GetPublicUrl ¶ added in v0.9.0
func (s *TopologyCluster) GetPublicUrl() string
GetPublicUrl returns the value of PublicUrl.
func (*TopologyCluster) GetSlug ¶ added in v0.9.0
func (s *TopologyCluster) GetSlug() string
GetSlug returns the value of Slug.
func (*TopologyCluster) MarshalJSON ¶ added in v0.9.0
func (s *TopologyCluster) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TopologyCluster) SetAdditionalProps ¶ added in v0.9.0
func (s *TopologyCluster) SetAdditionalProps(val TopologyClusterAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*TopologyCluster) SetHost ¶ added in v0.9.0
func (s *TopologyCluster) SetHost(val string)
SetHost sets the value of Host.
func (*TopologyCluster) SetIsDefault ¶ added in v0.9.0
func (s *TopologyCluster) SetIsDefault(val bool)
SetIsDefault sets the value of IsDefault.
func (*TopologyCluster) SetLabel ¶ added in v0.9.0
func (s *TopologyCluster) SetLabel(val string)
SetLabel sets the value of Label.
func (*TopologyCluster) SetPublicUrl ¶ added in v0.9.0
func (s *TopologyCluster) SetPublicUrl(val string)
SetPublicUrl sets the value of PublicUrl.
func (*TopologyCluster) SetSlug ¶ added in v0.9.0
func (s *TopologyCluster) SetSlug(val string)
SetSlug sets the value of Slug.
func (*TopologyCluster) UnmarshalJSON ¶ added in v0.9.0
func (s *TopologyCluster) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TopologyClusterAdditional ¶ added in v0.9.0
func (*TopologyClusterAdditional) Decode ¶ added in v0.9.0
func (s *TopologyClusterAdditional) Decode(d *jx.Decoder) error
Decode decodes TopologyClusterAdditional from json.
func (TopologyClusterAdditional) Encode ¶ added in v0.9.0
func (s TopologyClusterAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TopologyClusterAdditional) MarshalJSON ¶ added in v0.9.0
func (s TopologyClusterAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TopologyClusterAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *TopologyClusterAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TopologyJurisdiction ¶ added in v0.9.0
type TopologyJurisdiction struct {
// Jurisdiction id from the cluster registry (e.g. "us").
ID string `json:"id"`
Label string `json:"label"`
Regions []TopologyRegion `json:"regions"`
AdditionalProps TopologyJurisdictionAdditional
}
Ref: #/components/schemas/TopologyJurisdiction
func (*TopologyJurisdiction) Decode ¶ added in v0.9.0
func (s *TopologyJurisdiction) Decode(d *jx.Decoder) error
Decode decodes TopologyJurisdiction from json.
func (*TopologyJurisdiction) Encode ¶ added in v0.9.0
func (s *TopologyJurisdiction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TopologyJurisdiction) GetAdditionalProps ¶ added in v0.9.0
func (s *TopologyJurisdiction) GetAdditionalProps() TopologyJurisdictionAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*TopologyJurisdiction) GetID ¶ added in v0.9.0
func (s *TopologyJurisdiction) GetID() string
GetID returns the value of ID.
func (*TopologyJurisdiction) GetLabel ¶ added in v0.9.0
func (s *TopologyJurisdiction) GetLabel() string
GetLabel returns the value of Label.
func (*TopologyJurisdiction) GetRegions ¶ added in v0.9.0
func (s *TopologyJurisdiction) GetRegions() []TopologyRegion
GetRegions returns the value of Regions.
func (*TopologyJurisdiction) MarshalJSON ¶ added in v0.9.0
func (s *TopologyJurisdiction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TopologyJurisdiction) SetAdditionalProps ¶ added in v0.9.0
func (s *TopologyJurisdiction) SetAdditionalProps(val TopologyJurisdictionAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*TopologyJurisdiction) SetID ¶ added in v0.9.0
func (s *TopologyJurisdiction) SetID(val string)
SetID sets the value of ID.
func (*TopologyJurisdiction) SetLabel ¶ added in v0.9.0
func (s *TopologyJurisdiction) SetLabel(val string)
SetLabel sets the value of Label.
func (*TopologyJurisdiction) SetRegions ¶ added in v0.9.0
func (s *TopologyJurisdiction) SetRegions(val []TopologyRegion)
SetRegions sets the value of Regions.
func (*TopologyJurisdiction) UnmarshalJSON ¶ added in v0.9.0
func (s *TopologyJurisdiction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TopologyJurisdiction) Validate ¶ added in v0.9.0
func (s *TopologyJurisdiction) Validate() error
type TopologyJurisdictionAdditional ¶ added in v0.9.0
func (*TopologyJurisdictionAdditional) Decode ¶ added in v0.9.0
func (s *TopologyJurisdictionAdditional) Decode(d *jx.Decoder) error
Decode decodes TopologyJurisdictionAdditional from json.
func (TopologyJurisdictionAdditional) Encode ¶ added in v0.9.0
func (s TopologyJurisdictionAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TopologyJurisdictionAdditional) MarshalJSON ¶ added in v0.9.0
func (s TopologyJurisdictionAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TopologyJurisdictionAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *TopologyJurisdictionAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TopologyRegion ¶ added in v0.9.0
type TopologyRegion struct {
Clusters []TopologyCluster `json:"clusters"`
// Region id (the cell id from the cluster registry).
ID string `json:"id"`
Label string `json:"label"`
AdditionalProps TopologyRegionAdditional
}
Ref: #/components/schemas/TopologyRegion
func (*TopologyRegion) Decode ¶ added in v0.9.0
func (s *TopologyRegion) Decode(d *jx.Decoder) error
Decode decodes TopologyRegion from json.
func (*TopologyRegion) Encode ¶ added in v0.9.0
func (s *TopologyRegion) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TopologyRegion) GetAdditionalProps ¶ added in v0.9.0
func (s *TopologyRegion) GetAdditionalProps() TopologyRegionAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*TopologyRegion) GetClusters ¶ added in v0.9.0
func (s *TopologyRegion) GetClusters() []TopologyCluster
GetClusters returns the value of Clusters.
func (*TopologyRegion) GetID ¶ added in v0.9.0
func (s *TopologyRegion) GetID() string
GetID returns the value of ID.
func (*TopologyRegion) GetLabel ¶ added in v0.9.0
func (s *TopologyRegion) GetLabel() string
GetLabel returns the value of Label.
func (*TopologyRegion) MarshalJSON ¶ added in v0.9.0
func (s *TopologyRegion) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TopologyRegion) SetAdditionalProps ¶ added in v0.9.0
func (s *TopologyRegion) SetAdditionalProps(val TopologyRegionAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*TopologyRegion) SetClusters ¶ added in v0.9.0
func (s *TopologyRegion) SetClusters(val []TopologyCluster)
SetClusters sets the value of Clusters.
func (*TopologyRegion) SetID ¶ added in v0.9.0
func (s *TopologyRegion) SetID(val string)
SetID sets the value of ID.
func (*TopologyRegion) SetLabel ¶ added in v0.9.0
func (s *TopologyRegion) SetLabel(val string)
SetLabel sets the value of Label.
func (*TopologyRegion) UnmarshalJSON ¶ added in v0.9.0
func (s *TopologyRegion) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TopologyRegion) Validate ¶ added in v0.9.0
func (s *TopologyRegion) Validate() error
type TopologyRegionAdditional ¶ added in v0.9.0
func (*TopologyRegionAdditional) Decode ¶ added in v0.9.0
func (s *TopologyRegionAdditional) Decode(d *jx.Decoder) error
Decode decodes TopologyRegionAdditional from json.
func (TopologyRegionAdditional) Encode ¶ added in v0.9.0
func (s TopologyRegionAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TopologyRegionAdditional) MarshalJSON ¶ added in v0.9.0
func (s TopologyRegionAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TopologyRegionAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *TopologyRegionAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type WillDeleteStruct ¶ added in v0.9.0
type WillDeleteStruct struct {
// Blanket note: profile PII is erased across all regions the account has data in (per-region
// residency is not globally tracked).
ProfileDataNote string `json:"profileDataNote"`
// Repos in the account's home region that will be permanently deleted (personal + mirror).
// Foreign-region repos are also erased by the fan-out but not enumerated here.
Repos []DeletionRepo `json:"repos"`
AdditionalProps WillDeleteStructAdditional
}
Ref: #/components/schemas/WillDeleteStruct
func (*WillDeleteStruct) Decode ¶ added in v0.9.0
func (s *WillDeleteStruct) Decode(d *jx.Decoder) error
Decode decodes WillDeleteStruct from json.
func (*WillDeleteStruct) Encode ¶ added in v0.9.0
func (s *WillDeleteStruct) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WillDeleteStruct) GetAdditionalProps ¶ added in v0.9.0
func (s *WillDeleteStruct) GetAdditionalProps() WillDeleteStructAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*WillDeleteStruct) GetProfileDataNote ¶ added in v0.9.0
func (s *WillDeleteStruct) GetProfileDataNote() string
GetProfileDataNote returns the value of ProfileDataNote.
func (*WillDeleteStruct) GetRepos ¶ added in v0.9.0
func (s *WillDeleteStruct) GetRepos() []DeletionRepo
GetRepos returns the value of Repos.
func (*WillDeleteStruct) MarshalJSON ¶ added in v0.9.0
func (s *WillDeleteStruct) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WillDeleteStruct) SetAdditionalProps ¶ added in v0.9.0
func (s *WillDeleteStruct) SetAdditionalProps(val WillDeleteStructAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*WillDeleteStruct) SetProfileDataNote ¶ added in v0.9.0
func (s *WillDeleteStruct) SetProfileDataNote(val string)
SetProfileDataNote sets the value of ProfileDataNote.
func (*WillDeleteStruct) SetRepos ¶ added in v0.9.0
func (s *WillDeleteStruct) SetRepos(val []DeletionRepo)
SetRepos sets the value of Repos.
func (*WillDeleteStruct) UnmarshalJSON ¶ added in v0.9.0
func (s *WillDeleteStruct) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WillDeleteStruct) Validate ¶ added in v0.9.0
func (s *WillDeleteStruct) Validate() error
type WillDeleteStructAdditional ¶ added in v0.9.0
func (*WillDeleteStructAdditional) Decode ¶ added in v0.9.0
func (s *WillDeleteStructAdditional) Decode(d *jx.Decoder) error
Decode decodes WillDeleteStructAdditional from json.
func (WillDeleteStructAdditional) Encode ¶ added in v0.9.0
func (s WillDeleteStructAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (WillDeleteStructAdditional) MarshalJSON ¶ added in v0.9.0
func (s WillDeleteStructAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WillDeleteStructAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *WillDeleteStructAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type WillUnlinkStruct ¶ added in v0.9.0
type WillUnlinkStruct struct {
// Collaborator grants that will be unlinked.
Grants []DeletionGrant `json:"grants"`
// Org memberships that will be dropped (non-owned).
Memberships []DeletionMembership `json:"memberships"`
AdditionalProps WillUnlinkStructAdditional
}
Ref: #/components/schemas/WillUnlinkStruct
func (*WillUnlinkStruct) Decode ¶ added in v0.9.0
func (s *WillUnlinkStruct) Decode(d *jx.Decoder) error
Decode decodes WillUnlinkStruct from json.
func (*WillUnlinkStruct) Encode ¶ added in v0.9.0
func (s *WillUnlinkStruct) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WillUnlinkStruct) GetAdditionalProps ¶ added in v0.9.0
func (s *WillUnlinkStruct) GetAdditionalProps() WillUnlinkStructAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*WillUnlinkStruct) GetGrants ¶ added in v0.9.0
func (s *WillUnlinkStruct) GetGrants() []DeletionGrant
GetGrants returns the value of Grants.
func (*WillUnlinkStruct) GetMemberships ¶ added in v0.9.0
func (s *WillUnlinkStruct) GetMemberships() []DeletionMembership
GetMemberships returns the value of Memberships.
func (*WillUnlinkStruct) MarshalJSON ¶ added in v0.9.0
func (s *WillUnlinkStruct) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WillUnlinkStruct) SetAdditionalProps ¶ added in v0.9.0
func (s *WillUnlinkStruct) SetAdditionalProps(val WillUnlinkStructAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*WillUnlinkStruct) SetGrants ¶ added in v0.9.0
func (s *WillUnlinkStruct) SetGrants(val []DeletionGrant)
SetGrants sets the value of Grants.
func (*WillUnlinkStruct) SetMemberships ¶ added in v0.9.0
func (s *WillUnlinkStruct) SetMemberships(val []DeletionMembership)
SetMemberships sets the value of Memberships.
func (*WillUnlinkStruct) UnmarshalJSON ¶ added in v0.9.0
func (s *WillUnlinkStruct) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WillUnlinkStruct) Validate ¶ added in v0.9.0
func (s *WillUnlinkStruct) Validate() error
type WillUnlinkStructAdditional ¶ added in v0.9.0
func (*WillUnlinkStructAdditional) Decode ¶ added in v0.9.0
func (s *WillUnlinkStructAdditional) Decode(d *jx.Decoder) error
Decode decodes WillUnlinkStructAdditional from json.
func (WillUnlinkStructAdditional) Encode ¶ added in v0.9.0
func (s WillUnlinkStructAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (WillUnlinkStructAdditional) MarshalJSON ¶ added in v0.9.0
func (s WillUnlinkStructAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WillUnlinkStructAdditional) UnmarshalJSON ¶ added in v0.9.0
func (s *WillUnlinkStructAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.