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.
Code generated by ogen, DO NOT EDIT.
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 AcceptInvitationInputBody
- func (s *AcceptInvitationInputBody) Decode(d *jx.Decoder) error
- func (s *AcceptInvitationInputBody) Encode(e *jx.Encoder)
- func (s *AcceptInvitationInputBody) GetAdditionalProps() AcceptInvitationInputBodyAdditional
- func (s *AcceptInvitationInputBody) GetSchema() OptURI
- func (s *AcceptInvitationInputBody) GetToken() string
- func (s *AcceptInvitationInputBody) MarshalJSON() ([]byte, error)
- func (s *AcceptInvitationInputBody) SetAdditionalProps(val AcceptInvitationInputBodyAdditional)
- func (s *AcceptInvitationInputBody) SetSchema(val OptURI)
- func (s *AcceptInvitationInputBody) SetToken(val string)
- func (s *AcceptInvitationInputBody) UnmarshalJSON(data []byte) error
- func (s *AcceptInvitationInputBody) Validate() error
- type AcceptInvitationInputBodyAdditional
- type AcceptInvitationOK
- func (s *AcceptInvitationOK) Decode(d *jx.Decoder) error
- func (s *AcceptInvitationOK) Encode(e *jx.Encoder)
- func (s *AcceptInvitationOK) GetAdditionalProps() AcceptInvitationOKAdditional
- func (s *AcceptInvitationOK) GetMembership() Membership
- func (s *AcceptInvitationOK) GetOrgId() string
- func (s *AcceptInvitationOK) GetOrgName() string
- func (s *AcceptInvitationOK) MarshalJSON() ([]byte, error)
- func (s *AcceptInvitationOK) SetAdditionalProps(val AcceptInvitationOKAdditional)
- func (s *AcceptInvitationOK) SetMembership(val Membership)
- func (s *AcceptInvitationOK) SetOrgId(val string)
- func (s *AcceptInvitationOK) SetOrgName(val string)
- func (s *AcceptInvitationOK) UnmarshalJSON(data []byte) error
- type AcceptInvitationOKAdditional
- type AcceptInvitationRes
- type AcceptedInvitation
- func (s *AcceptedInvitation) Decode(d *jx.Decoder) error
- func (s *AcceptedInvitation) Encode(e *jx.Encoder)
- func (s *AcceptedInvitation) GetAdditionalProps() AcceptedInvitationAdditional
- func (s *AcceptedInvitation) GetMembership() Membership
- func (s *AcceptedInvitation) GetOrgId() string
- func (s *AcceptedInvitation) GetOrgName() string
- func (s *AcceptedInvitation) GetSchema() OptURI
- func (s *AcceptedInvitation) MarshalJSON() ([]byte, error)
- func (s *AcceptedInvitation) SetAdditionalProps(val AcceptedInvitationAdditional)
- func (s *AcceptedInvitation) SetMembership(val Membership)
- func (s *AcceptedInvitation) SetOrgId(val string)
- func (s *AcceptedInvitation) SetOrgName(val string)
- func (s *AcceptedInvitation) SetSchema(val OptURI)
- func (s *AcceptedInvitation) UnmarshalJSON(data []byte) error
- type AcceptedInvitationAdditional
- type AccountIdentity
- func (s *AccountIdentity) Decode(d *jx.Decoder) error
- func (s *AccountIdentity) Encode(e *jx.Encoder)
- func (s *AccountIdentity) GetAdditionalProps() AccountIdentityAdditional
- func (s *AccountIdentity) GetAvatarUrl() OptString
- func (s *AccountIdentity) GetDisplayName() OptString
- func (s *AccountIdentity) GetHandles() []AccountProfileHandle
- func (s *AccountIdentity) MarshalJSON() ([]byte, error)
- func (s *AccountIdentity) SetAdditionalProps(val AccountIdentityAdditional)
- func (s *AccountIdentity) SetAvatarUrl(val OptString)
- func (s *AccountIdentity) SetDisplayName(val OptString)
- func (s *AccountIdentity) SetHandles(val []AccountProfileHandle)
- func (s *AccountIdentity) UnmarshalJSON(data []byte) error
- func (s *AccountIdentity) Validate() error
- type AccountIdentityAdditional
- type AccountProfile
- func (s *AccountProfile) Decode(d *jx.Decoder) error
- func (s *AccountProfile) Encode(e *jx.Encoder)
- func (s *AccountProfile) GetAccountId() string
- func (s *AccountProfile) GetAdditionalProps() AccountProfileAdditional
- func (s *AccountProfile) GetAvatarUrl() OptString
- func (s *AccountProfile) GetDisplayName() OptString
- func (s *AccountProfile) GetHandles() []AccountProfileHandle
- func (s *AccountProfile) GetOrganizations() []AccountProfileOrganization
- func (s *AccountProfile) GetSchema() OptURI
- func (s *AccountProfile) MarshalJSON() ([]byte, error)
- func (s *AccountProfile) SetAccountId(val string)
- func (s *AccountProfile) SetAdditionalProps(val AccountProfileAdditional)
- func (s *AccountProfile) SetAvatarUrl(val OptString)
- func (s *AccountProfile) SetDisplayName(val OptString)
- func (s *AccountProfile) SetHandles(val []AccountProfileHandle)
- func (s *AccountProfile) SetOrganizations(val []AccountProfileOrganization)
- func (s *AccountProfile) SetSchema(val OptURI)
- func (s *AccountProfile) UnmarshalJSON(data []byte) error
- func (s *AccountProfile) Validate() error
- type AccountProfileAdditional
- type AccountProfileHandle
- func (s *AccountProfileHandle) Decode(d *jx.Decoder) error
- func (s *AccountProfileHandle) Encode(e *jx.Encoder)
- func (s *AccountProfileHandle) GetAdditionalProps() AccountProfileHandleAdditional
- func (s *AccountProfileHandle) GetHandle() string
- func (s *AccountProfileHandle) GetIsPrimary() bool
- func (s *AccountProfileHandle) GetProvider() string
- func (s *AccountProfileHandle) MarshalJSON() ([]byte, error)
- func (s *AccountProfileHandle) SetAdditionalProps(val AccountProfileHandleAdditional)
- func (s *AccountProfileHandle) SetHandle(val string)
- func (s *AccountProfileHandle) SetIsPrimary(val bool)
- func (s *AccountProfileHandle) SetProvider(val string)
- func (s *AccountProfileHandle) UnmarshalJSON(data []byte) error
- type AccountProfileHandleAdditional
- type AccountProfileHeaders
- type AccountProfileOrganization
- func (s *AccountProfileOrganization) Decode(d *jx.Decoder) error
- func (s *AccountProfileOrganization) Encode(e *jx.Encoder)
- func (s *AccountProfileOrganization) GetAdditionalProps() AccountProfileOrganizationAdditional
- func (s *AccountProfileOrganization) GetID() string
- func (s *AccountProfileOrganization) GetName() string
- func (s *AccountProfileOrganization) MarshalJSON() ([]byte, error)
- func (s *AccountProfileOrganization) SetAdditionalProps(val AccountProfileOrganizationAdditional)
- func (s *AccountProfileOrganization) SetID(val string)
- func (s *AccountProfileOrganization) SetName(val string)
- func (s *AccountProfileOrganization) UnmarshalJSON(data []byte) error
- type AccountProfileOrganizationAdditional
- 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) GetPushedAt() OptDateTime
- 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) SetPushedAt(val OptDateTime)
- 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 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 BranchProtection
- func (s *BranchProtection) Decode(d *jx.Decoder) error
- func (s *BranchProtection) Encode(e *jx.Encoder)
- func (s *BranchProtection) GetAdditionalProps() BranchProtectionAdditional
- func (s *BranchProtection) GetRules() []BranchRule
- func (s *BranchProtection) GetSchema() OptURI
- func (s *BranchProtection) MarshalJSON() ([]byte, error)
- func (s *BranchProtection) SetAdditionalProps(val BranchProtectionAdditional)
- func (s *BranchProtection) SetRules(val []BranchRule)
- func (s *BranchProtection) SetSchema(val OptURI)
- func (s *BranchProtection) UnmarshalJSON(data []byte) error
- func (s *BranchProtection) Validate() error
- type BranchProtectionAdditional
- type BranchRule
- func (s *BranchRule) Decode(d *jx.Decoder) error
- func (s *BranchRule) Encode(e *jx.Encoder)
- func (s *BranchRule) GetAdditionalProps() BranchRuleAdditional
- func (s *BranchRule) GetRef() string
- func (s *BranchRule) GetServerSideMergeOnly() OptBool
- func (s *BranchRule) MarshalJSON() ([]byte, error)
- func (s *BranchRule) SetAdditionalProps(val BranchRuleAdditional)
- func (s *BranchRule) SetRef(val string)
- func (s *BranchRule) SetServerSideMergeOnly(val OptBool)
- func (s *BranchRule) UnmarshalJSON(data []byte) error
- type BranchRuleAdditional
- type BranchRuleUpdate
- func (s *BranchRuleUpdate) Decode(d *jx.Decoder) error
- func (s *BranchRuleUpdate) Encode(e *jx.Encoder)
- func (s *BranchRuleUpdate) GetAdditionalProps() BranchRuleUpdateAdditional
- func (s *BranchRuleUpdate) GetRef() string
- func (s *BranchRuleUpdate) GetServerSideMergeOnly() OptBool
- func (s *BranchRuleUpdate) MarshalJSON() ([]byte, error)
- func (s *BranchRuleUpdate) SetAdditionalProps(val BranchRuleUpdateAdditional)
- func (s *BranchRuleUpdate) SetRef(val string)
- func (s *BranchRuleUpdate) SetServerSideMergeOnly(val OptBool)
- func (s *BranchRuleUpdate) UnmarshalJSON(data []byte) error
- type BranchRuleUpdateAdditional
- type CIBuildView
- func (s *CIBuildView) Decode(d *jx.Decoder) error
- func (s *CIBuildView) Encode(e *jx.Encoder)
- func (s *CIBuildView) GetAdditionalProps() CIBuildViewAdditional
- func (s *CIBuildView) GetBkBuildUUID() string
- func (s *CIBuildView) GetBkOrganization() string
- func (s *CIBuildView) GetBkPipeline() string
- func (s *CIBuildView) GetBranch() string
- func (s *CIBuildView) GetBuildNumber() int64
- func (s *CIBuildView) GetCommit() string
- func (s *CIBuildView) GetCreatedAt() OptDateTime
- func (s *CIBuildView) GetEventAt() time.Time
- func (s *CIBuildView) GetFinishedAt() OptDateTime
- func (s *CIBuildView) GetJobs() []CIJobView
- func (s *CIBuildView) GetLastEvent() string
- func (s *CIBuildView) GetMessage() string
- func (s *CIBuildView) GetStale() bool
- func (s *CIBuildView) GetStartedAt() OptDateTime
- func (s *CIBuildView) GetState() string
- func (s *CIBuildView) GetTerminal() bool
- func (s *CIBuildView) GetUpdatedAt() time.Time
- func (s *CIBuildView) GetWebURL() string
- func (s *CIBuildView) MarshalJSON() ([]byte, error)
- func (s *CIBuildView) SetAdditionalProps(val CIBuildViewAdditional)
- func (s *CIBuildView) SetBkBuildUUID(val string)
- func (s *CIBuildView) SetBkOrganization(val string)
- func (s *CIBuildView) SetBkPipeline(val string)
- func (s *CIBuildView) SetBranch(val string)
- func (s *CIBuildView) SetBuildNumber(val int64)
- func (s *CIBuildView) SetCommit(val string)
- func (s *CIBuildView) SetCreatedAt(val OptDateTime)
- func (s *CIBuildView) SetEventAt(val time.Time)
- func (s *CIBuildView) SetFinishedAt(val OptDateTime)
- func (s *CIBuildView) SetJobs(val []CIJobView)
- func (s *CIBuildView) SetLastEvent(val string)
- func (s *CIBuildView) SetMessage(val string)
- func (s *CIBuildView) SetStale(val bool)
- func (s *CIBuildView) SetStartedAt(val OptDateTime)
- func (s *CIBuildView) SetState(val string)
- func (s *CIBuildView) SetTerminal(val bool)
- func (s *CIBuildView) SetUpdatedAt(val time.Time)
- func (s *CIBuildView) SetWebURL(val string)
- func (s *CIBuildView) UnmarshalJSON(data []byte) error
- func (s *CIBuildView) Validate() error
- type CIBuildViewAdditional
- type CIDeliveryDetailView
- func (s *CIDeliveryDetailView) Decode(d *jx.Decoder) error
- func (s *CIDeliveryDetailView) Encode(e *jx.Encoder)
- func (s *CIDeliveryDetailView) GetAccount() OptString
- func (s *CIDeliveryDetailView) GetAdditionalProps() CIDeliveryDetailViewAdditional
- func (s *CIDeliveryDetailView) GetAt() time.Time
- func (s *CIDeliveryDetailView) GetAttemptCount() OptInt64
- func (s *CIDeliveryDetailView) GetCompletedAt() OptDateTime
- func (s *CIDeliveryDetailView) GetDirection() string
- func (s *CIDeliveryDetailView) GetDisplayName() OptString
- func (s *CIDeliveryDetailView) GetDurationMs() OptInt64
- func (s *CIDeliveryDetailView) GetEvent() OptString
- func (s *CIDeliveryDetailView) GetHTTPStatus() OptInt64
- func (s *CIDeliveryDetailView) GetID() string
- func (s *CIDeliveryDetailView) GetNewTarget() OptString
- func (s *CIDeliveryDetailView) GetOldTarget() OptString
- func (s *CIDeliveryDetailView) GetOutcome() string
- func (s *CIDeliveryDetailView) GetPayload() OptCIDeliveryPayloadView
- func (s *CIDeliveryDetailView) GetPayloadAbsent() OptString
- func (s *CIDeliveryDetailView) GetProvider() string
- func (s *CIDeliveryDetailView) GetRef() OptString
- func (s *CIDeliveryDetailView) GetRefOp() OptString
- func (s *CIDeliveryDetailView) GetRepoID() OptString
- func (s *CIDeliveryDetailView) GetSchema() OptURI
- func (s *CIDeliveryDetailView) GetState() OptString
- func (s *CIDeliveryDetailView) GetSubscriptionID() OptString
- func (s *CIDeliveryDetailView) GetTarget() OptString
- func (s *CIDeliveryDetailView) GetWireRequestID() OptString
- func (s *CIDeliveryDetailView) MarshalJSON() ([]byte, error)
- func (s *CIDeliveryDetailView) SetAccount(val OptString)
- func (s *CIDeliveryDetailView) SetAdditionalProps(val CIDeliveryDetailViewAdditional)
- func (s *CIDeliveryDetailView) SetAt(val time.Time)
- func (s *CIDeliveryDetailView) SetAttemptCount(val OptInt64)
- func (s *CIDeliveryDetailView) SetCompletedAt(val OptDateTime)
- func (s *CIDeliveryDetailView) SetDirection(val string)
- func (s *CIDeliveryDetailView) SetDisplayName(val OptString)
- func (s *CIDeliveryDetailView) SetDurationMs(val OptInt64)
- func (s *CIDeliveryDetailView) SetEvent(val OptString)
- func (s *CIDeliveryDetailView) SetHTTPStatus(val OptInt64)
- func (s *CIDeliveryDetailView) SetID(val string)
- func (s *CIDeliveryDetailView) SetNewTarget(val OptString)
- func (s *CIDeliveryDetailView) SetOldTarget(val OptString)
- func (s *CIDeliveryDetailView) SetOutcome(val string)
- func (s *CIDeliveryDetailView) SetPayload(val OptCIDeliveryPayloadView)
- func (s *CIDeliveryDetailView) SetPayloadAbsent(val OptString)
- func (s *CIDeliveryDetailView) SetProvider(val string)
- func (s *CIDeliveryDetailView) SetRef(val OptString)
- func (s *CIDeliveryDetailView) SetRefOp(val OptString)
- func (s *CIDeliveryDetailView) SetRepoID(val OptString)
- func (s *CIDeliveryDetailView) SetSchema(val OptURI)
- func (s *CIDeliveryDetailView) SetState(val OptString)
- func (s *CIDeliveryDetailView) SetSubscriptionID(val OptString)
- func (s *CIDeliveryDetailView) SetTarget(val OptString)
- func (s *CIDeliveryDetailView) SetWireRequestID(val OptString)
- func (s *CIDeliveryDetailView) UnmarshalJSON(data []byte) error
- type CIDeliveryDetailViewAdditional
- type CIDeliveryPayloadView
- func (s *CIDeliveryPayloadView) Decode(d *jx.Decoder) error
- func (s *CIDeliveryPayloadView) Encode(e *jx.Encoder)
- func (s *CIDeliveryPayloadView) GetAdditionalProps() CIDeliveryPayloadViewAdditional
- func (s *CIDeliveryPayloadView) GetEndpoint() string
- func (s *CIDeliveryPayloadView) GetFromAttempt() int64
- func (s *CIDeliveryPayloadView) GetRequestBody() string
- func (s *CIDeliveryPayloadView) GetRequestHeaders() CIDeliveryPayloadViewRequestHeaders
- func (s *CIDeliveryPayloadView) GetRequestTruncated() bool
- func (s *CIDeliveryPayloadView) GetResponseBody() string
- func (s *CIDeliveryPayloadView) GetResponsePresent() bool
- func (s *CIDeliveryPayloadView) GetResponseTruncated() bool
- func (s *CIDeliveryPayloadView) MarshalJSON() ([]byte, error)
- func (s *CIDeliveryPayloadView) SetAdditionalProps(val CIDeliveryPayloadViewAdditional)
- func (s *CIDeliveryPayloadView) SetEndpoint(val string)
- func (s *CIDeliveryPayloadView) SetFromAttempt(val int64)
- func (s *CIDeliveryPayloadView) SetRequestBody(val string)
- func (s *CIDeliveryPayloadView) SetRequestHeaders(val CIDeliveryPayloadViewRequestHeaders)
- func (s *CIDeliveryPayloadView) SetRequestTruncated(val bool)
- func (s *CIDeliveryPayloadView) SetResponseBody(val string)
- func (s *CIDeliveryPayloadView) SetResponsePresent(val bool)
- func (s *CIDeliveryPayloadView) SetResponseTruncated(val bool)
- func (s *CIDeliveryPayloadView) UnmarshalJSON(data []byte) error
- type CIDeliveryPayloadViewAdditional
- type CIDeliveryPayloadViewRequestHeaders
- type CIDeliveryView
- func (s *CIDeliveryView) Decode(d *jx.Decoder) error
- func (s *CIDeliveryView) Encode(e *jx.Encoder)
- func (s *CIDeliveryView) GetAccount() OptString
- func (s *CIDeliveryView) GetAdditionalProps() CIDeliveryViewAdditional
- func (s *CIDeliveryView) GetAt() time.Time
- func (s *CIDeliveryView) GetAttemptCount() OptInt64
- func (s *CIDeliveryView) GetCompletedAt() OptDateTime
- func (s *CIDeliveryView) GetDirection() string
- func (s *CIDeliveryView) GetDisplayName() OptString
- func (s *CIDeliveryView) GetDurationMs() OptInt64
- func (s *CIDeliveryView) GetEvent() OptString
- func (s *CIDeliveryView) GetHTTPStatus() OptInt64
- func (s *CIDeliveryView) GetID() string
- func (s *CIDeliveryView) GetNewTarget() OptString
- func (s *CIDeliveryView) GetOldTarget() OptString
- func (s *CIDeliveryView) GetOutcome() string
- func (s *CIDeliveryView) GetProvider() string
- func (s *CIDeliveryView) GetRef() OptString
- func (s *CIDeliveryView) GetRefOp() OptString
- func (s *CIDeliveryView) GetRepoID() OptString
- func (s *CIDeliveryView) GetState() OptString
- func (s *CIDeliveryView) GetSubscriptionID() OptString
- func (s *CIDeliveryView) GetTarget() OptString
- func (s *CIDeliveryView) GetWireRequestID() OptString
- func (s *CIDeliveryView) MarshalJSON() ([]byte, error)
- func (s *CIDeliveryView) SetAccount(val OptString)
- func (s *CIDeliveryView) SetAdditionalProps(val CIDeliveryViewAdditional)
- func (s *CIDeliveryView) SetAt(val time.Time)
- func (s *CIDeliveryView) SetAttemptCount(val OptInt64)
- func (s *CIDeliveryView) SetCompletedAt(val OptDateTime)
- func (s *CIDeliveryView) SetDirection(val string)
- func (s *CIDeliveryView) SetDisplayName(val OptString)
- func (s *CIDeliveryView) SetDurationMs(val OptInt64)
- func (s *CIDeliveryView) SetEvent(val OptString)
- func (s *CIDeliveryView) SetHTTPStatus(val OptInt64)
- func (s *CIDeliveryView) SetID(val string)
- func (s *CIDeliveryView) SetNewTarget(val OptString)
- func (s *CIDeliveryView) SetOldTarget(val OptString)
- func (s *CIDeliveryView) SetOutcome(val string)
- func (s *CIDeliveryView) SetProvider(val string)
- func (s *CIDeliveryView) SetRef(val OptString)
- func (s *CIDeliveryView) SetRefOp(val OptString)
- func (s *CIDeliveryView) SetRepoID(val OptString)
- func (s *CIDeliveryView) SetState(val OptString)
- func (s *CIDeliveryView) SetSubscriptionID(val OptString)
- func (s *CIDeliveryView) SetTarget(val OptString)
- func (s *CIDeliveryView) SetWireRequestID(val OptString)
- func (s *CIDeliveryView) UnmarshalJSON(data []byte) error
- type CIDeliveryViewAdditional
- type CIJobView
- func (s *CIJobView) Decode(d *jx.Decoder) error
- func (s *CIJobView) Encode(e *jx.Encoder)
- func (s *CIJobView) GetAdditionalProps() CIJobViewAdditional
- func (s *CIJobView) GetBkJobID() string
- func (s *CIJobView) GetExitStatus() OptInt64
- func (s *CIJobView) GetFinishedAt() OptDateTime
- func (s *CIJobView) GetName() string
- func (s *CIJobView) GetStartedAt() OptDateTime
- func (s *CIJobView) GetState() string
- func (s *CIJobView) GetStepKey() string
- func (s *CIJobView) GetType() string
- func (s *CIJobView) MarshalJSON() ([]byte, error)
- func (s *CIJobView) SetAdditionalProps(val CIJobViewAdditional)
- func (s *CIJobView) SetBkJobID(val string)
- func (s *CIJobView) SetExitStatus(val OptInt64)
- func (s *CIJobView) SetFinishedAt(val OptDateTime)
- func (s *CIJobView) SetName(val string)
- func (s *CIJobView) SetStartedAt(val OptDateTime)
- func (s *CIJobView) SetState(val string)
- func (s *CIJobView) SetStepKey(val string)
- func (s *CIJobView) SetType(val string)
- func (s *CIJobView) UnmarshalJSON(data []byte) error
- type CIJobViewAdditional
- type CIProviderDescriptor
- func (s *CIProviderDescriptor) Decode(d *jx.Decoder) error
- func (s *CIProviderDescriptor) Encode(e *jx.Encoder)
- func (s *CIProviderDescriptor) GetAdditionalProps() CIProviderDescriptorAdditional
- func (s *CIProviderDescriptor) GetEnrollable() bool
- func (s *CIProviderDescriptor) GetFields() []CIProviderField
- func (s *CIProviderDescriptor) GetLabel() string
- func (s *CIProviderDescriptor) GetModes() []CIProviderMode
- func (s *CIProviderDescriptor) GetName() string
- func (s *CIProviderDescriptor) GetReason() OptString
- func (s *CIProviderDescriptor) MarshalJSON() ([]byte, error)
- func (s *CIProviderDescriptor) SetAdditionalProps(val CIProviderDescriptorAdditional)
- func (s *CIProviderDescriptor) SetEnrollable(val bool)
- func (s *CIProviderDescriptor) SetFields(val []CIProviderField)
- func (s *CIProviderDescriptor) SetLabel(val string)
- func (s *CIProviderDescriptor) SetModes(val []CIProviderMode)
- func (s *CIProviderDescriptor) SetName(val string)
- func (s *CIProviderDescriptor) SetReason(val OptString)
- func (s *CIProviderDescriptor) UnmarshalJSON(data []byte) error
- func (s *CIProviderDescriptor) Validate() error
- type CIProviderDescriptorAdditional
- type CIProviderField
- func (s *CIProviderField) Decode(d *jx.Decoder) error
- func (s *CIProviderField) Encode(e *jx.Encoder)
- func (s *CIProviderField) GetAdditionalProps() CIProviderFieldAdditional
- func (s *CIProviderField) GetHelp() OptString
- func (s *CIProviderField) GetKey() string
- func (s *CIProviderField) GetKind() string
- func (s *CIProviderField) GetLabel() string
- func (s *CIProviderField) GetOptions() []CIProviderOption
- func (s *CIProviderField) GetPlaceholder() OptString
- func (s *CIProviderField) GetRequiredIn() []string
- func (s *CIProviderField) GetTarget() string
- func (s *CIProviderField) MarshalJSON() ([]byte, error)
- func (s *CIProviderField) SetAdditionalProps(val CIProviderFieldAdditional)
- func (s *CIProviderField) SetHelp(val OptString)
- func (s *CIProviderField) SetKey(val string)
- func (s *CIProviderField) SetKind(val string)
- func (s *CIProviderField) SetLabel(val string)
- func (s *CIProviderField) SetOptions(val []CIProviderOption)
- func (s *CIProviderField) SetPlaceholder(val OptString)
- func (s *CIProviderField) SetRequiredIn(val []string)
- func (s *CIProviderField) SetTarget(val string)
- func (s *CIProviderField) UnmarshalJSON(data []byte) error
- func (s *CIProviderField) Validate() error
- type CIProviderFieldAdditional
- type CIProviderMode
- func (s *CIProviderMode) Decode(d *jx.Decoder) error
- func (s *CIProviderMode) Encode(e *jx.Encoder)
- func (s *CIProviderMode) GetAdditionalProps() CIProviderModeAdditional
- func (s *CIProviderMode) GetDefault() OptBool
- func (s *CIProviderMode) GetHelp() OptString
- func (s *CIProviderMode) GetKey() string
- func (s *CIProviderMode) GetLabel() string
- func (s *CIProviderMode) MarshalJSON() ([]byte, error)
- func (s *CIProviderMode) SetAdditionalProps(val CIProviderModeAdditional)
- func (s *CIProviderMode) SetDefault(val OptBool)
- func (s *CIProviderMode) SetHelp(val OptString)
- func (s *CIProviderMode) SetKey(val string)
- func (s *CIProviderMode) SetLabel(val string)
- func (s *CIProviderMode) UnmarshalJSON(data []byte) error
- type CIProviderModeAdditional
- type CIProviderOption
- func (s *CIProviderOption) Decode(d *jx.Decoder) error
- func (s *CIProviderOption) Encode(e *jx.Encoder)
- func (s *CIProviderOption) GetAdditionalProps() CIProviderOptionAdditional
- func (s *CIProviderOption) GetLabel() string
- func (s *CIProviderOption) GetValue() string
- func (s *CIProviderOption) MarshalJSON() ([]byte, error)
- func (s *CIProviderOption) SetAdditionalProps(val CIProviderOptionAdditional)
- func (s *CIProviderOption) SetLabel(val string)
- func (s *CIProviderOption) SetValue(val string)
- func (s *CIProviderOption) UnmarshalJSON(data []byte) error
- type CIProviderOptionAdditional
- type CISetupBlock
- func (s *CISetupBlock) Decode(d *jx.Decoder) error
- func (s *CISetupBlock) Encode(e *jx.Encoder)
- func (s *CISetupBlock) GetAdditionalProps() CISetupBlockAdditional
- func (s *CISetupBlock) GetContent() string
- func (s *CISetupBlock) GetFormat() string
- func (s *CISetupBlock) GetHeading() string
- func (s *CISetupBlock) MarshalJSON() ([]byte, error)
- func (s *CISetupBlock) SetAdditionalProps(val CISetupBlockAdditional)
- func (s *CISetupBlock) SetContent(val string)
- func (s *CISetupBlock) SetFormat(val string)
- func (s *CISetupBlock) SetHeading(val string)
- func (s *CISetupBlock) UnmarshalJSON(data []byte) error
- type CISetupBlockAdditional
- type CIWebhookAuditActor
- func (s *CIWebhookAuditActor) Decode(d *jx.Decoder) error
- func (s *CIWebhookAuditActor) Encode(e *jx.Encoder)
- func (s *CIWebhookAuditActor) GetAccountID() string
- func (s *CIWebhookAuditActor) GetAdditionalProps() CIWebhookAuditActorAdditional
- func (s *CIWebhookAuditActor) GetHandle() OptString
- func (s *CIWebhookAuditActor) GetHandleProvider() OptString
- func (s *CIWebhookAuditActor) MarshalJSON() ([]byte, error)
- func (s *CIWebhookAuditActor) SetAccountID(val string)
- func (s *CIWebhookAuditActor) SetAdditionalProps(val CIWebhookAuditActorAdditional)
- func (s *CIWebhookAuditActor) SetHandle(val OptString)
- func (s *CIWebhookAuditActor) SetHandleProvider(val OptString)
- func (s *CIWebhookAuditActor) UnmarshalJSON(data []byte) error
- type CIWebhookAuditActorAdditional
- type CIWebhookAuditEventView
- func (s *CIWebhookAuditEventView) Decode(d *jx.Decoder) error
- func (s *CIWebhookAuditEventView) Encode(e *jx.Encoder)
- func (s *CIWebhookAuditEventView) GetActor() CIWebhookAuditActor
- func (s *CIWebhookAuditEventView) GetAdditionalProps() CIWebhookAuditEventViewAdditional
- func (s *CIWebhookAuditEventView) GetEventType() string
- func (s *CIWebhookAuditEventView) GetID() string
- func (s *CIWebhookAuditEventView) GetMetadata() OptCIWebhookAuditEventViewMetadata
- func (s *CIWebhookAuditEventView) GetOccurredAt() time.Time
- func (s *CIWebhookAuditEventView) MarshalJSON() ([]byte, error)
- func (s *CIWebhookAuditEventView) SetActor(val CIWebhookAuditActor)
- func (s *CIWebhookAuditEventView) SetAdditionalProps(val CIWebhookAuditEventViewAdditional)
- func (s *CIWebhookAuditEventView) SetEventType(val string)
- func (s *CIWebhookAuditEventView) SetID(val string)
- func (s *CIWebhookAuditEventView) SetMetadata(val OptCIWebhookAuditEventViewMetadata)
- func (s *CIWebhookAuditEventView) SetOccurredAt(val time.Time)
- func (s *CIWebhookAuditEventView) UnmarshalJSON(data []byte) error
- type CIWebhookAuditEventViewAdditional
- type CIWebhookAuditEventViewMetadata
- 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) GetProviderAccount() string
- func (s *CIWebhookView) GetPublishChecks() bool
- func (s *CIWebhookView) GetRefFilter() string
- func (s *CIWebhookView) GetRepoID() string
- func (s *CIWebhookView) GetRepoWrite() bool
- func (s *CIWebhookView) GetSchema() OptURI
- func (s *CIWebhookView) GetTargetRef() string
- 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) SetProviderAccount(val string)
- func (s *CIWebhookView) SetPublishChecks(val bool)
- func (s *CIWebhookView) SetRefFilter(val string)
- func (s *CIWebhookView) SetRepoID(val string)
- func (s *CIWebhookView) SetRepoWrite(val bool)
- func (s *CIWebhookView) SetSchema(val OptURI)
- func (s *CIWebhookView) SetTargetRef(val string)
- 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) AcceptInvitation(ctx context.Context, request *AcceptInvitationInputBody) (AcceptInvitationRes, error)
- func (c *Client) AddOrgMember(ctx context.Context, request *AddOrgMemberInputBody, params AddOrgMemberParams) (*Membership, error)
- func (c *Client) CancelDeletion(ctx context.Context) error
- func (c *Client) CompleteOnboarding(ctx context.Context) (*CompleteOnboardingOutputBody, error)
- func (c *Client) ConnectOrgCIBuildkiteCredential(ctx context.Context, request *ConnectOrgCIBuildkiteCredentialInputBody, ...) (*OrgCIBuildkiteCredentialView, error)
- func (c *Client) ConnectOrgCIDepotOrganization(ctx context.Context, request *ConnectOrgCIDepotOrganizationInputBody, ...) (*OrgCIDepotConnectionView, error)
- func (c *Client) CoreOrigin() string
- func (c *Client) CreateBinding(ctx context.Context, request *CreateBindingInputBody, ...) (*Binding, error)
- func (c *Client) CreateMirrorRequest(ctx context.Context, request *CreateMirrorRequestInputBody) (*MirrorRequestHeaders, error)
- func (c *Client) CreateNativeMirror(ctx context.Context, request *CreateNativeMirrorInputBody, ...) (*NativeMirrorPlacement, error)
- func (c *Client) CreateOrg(ctx context.Context, request *CreateOrgInputBody) (*CreatedOrgHeaders, error)
- func (c *Client) CreateOrgInvitation(ctx context.Context, request *CreateOrgInvitationInputBody, ...) (CreateOrgInvitationRes, error)
- func (c *Client) CreatePluginInstallation(ctx context.Context, request *CreatePluginInstallationInputBody, ...) (*PluginInstallation, error)
- func (c *Client) CreateProject(ctx context.Context, request *CreateProjectInputBody) (*CreatedProjectHeaders, error)
- func (c *Client) CreateRepo(ctx context.Context, request *CreateRepoInputBody) (*CreatedRepoHeaders, error)
- func (c *Client) CreateRepoCIWebhook(ctx context.Context, request *CreateRepoCIWebhookInputBody, ...) (*CreateRepoCIWebhookBody, 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) DeleteNativeMirror(ctx context.Context, params DeleteNativeMirrorParams) (*NativeMirrorPlacement, error)
- func (c *Client) DeleteOrg(ctx context.Context, params DeleteOrgParams) (*DeleteOrgNoContent, error)
- func (c *Client) DeleteOrgCIBuildkiteCluster(ctx context.Context, params DeleteOrgCIBuildkiteClusterParams) error
- func (c *Client) DeleteOrgCIBuildkiteCredential(ctx context.Context, params DeleteOrgCIBuildkiteCredentialParams) error
- func (c *Client) DeletePluginInstallation(ctx context.Context, params DeletePluginInstallationParams) error
- func (c *Client) DeleteProject(ctx context.Context, params DeleteProjectParams) (*DeleteProjectNoContent, error)
- func (c *Client) DeleteRepo(ctx context.Context, params DeleteRepoParams) (*DeleteRepoNoContent, error)
- func (c *Client) DeleteRepoCIWebhook(ctx context.Context, params DeleteRepoCIWebhookParams) error
- func (c *Client) DeleteServiceAccount(ctx context.Context, params DeleteServiceAccountParams) error
- func (c *Client) DetachMyHandle(ctx context.Context, params DetachMyHandleParams) error
- func (c *Client) DisconnectOrgCIDepotOrganization(ctx context.Context, params DisconnectOrgCIDepotOrganizationParams) error
- func (c *Client) GetAccountProfile(ctx context.Context, params GetAccountProfileParams) (*AccountProfileHeaders, error)
- func (c *Client) GetBranchProtection(ctx context.Context, params GetBranchProtectionParams) (*BranchProtection, 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) GetMirrorRequest(ctx context.Context, params GetMirrorRequestParams) (*MirrorRequest, error)
- func (c *Client) GetOnboardingStatus(ctx context.Context) (*GetOnboardingStatusOutputBody, error)
- func (c *Client) GetOrg(ctx context.Context, params GetOrgParams) (*Org, error)
- func (c *Client) GetOrgPersonAccess(ctx context.Context, params GetOrgPersonAccessParams) (*OrgPersonHeaders, error)
- func (c *Client) GetProject(ctx context.Context, params GetProjectParams) (*Project, error)
- func (c *Client) GetRepo(ctx context.Context, params GetRepoParams) (*RepoHeaders, error)
- func (c *Client) GetRepoCIDelivery(ctx context.Context, params GetRepoCIDeliveryParams) (*CIDeliveryDetailView, 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 *GrantAccessBody, params GrantProjectAccessParams) (*GrantProjectAccessOutputBody, error)
- func (c *Client) GrantRepoAccess(ctx context.Context, request *GrantAccessBody, params GrantRepoAccessParams) (*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) ListNativeMirrors(ctx context.Context, params ListNativeMirrorsParams) (*ListNativeMirrorsOutputBody, error)
- func (c *Client) ListOIDCProviders(ctx context.Context, params ListOIDCProvidersParams) (*ListOIDCProvidersOutputBody, error)
- func (c *Client) ListOrgCIBuildkiteClusters(ctx context.Context, params ListOrgCIBuildkiteClustersParams) (*ListOrgCIBuildkiteClustersOutputBody, error)
- func (c *Client) ListOrgCIBuildkiteCredentials(ctx context.Context, params ListOrgCIBuildkiteCredentialsParams) (*ListOrgCIBuildkiteCredentialsOutputBody, error)
- func (c *Client) ListOrgCIDepotOrganizations(ctx context.Context, params ListOrgCIDepotOrganizationsParams) (*ListOrgCIDepotOrganizationsOutputBody, error)
- func (c *Client) ListOrgInvitations(ctx context.Context, params ListOrgInvitationsParams) (*ListOrgInvitationsOutputBody, error)
- func (c *Client) ListOrgMembers(ctx context.Context, params ListOrgMembersParams) (*ListOrgMembersOutputBody, error)
- func (c *Client) ListOrgPeople(ctx context.Context, params ListOrgPeopleParams) (*ListOrgPeopleOutputBodyHeaders, 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) ListPluginInstallations(ctx context.Context, params ListPluginInstallationsParams) (*ListPluginInstallationsOutputBody, error)
- func (c *Client) ListProjectCollaborators(ctx context.Context, params ListProjectCollaboratorsParams) (*ListProjectCollaboratorsOutputBodyHeaders, error)
- func (c *Client) ListProjectMembers(ctx context.Context, params ListProjectMembersParams) (*ListProjectMembersOutputBody, error)
- func (c *Client) ListProjectPeople(ctx context.Context, params ListProjectPeopleParams) (*ResourcePeopleOutputBody, 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) ListRepoCIBuilds(ctx context.Context, params ListRepoCIBuildsParams) (*ListRepoCIBuildsOutputBody, error)
- func (c *Client) ListRepoCIDeliveries(ctx context.Context, params ListRepoCIDeliveriesParams) (*ListRepoCIDeliveriesOutputBody, error)
- func (c *Client) ListRepoCIProviders(ctx context.Context, params ListRepoCIProvidersParams) (*ListRepoCIProvidersOutputBody, error)
- func (c *Client) ListRepoCIWebhookAudit(ctx context.Context, params ListRepoCIWebhookAuditParams) (*ListRepoCIWebhookAuditOutputBody, error)
- func (c *Client) ListRepoCIWebhooks(ctx context.Context, params ListRepoCIWebhooksParams) (*ListRepoCIWebhooksOutputBody, error)
- func (c *Client) ListRepoCollaborators(ctx context.Context, params ListRepoCollaboratorsParams) (*ListRepoCollaboratorsOutputBody, error)
- func (c *Client) ListRepoGrants(ctx context.Context, params ListRepoGrantsParams) (*ListRepoGrantsOutputBody, error)
- func (c *Client) ListRepoLanguageFacets(ctx context.Context, params ListRepoLanguageFacetsParams) (*RepoFacetPage, error)
- func (c *Client) ListRepoOrgFacets(ctx context.Context, params ListRepoOrgFacetsParams) (*RepoFacetPage, error)
- func (c *Client) ListRepoPeople(ctx context.Context, params ListRepoPeopleParams) (*ResourcePeopleOutputBody, 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) MintOrgCIGitHubActionsCredential(ctx context.Context, request *MintOrgCIGitHubActionsCredentialInputBody, ...) (*OrgCIGitHubActionsCredentialView, error)
- func (c *Client) PatchRepoCIWebhook(ctx context.Context, request *PatchRepoCIWebhookInputBody, ...) (*CIWebhookView, error)
- func (c *Client) PreviewInvitation(ctx context.Context, request *PreviewInvitationInputBody) (*PreviewInvitationOKHeaders, error)
- func (c *Client) RegisterOrgCIBuildkiteCluster(ctx context.Context, request *RegisterOrgCIBuildkiteClusterInputBody, ...) (*OrgCIBuildkiteClusterView, error)
- func (c *Client) RemoveOrgMember(ctx context.Context, params RemoveOrgMemberParams) error
- func (c *Client) RemoveOrgMemberByMembershipID(ctx context.Context, params RemoveOrgMemberByMembershipIDParams) error
- func (c *Client) RemovePluginInstallationRepository(ctx context.Context, params RemovePluginInstallationRepositoryParams) 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) ResolveProject(ctx context.Context, params ResolveProjectParams) (*ResolveProjectOutputBody, error)
- func (c *Client) ResolveRepoIDs(ctx context.Context, request *ResolveRepoIDsInputBody) (*ResolveRepoIDsResponse, error)
- func (c *Client) ResolveRepos(ctx context.Context, request *ResolveReposInputBody) (*ResolveReposResponse, error)
- func (c *Client) RevokeOrgInvitation(ctx context.Context, params RevokeOrgInvitationParams) 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) RotateOrgCIBuildkiteInboundSecret(ctx context.Context, params RotateOrgCIBuildkiteInboundSecretParams) (*OrgCIBuildkiteCredentialView, error)
- func (c *Client) SetBranchProtection(ctx context.Context, request *BranchProtection, ...) (*BranchProtection, error)
- func (c *Client) SetPluginInstallationRepositories(ctx context.Context, request *SetPluginInstallationRepositoriesInputBody, ...) (*PluginInstallationView, error)
- func (c *Client) SetRepoVisibility(ctx context.Context, request *SetRepoVisibilityInputBody, ...) (*SetRepoVisibilityOutputBody, error)
- func (c *Client) UpdateBranchProtection(ctx context.Context, request *UpdateBranchProtectionInputBody, ...) (*BranchProtection, error)
- func (c *Client) UpdateOrgMemberRole(ctx context.Context, request *UpdateOrgMemberRoleInputBody, ...) (*Membership, 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 ConnectOrgCIBuildkiteCredentialInputBody
- func (s *ConnectOrgCIBuildkiteCredentialInputBody) Decode(d *jx.Decoder) error
- func (s *ConnectOrgCIBuildkiteCredentialInputBody) Encode(e *jx.Encoder)
- func (s *ConnectOrgCIBuildkiteCredentialInputBody) GetAdditionalProps() ConnectOrgCIBuildkiteCredentialInputBodyAdditional
- func (s *ConnectOrgCIBuildkiteCredentialInputBody) GetBkAPIToken() string
- func (s *ConnectOrgCIBuildkiteCredentialInputBody) GetBkOrganization() string
- func (s *ConnectOrgCIBuildkiteCredentialInputBody) GetSchema() OptURI
- func (s *ConnectOrgCIBuildkiteCredentialInputBody) MarshalJSON() ([]byte, error)
- func (s *ConnectOrgCIBuildkiteCredentialInputBody) SetAdditionalProps(val ConnectOrgCIBuildkiteCredentialInputBodyAdditional)
- func (s *ConnectOrgCIBuildkiteCredentialInputBody) SetBkAPIToken(val string)
- func (s *ConnectOrgCIBuildkiteCredentialInputBody) SetBkOrganization(val string)
- func (s *ConnectOrgCIBuildkiteCredentialInputBody) SetSchema(val OptURI)
- func (s *ConnectOrgCIBuildkiteCredentialInputBody) UnmarshalJSON(data []byte) error
- func (s *ConnectOrgCIBuildkiteCredentialInputBody) Validate() error
- type ConnectOrgCIBuildkiteCredentialInputBodyAdditional
- func (s *ConnectOrgCIBuildkiteCredentialInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ConnectOrgCIBuildkiteCredentialInputBodyAdditional) Encode(e *jx.Encoder)
- func (s ConnectOrgCIBuildkiteCredentialInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ConnectOrgCIBuildkiteCredentialInputBodyAdditional) UnmarshalJSON(data []byte) error
- type ConnectOrgCIBuildkiteCredentialParams
- type ConnectOrgCIDepotOrganizationInputBody
- func (s *ConnectOrgCIDepotOrganizationInputBody) Decode(d *jx.Decoder) error
- func (s *ConnectOrgCIDepotOrganizationInputBody) Encode(e *jx.Encoder)
- func (s *ConnectOrgCIDepotOrganizationInputBody) GetAccount() string
- func (s *ConnectOrgCIDepotOrganizationInputBody) GetAdditionalProps() ConnectOrgCIDepotOrganizationInputBodyAdditional
- func (s *ConnectOrgCIDepotOrganizationInputBody) GetSchema() OptURI
- func (s *ConnectOrgCIDepotOrganizationInputBody) MarshalJSON() ([]byte, error)
- func (s *ConnectOrgCIDepotOrganizationInputBody) SetAccount(val string)
- func (s *ConnectOrgCIDepotOrganizationInputBody) SetAdditionalProps(val ConnectOrgCIDepotOrganizationInputBodyAdditional)
- func (s *ConnectOrgCIDepotOrganizationInputBody) SetSchema(val OptURI)
- func (s *ConnectOrgCIDepotOrganizationInputBody) UnmarshalJSON(data []byte) error
- func (s *ConnectOrgCIDepotOrganizationInputBody) Validate() error
- type ConnectOrgCIDepotOrganizationInputBodyAdditional
- func (s *ConnectOrgCIDepotOrganizationInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ConnectOrgCIDepotOrganizationInputBodyAdditional) Encode(e *jx.Encoder)
- func (s ConnectOrgCIDepotOrganizationInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ConnectOrgCIDepotOrganizationInputBodyAdditional) UnmarshalJSON(data []byte) error
- type ConnectOrgCIDepotOrganizationParams
- 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 CreateMirrorRequestInputBody
- func (s *CreateMirrorRequestInputBody) Decode(d *jx.Decoder) error
- func (s *CreateMirrorRequestInputBody) Encode(e *jx.Encoder)
- func (s *CreateMirrorRequestInputBody) GetAdditionalProps() CreateMirrorRequestInputBodyAdditional
- func (s *CreateMirrorRequestInputBody) GetClusterHost() string
- func (s *CreateMirrorRequestInputBody) GetOwner() string
- func (s *CreateMirrorRequestInputBody) GetProvider() CreateMirrorRequestInputBodyProvider
- func (s *CreateMirrorRequestInputBody) GetRepo() string
- func (s *CreateMirrorRequestInputBody) GetSchema() OptURI
- func (s *CreateMirrorRequestInputBody) MarshalJSON() ([]byte, error)
- func (s *CreateMirrorRequestInputBody) SetAdditionalProps(val CreateMirrorRequestInputBodyAdditional)
- func (s *CreateMirrorRequestInputBody) SetClusterHost(val string)
- func (s *CreateMirrorRequestInputBody) SetOwner(val string)
- func (s *CreateMirrorRequestInputBody) SetProvider(val CreateMirrorRequestInputBodyProvider)
- func (s *CreateMirrorRequestInputBody) SetRepo(val string)
- func (s *CreateMirrorRequestInputBody) SetSchema(val OptURI)
- func (s *CreateMirrorRequestInputBody) UnmarshalJSON(data []byte) error
- func (s *CreateMirrorRequestInputBody) Validate() error
- type CreateMirrorRequestInputBodyAdditional
- func (s *CreateMirrorRequestInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s CreateMirrorRequestInputBodyAdditional) Encode(e *jx.Encoder)
- func (s CreateMirrorRequestInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *CreateMirrorRequestInputBodyAdditional) UnmarshalJSON(data []byte) error
- type CreateMirrorRequestInputBodyProvider
- func (CreateMirrorRequestInputBodyProvider) AllValues() []CreateMirrorRequestInputBodyProvider
- func (s *CreateMirrorRequestInputBodyProvider) Decode(d *jx.Decoder) error
- func (s CreateMirrorRequestInputBodyProvider) Encode(e *jx.Encoder)
- func (s CreateMirrorRequestInputBodyProvider) MarshalJSON() ([]byte, error)
- func (s CreateMirrorRequestInputBodyProvider) MarshalText() ([]byte, error)
- func (s *CreateMirrorRequestInputBodyProvider) UnmarshalJSON(data []byte) error
- func (s *CreateMirrorRequestInputBodyProvider) UnmarshalText(data []byte) error
- func (s CreateMirrorRequestInputBodyProvider) Validate() error
- type CreateNativeMirrorInputBody
- func (s *CreateNativeMirrorInputBody) Decode(d *jx.Decoder) error
- func (s *CreateNativeMirrorInputBody) Encode(e *jx.Encoder)
- func (s *CreateNativeMirrorInputBody) GetAdditionalProps() CreateNativeMirrorInputBodyAdditional
- func (s *CreateNativeMirrorInputBody) GetClusterSlug() string
- func (s *CreateNativeMirrorInputBody) GetSchema() OptURI
- func (s *CreateNativeMirrorInputBody) MarshalJSON() ([]byte, error)
- func (s *CreateNativeMirrorInputBody) SetAdditionalProps(val CreateNativeMirrorInputBodyAdditional)
- func (s *CreateNativeMirrorInputBody) SetClusterSlug(val string)
- func (s *CreateNativeMirrorInputBody) SetSchema(val OptURI)
- func (s *CreateNativeMirrorInputBody) UnmarshalJSON(data []byte) error
- func (s *CreateNativeMirrorInputBody) Validate() error
- type CreateNativeMirrorInputBodyAdditional
- func (s *CreateNativeMirrorInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s CreateNativeMirrorInputBodyAdditional) Encode(e *jx.Encoder)
- func (s CreateNativeMirrorInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *CreateNativeMirrorInputBodyAdditional) UnmarshalJSON(data []byte) error
- type CreateNativeMirrorParams
- 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 CreateOrgInvitationCreated
- func (s *CreateOrgInvitationCreated) Decode(d *jx.Decoder) error
- func (s *CreateOrgInvitationCreated) Encode(e *jx.Encoder)
- func (s *CreateOrgInvitationCreated) MarshalJSON() ([]byte, error)
- func (s *CreateOrgInvitationCreated) UnmarshalJSON(data []byte) error
- func (s *CreateOrgInvitationCreated) Validate() error
- type CreateOrgInvitationInputBody
- func (s *CreateOrgInvitationInputBody) Decode(d *jx.Decoder) error
- func (s *CreateOrgInvitationInputBody) Encode(e *jx.Encoder)
- func (s *CreateOrgInvitationInputBody) GetAdditionalProps() CreateOrgInvitationInputBodyAdditional
- func (s *CreateOrgInvitationInputBody) GetEmail() string
- func (s *CreateOrgInvitationInputBody) GetRole() CreateOrgInvitationInputBodyRole
- func (s *CreateOrgInvitationInputBody) GetSchema() OptURI
- func (s *CreateOrgInvitationInputBody) MarshalJSON() ([]byte, error)
- func (s *CreateOrgInvitationInputBody) SetAdditionalProps(val CreateOrgInvitationInputBodyAdditional)
- func (s *CreateOrgInvitationInputBody) SetEmail(val string)
- func (s *CreateOrgInvitationInputBody) SetRole(val CreateOrgInvitationInputBodyRole)
- func (s *CreateOrgInvitationInputBody) SetSchema(val OptURI)
- func (s *CreateOrgInvitationInputBody) UnmarshalJSON(data []byte) error
- func (s *CreateOrgInvitationInputBody) Validate() error
- type CreateOrgInvitationInputBodyAdditional
- func (s *CreateOrgInvitationInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s CreateOrgInvitationInputBodyAdditional) Encode(e *jx.Encoder)
- func (s CreateOrgInvitationInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *CreateOrgInvitationInputBodyAdditional) UnmarshalJSON(data []byte) error
- type CreateOrgInvitationInputBodyRole
- func (CreateOrgInvitationInputBodyRole) AllValues() []CreateOrgInvitationInputBodyRole
- func (s *CreateOrgInvitationInputBodyRole) Decode(d *jx.Decoder) error
- func (s CreateOrgInvitationInputBodyRole) Encode(e *jx.Encoder)
- func (s CreateOrgInvitationInputBodyRole) MarshalJSON() ([]byte, error)
- func (s CreateOrgInvitationInputBodyRole) MarshalText() ([]byte, error)
- func (s *CreateOrgInvitationInputBodyRole) UnmarshalJSON(data []byte) error
- func (s *CreateOrgInvitationInputBodyRole) UnmarshalText(data []byte) error
- func (s CreateOrgInvitationInputBodyRole) Validate() error
- type CreateOrgInvitationOK
- type CreateOrgInvitationParams
- type CreateOrgInvitationRes
- type CreatePluginInstallationInputBody
- func (s *CreatePluginInstallationInputBody) Decode(d *jx.Decoder) error
- func (s *CreatePluginInstallationInputBody) Encode(e *jx.Encoder)
- func (s *CreatePluginInstallationInputBody) GetAdditionalProps() CreatePluginInstallationInputBodyAdditional
- func (s *CreatePluginInstallationInputBody) GetInstallationID() OptString
- func (s *CreatePluginInstallationInputBody) GetOrgID() OptString
- func (s *CreatePluginInstallationInputBody) GetProjectID() OptString
- func (s *CreatePluginInstallationInputBody) GetRepositoryIds() []string
- func (s *CreatePluginInstallationInputBody) GetRepositorySelection() OptCreatePluginInstallationInputBodyRepositorySelection
- func (s *CreatePluginInstallationInputBody) GetSchema() OptURI
- func (s *CreatePluginInstallationInputBody) GetState() OptString
- func (s *CreatePluginInstallationInputBody) MarshalJSON() ([]byte, error)
- func (s *CreatePluginInstallationInputBody) SetAdditionalProps(val CreatePluginInstallationInputBodyAdditional)
- func (s *CreatePluginInstallationInputBody) SetInstallationID(val OptString)
- func (s *CreatePluginInstallationInputBody) SetOrgID(val OptString)
- func (s *CreatePluginInstallationInputBody) SetProjectID(val OptString)
- func (s *CreatePluginInstallationInputBody) SetRepositoryIds(val []string)
- func (s *CreatePluginInstallationInputBody) SetRepositorySelection(val OptCreatePluginInstallationInputBodyRepositorySelection)
- func (s *CreatePluginInstallationInputBody) SetSchema(val OptURI)
- func (s *CreatePluginInstallationInputBody) SetState(val OptString)
- func (s *CreatePluginInstallationInputBody) UnmarshalJSON(data []byte) error
- func (s *CreatePluginInstallationInputBody) Validate() error
- type CreatePluginInstallationInputBodyAdditional
- func (s *CreatePluginInstallationInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s CreatePluginInstallationInputBodyAdditional) Encode(e *jx.Encoder)
- func (s CreatePluginInstallationInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *CreatePluginInstallationInputBodyAdditional) UnmarshalJSON(data []byte) error
- type CreatePluginInstallationInputBodyRepositorySelection
- func (CreatePluginInstallationInputBodyRepositorySelection) AllValues() []CreatePluginInstallationInputBodyRepositorySelection
- func (s *CreatePluginInstallationInputBodyRepositorySelection) Decode(d *jx.Decoder) error
- func (s CreatePluginInstallationInputBodyRepositorySelection) Encode(e *jx.Encoder)
- func (s CreatePluginInstallationInputBodyRepositorySelection) MarshalJSON() ([]byte, error)
- func (s CreatePluginInstallationInputBodyRepositorySelection) MarshalText() ([]byte, error)
- func (s *CreatePluginInstallationInputBodyRepositorySelection) UnmarshalJSON(data []byte) error
- func (s *CreatePluginInstallationInputBodyRepositorySelection) UnmarshalText(data []byte) error
- func (s CreatePluginInstallationInputBodyRepositorySelection) Validate() error
- type CreatePluginInstallationParams
- 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 CreateRepoCIWebhookBody
- func (s *CreateRepoCIWebhookBody) Decode(d *jx.Decoder) error
- func (s *CreateRepoCIWebhookBody) Encode(e *jx.Encoder)
- func (s *CreateRepoCIWebhookBody) GetAdditionalProps() CreateRepoCIWebhookBodyAdditional
- func (s *CreateRepoCIWebhookBody) GetAuthPluginRef() string
- func (s *CreateRepoCIWebhookBody) GetAutomationID() string
- func (s *CreateRepoCIWebhookBody) GetBkOrganization() string
- func (s *CreateRepoCIWebhookBody) GetBkPipeline() string
- func (s *CreateRepoCIWebhookBody) GetCoreURL() string
- func (s *CreateRepoCIWebhookBody) GetCreatedAt() time.Time
- func (s *CreateRepoCIWebhookBody) GetDisplayName() string
- func (s *CreateRepoCIWebhookBody) GetEnabled() bool
- func (s *CreateRepoCIWebhookBody) GetEvents() []string
- func (s *CreateRepoCIWebhookBody) GetID() string
- func (s *CreateRepoCIWebhookBody) GetProvider() string
- func (s *CreateRepoCIWebhookBody) GetProviderAccount() string
- func (s *CreateRepoCIWebhookBody) GetPublishChecks() bool
- func (s *CreateRepoCIWebhookBody) GetRefFilter() string
- func (s *CreateRepoCIWebhookBody) GetRepoID() string
- func (s *CreateRepoCIWebhookBody) GetRepoWrite() bool
- func (s *CreateRepoCIWebhookBody) GetSchema() OptURI
- func (s *CreateRepoCIWebhookBody) GetSetup() OptCISetupBlock
- func (s *CreateRepoCIWebhookBody) GetTargetRef() string
- func (s *CreateRepoCIWebhookBody) GetUpdatedAt() time.Time
- func (s *CreateRepoCIWebhookBody) MarshalJSON() ([]byte, error)
- func (s *CreateRepoCIWebhookBody) SetAdditionalProps(val CreateRepoCIWebhookBodyAdditional)
- func (s *CreateRepoCIWebhookBody) SetAuthPluginRef(val string)
- func (s *CreateRepoCIWebhookBody) SetAutomationID(val string)
- func (s *CreateRepoCIWebhookBody) SetBkOrganization(val string)
- func (s *CreateRepoCIWebhookBody) SetBkPipeline(val string)
- func (s *CreateRepoCIWebhookBody) SetCoreURL(val string)
- func (s *CreateRepoCIWebhookBody) SetCreatedAt(val time.Time)
- func (s *CreateRepoCIWebhookBody) SetDisplayName(val string)
- func (s *CreateRepoCIWebhookBody) SetEnabled(val bool)
- func (s *CreateRepoCIWebhookBody) SetEvents(val []string)
- func (s *CreateRepoCIWebhookBody) SetID(val string)
- func (s *CreateRepoCIWebhookBody) SetProvider(val string)
- func (s *CreateRepoCIWebhookBody) SetProviderAccount(val string)
- func (s *CreateRepoCIWebhookBody) SetPublishChecks(val bool)
- func (s *CreateRepoCIWebhookBody) SetRefFilter(val string)
- func (s *CreateRepoCIWebhookBody) SetRepoID(val string)
- func (s *CreateRepoCIWebhookBody) SetRepoWrite(val bool)
- func (s *CreateRepoCIWebhookBody) SetSchema(val OptURI)
- func (s *CreateRepoCIWebhookBody) SetSetup(val OptCISetupBlock)
- func (s *CreateRepoCIWebhookBody) SetTargetRef(val string)
- func (s *CreateRepoCIWebhookBody) SetUpdatedAt(val time.Time)
- func (s *CreateRepoCIWebhookBody) UnmarshalJSON(data []byte) error
- func (s *CreateRepoCIWebhookBody) Validate() error
- type CreateRepoCIWebhookBodyAdditional
- 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() OptString
- func (s *CreateRepoCIWebhookInputBody) GetBkForceRescaffold() OptBool
- func (s *CreateRepoCIWebhookInputBody) GetBkOrganization() OptString
- func (s *CreateRepoCIWebhookInputBody) GetBkPipeline() OptString
- func (s *CreateRepoCIWebhookInputBody) GetBkPipelineSelfManaged() OptBool
- func (s *CreateRepoCIWebhookInputBody) GetBkProvisioningToken() OptString
- func (s *CreateRepoCIWebhookInputBody) GetConfig() OptCreateRepoCIWebhookInputBodyConfig
- func (s *CreateRepoCIWebhookInputBody) GetDisplayName() OptString
- func (s *CreateRepoCIWebhookInputBody) GetEvents() []string
- func (s *CreateRepoCIWebhookInputBody) GetMode() OptString
- func (s *CreateRepoCIWebhookInputBody) GetProvider() string
- func (s *CreateRepoCIWebhookInputBody) GetProviderAccount() OptString
- func (s *CreateRepoCIWebhookInputBody) GetRefFilter() OptString
- func (s *CreateRepoCIWebhookInputBody) GetSchema() OptURI
- func (s *CreateRepoCIWebhookInputBody) GetTargetRef() OptString
- func (s *CreateRepoCIWebhookInputBody) MarshalJSON() ([]byte, error)
- func (s *CreateRepoCIWebhookInputBody) SetAdditionalProps(val CreateRepoCIWebhookInputBodyAdditional)
- func (s *CreateRepoCIWebhookInputBody) SetBkClusterID(val OptString)
- func (s *CreateRepoCIWebhookInputBody) SetBkForceRescaffold(val OptBool)
- func (s *CreateRepoCIWebhookInputBody) SetBkOrganization(val OptString)
- func (s *CreateRepoCIWebhookInputBody) SetBkPipeline(val OptString)
- func (s *CreateRepoCIWebhookInputBody) SetBkPipelineSelfManaged(val OptBool)
- func (s *CreateRepoCIWebhookInputBody) SetBkProvisioningToken(val OptString)
- func (s *CreateRepoCIWebhookInputBody) SetConfig(val OptCreateRepoCIWebhookInputBodyConfig)
- func (s *CreateRepoCIWebhookInputBody) SetDisplayName(val OptString)
- func (s *CreateRepoCIWebhookInputBody) SetEvents(val []string)
- func (s *CreateRepoCIWebhookInputBody) SetMode(val OptString)
- func (s *CreateRepoCIWebhookInputBody) SetProvider(val string)
- func (s *CreateRepoCIWebhookInputBody) SetProviderAccount(val OptString)
- func (s *CreateRepoCIWebhookInputBody) SetRefFilter(val OptString)
- func (s *CreateRepoCIWebhookInputBody) SetSchema(val OptURI)
- func (s *CreateRepoCIWebhookInputBody) SetTargetRef(val OptString)
- func (s *CreateRepoCIWebhookInputBody) UnmarshalJSON(data []byte) 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 CreateRepoCIWebhookInputBodyConfig
- 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 CreatedOrg
- func (s *CreatedOrg) Decode(d *jx.Decoder) error
- func (s *CreatedOrg) Encode(e *jx.Encoder)
- func (s *CreatedOrg) GetAdditionalProps() CreatedOrgAdditional
- func (s *CreatedOrg) GetCapabilities() OptOrgCapabilities
- func (s *CreatedOrg) GetCommitToken() OptString
- func (s *CreatedOrg) GetCreatedAt() time.Time
- func (s *CreatedOrg) GetID() string
- func (s *CreatedOrg) GetName() string
- func (s *CreatedOrg) GetRegion() string
- func (s *CreatedOrg) GetSchema() OptURI
- func (s *CreatedOrg) GetWorkosOrganizationId() OptString
- func (s *CreatedOrg) MarshalJSON() ([]byte, error)
- func (s *CreatedOrg) SetAdditionalProps(val CreatedOrgAdditional)
- func (s *CreatedOrg) SetCapabilities(val OptOrgCapabilities)
- func (s *CreatedOrg) SetCommitToken(val OptString)
- func (s *CreatedOrg) SetCreatedAt(val time.Time)
- func (s *CreatedOrg) SetID(val string)
- func (s *CreatedOrg) SetName(val string)
- func (s *CreatedOrg) SetRegion(val string)
- func (s *CreatedOrg) SetSchema(val OptURI)
- func (s *CreatedOrg) SetWorkosOrganizationId(val OptString)
- func (s *CreatedOrg) UnmarshalJSON(data []byte) error
- type CreatedOrgAdditional
- type CreatedOrgHeaders
- type CreatedProject
- func (s *CreatedProject) Decode(d *jx.Decoder) error
- func (s *CreatedProject) Encode(e *jx.Encoder)
- func (s *CreatedProject) GetAdditionalProps() CreatedProjectAdditional
- func (s *CreatedProject) GetApiUrl() OptString
- func (s *CreatedProject) GetCapabilities() OptProjectCapabilities
- func (s *CreatedProject) GetCommitToken() OptString
- func (s *CreatedProject) GetCreatedAt() time.Time
- func (s *CreatedProject) GetID() string
- func (s *CreatedProject) GetName() string
- func (s *CreatedProject) GetOwnerId() string
- func (s *CreatedProject) GetOwnerName() OptString
- func (s *CreatedProject) GetOwnerType() CreatedProjectOwnerType
- func (s *CreatedProject) GetPrimaryProcessingCell() OptString
- func (s *CreatedProject) GetRegion() string
- func (s *CreatedProject) GetRepositoryCount() OptInt64
- func (s *CreatedProject) GetSchema() OptURI
- func (s *CreatedProject) MarshalJSON() ([]byte, error)
- func (s *CreatedProject) SetAdditionalProps(val CreatedProjectAdditional)
- func (s *CreatedProject) SetApiUrl(val OptString)
- func (s *CreatedProject) SetCapabilities(val OptProjectCapabilities)
- func (s *CreatedProject) SetCommitToken(val OptString)
- func (s *CreatedProject) SetCreatedAt(val time.Time)
- func (s *CreatedProject) SetID(val string)
- func (s *CreatedProject) SetName(val string)
- func (s *CreatedProject) SetOwnerId(val string)
- func (s *CreatedProject) SetOwnerName(val OptString)
- func (s *CreatedProject) SetOwnerType(val CreatedProjectOwnerType)
- func (s *CreatedProject) SetPrimaryProcessingCell(val OptString)
- func (s *CreatedProject) SetRegion(val string)
- func (s *CreatedProject) SetRepositoryCount(val OptInt64)
- func (s *CreatedProject) SetSchema(val OptURI)
- func (s *CreatedProject) UnmarshalJSON(data []byte) error
- func (s *CreatedProject) Validate() error
- type CreatedProjectAdditional
- type CreatedProjectHeaders
- func (s *CreatedProjectHeaders) GetResponse() CreatedProject
- func (s *CreatedProjectHeaders) GetXEntireCommitToken() OptString
- func (s *CreatedProjectHeaders) SetResponse(val CreatedProject)
- func (s *CreatedProjectHeaders) SetXEntireCommitToken(val OptString)
- func (s *CreatedProjectHeaders) Validate() error
- type CreatedProjectOwnerType
- func (CreatedProjectOwnerType) AllValues() []CreatedProjectOwnerType
- func (s *CreatedProjectOwnerType) Decode(d *jx.Decoder) error
- func (s CreatedProjectOwnerType) Encode(e *jx.Encoder)
- func (s CreatedProjectOwnerType) MarshalJSON() ([]byte, error)
- func (s CreatedProjectOwnerType) MarshalText() ([]byte, error)
- func (s *CreatedProjectOwnerType) UnmarshalJSON(data []byte) error
- func (s *CreatedProjectOwnerType) UnmarshalText(data []byte) error
- func (s CreatedProjectOwnerType) Validate() error
- type CreatedRepo
- func (s *CreatedRepo) Decode(d *jx.Decoder) error
- func (s *CreatedRepo) Encode(e *jx.Encoder)
- func (s *CreatedRepo) GetAdditionalProps() CreatedRepoAdditional
- func (s *CreatedRepo) GetCandidate() OptRepoCandidate
- func (s *CreatedRepo) GetCapabilities() OptRepoCapabilities
- func (s *CreatedRepo) GetClusterHost() OptString
- func (s *CreatedRepo) GetClusterSlug() OptString
- func (s *CreatedRepo) GetCommitToken() OptString
- func (s *CreatedRepo) GetForeign() OptBool
- func (s *CreatedRepo) GetFullName() OptString
- func (s *CreatedRepo) GetID() string
- func (s *CreatedRepo) GetJurisdiction() OptString
- func (s *CreatedRepo) GetMirrorSuspended() OptBool
- func (s *CreatedRepo) GetMirrorSuspendedAt() OptString
- func (s *CreatedRepo) GetName() string
- func (s *CreatedRepo) GetObjectFormat() OptString
- func (s *CreatedRepo) GetOwningProjectId() string
- func (s *CreatedRepo) GetPath() OptString
- func (s *CreatedRepo) GetPlacements() []RepoPlacement
- func (s *CreatedRepo) GetPrimaries() OptRepoPrimaries
- func (s *CreatedRepo) GetProvider() OptString
- func (s *CreatedRepo) GetProvisionAttempts() OptInt64
- func (s *CreatedRepo) GetProvisionReason() OptString
- func (s *CreatedRepo) GetRepoGroupId() OptString
- func (s *CreatedRepo) GetSchema() OptURI
- func (s *CreatedRepo) GetState() OptString
- func (s *CreatedRepo) GetVisibility() OptString
- func (s *CreatedRepo) MarshalJSON() ([]byte, error)
- func (s *CreatedRepo) SetAdditionalProps(val CreatedRepoAdditional)
- func (s *CreatedRepo) SetCandidate(val OptRepoCandidate)
- func (s *CreatedRepo) SetCapabilities(val OptRepoCapabilities)
- func (s *CreatedRepo) SetClusterHost(val OptString)
- func (s *CreatedRepo) SetClusterSlug(val OptString)
- func (s *CreatedRepo) SetCommitToken(val OptString)
- func (s *CreatedRepo) SetForeign(val OptBool)
- func (s *CreatedRepo) SetFullName(val OptString)
- func (s *CreatedRepo) SetID(val string)
- func (s *CreatedRepo) SetJurisdiction(val OptString)
- func (s *CreatedRepo) SetMirrorSuspended(val OptBool)
- func (s *CreatedRepo) SetMirrorSuspendedAt(val OptString)
- func (s *CreatedRepo) SetName(val string)
- func (s *CreatedRepo) SetObjectFormat(val OptString)
- func (s *CreatedRepo) SetOwningProjectId(val string)
- func (s *CreatedRepo) SetPath(val OptString)
- func (s *CreatedRepo) SetPlacements(val []RepoPlacement)
- func (s *CreatedRepo) SetPrimaries(val OptRepoPrimaries)
- func (s *CreatedRepo) SetProvider(val OptString)
- func (s *CreatedRepo) SetProvisionAttempts(val OptInt64)
- func (s *CreatedRepo) SetProvisionReason(val OptString)
- func (s *CreatedRepo) SetRepoGroupId(val OptString)
- func (s *CreatedRepo) SetSchema(val OptURI)
- func (s *CreatedRepo) SetState(val OptString)
- func (s *CreatedRepo) SetVisibility(val OptString)
- func (s *CreatedRepo) UnmarshalJSON(data []byte) error
- func (s *CreatedRepo) Validate() error
- type CreatedRepoAdditional
- type CreatedRepoHeaders
- func (s *CreatedRepoHeaders) GetResponse() CreatedRepo
- func (s *CreatedRepoHeaders) GetRetryAfter() OptString
- func (s *CreatedRepoHeaders) GetXEntireCommitToken() OptString
- func (s *CreatedRepoHeaders) SetResponse(val CreatedRepo)
- func (s *CreatedRepoHeaders) SetRetryAfter(val OptString)
- func (s *CreatedRepoHeaders) SetXEntireCommitToken(val OptString)
- func (s *CreatedRepoHeaders) Validate() error
- type DeleteBindingNoContent
- type DeleteBindingParams
- type DeleteMeAccepted
- type DeleteMirrorNoContent
- type DeleteMirrorParams
- type DeleteMirrorProvider
- type DeleteNativeMirrorParams
- type DeleteOrgCIBuildkiteClusterNoContent
- type DeleteOrgCIBuildkiteClusterParams
- type DeleteOrgCIBuildkiteCredentialNoContent
- type DeleteOrgCIBuildkiteCredentialParams
- type DeleteOrgNoContent
- type DeleteOrgParams
- type DeletePluginInstallationNoContent
- type DeletePluginInstallationParams
- 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 DetachMyHandleNoContent
- type DetachMyHandleParams
- type DetachMyHandleProvider
- type DisconnectOrgCIDepotOrganizationNoContent
- type DisconnectOrgCIDepotOrganizationParams
- 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 ForgeRepoIdentity
- func (s *ForgeRepoIdentity) Decode(d *jx.Decoder) error
- func (s *ForgeRepoIdentity) Encode(e *jx.Encoder)
- func (s *ForgeRepoIdentity) GetAdditionalProps() ForgeRepoIdentityAdditional
- func (s *ForgeRepoIdentity) GetForge() string
- func (s *ForgeRepoIdentity) GetRepoID() string
- func (s *ForgeRepoIdentity) MarshalJSON() ([]byte, error)
- func (s *ForgeRepoIdentity) SetAdditionalProps(val ForgeRepoIdentityAdditional)
- func (s *ForgeRepoIdentity) SetForge(val string)
- func (s *ForgeRepoIdentity) SetRepoID(val string)
- func (s *ForgeRepoIdentity) UnmarshalJSON(data []byte) error
- type ForgeRepoIdentityAdditional
- type GetAccountProfileParams
- type GetBranchProtectionParams
- 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 GetMirrorRequestParams
- 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) GetCliLoggedIn() bool
- 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) SetCliLoggedIn(val bool)
- 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 GetOrgPersonAccessParams
- type GetProjectParams
- type GetRepoCIDeliveryParams
- 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 GitHubInstallation
- func (s *GitHubInstallation) Decode(d *jx.Decoder) error
- func (s *GitHubInstallation) Encode(e *jx.Encoder)
- func (s *GitHubInstallation) GetAccountLogin() string
- func (s *GitHubInstallation) GetAccountType() GitHubInstallationAccountType
- func (s *GitHubInstallation) GetAdditionalProps() GitHubInstallationAdditional
- func (s *GitHubInstallation) GetID() string
- func (s *GitHubInstallation) GetState() GitHubInstallationState
- func (s *GitHubInstallation) MarshalJSON() ([]byte, error)
- func (s *GitHubInstallation) SetAccountLogin(val string)
- func (s *GitHubInstallation) SetAccountType(val GitHubInstallationAccountType)
- func (s *GitHubInstallation) SetAdditionalProps(val GitHubInstallationAdditional)
- func (s *GitHubInstallation) SetID(val string)
- func (s *GitHubInstallation) SetState(val GitHubInstallationState)
- func (s *GitHubInstallation) UnmarshalJSON(data []byte) error
- func (s *GitHubInstallation) Validate() error
- type GitHubInstallationAccountType
- func (GitHubInstallationAccountType) AllValues() []GitHubInstallationAccountType
- func (s *GitHubInstallationAccountType) Decode(d *jx.Decoder) error
- func (s GitHubInstallationAccountType) Encode(e *jx.Encoder)
- func (s GitHubInstallationAccountType) MarshalJSON() ([]byte, error)
- func (s GitHubInstallationAccountType) MarshalText() ([]byte, error)
- func (s *GitHubInstallationAccountType) UnmarshalJSON(data []byte) error
- func (s *GitHubInstallationAccountType) UnmarshalText(data []byte) error
- func (s GitHubInstallationAccountType) Validate() error
- type GitHubInstallationAdditional
- type GitHubInstallationState
- func (GitHubInstallationState) AllValues() []GitHubInstallationState
- func (s *GitHubInstallationState) Decode(d *jx.Decoder) error
- func (s GitHubInstallationState) Encode(e *jx.Encoder)
- func (s GitHubInstallationState) MarshalJSON() ([]byte, error)
- func (s GitHubInstallationState) MarshalText() ([]byte, error)
- func (s *GitHubInstallationState) UnmarshalJSON(data []byte) error
- func (s *GitHubInstallationState) UnmarshalText(data []byte) error
- func (s GitHubInstallationState) Validate() error
- type GitHubInstallations
- func (s *GitHubInstallations) Decode(d *jx.Decoder) error
- func (s *GitHubInstallations) Encode(e *jx.Encoder)
- func (s *GitHubInstallations) GetAdditionalProps() GitHubInstallationsAdditional
- func (s *GitHubInstallations) GetItems() []GitHubInstallation
- func (s *GitHubInstallations) GetStatus() GitHubInstallationsStatus
- func (s *GitHubInstallations) MarshalJSON() ([]byte, error)
- func (s *GitHubInstallations) SetAdditionalProps(val GitHubInstallationsAdditional)
- func (s *GitHubInstallations) SetItems(val []GitHubInstallation)
- func (s *GitHubInstallations) SetStatus(val GitHubInstallationsStatus)
- func (s *GitHubInstallations) UnmarshalJSON(data []byte) error
- func (s *GitHubInstallations) Validate() error
- type GitHubInstallationsAdditional
- type GitHubInstallationsStatus
- func (GitHubInstallationsStatus) AllValues() []GitHubInstallationsStatus
- func (s *GitHubInstallationsStatus) Decode(d *jx.Decoder) error
- func (s GitHubInstallationsStatus) Encode(e *jx.Encoder)
- func (s GitHubInstallationsStatus) MarshalJSON() ([]byte, error)
- func (s GitHubInstallationsStatus) MarshalText() ([]byte, error)
- func (s *GitHubInstallationsStatus) UnmarshalJSON(data []byte) error
- func (s *GitHubInstallationsStatus) UnmarshalText(data []byte) error
- func (s GitHubInstallationsStatus) Validate() error
- type GrantAccessBody
- func (s *GrantAccessBody) Decode(d *jx.Decoder) error
- func (s *GrantAccessBody) Encode(e *jx.Encoder)
- func (s *GrantAccessBody) GetAccountId() OptString
- func (s *GrantAccessBody) GetAdditionalProps() GrantAccessBodyAdditional
- func (s *GrantAccessBody) GetGranteeType() OptGrantAccessBodyGranteeType
- func (s *GrantAccessBody) GetProvider() OptString
- func (s *GrantAccessBody) GetProviderUserId() OptString
- func (s *GrantAccessBody) GetRole() GrantAccessBodyRole
- func (s *GrantAccessBody) GetSchema() OptURI
- func (s *GrantAccessBody) MarshalJSON() ([]byte, error)
- func (s *GrantAccessBody) SetAccountId(val OptString)
- func (s *GrantAccessBody) SetAdditionalProps(val GrantAccessBodyAdditional)
- func (s *GrantAccessBody) SetGranteeType(val OptGrantAccessBodyGranteeType)
- func (s *GrantAccessBody) SetProvider(val OptString)
- func (s *GrantAccessBody) SetProviderUserId(val OptString)
- func (s *GrantAccessBody) SetRole(val GrantAccessBodyRole)
- func (s *GrantAccessBody) SetSchema(val OptURI)
- func (s *GrantAccessBody) UnmarshalJSON(data []byte) error
- func (s *GrantAccessBody) Validate() error
- type GrantAccessBodyAdditional
- type GrantAccessBodyGranteeType
- func (GrantAccessBodyGranteeType) AllValues() []GrantAccessBodyGranteeType
- func (s *GrantAccessBodyGranteeType) Decode(d *jx.Decoder) error
- func (s GrantAccessBodyGranteeType) Encode(e *jx.Encoder)
- func (s GrantAccessBodyGranteeType) MarshalJSON() ([]byte, error)
- func (s GrantAccessBodyGranteeType) MarshalText() ([]byte, error)
- func (s *GrantAccessBodyGranteeType) UnmarshalJSON(data []byte) error
- func (s *GrantAccessBodyGranteeType) UnmarshalText(data []byte) error
- func (s GrantAccessBodyGranteeType) Validate() error
- type GrantAccessBodyRole
- func (GrantAccessBodyRole) AllValues() []GrantAccessBodyRole
- func (s *GrantAccessBodyRole) Decode(d *jx.Decoder) error
- func (s GrantAccessBodyRole) Encode(e *jx.Encoder)
- func (s GrantAccessBodyRole) MarshalJSON() ([]byte, error)
- func (s GrantAccessBodyRole) MarshalText() ([]byte, error)
- func (s *GrantAccessBodyRole) UnmarshalJSON(data []byte) error
- func (s *GrantAccessBodyRole) UnmarshalText(data []byte) error
- func (s GrantAccessBodyRole) 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 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 Invitation
- func (s *Invitation) Decode(d *jx.Decoder) error
- func (s *Invitation) Encode(e *jx.Encoder)
- func (s *Invitation) GetAcceptedAt() OptDateTime
- func (s *Invitation) GetAcceptedBy() OptString
- func (s *Invitation) GetAcceptedByIdentity() OptAccountIdentity
- func (s *Invitation) GetAdditionalProps() InvitationAdditional
- func (s *Invitation) GetCreatedAt() time.Time
- func (s *Invitation) GetDeclinedAt() OptDateTime
- func (s *Invitation) GetEmail() string
- func (s *Invitation) GetExpiresAt() time.Time
- func (s *Invitation) GetID() string
- func (s *Invitation) GetInvitedBy() string
- func (s *Invitation) GetInvitedByIdentity() OptAccountIdentity
- func (s *Invitation) GetRevokedAt() OptDateTime
- func (s *Invitation) GetRole() string
- func (s *Invitation) GetSchema() OptURI
- func (s *Invitation) GetStatus() string
- func (s *Invitation) MarshalJSON() ([]byte, error)
- func (s *Invitation) SetAcceptedAt(val OptDateTime)
- func (s *Invitation) SetAcceptedBy(val OptString)
- func (s *Invitation) SetAcceptedByIdentity(val OptAccountIdentity)
- func (s *Invitation) SetAdditionalProps(val InvitationAdditional)
- func (s *Invitation) SetCreatedAt(val time.Time)
- func (s *Invitation) SetDeclinedAt(val OptDateTime)
- func (s *Invitation) SetEmail(val string)
- func (s *Invitation) SetExpiresAt(val time.Time)
- func (s *Invitation) SetID(val string)
- func (s *Invitation) SetInvitedBy(val string)
- func (s *Invitation) SetInvitedByIdentity(val OptAccountIdentity)
- func (s *Invitation) SetRevokedAt(val OptDateTime)
- func (s *Invitation) SetRole(val string)
- func (s *Invitation) SetSchema(val OptURI)
- func (s *Invitation) SetStatus(val string)
- func (s *Invitation) UnmarshalJSON(data []byte) error
- func (s *Invitation) Validate() error
- type InvitationAdditional
- 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) GetGithubInstallations() GitHubInstallations
- 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) SetGithubInstallations(val GitHubInstallations)
- 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 ListNativeMirrorsOutputBody
- func (s *ListNativeMirrorsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListNativeMirrorsOutputBody) Encode(e *jx.Encoder)
- func (s *ListNativeMirrorsOutputBody) GetAdditionalProps() ListNativeMirrorsOutputBodyAdditional
- func (s *ListNativeMirrorsOutputBody) GetNativeMirrors() []NativeMirrorPlacement
- func (s *ListNativeMirrorsOutputBody) GetSchema() OptURI
- func (s *ListNativeMirrorsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListNativeMirrorsOutputBody) SetAdditionalProps(val ListNativeMirrorsOutputBodyAdditional)
- func (s *ListNativeMirrorsOutputBody) SetNativeMirrors(val []NativeMirrorPlacement)
- func (s *ListNativeMirrorsOutputBody) SetSchema(val OptURI)
- func (s *ListNativeMirrorsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListNativeMirrorsOutputBody) Validate() error
- type ListNativeMirrorsOutputBodyAdditional
- func (s *ListNativeMirrorsOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListNativeMirrorsOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListNativeMirrorsOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListNativeMirrorsOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListNativeMirrorsParams
- 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 ListOrgCIBuildkiteClustersOutputBody
- func (s *ListOrgCIBuildkiteClustersOutputBody) Decode(d *jx.Decoder) error
- func (s *ListOrgCIBuildkiteClustersOutputBody) Encode(e *jx.Encoder)
- func (s *ListOrgCIBuildkiteClustersOutputBody) GetAdditionalProps() ListOrgCIBuildkiteClustersOutputBodyAdditional
- func (s *ListOrgCIBuildkiteClustersOutputBody) GetClusters() []OrgCIBuildkiteClusterView
- func (s *ListOrgCIBuildkiteClustersOutputBody) GetSchema() OptURI
- func (s *ListOrgCIBuildkiteClustersOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListOrgCIBuildkiteClustersOutputBody) SetAdditionalProps(val ListOrgCIBuildkiteClustersOutputBodyAdditional)
- func (s *ListOrgCIBuildkiteClustersOutputBody) SetClusters(val []OrgCIBuildkiteClusterView)
- func (s *ListOrgCIBuildkiteClustersOutputBody) SetSchema(val OptURI)
- func (s *ListOrgCIBuildkiteClustersOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListOrgCIBuildkiteClustersOutputBody) Validate() error
- type ListOrgCIBuildkiteClustersOutputBodyAdditional
- func (s *ListOrgCIBuildkiteClustersOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListOrgCIBuildkiteClustersOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListOrgCIBuildkiteClustersOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListOrgCIBuildkiteClustersOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListOrgCIBuildkiteClustersParams
- type ListOrgCIBuildkiteCredentialsOutputBody
- func (s *ListOrgCIBuildkiteCredentialsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListOrgCIBuildkiteCredentialsOutputBody) Encode(e *jx.Encoder)
- func (s *ListOrgCIBuildkiteCredentialsOutputBody) GetAdditionalProps() ListOrgCIBuildkiteCredentialsOutputBodyAdditional
- func (s *ListOrgCIBuildkiteCredentialsOutputBody) GetCredentials() []OrgCIBuildkiteCredentialView
- func (s *ListOrgCIBuildkiteCredentialsOutputBody) GetSchema() OptURI
- func (s *ListOrgCIBuildkiteCredentialsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListOrgCIBuildkiteCredentialsOutputBody) SetAdditionalProps(val ListOrgCIBuildkiteCredentialsOutputBodyAdditional)
- func (s *ListOrgCIBuildkiteCredentialsOutputBody) SetCredentials(val []OrgCIBuildkiteCredentialView)
- func (s *ListOrgCIBuildkiteCredentialsOutputBody) SetSchema(val OptURI)
- func (s *ListOrgCIBuildkiteCredentialsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListOrgCIBuildkiteCredentialsOutputBody) Validate() error
- type ListOrgCIBuildkiteCredentialsOutputBodyAdditional
- func (s *ListOrgCIBuildkiteCredentialsOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListOrgCIBuildkiteCredentialsOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListOrgCIBuildkiteCredentialsOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListOrgCIBuildkiteCredentialsOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListOrgCIBuildkiteCredentialsParams
- type ListOrgCIDepotOrganizationsOutputBody
- func (s *ListOrgCIDepotOrganizationsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListOrgCIDepotOrganizationsOutputBody) Encode(e *jx.Encoder)
- func (s *ListOrgCIDepotOrganizationsOutputBody) GetAdditionalProps() ListOrgCIDepotOrganizationsOutputBodyAdditional
- func (s *ListOrgCIDepotOrganizationsOutputBody) GetConnections() []OrgCIDepotConnectionView
- func (s *ListOrgCIDepotOrganizationsOutputBody) GetSchema() OptURI
- func (s *ListOrgCIDepotOrganizationsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListOrgCIDepotOrganizationsOutputBody) SetAdditionalProps(val ListOrgCIDepotOrganizationsOutputBodyAdditional)
- func (s *ListOrgCIDepotOrganizationsOutputBody) SetConnections(val []OrgCIDepotConnectionView)
- func (s *ListOrgCIDepotOrganizationsOutputBody) SetSchema(val OptURI)
- func (s *ListOrgCIDepotOrganizationsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListOrgCIDepotOrganizationsOutputBody) Validate() error
- type ListOrgCIDepotOrganizationsOutputBodyAdditional
- func (s *ListOrgCIDepotOrganizationsOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListOrgCIDepotOrganizationsOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListOrgCIDepotOrganizationsOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListOrgCIDepotOrganizationsOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListOrgCIDepotOrganizationsParams
- type ListOrgInvitationsOutputBody
- func (s *ListOrgInvitationsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListOrgInvitationsOutputBody) Encode(e *jx.Encoder)
- func (s *ListOrgInvitationsOutputBody) GetAdditionalProps() ListOrgInvitationsOutputBodyAdditional
- func (s *ListOrgInvitationsOutputBody) GetInvitations() []Invitation
- func (s *ListOrgInvitationsOutputBody) GetNextPageToken() OptString
- func (s *ListOrgInvitationsOutputBody) GetSchema() OptURI
- func (s *ListOrgInvitationsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListOrgInvitationsOutputBody) SetAdditionalProps(val ListOrgInvitationsOutputBodyAdditional)
- func (s *ListOrgInvitationsOutputBody) SetInvitations(val []Invitation)
- func (s *ListOrgInvitationsOutputBody) SetNextPageToken(val OptString)
- func (s *ListOrgInvitationsOutputBody) SetSchema(val OptURI)
- func (s *ListOrgInvitationsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListOrgInvitationsOutputBody) Validate() error
- type ListOrgInvitationsOutputBodyAdditional
- func (s *ListOrgInvitationsOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListOrgInvitationsOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListOrgInvitationsOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListOrgInvitationsOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListOrgInvitationsParams
- type ListOrgInvitationsStatus
- type ListOrgMembersOrder
- 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() []OrgMemberListItem
- 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 []OrgMemberListItem)
- 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 ListOrgMembersSort
- type ListOrgPeopleMembership
- type ListOrgPeopleOrder
- type ListOrgPeopleOutputBody
- func (s *ListOrgPeopleOutputBody) Decode(d *jx.Decoder) error
- func (s *ListOrgPeopleOutputBody) Encode(e *jx.Encoder)
- func (s *ListOrgPeopleOutputBody) GetAdditionalProps() ListOrgPeopleOutputBodyAdditional
- func (s *ListOrgPeopleOutputBody) GetInvitations() []Invitation
- func (s *ListOrgPeopleOutputBody) GetItems() []OrgPersonSummary
- func (s *ListOrgPeopleOutputBody) GetNextPageToken() OptString
- func (s *ListOrgPeopleOutputBody) GetSchema() OptURI
- func (s *ListOrgPeopleOutputBody) GetTotalCount() int64
- func (s *ListOrgPeopleOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListOrgPeopleOutputBody) SetAdditionalProps(val ListOrgPeopleOutputBodyAdditional)
- func (s *ListOrgPeopleOutputBody) SetInvitations(val []Invitation)
- func (s *ListOrgPeopleOutputBody) SetItems(val []OrgPersonSummary)
- func (s *ListOrgPeopleOutputBody) SetNextPageToken(val OptString)
- func (s *ListOrgPeopleOutputBody) SetSchema(val OptURI)
- func (s *ListOrgPeopleOutputBody) SetTotalCount(val int64)
- func (s *ListOrgPeopleOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListOrgPeopleOutputBody) Validate() error
- type ListOrgPeopleOutputBodyAdditional
- type ListOrgPeopleOutputBodyHeaders
- func (s *ListOrgPeopleOutputBodyHeaders) GetCacheControl() OptString
- func (s *ListOrgPeopleOutputBodyHeaders) GetResponse() ListOrgPeopleOutputBody
- func (s *ListOrgPeopleOutputBodyHeaders) SetCacheControl(val OptString)
- func (s *ListOrgPeopleOutputBodyHeaders) SetResponse(val ListOrgPeopleOutputBody)
- func (s *ListOrgPeopleOutputBodyHeaders) Validate() error
- type ListOrgPeopleParams
- type ListOrgPeopleRole
- type ListOrgPeopleScope
- type ListOrgPeopleSort
- type ListOrgPeopleStatus
- 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 ListPluginInstallationsOutputBody
- func (s *ListPluginInstallationsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListPluginInstallationsOutputBody) Encode(e *jx.Encoder)
- func (s *ListPluginInstallationsOutputBody) GetAdditionalProps() ListPluginInstallationsOutputBodyAdditional
- func (s *ListPluginInstallationsOutputBody) GetItems() []PluginInstallationView
- func (s *ListPluginInstallationsOutputBody) GetSchema() OptURI
- func (s *ListPluginInstallationsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListPluginInstallationsOutputBody) SetAdditionalProps(val ListPluginInstallationsOutputBodyAdditional)
- func (s *ListPluginInstallationsOutputBody) SetItems(val []PluginInstallationView)
- func (s *ListPluginInstallationsOutputBody) SetSchema(val OptURI)
- func (s *ListPluginInstallationsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListPluginInstallationsOutputBody) Validate() error
- type ListPluginInstallationsOutputBodyAdditional
- func (s *ListPluginInstallationsOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListPluginInstallationsOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListPluginInstallationsOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListPluginInstallationsOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListPluginInstallationsParams
- type ListProjectCollaboratorsOutputBody
- func (s *ListProjectCollaboratorsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListProjectCollaboratorsOutputBody) Encode(e *jx.Encoder)
- func (s *ListProjectCollaboratorsOutputBody) GetAdditionalProps() ListProjectCollaboratorsOutputBodyAdditional
- func (s *ListProjectCollaboratorsOutputBody) GetCollaborators() []ProjectCollaborator
- func (s *ListProjectCollaboratorsOutputBody) GetNextPageToken() OptString
- func (s *ListProjectCollaboratorsOutputBody) GetSchema() OptURI
- func (s *ListProjectCollaboratorsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListProjectCollaboratorsOutputBody) SetAdditionalProps(val ListProjectCollaboratorsOutputBodyAdditional)
- func (s *ListProjectCollaboratorsOutputBody) SetCollaborators(val []ProjectCollaborator)
- func (s *ListProjectCollaboratorsOutputBody) SetNextPageToken(val OptString)
- func (s *ListProjectCollaboratorsOutputBody) SetSchema(val OptURI)
- func (s *ListProjectCollaboratorsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListProjectCollaboratorsOutputBody) Validate() error
- type ListProjectCollaboratorsOutputBodyAdditional
- func (s *ListProjectCollaboratorsOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListProjectCollaboratorsOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListProjectCollaboratorsOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListProjectCollaboratorsOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListProjectCollaboratorsOutputBodyHeaders
- func (s *ListProjectCollaboratorsOutputBodyHeaders) GetCacheControl() OptString
- func (s *ListProjectCollaboratorsOutputBodyHeaders) GetResponse() ListProjectCollaboratorsOutputBody
- func (s *ListProjectCollaboratorsOutputBodyHeaders) SetCacheControl(val OptString)
- func (s *ListProjectCollaboratorsOutputBodyHeaders) SetResponse(val ListProjectCollaboratorsOutputBody)
- func (s *ListProjectCollaboratorsOutputBodyHeaders) Validate() error
- type ListProjectCollaboratorsParams
- 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 ListProjectPeopleOrder
- type ListProjectPeopleParams
- type ListProjectPeopleRole
- type ListProjectPeopleSort
- 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) GetCandidatesIncomplete() OptBool
- 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) SetCandidatesIncomplete(val OptBool)
- 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
- func (s *ListProjectReposOutputBody) Validate() error
- type ListProjectReposOutputBodyAdditional
- type ListProjectReposParams
- type ListProjectReposScope
- 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 ListRepoCIBuildsOutputBody
- func (s *ListRepoCIBuildsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListRepoCIBuildsOutputBody) Encode(e *jx.Encoder)
- func (s *ListRepoCIBuildsOutputBody) GetAdditionalProps() ListRepoCIBuildsOutputBodyAdditional
- func (s *ListRepoCIBuildsOutputBody) GetBuilds() []CIBuildView
- func (s *ListRepoCIBuildsOutputBody) GetSchema() OptURI
- func (s *ListRepoCIBuildsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListRepoCIBuildsOutputBody) SetAdditionalProps(val ListRepoCIBuildsOutputBodyAdditional)
- func (s *ListRepoCIBuildsOutputBody) SetBuilds(val []CIBuildView)
- func (s *ListRepoCIBuildsOutputBody) SetSchema(val OptURI)
- func (s *ListRepoCIBuildsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListRepoCIBuildsOutputBody) Validate() error
- type ListRepoCIBuildsOutputBodyAdditional
- type ListRepoCIBuildsParams
- type ListRepoCIDeliveriesDirection
- type ListRepoCIDeliveriesOutputBody
- func (s *ListRepoCIDeliveriesOutputBody) Decode(d *jx.Decoder) error
- func (s *ListRepoCIDeliveriesOutputBody) Encode(e *jx.Encoder)
- func (s *ListRepoCIDeliveriesOutputBody) GetAdditionalProps() ListRepoCIDeliveriesOutputBodyAdditional
- func (s *ListRepoCIDeliveriesOutputBody) GetDeliveries() []CIDeliveryView
- func (s *ListRepoCIDeliveriesOutputBody) GetSchema() OptURI
- func (s *ListRepoCIDeliveriesOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListRepoCIDeliveriesOutputBody) SetAdditionalProps(val ListRepoCIDeliveriesOutputBodyAdditional)
- func (s *ListRepoCIDeliveriesOutputBody) SetDeliveries(val []CIDeliveryView)
- func (s *ListRepoCIDeliveriesOutputBody) SetSchema(val OptURI)
- func (s *ListRepoCIDeliveriesOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListRepoCIDeliveriesOutputBody) Validate() error
- type ListRepoCIDeliveriesOutputBodyAdditional
- func (s *ListRepoCIDeliveriesOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListRepoCIDeliveriesOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListRepoCIDeliveriesOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListRepoCIDeliveriesOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListRepoCIDeliveriesParams
- type ListRepoCIProvidersOutputBody
- func (s *ListRepoCIProvidersOutputBody) Decode(d *jx.Decoder) error
- func (s *ListRepoCIProvidersOutputBody) Encode(e *jx.Encoder)
- func (s *ListRepoCIProvidersOutputBody) GetAdditionalProps() ListRepoCIProvidersOutputBodyAdditional
- func (s *ListRepoCIProvidersOutputBody) GetProviders() []CIProviderDescriptor
- func (s *ListRepoCIProvidersOutputBody) GetSchema() OptURI
- func (s *ListRepoCIProvidersOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListRepoCIProvidersOutputBody) SetAdditionalProps(val ListRepoCIProvidersOutputBodyAdditional)
- func (s *ListRepoCIProvidersOutputBody) SetProviders(val []CIProviderDescriptor)
- func (s *ListRepoCIProvidersOutputBody) SetSchema(val OptURI)
- func (s *ListRepoCIProvidersOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListRepoCIProvidersOutputBody) Validate() error
- type ListRepoCIProvidersOutputBodyAdditional
- func (s *ListRepoCIProvidersOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListRepoCIProvidersOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListRepoCIProvidersOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListRepoCIProvidersOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListRepoCIProvidersParams
- type ListRepoCIWebhookAuditOutputBody
- func (s *ListRepoCIWebhookAuditOutputBody) Decode(d *jx.Decoder) error
- func (s *ListRepoCIWebhookAuditOutputBody) Encode(e *jx.Encoder)
- func (s *ListRepoCIWebhookAuditOutputBody) GetAdditionalProps() ListRepoCIWebhookAuditOutputBodyAdditional
- func (s *ListRepoCIWebhookAuditOutputBody) GetEvents() []CIWebhookAuditEventView
- func (s *ListRepoCIWebhookAuditOutputBody) GetSchema() OptURI
- func (s *ListRepoCIWebhookAuditOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListRepoCIWebhookAuditOutputBody) SetAdditionalProps(val ListRepoCIWebhookAuditOutputBodyAdditional)
- func (s *ListRepoCIWebhookAuditOutputBody) SetEvents(val []CIWebhookAuditEventView)
- func (s *ListRepoCIWebhookAuditOutputBody) SetSchema(val OptURI)
- func (s *ListRepoCIWebhookAuditOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListRepoCIWebhookAuditOutputBody) Validate() error
- type ListRepoCIWebhookAuditOutputBodyAdditional
- func (s *ListRepoCIWebhookAuditOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListRepoCIWebhookAuditOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListRepoCIWebhookAuditOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListRepoCIWebhookAuditOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListRepoCIWebhookAuditParams
- 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 ListRepoCollaboratorsOutputBody
- func (s *ListRepoCollaboratorsOutputBody) Decode(d *jx.Decoder) error
- func (s *ListRepoCollaboratorsOutputBody) Encode(e *jx.Encoder)
- func (s *ListRepoCollaboratorsOutputBody) GetAdditionalProps() ListRepoCollaboratorsOutputBodyAdditional
- func (s *ListRepoCollaboratorsOutputBody) GetCollaborators() []RepoCollaborator
- func (s *ListRepoCollaboratorsOutputBody) GetNextPageToken() OptString
- func (s *ListRepoCollaboratorsOutputBody) GetSchema() OptURI
- func (s *ListRepoCollaboratorsOutputBody) MarshalJSON() ([]byte, error)
- func (s *ListRepoCollaboratorsOutputBody) SetAdditionalProps(val ListRepoCollaboratorsOutputBodyAdditional)
- func (s *ListRepoCollaboratorsOutputBody) SetCollaborators(val []RepoCollaborator)
- func (s *ListRepoCollaboratorsOutputBody) SetNextPageToken(val OptString)
- func (s *ListRepoCollaboratorsOutputBody) SetSchema(val OptURI)
- func (s *ListRepoCollaboratorsOutputBody) UnmarshalJSON(data []byte) error
- func (s *ListRepoCollaboratorsOutputBody) Validate() error
- type ListRepoCollaboratorsOutputBodyAdditional
- func (s *ListRepoCollaboratorsOutputBodyAdditional) Decode(d *jx.Decoder) error
- func (s ListRepoCollaboratorsOutputBodyAdditional) Encode(e *jx.Encoder)
- func (s ListRepoCollaboratorsOutputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *ListRepoCollaboratorsOutputBodyAdditional) UnmarshalJSON(data []byte) error
- type ListRepoCollaboratorsParams
- 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 ListRepoLanguageFacetsParams
- type ListRepoOrgFacetsParams
- type ListRepoPeopleOrder
- type ListRepoPeopleParams
- type ListRepoPeopleRole
- type ListRepoPeopleSort
- type ListReposArchived
- type ListReposHasCheckpoints
- type ListReposOrder
- 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) GetCandidatesIncomplete() OptBool
- 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) SetCandidatesIncomplete(val OptBool)
- 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 ListReposPermission
- type ListReposScope
- type ListReposStatus
- type ListReposVisibility
- 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 LookupRepoBySlugParams
- 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) GetDisplayName() OptString
- 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) SetDisplayName(val OptString)
- 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) GetHandle() OptString
- func (s *Membership) GetID() string
- func (s *Membership) GetOrgId() string
- func (s *Membership) GetProvider() OptString
- 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) SetHandle(val OptString)
- func (s *Membership) SetID(val string)
- func (s *Membership) SetOrgId(val string)
- func (s *Membership) SetProvider(val OptString)
- 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 MintOrgCIGitHubActionsCredentialInputBody
- func (s *MintOrgCIGitHubActionsCredentialInputBody) Decode(d *jx.Decoder) error
- func (s *MintOrgCIGitHubActionsCredentialInputBody) Encode(e *jx.Encoder)
- func (s *MintOrgCIGitHubActionsCredentialInputBody) GetAPIToken() OptString
- func (s *MintOrgCIGitHubActionsCredentialInputBody) GetAccount() string
- func (s *MintOrgCIGitHubActionsCredentialInputBody) GetAdditionalProps() MintOrgCIGitHubActionsCredentialInputBodyAdditional
- func (s *MintOrgCIGitHubActionsCredentialInputBody) GetSchema() OptURI
- func (s *MintOrgCIGitHubActionsCredentialInputBody) MarshalJSON() ([]byte, error)
- func (s *MintOrgCIGitHubActionsCredentialInputBody) SetAPIToken(val OptString)
- func (s *MintOrgCIGitHubActionsCredentialInputBody) SetAccount(val string)
- func (s *MintOrgCIGitHubActionsCredentialInputBody) SetAdditionalProps(val MintOrgCIGitHubActionsCredentialInputBodyAdditional)
- func (s *MintOrgCIGitHubActionsCredentialInputBody) SetSchema(val OptURI)
- func (s *MintOrgCIGitHubActionsCredentialInputBody) UnmarshalJSON(data []byte) error
- func (s *MintOrgCIGitHubActionsCredentialInputBody) Validate() error
- type MintOrgCIGitHubActionsCredentialInputBodyAdditional
- func (s *MintOrgCIGitHubActionsCredentialInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s MintOrgCIGitHubActionsCredentialInputBodyAdditional) Encode(e *jx.Encoder)
- func (s MintOrgCIGitHubActionsCredentialInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *MintOrgCIGitHubActionsCredentialInputBodyAdditional) UnmarshalJSON(data []byte) error
- type MintOrgCIGitHubActionsCredentialParams
- 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) GetIsArchived() OptBool
- func (s *Mirror) GetIsPrivate() OptBool
- func (s *Mirror) GetIsProcessingPrimary() 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) SetIsArchived(val OptBool)
- func (s *Mirror) SetIsPrivate(val OptBool)
- func (s *Mirror) SetIsProcessingPrimary(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 MirrorRequest
- func (s *MirrorRequest) Decode(d *jx.Decoder) error
- func (s *MirrorRequest) Encode(e *jx.Encoder)
- func (s *MirrorRequest) GetAdditionalProps() MirrorRequestAdditional
- func (s *MirrorRequest) GetFailure() OptMirrorRequestFailure
- func (s *MirrorRequest) GetRequestId() uuid.UUID
- func (s *MirrorRequest) GetResult() OptMirrorRequestResult
- func (s *MirrorRequest) GetSchema() OptURI
- func (s *MirrorRequest) GetStatus() MirrorRequestStatus
- func (s *MirrorRequest) MarshalJSON() ([]byte, error)
- func (s *MirrorRequest) SetAdditionalProps(val MirrorRequestAdditional)
- func (s *MirrorRequest) SetFailure(val OptMirrorRequestFailure)
- func (s *MirrorRequest) SetRequestId(val uuid.UUID)
- func (s *MirrorRequest) SetResult(val OptMirrorRequestResult)
- func (s *MirrorRequest) SetSchema(val OptURI)
- func (s *MirrorRequest) SetStatus(val MirrorRequestStatus)
- func (s *MirrorRequest) UnmarshalJSON(data []byte) error
- func (s *MirrorRequest) Validate() error
- type MirrorRequestAdditional
- type MirrorRequestFailure
- func (s *MirrorRequestFailure) Decode(d *jx.Decoder) error
- func (s *MirrorRequestFailure) Encode(e *jx.Encoder)
- func (s *MirrorRequestFailure) GetAdditionalProps() MirrorRequestFailureAdditional
- func (s *MirrorRequestFailure) GetCode() string
- func (s *MirrorRequestFailure) GetMessage() string
- func (s *MirrorRequestFailure) GetRetryable() bool
- func (s *MirrorRequestFailure) MarshalJSON() ([]byte, error)
- func (s *MirrorRequestFailure) SetAdditionalProps(val MirrorRequestFailureAdditional)
- func (s *MirrorRequestFailure) SetCode(val string)
- func (s *MirrorRequestFailure) SetMessage(val string)
- func (s *MirrorRequestFailure) SetRetryable(val bool)
- func (s *MirrorRequestFailure) UnmarshalJSON(data []byte) error
- type MirrorRequestFailureAdditional
- type MirrorRequestHeaders
- type MirrorRequestResult
- func (s *MirrorRequestResult) Decode(d *jx.Decoder) error
- func (s *MirrorRequestResult) Encode(e *jx.Encoder)
- func (s *MirrorRequestResult) GetAdditionalProps() MirrorRequestResultAdditional
- func (s *MirrorRequestResult) GetMirrorId() string
- func (s *MirrorRequestResult) GetMirrorUrl() string
- func (s *MirrorRequestResult) GetPublicUrl() string
- func (s *MirrorRequestResult) MarshalJSON() ([]byte, error)
- func (s *MirrorRequestResult) SetAdditionalProps(val MirrorRequestResultAdditional)
- func (s *MirrorRequestResult) SetMirrorId(val string)
- func (s *MirrorRequestResult) SetMirrorUrl(val string)
- func (s *MirrorRequestResult) SetPublicUrl(val string)
- func (s *MirrorRequestResult) UnmarshalJSON(data []byte) error
- type MirrorRequestResultAdditional
- type MirrorRequestStatus
- func (MirrorRequestStatus) AllValues() []MirrorRequestStatus
- func (s *MirrorRequestStatus) Decode(d *jx.Decoder) error
- func (s MirrorRequestStatus) Encode(e *jx.Encoder)
- func (s MirrorRequestStatus) MarshalJSON() ([]byte, error)
- func (s MirrorRequestStatus) MarshalText() ([]byte, error)
- func (s *MirrorRequestStatus) UnmarshalJSON(data []byte) error
- func (s *MirrorRequestStatus) UnmarshalText(data []byte) error
- func (s MirrorRequestStatus) Validate() error
- 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 NativeMirrorPlacement
- func (s *NativeMirrorPlacement) Decode(d *jx.Decoder) error
- func (s *NativeMirrorPlacement) Encode(e *jx.Encoder)
- func (s *NativeMirrorPlacement) GetAdditionalProps() NativeMirrorPlacementAdditional
- func (s *NativeMirrorPlacement) GetAttempts() int64
- func (s *NativeMirrorPlacement) GetClusterSlug() string
- func (s *NativeMirrorPlacement) GetCreatedAt() time.Time
- func (s *NativeMirrorPlacement) GetCreationFailedAt() OptDateTime
- func (s *NativeMirrorPlacement) GetDesiredState() NativeMirrorPlacementDesiredState
- func (s *NativeMirrorPlacement) GetLastError() OptString
- func (s *NativeMirrorPlacement) GetNextRetryAt() OptDateTime
- func (s *NativeMirrorPlacement) GetPlacementId() string
- func (s *NativeMirrorPlacement) GetSchema() OptURI
- func (s *NativeMirrorPlacement) GetStage() NativeMirrorPlacementStage
- func (s *NativeMirrorPlacement) GetStatus() NativeMirrorPlacementStatus
- func (s *NativeMirrorPlacement) MarshalJSON() ([]byte, error)
- func (s *NativeMirrorPlacement) SetAdditionalProps(val NativeMirrorPlacementAdditional)
- func (s *NativeMirrorPlacement) SetAttempts(val int64)
- func (s *NativeMirrorPlacement) SetClusterSlug(val string)
- func (s *NativeMirrorPlacement) SetCreatedAt(val time.Time)
- func (s *NativeMirrorPlacement) SetCreationFailedAt(val OptDateTime)
- func (s *NativeMirrorPlacement) SetDesiredState(val NativeMirrorPlacementDesiredState)
- func (s *NativeMirrorPlacement) SetLastError(val OptString)
- func (s *NativeMirrorPlacement) SetNextRetryAt(val OptDateTime)
- func (s *NativeMirrorPlacement) SetPlacementId(val string)
- func (s *NativeMirrorPlacement) SetSchema(val OptURI)
- func (s *NativeMirrorPlacement) SetStage(val NativeMirrorPlacementStage)
- func (s *NativeMirrorPlacement) SetStatus(val NativeMirrorPlacementStatus)
- func (s *NativeMirrorPlacement) UnmarshalJSON(data []byte) error
- func (s *NativeMirrorPlacement) Validate() error
- type NativeMirrorPlacementAdditional
- type NativeMirrorPlacementDesiredState
- func (NativeMirrorPlacementDesiredState) AllValues() []NativeMirrorPlacementDesiredState
- func (s *NativeMirrorPlacementDesiredState) Decode(d *jx.Decoder) error
- func (s NativeMirrorPlacementDesiredState) Encode(e *jx.Encoder)
- func (s NativeMirrorPlacementDesiredState) MarshalJSON() ([]byte, error)
- func (s NativeMirrorPlacementDesiredState) MarshalText() ([]byte, error)
- func (s *NativeMirrorPlacementDesiredState) UnmarshalJSON(data []byte) error
- func (s *NativeMirrorPlacementDesiredState) UnmarshalText(data []byte) error
- func (s NativeMirrorPlacementDesiredState) Validate() error
- type NativeMirrorPlacementStage
- func (NativeMirrorPlacementStage) AllValues() []NativeMirrorPlacementStage
- func (s *NativeMirrorPlacementStage) Decode(d *jx.Decoder) error
- func (s NativeMirrorPlacementStage) Encode(e *jx.Encoder)
- func (s NativeMirrorPlacementStage) MarshalJSON() ([]byte, error)
- func (s NativeMirrorPlacementStage) MarshalText() ([]byte, error)
- func (s *NativeMirrorPlacementStage) UnmarshalJSON(data []byte) error
- func (s *NativeMirrorPlacementStage) UnmarshalText(data []byte) error
- func (s NativeMirrorPlacementStage) Validate() error
- type NativeMirrorPlacementStatus
- func (NativeMirrorPlacementStatus) AllValues() []NativeMirrorPlacementStatus
- func (s *NativeMirrorPlacementStatus) Decode(d *jx.Decoder) error
- func (s NativeMirrorPlacementStatus) Encode(e *jx.Encoder)
- func (s NativeMirrorPlacementStatus) MarshalJSON() ([]byte, error)
- func (s NativeMirrorPlacementStatus) MarshalText() ([]byte, error)
- func (s *NativeMirrorPlacementStatus) UnmarshalJSON(data []byte) error
- func (s *NativeMirrorPlacementStatus) UnmarshalText(data []byte) error
- func (s NativeMirrorPlacementStatus) 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 OptAccountIdentity
- func (o *OptAccountIdentity) Decode(d *jx.Decoder) error
- func (o OptAccountIdentity) Encode(e *jx.Encoder)
- func (o OptAccountIdentity) Get() (v AccountIdentity, ok bool)
- func (o OptAccountIdentity) IsSet() bool
- func (s OptAccountIdentity) MarshalJSON() ([]byte, error)
- func (o OptAccountIdentity) Or(d AccountIdentity) AccountIdentity
- func (o *OptAccountIdentity) Reset()
- func (o *OptAccountIdentity) SetTo(v AccountIdentity)
- func (s *OptAccountIdentity) UnmarshalJSON(data []byte) error
- 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 OptCIDeliveryPayloadView
- func (o *OptCIDeliveryPayloadView) Decode(d *jx.Decoder) error
- func (o OptCIDeliveryPayloadView) Encode(e *jx.Encoder)
- func (o OptCIDeliveryPayloadView) Get() (v CIDeliveryPayloadView, ok bool)
- func (o OptCIDeliveryPayloadView) IsSet() bool
- func (s OptCIDeliveryPayloadView) MarshalJSON() ([]byte, error)
- func (o OptCIDeliveryPayloadView) Or(d CIDeliveryPayloadView) CIDeliveryPayloadView
- func (o *OptCIDeliveryPayloadView) Reset()
- func (o *OptCIDeliveryPayloadView) SetTo(v CIDeliveryPayloadView)
- func (s *OptCIDeliveryPayloadView) UnmarshalJSON(data []byte) error
- type OptCISetupBlock
- func (o *OptCISetupBlock) Decode(d *jx.Decoder) error
- func (o OptCISetupBlock) Encode(e *jx.Encoder)
- func (o OptCISetupBlock) Get() (v CISetupBlock, ok bool)
- func (o OptCISetupBlock) IsSet() bool
- func (s OptCISetupBlock) MarshalJSON() ([]byte, error)
- func (o OptCISetupBlock) Or(d CISetupBlock) CISetupBlock
- func (o *OptCISetupBlock) Reset()
- func (o *OptCISetupBlock) SetTo(v CISetupBlock)
- func (s *OptCISetupBlock) UnmarshalJSON(data []byte) error
- type OptCIWebhookAuditEventViewMetadata
- func (o *OptCIWebhookAuditEventViewMetadata) Decode(d *jx.Decoder) error
- func (o OptCIWebhookAuditEventViewMetadata) Encode(e *jx.Encoder)
- func (o OptCIWebhookAuditEventViewMetadata) Get() (v CIWebhookAuditEventViewMetadata, ok bool)
- func (o OptCIWebhookAuditEventViewMetadata) IsSet() bool
- func (s OptCIWebhookAuditEventViewMetadata) MarshalJSON() ([]byte, error)
- func (o OptCIWebhookAuditEventViewMetadata) Or(d CIWebhookAuditEventViewMetadata) CIWebhookAuditEventViewMetadata
- func (o *OptCIWebhookAuditEventViewMetadata) Reset()
- func (o *OptCIWebhookAuditEventViewMetadata) SetTo(v CIWebhookAuditEventViewMetadata)
- func (s *OptCIWebhookAuditEventViewMetadata) UnmarshalJSON(data []byte) error
- type OptCreatePluginInstallationInputBodyRepositorySelection
- func (o *OptCreatePluginInstallationInputBodyRepositorySelection) Decode(d *jx.Decoder) error
- func (o OptCreatePluginInstallationInputBodyRepositorySelection) Encode(e *jx.Encoder)
- func (o OptCreatePluginInstallationInputBodyRepositorySelection) Get() (v CreatePluginInstallationInputBodyRepositorySelection, ok bool)
- func (o OptCreatePluginInstallationInputBodyRepositorySelection) IsSet() bool
- func (s OptCreatePluginInstallationInputBodyRepositorySelection) MarshalJSON() ([]byte, error)
- func (o OptCreatePluginInstallationInputBodyRepositorySelection) Or(d CreatePluginInstallationInputBodyRepositorySelection) CreatePluginInstallationInputBodyRepositorySelection
- func (o *OptCreatePluginInstallationInputBodyRepositorySelection) Reset()
- func (o *OptCreatePluginInstallationInputBodyRepositorySelection) SetTo(v CreatePluginInstallationInputBodyRepositorySelection)
- func (s *OptCreatePluginInstallationInputBodyRepositorySelection) UnmarshalJSON(data []byte) error
- type OptCreateRepoCIWebhookInputBodyConfig
- func (o *OptCreateRepoCIWebhookInputBodyConfig) Decode(d *jx.Decoder) error
- func (o OptCreateRepoCIWebhookInputBodyConfig) Encode(e *jx.Encoder)
- func (o OptCreateRepoCIWebhookInputBodyConfig) Get() (v CreateRepoCIWebhookInputBodyConfig, ok bool)
- func (o OptCreateRepoCIWebhookInputBodyConfig) IsSet() bool
- func (s OptCreateRepoCIWebhookInputBodyConfig) MarshalJSON() ([]byte, error)
- func (o OptCreateRepoCIWebhookInputBodyConfig) Or(d CreateRepoCIWebhookInputBodyConfig) CreateRepoCIWebhookInputBodyConfig
- func (o *OptCreateRepoCIWebhookInputBodyConfig) Reset()
- func (o *OptCreateRepoCIWebhookInputBodyConfig) SetTo(v CreateRepoCIWebhookInputBodyConfig)
- func (s *OptCreateRepoCIWebhookInputBodyConfig) 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 OptFloat64
- func (o *OptFloat64) Decode(d *jx.Decoder) error
- func (o OptFloat64) Encode(e *jx.Encoder)
- func (o OptFloat64) Get() (v float64, ok bool)
- func (o OptFloat64) IsSet() bool
- func (s OptFloat64) MarshalJSON() ([]byte, error)
- func (o OptFloat64) Or(d float64) float64
- func (o *OptFloat64) Reset()
- func (o *OptFloat64) SetTo(v float64)
- func (s *OptFloat64) UnmarshalJSON(data []byte) error
- type OptForgeRepoIdentity
- func (o *OptForgeRepoIdentity) Decode(d *jx.Decoder) error
- func (o OptForgeRepoIdentity) Encode(e *jx.Encoder)
- func (o OptForgeRepoIdentity) Get() (v ForgeRepoIdentity, ok bool)
- func (o OptForgeRepoIdentity) IsSet() bool
- func (s OptForgeRepoIdentity) MarshalJSON() ([]byte, error)
- func (o OptForgeRepoIdentity) Or(d ForgeRepoIdentity) ForgeRepoIdentity
- func (o *OptForgeRepoIdentity) Reset()
- func (o *OptForgeRepoIdentity) SetTo(v ForgeRepoIdentity)
- func (s *OptForgeRepoIdentity) 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 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 OptGrantAccessBodyGranteeType
- func (o *OptGrantAccessBodyGranteeType) Decode(d *jx.Decoder) error
- func (o OptGrantAccessBodyGranteeType) Encode(e *jx.Encoder)
- func (o OptGrantAccessBodyGranteeType) Get() (v GrantAccessBodyGranteeType, ok bool)
- func (o OptGrantAccessBodyGranteeType) IsSet() bool
- func (s OptGrantAccessBodyGranteeType) MarshalJSON() ([]byte, error)
- func (o OptGrantAccessBodyGranteeType) Or(d GrantAccessBodyGranteeType) GrantAccessBodyGranteeType
- func (o *OptGrantAccessBodyGranteeType) Reset()
- func (o *OptGrantAccessBodyGranteeType) SetTo(v GrantAccessBodyGranteeType)
- func (s *OptGrantAccessBodyGranteeType) 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 OptListOrgInvitationsStatus
- func (o OptListOrgInvitationsStatus) Get() (v ListOrgInvitationsStatus, ok bool)
- func (o OptListOrgInvitationsStatus) IsSet() bool
- func (o OptListOrgInvitationsStatus) Or(d ListOrgInvitationsStatus) ListOrgInvitationsStatus
- func (o *OptListOrgInvitationsStatus) Reset()
- func (o *OptListOrgInvitationsStatus) SetTo(v ListOrgInvitationsStatus)
- type OptListOrgMembersOrder
- type OptListOrgMembersSort
- type OptListOrgPeopleMembership
- func (o OptListOrgPeopleMembership) Get() (v ListOrgPeopleMembership, ok bool)
- func (o OptListOrgPeopleMembership) IsSet() bool
- func (o OptListOrgPeopleMembership) Or(d ListOrgPeopleMembership) ListOrgPeopleMembership
- func (o *OptListOrgPeopleMembership) Reset()
- func (o *OptListOrgPeopleMembership) SetTo(v ListOrgPeopleMembership)
- type OptListOrgPeopleOrder
- type OptListOrgPeopleRole
- type OptListOrgPeopleScope
- type OptListOrgPeopleSort
- type OptListOrgPeopleStatus
- type OptListProjectPeopleOrder
- func (o OptListProjectPeopleOrder) Get() (v ListProjectPeopleOrder, ok bool)
- func (o OptListProjectPeopleOrder) IsSet() bool
- func (o OptListProjectPeopleOrder) Or(d ListProjectPeopleOrder) ListProjectPeopleOrder
- func (o *OptListProjectPeopleOrder) Reset()
- func (o *OptListProjectPeopleOrder) SetTo(v ListProjectPeopleOrder)
- type OptListProjectPeopleRole
- func (o OptListProjectPeopleRole) Get() (v ListProjectPeopleRole, ok bool)
- func (o OptListProjectPeopleRole) IsSet() bool
- func (o OptListProjectPeopleRole) Or(d ListProjectPeopleRole) ListProjectPeopleRole
- func (o *OptListProjectPeopleRole) Reset()
- func (o *OptListProjectPeopleRole) SetTo(v ListProjectPeopleRole)
- type OptListProjectPeopleSort
- func (o OptListProjectPeopleSort) Get() (v ListProjectPeopleSort, ok bool)
- func (o OptListProjectPeopleSort) IsSet() bool
- func (o OptListProjectPeopleSort) Or(d ListProjectPeopleSort) ListProjectPeopleSort
- func (o *OptListProjectPeopleSort) Reset()
- func (o *OptListProjectPeopleSort) SetTo(v ListProjectPeopleSort)
- type OptListProjectReposScope
- func (o OptListProjectReposScope) Get() (v ListProjectReposScope, ok bool)
- func (o OptListProjectReposScope) IsSet() bool
- func (o OptListProjectReposScope) Or(d ListProjectReposScope) ListProjectReposScope
- func (o *OptListProjectReposScope) Reset()
- func (o *OptListProjectReposScope) SetTo(v ListProjectReposScope)
- type OptListRepoCIDeliveriesDirection
- func (o OptListRepoCIDeliveriesDirection) Get() (v ListRepoCIDeliveriesDirection, ok bool)
- func (o OptListRepoCIDeliveriesDirection) IsSet() bool
- func (o OptListRepoCIDeliveriesDirection) Or(d ListRepoCIDeliveriesDirection) ListRepoCIDeliveriesDirection
- func (o *OptListRepoCIDeliveriesDirection) Reset()
- func (o *OptListRepoCIDeliveriesDirection) SetTo(v ListRepoCIDeliveriesDirection)
- type OptListRepoPeopleOrder
- type OptListRepoPeopleRole
- type OptListRepoPeopleSort
- type OptListReposArchived
- type OptListReposHasCheckpoints
- func (o OptListReposHasCheckpoints) Get() (v ListReposHasCheckpoints, ok bool)
- func (o OptListReposHasCheckpoints) IsSet() bool
- func (o OptListReposHasCheckpoints) Or(d ListReposHasCheckpoints) ListReposHasCheckpoints
- func (o *OptListReposHasCheckpoints) Reset()
- func (o *OptListReposHasCheckpoints) SetTo(v ListReposHasCheckpoints)
- type OptListReposOrder
- type OptListReposPermission
- type OptListReposScope
- type OptListReposStatus
- type OptListReposVisibility
- 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 OptMirrorRequestFailure
- func (o *OptMirrorRequestFailure) Decode(d *jx.Decoder) error
- func (o OptMirrorRequestFailure) Encode(e *jx.Encoder)
- func (o OptMirrorRequestFailure) Get() (v MirrorRequestFailure, ok bool)
- func (o OptMirrorRequestFailure) IsSet() bool
- func (s OptMirrorRequestFailure) MarshalJSON() ([]byte, error)
- func (o OptMirrorRequestFailure) Or(d MirrorRequestFailure) MirrorRequestFailure
- func (o *OptMirrorRequestFailure) Reset()
- func (o *OptMirrorRequestFailure) SetTo(v MirrorRequestFailure)
- func (s *OptMirrorRequestFailure) UnmarshalJSON(data []byte) error
- type OptMirrorRequestResult
- func (o *OptMirrorRequestResult) Decode(d *jx.Decoder) error
- func (o OptMirrorRequestResult) Encode(e *jx.Encoder)
- func (o OptMirrorRequestResult) Get() (v MirrorRequestResult, ok bool)
- func (o OptMirrorRequestResult) IsSet() bool
- func (s OptMirrorRequestResult) MarshalJSON() ([]byte, error)
- func (o OptMirrorRequestResult) Or(d MirrorRequestResult) MirrorRequestResult
- func (o *OptMirrorRequestResult) Reset()
- func (o *OptMirrorRequestResult) SetTo(v MirrorRequestResult)
- func (s *OptMirrorRequestResult) 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 OptOrgCapabilities
- func (o *OptOrgCapabilities) Decode(d *jx.Decoder) error
- func (o OptOrgCapabilities) Encode(e *jx.Encoder)
- func (o OptOrgCapabilities) Get() (v OrgCapabilities, ok bool)
- func (o OptOrgCapabilities) IsSet() bool
- func (s OptOrgCapabilities) MarshalJSON() ([]byte, error)
- func (o OptOrgCapabilities) Or(d OrgCapabilities) OrgCapabilities
- func (o *OptOrgCapabilities) Reset()
- func (o *OptOrgCapabilities) SetTo(v OrgCapabilities)
- func (s *OptOrgCapabilities) 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 OptProjectCapabilities
- func (o *OptProjectCapabilities) Decode(d *jx.Decoder) error
- func (o OptProjectCapabilities) Encode(e *jx.Encoder)
- func (o OptProjectCapabilities) Get() (v ProjectCapabilities, ok bool)
- func (o OptProjectCapabilities) IsSet() bool
- func (s OptProjectCapabilities) MarshalJSON() ([]byte, error)
- func (o OptProjectCapabilities) Or(d ProjectCapabilities) ProjectCapabilities
- func (o *OptProjectCapabilities) Reset()
- func (o *OptProjectCapabilities) SetTo(v ProjectCapabilities)
- func (s *OptProjectCapabilities) 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 OptRepoCapabilities
- func (o *OptRepoCapabilities) Decode(d *jx.Decoder) error
- func (o OptRepoCapabilities) Encode(e *jx.Encoder)
- func (o OptRepoCapabilities) Get() (v RepoCapabilities, ok bool)
- func (o OptRepoCapabilities) IsSet() bool
- func (s OptRepoCapabilities) MarshalJSON() ([]byte, error)
- func (o OptRepoCapabilities) Or(d RepoCapabilities) RepoCapabilities
- func (o *OptRepoCapabilities) Reset()
- func (o *OptRepoCapabilities) SetTo(v RepoCapabilities)
- func (s *OptRepoCapabilities) 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) GetCapabilities() OptOrgCapabilities
- 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) SetCapabilities(val OptOrgCapabilities)
- 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 OrgCIBuildkiteClusterView
- func (s *OrgCIBuildkiteClusterView) Decode(d *jx.Decoder) error
- func (s *OrgCIBuildkiteClusterView) Encode(e *jx.Encoder)
- func (s *OrgCIBuildkiteClusterView) GetAdditionalProps() OrgCIBuildkiteClusterViewAdditional
- func (s *OrgCIBuildkiteClusterView) GetAuthPluginRef() string
- func (s *OrgCIBuildkiteClusterView) GetBkClusterID() string
- func (s *OrgCIBuildkiteClusterView) GetBkOrganization() string
- func (s *OrgCIBuildkiteClusterView) GetCreatedAt() time.Time
- func (s *OrgCIBuildkiteClusterView) GetLabel() string
- func (s *OrgCIBuildkiteClusterView) GetOwner() string
- func (s *OrgCIBuildkiteClusterView) GetSchema() OptURI
- func (s *OrgCIBuildkiteClusterView) GetUpdatedAt() time.Time
- func (s *OrgCIBuildkiteClusterView) MarshalJSON() ([]byte, error)
- func (s *OrgCIBuildkiteClusterView) SetAdditionalProps(val OrgCIBuildkiteClusterViewAdditional)
- func (s *OrgCIBuildkiteClusterView) SetAuthPluginRef(val string)
- func (s *OrgCIBuildkiteClusterView) SetBkClusterID(val string)
- func (s *OrgCIBuildkiteClusterView) SetBkOrganization(val string)
- func (s *OrgCIBuildkiteClusterView) SetCreatedAt(val time.Time)
- func (s *OrgCIBuildkiteClusterView) SetLabel(val string)
- func (s *OrgCIBuildkiteClusterView) SetOwner(val string)
- func (s *OrgCIBuildkiteClusterView) SetSchema(val OptURI)
- func (s *OrgCIBuildkiteClusterView) SetUpdatedAt(val time.Time)
- func (s *OrgCIBuildkiteClusterView) UnmarshalJSON(data []byte) error
- type OrgCIBuildkiteClusterViewAdditional
- type OrgCIBuildkiteCredentialView
- func (s *OrgCIBuildkiteCredentialView) Decode(d *jx.Decoder) error
- func (s *OrgCIBuildkiteCredentialView) Encode(e *jx.Encoder)
- func (s *OrgCIBuildkiteCredentialView) GetAdditionalProps() OrgCIBuildkiteCredentialViewAdditional
- func (s *OrgCIBuildkiteCredentialView) GetBkOrganization() string
- func (s *OrgCIBuildkiteCredentialView) GetCipherVersion() int64
- func (s *OrgCIBuildkiteCredentialView) GetCreatedAt() time.Time
- func (s *OrgCIBuildkiteCredentialView) GetInboundEndpointID() OptString
- func (s *OrgCIBuildkiteCredentialView) GetInboundEndpointPath() OptString
- func (s *OrgCIBuildkiteCredentialView) GetInboundEndpointURL() OptString
- func (s *OrgCIBuildkiteCredentialView) GetInboundSecret() OptString
- func (s *OrgCIBuildkiteCredentialView) GetInboundSecretIssuedAt() OptDateTime
- func (s *OrgCIBuildkiteCredentialView) GetInboundSecretSet() bool
- func (s *OrgCIBuildkiteCredentialView) GetOwner() string
- func (s *OrgCIBuildkiteCredentialView) GetSchema() OptURI
- func (s *OrgCIBuildkiteCredentialView) GetTokenLen() int64
- func (s *OrgCIBuildkiteCredentialView) GetUpdatedAt() time.Time
- func (s *OrgCIBuildkiteCredentialView) GetVerifiedAt() OptDateTime
- func (s *OrgCIBuildkiteCredentialView) MarshalJSON() ([]byte, error)
- func (s *OrgCIBuildkiteCredentialView) SetAdditionalProps(val OrgCIBuildkiteCredentialViewAdditional)
- func (s *OrgCIBuildkiteCredentialView) SetBkOrganization(val string)
- func (s *OrgCIBuildkiteCredentialView) SetCipherVersion(val int64)
- func (s *OrgCIBuildkiteCredentialView) SetCreatedAt(val time.Time)
- func (s *OrgCIBuildkiteCredentialView) SetInboundEndpointID(val OptString)
- func (s *OrgCIBuildkiteCredentialView) SetInboundEndpointPath(val OptString)
- func (s *OrgCIBuildkiteCredentialView) SetInboundEndpointURL(val OptString)
- func (s *OrgCIBuildkiteCredentialView) SetInboundSecret(val OptString)
- func (s *OrgCIBuildkiteCredentialView) SetInboundSecretIssuedAt(val OptDateTime)
- func (s *OrgCIBuildkiteCredentialView) SetInboundSecretSet(val bool)
- func (s *OrgCIBuildkiteCredentialView) SetOwner(val string)
- func (s *OrgCIBuildkiteCredentialView) SetSchema(val OptURI)
- func (s *OrgCIBuildkiteCredentialView) SetTokenLen(val int64)
- func (s *OrgCIBuildkiteCredentialView) SetUpdatedAt(val time.Time)
- func (s *OrgCIBuildkiteCredentialView) SetVerifiedAt(val OptDateTime)
- func (s *OrgCIBuildkiteCredentialView) UnmarshalJSON(data []byte) error
- type OrgCIBuildkiteCredentialViewAdditional
- func (s *OrgCIBuildkiteCredentialViewAdditional) Decode(d *jx.Decoder) error
- func (s OrgCIBuildkiteCredentialViewAdditional) Encode(e *jx.Encoder)
- func (s OrgCIBuildkiteCredentialViewAdditional) MarshalJSON() ([]byte, error)
- func (s *OrgCIBuildkiteCredentialViewAdditional) UnmarshalJSON(data []byte) error
- type OrgCIDepotConnectionView
- func (s *OrgCIDepotConnectionView) Decode(d *jx.Decoder) error
- func (s *OrgCIDepotConnectionView) Encode(e *jx.Encoder)
- func (s *OrgCIDepotConnectionView) GetAccount() string
- func (s *OrgCIDepotConnectionView) GetAdditionalProps() OrgCIDepotConnectionViewAdditional
- func (s *OrgCIDepotConnectionView) GetConnectedAt() OptDateTime
- func (s *OrgCIDepotConnectionView) GetOwner() string
- func (s *OrgCIDepotConnectionView) GetProvider() string
- func (s *OrgCIDepotConnectionView) GetSchema() OptURI
- func (s *OrgCIDepotConnectionView) MarshalJSON() ([]byte, error)
- func (s *OrgCIDepotConnectionView) SetAccount(val string)
- func (s *OrgCIDepotConnectionView) SetAdditionalProps(val OrgCIDepotConnectionViewAdditional)
- func (s *OrgCIDepotConnectionView) SetConnectedAt(val OptDateTime)
- func (s *OrgCIDepotConnectionView) SetOwner(val string)
- func (s *OrgCIDepotConnectionView) SetProvider(val string)
- func (s *OrgCIDepotConnectionView) SetSchema(val OptURI)
- func (s *OrgCIDepotConnectionView) UnmarshalJSON(data []byte) error
- type OrgCIDepotConnectionViewAdditional
- type OrgCIGitHubActionsCredentialView
- func (s *OrgCIGitHubActionsCredentialView) Decode(d *jx.Decoder) error
- func (s *OrgCIGitHubActionsCredentialView) Encode(e *jx.Encoder)
- func (s *OrgCIGitHubActionsCredentialView) GetAccount() string
- func (s *OrgCIGitHubActionsCredentialView) GetAdditionalProps() OrgCIGitHubActionsCredentialViewAdditional
- func (s *OrgCIGitHubActionsCredentialView) GetHasAPIToken() OptBool
- func (s *OrgCIGitHubActionsCredentialView) GetInboundEndpointID() OptString
- func (s *OrgCIGitHubActionsCredentialView) GetInboundEndpointPath() OptString
- func (s *OrgCIGitHubActionsCredentialView) GetInboundEndpointURL() OptString
- func (s *OrgCIGitHubActionsCredentialView) GetInboundSecret() OptString
- func (s *OrgCIGitHubActionsCredentialView) GetOwner() string
- func (s *OrgCIGitHubActionsCredentialView) GetProvider() string
- func (s *OrgCIGitHubActionsCredentialView) GetSchema() OptURI
- func (s *OrgCIGitHubActionsCredentialView) MarshalJSON() ([]byte, error)
- func (s *OrgCIGitHubActionsCredentialView) SetAccount(val string)
- func (s *OrgCIGitHubActionsCredentialView) SetAdditionalProps(val OrgCIGitHubActionsCredentialViewAdditional)
- func (s *OrgCIGitHubActionsCredentialView) SetHasAPIToken(val OptBool)
- func (s *OrgCIGitHubActionsCredentialView) SetInboundEndpointID(val OptString)
- func (s *OrgCIGitHubActionsCredentialView) SetInboundEndpointPath(val OptString)
- func (s *OrgCIGitHubActionsCredentialView) SetInboundEndpointURL(val OptString)
- func (s *OrgCIGitHubActionsCredentialView) SetInboundSecret(val OptString)
- func (s *OrgCIGitHubActionsCredentialView) SetOwner(val string)
- func (s *OrgCIGitHubActionsCredentialView) SetProvider(val string)
- func (s *OrgCIGitHubActionsCredentialView) SetSchema(val OptURI)
- func (s *OrgCIGitHubActionsCredentialView) UnmarshalJSON(data []byte) error
- type OrgCIGitHubActionsCredentialViewAdditional
- func (s *OrgCIGitHubActionsCredentialViewAdditional) Decode(d *jx.Decoder) error
- func (s OrgCIGitHubActionsCredentialViewAdditional) Encode(e *jx.Encoder)
- func (s OrgCIGitHubActionsCredentialViewAdditional) MarshalJSON() ([]byte, error)
- func (s *OrgCIGitHubActionsCredentialViewAdditional) UnmarshalJSON(data []byte) error
- type OrgCapabilities
- func (s *OrgCapabilities) Decode(d *jx.Decoder) error
- func (s *OrgCapabilities) Encode(e *jx.Encoder)
- func (s *OrgCapabilities) GetAdditionalProps() OrgCapabilitiesAdditional
- func (s *OrgCapabilities) GetCanChangeOwners() bool
- func (s *OrgCapabilities) GetCanCreateProject() bool
- func (s *OrgCapabilities) GetCanDelete() bool
- func (s *OrgCapabilities) GetCanManageMembers() bool
- func (s *OrgCapabilities) MarshalJSON() ([]byte, error)
- func (s *OrgCapabilities) SetAdditionalProps(val OrgCapabilitiesAdditional)
- func (s *OrgCapabilities) SetCanChangeOwners(val bool)
- func (s *OrgCapabilities) SetCanCreateProject(val bool)
- func (s *OrgCapabilities) SetCanDelete(val bool)
- func (s *OrgCapabilities) SetCanManageMembers(val bool)
- func (s *OrgCapabilities) UnmarshalJSON(data []byte) error
- type OrgCapabilitiesAdditional
- type OrgMemberListItem
- func (s *OrgMemberListItem) Decode(d *jx.Decoder) error
- func (s *OrgMemberListItem) Encode(e *jx.Encoder)
- func (s *OrgMemberListItem) GetAccountId() string
- func (s *OrgMemberListItem) GetAdditionalProps() OrgMemberListItemAdditional
- func (s *OrgMemberListItem) GetAvatarUrl() OptString
- func (s *OrgMemberListItem) GetCreatedAt() time.Time
- func (s *OrgMemberListItem) GetDisplayName() OptString
- func (s *OrgMemberListItem) GetHandle() OptString
- func (s *OrgMemberListItem) GetID() string
- func (s *OrgMemberListItem) GetOrgId() string
- func (s *OrgMemberListItem) GetProvider() OptString
- func (s *OrgMemberListItem) GetRole() string
- func (s *OrgMemberListItem) GetStatus() string
- func (s *OrgMemberListItem) GetWorkosOrgMembershipId() OptString
- func (s *OrgMemberListItem) MarshalJSON() ([]byte, error)
- func (s *OrgMemberListItem) SetAccountId(val string)
- func (s *OrgMemberListItem) SetAdditionalProps(val OrgMemberListItemAdditional)
- func (s *OrgMemberListItem) SetAvatarUrl(val OptString)
- func (s *OrgMemberListItem) SetCreatedAt(val time.Time)
- func (s *OrgMemberListItem) SetDisplayName(val OptString)
- func (s *OrgMemberListItem) SetHandle(val OptString)
- func (s *OrgMemberListItem) SetID(val string)
- func (s *OrgMemberListItem) SetOrgId(val string)
- func (s *OrgMemberListItem) SetProvider(val OptString)
- func (s *OrgMemberListItem) SetRole(val string)
- func (s *OrgMemberListItem) SetStatus(val string)
- func (s *OrgMemberListItem) SetWorkosOrgMembershipId(val OptString)
- func (s *OrgMemberListItem) UnmarshalJSON(data []byte) error
- type OrgMemberListItemAdditional
- type OrgPerson
- func (s *OrgPerson) Decode(d *jx.Decoder) error
- func (s *OrgPerson) Encode(e *jx.Encoder)
- func (s *OrgPerson) GetAccountId() string
- func (s *OrgPerson) GetAdditionalProps() OrgPersonAdditional
- func (s *OrgPerson) GetAvatarUrl() OptString
- func (s *OrgPerson) GetDisplayName() OptString
- func (s *OrgPerson) GetGrants() []OrgPersonGrant
- func (s *OrgPerson) GetHandle() OptString
- func (s *OrgPerson) GetMembership() OrgPersonMembership
- func (s *OrgPerson) GetProvider() OptString
- func (s *OrgPerson) GetSchema() OptURI
- func (s *OrgPerson) MarshalJSON() ([]byte, error)
- func (s *OrgPerson) SetAccountId(val string)
- func (s *OrgPerson) SetAdditionalProps(val OrgPersonAdditional)
- func (s *OrgPerson) SetAvatarUrl(val OptString)
- func (s *OrgPerson) SetDisplayName(val OptString)
- func (s *OrgPerson) SetGrants(val []OrgPersonGrant)
- func (s *OrgPerson) SetHandle(val OptString)
- func (s *OrgPerson) SetMembership(val OrgPersonMembership)
- func (s *OrgPerson) SetProvider(val OptString)
- func (s *OrgPerson) SetSchema(val OptURI)
- func (s *OrgPerson) UnmarshalJSON(data []byte) error
- func (s *OrgPerson) Validate() error
- type OrgPersonAdditional
- type OrgPersonGrant
- func (s *OrgPersonGrant) Decode(d *jx.Decoder) error
- func (s *OrgPersonGrant) Encode(e *jx.Encoder)
- func (s *OrgPersonGrant) GetAdditionalProps() OrgPersonGrantAdditional
- func (s *OrgPersonGrant) GetCapabilities() OrgPersonGrantCapabilities
- func (s *OrgPersonGrant) GetResourceId() string
- func (s *OrgPersonGrant) GetResourceName() string
- func (s *OrgPersonGrant) GetResourceType() OrgPersonGrantResourceType
- func (s *OrgPersonGrant) GetRole() OrgPersonGrantRole
- func (s *OrgPersonGrant) GetSource() OrgPersonGrantSource
- func (s *OrgPersonGrant) MarshalJSON() ([]byte, error)
- func (s *OrgPersonGrant) SetAdditionalProps(val OrgPersonGrantAdditional)
- func (s *OrgPersonGrant) SetCapabilities(val OrgPersonGrantCapabilities)
- func (s *OrgPersonGrant) SetResourceId(val string)
- func (s *OrgPersonGrant) SetResourceName(val string)
- func (s *OrgPersonGrant) SetResourceType(val OrgPersonGrantResourceType)
- func (s *OrgPersonGrant) SetRole(val OrgPersonGrantRole)
- func (s *OrgPersonGrant) SetSource(val OrgPersonGrantSource)
- func (s *OrgPersonGrant) UnmarshalJSON(data []byte) error
- func (s *OrgPersonGrant) Validate() error
- type OrgPersonGrantAdditional
- type OrgPersonGrantCapabilities
- func (s *OrgPersonGrantCapabilities) Decode(d *jx.Decoder) error
- func (s *OrgPersonGrantCapabilities) Encode(e *jx.Encoder)
- func (s *OrgPersonGrantCapabilities) GetAdditionalProps() OrgPersonGrantCapabilitiesAdditional
- func (s *OrgPersonGrantCapabilities) GetAllowedRoles() []OrgPersonGrantCapabilitiesAllowedRolesItem
- func (s *OrgPersonGrantCapabilities) GetTargetId() OptString
- func (s *OrgPersonGrantCapabilities) MarshalJSON() ([]byte, error)
- func (s *OrgPersonGrantCapabilities) SetAdditionalProps(val OrgPersonGrantCapabilitiesAdditional)
- func (s *OrgPersonGrantCapabilities) SetAllowedRoles(val []OrgPersonGrantCapabilitiesAllowedRolesItem)
- func (s *OrgPersonGrantCapabilities) SetTargetId(val OptString)
- func (s *OrgPersonGrantCapabilities) UnmarshalJSON(data []byte) error
- func (s *OrgPersonGrantCapabilities) Validate() error
- type OrgPersonGrantCapabilitiesAdditional
- type OrgPersonGrantCapabilitiesAllowedRolesItem
- func (OrgPersonGrantCapabilitiesAllowedRolesItem) AllValues() []OrgPersonGrantCapabilitiesAllowedRolesItem
- func (s *OrgPersonGrantCapabilitiesAllowedRolesItem) Decode(d *jx.Decoder) error
- func (s OrgPersonGrantCapabilitiesAllowedRolesItem) Encode(e *jx.Encoder)
- func (s OrgPersonGrantCapabilitiesAllowedRolesItem) MarshalJSON() ([]byte, error)
- func (s OrgPersonGrantCapabilitiesAllowedRolesItem) MarshalText() ([]byte, error)
- func (s *OrgPersonGrantCapabilitiesAllowedRolesItem) UnmarshalJSON(data []byte) error
- func (s *OrgPersonGrantCapabilitiesAllowedRolesItem) UnmarshalText(data []byte) error
- func (s OrgPersonGrantCapabilitiesAllowedRolesItem) Validate() error
- type OrgPersonGrantResourceType
- func (OrgPersonGrantResourceType) AllValues() []OrgPersonGrantResourceType
- func (s *OrgPersonGrantResourceType) Decode(d *jx.Decoder) error
- func (s OrgPersonGrantResourceType) Encode(e *jx.Encoder)
- func (s OrgPersonGrantResourceType) MarshalJSON() ([]byte, error)
- func (s OrgPersonGrantResourceType) MarshalText() ([]byte, error)
- func (s *OrgPersonGrantResourceType) UnmarshalJSON(data []byte) error
- func (s *OrgPersonGrantResourceType) UnmarshalText(data []byte) error
- func (s OrgPersonGrantResourceType) Validate() error
- type OrgPersonGrantRole
- func (OrgPersonGrantRole) AllValues() []OrgPersonGrantRole
- func (s *OrgPersonGrantRole) Decode(d *jx.Decoder) error
- func (s OrgPersonGrantRole) Encode(e *jx.Encoder)
- func (s OrgPersonGrantRole) MarshalJSON() ([]byte, error)
- func (s OrgPersonGrantRole) MarshalText() ([]byte, error)
- func (s *OrgPersonGrantRole) UnmarshalJSON(data []byte) error
- func (s *OrgPersonGrantRole) UnmarshalText(data []byte) error
- func (s OrgPersonGrantRole) Validate() error
- type OrgPersonGrantSource
- func (OrgPersonGrantSource) AllValues() []OrgPersonGrantSource
- func (s *OrgPersonGrantSource) Decode(d *jx.Decoder) error
- func (s OrgPersonGrantSource) Encode(e *jx.Encoder)
- func (s OrgPersonGrantSource) MarshalJSON() ([]byte, error)
- func (s OrgPersonGrantSource) MarshalText() ([]byte, error)
- func (s *OrgPersonGrantSource) UnmarshalJSON(data []byte) error
- func (s *OrgPersonGrantSource) UnmarshalText(data []byte) error
- func (s OrgPersonGrantSource) Validate() error
- type OrgPersonHeaders
- type OrgPersonMembership
- func (s *OrgPersonMembership) Decode(d *jx.Decoder) error
- func (s *OrgPersonMembership) Encode(e *jx.Encoder)
- func (s *OrgPersonMembership) GetAdditionalProps() OrgPersonMembershipAdditional
- func (s *OrgPersonMembership) GetCreatedAt() time.Time
- func (s *OrgPersonMembership) GetID() string
- func (s *OrgPersonMembership) GetRole() string
- func (s *OrgPersonMembership) GetStatus() string
- func (s *OrgPersonMembership) MarshalJSON() ([]byte, error)
- func (s *OrgPersonMembership) SetAdditionalProps(val OrgPersonMembershipAdditional)
- func (s *OrgPersonMembership) SetCreatedAt(val time.Time)
- func (s *OrgPersonMembership) SetID(val string)
- func (s *OrgPersonMembership) SetRole(val string)
- func (s *OrgPersonMembership) SetStatus(val string)
- func (s *OrgPersonMembership) UnmarshalJSON(data []byte) error
- type OrgPersonMembershipAdditional
- type OrgPersonSummary
- func (s *OrgPersonSummary) Decode(d *jx.Decoder) error
- func (s *OrgPersonSummary) Encode(e *jx.Encoder)
- func (s *OrgPersonSummary) GetAccessScopes() []OrgPersonSummaryAccessScopesItem
- func (s *OrgPersonSummary) GetAccountId() string
- func (s *OrgPersonSummary) GetAdditionalProps() OrgPersonSummaryAdditional
- func (s *OrgPersonSummary) GetAvatarUrl() OptString
- func (s *OrgPersonSummary) GetDisplayName() OptString
- func (s *OrgPersonSummary) GetHandle() OptString
- func (s *OrgPersonSummary) GetMembership() OrgPersonMembership
- func (s *OrgPersonSummary) GetProvider() OptString
- func (s *OrgPersonSummary) MarshalJSON() ([]byte, error)
- func (s *OrgPersonSummary) SetAccessScopes(val []OrgPersonSummaryAccessScopesItem)
- func (s *OrgPersonSummary) SetAccountId(val string)
- func (s *OrgPersonSummary) SetAdditionalProps(val OrgPersonSummaryAdditional)
- func (s *OrgPersonSummary) SetAvatarUrl(val OptString)
- func (s *OrgPersonSummary) SetDisplayName(val OptString)
- func (s *OrgPersonSummary) SetHandle(val OptString)
- func (s *OrgPersonSummary) SetMembership(val OrgPersonMembership)
- func (s *OrgPersonSummary) SetProvider(val OptString)
- func (s *OrgPersonSummary) UnmarshalJSON(data []byte) error
- func (s *OrgPersonSummary) Validate() error
- type OrgPersonSummaryAccessScopesItem
- func (OrgPersonSummaryAccessScopesItem) AllValues() []OrgPersonSummaryAccessScopesItem
- func (s *OrgPersonSummaryAccessScopesItem) Decode(d *jx.Decoder) error
- func (s OrgPersonSummaryAccessScopesItem) Encode(e *jx.Encoder)
- func (s OrgPersonSummaryAccessScopesItem) MarshalJSON() ([]byte, error)
- func (s OrgPersonSummaryAccessScopesItem) MarshalText() ([]byte, error)
- func (s *OrgPersonSummaryAccessScopesItem) UnmarshalJSON(data []byte) error
- func (s *OrgPersonSummaryAccessScopesItem) UnmarshalText(data []byte) error
- func (s OrgPersonSummaryAccessScopesItem) Validate() error
- type OrgPersonSummaryAdditional
- 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) GetPublishChecks() OptBool
- func (s *PatchRepoCIWebhookInputBody) GetRefFilter() OptString
- func (s *PatchRepoCIWebhookInputBody) GetRepoWrite() OptBool
- 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) SetPublishChecks(val OptBool)
- func (s *PatchRepoCIWebhookInputBody) SetRefFilter(val OptString)
- func (s *PatchRepoCIWebhookInputBody) SetRepoWrite(val OptBool)
- 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 PluginInstallation
- func (s *PluginInstallation) Decode(d *jx.Decoder) error
- func (s *PluginInstallation) Encode(e *jx.Encoder)
- func (s *PluginInstallation) GetAccount() string
- func (s *PluginInstallation) GetAdditionalProps() PluginInstallationAdditional
- func (s *PluginInstallation) GetInstallationID() string
- func (s *PluginInstallation) GetOrgID() OptString
- func (s *PluginInstallation) GetProfile() PluginInstallationProfile
- func (s *PluginInstallation) GetProjectID() OptString
- func (s *PluginInstallation) GetRepositorySelection() OptString
- func (s *PluginInstallation) GetSchema() OptURI
- func (s *PluginInstallation) MarshalJSON() ([]byte, error)
- func (s *PluginInstallation) SetAccount(val string)
- func (s *PluginInstallation) SetAdditionalProps(val PluginInstallationAdditional)
- func (s *PluginInstallation) SetInstallationID(val string)
- func (s *PluginInstallation) SetOrgID(val OptString)
- func (s *PluginInstallation) SetProfile(val PluginInstallationProfile)
- func (s *PluginInstallation) SetProjectID(val OptString)
- func (s *PluginInstallation) SetRepositorySelection(val OptString)
- func (s *PluginInstallation) SetSchema(val OptURI)
- func (s *PluginInstallation) UnmarshalJSON(data []byte) error
- type PluginInstallationAdditional
- type PluginInstallationProfile
- type PluginInstallationView
- func (s *PluginInstallationView) Decode(d *jx.Decoder) error
- func (s *PluginInstallationView) Encode(e *jx.Encoder)
- func (s *PluginInstallationView) GetAccount() string
- func (s *PluginInstallationView) GetAdditionalProps() PluginInstallationViewAdditional
- func (s *PluginInstallationView) GetCreatedAt() time.Time
- func (s *PluginInstallationView) GetInstallationID() string
- func (s *PluginInstallationView) GetOrgID() OptString
- func (s *PluginInstallationView) GetProjectID() OptString
- func (s *PluginInstallationView) GetRepositorySelection() OptString
- func (s *PluginInstallationView) GetSchema() OptURI
- func (s *PluginInstallationView) MarshalJSON() ([]byte, error)
- func (s *PluginInstallationView) SetAccount(val string)
- func (s *PluginInstallationView) SetAdditionalProps(val PluginInstallationViewAdditional)
- func (s *PluginInstallationView) SetCreatedAt(val time.Time)
- func (s *PluginInstallationView) SetInstallationID(val string)
- func (s *PluginInstallationView) SetOrgID(val OptString)
- func (s *PluginInstallationView) SetProjectID(val OptString)
- func (s *PluginInstallationView) SetRepositorySelection(val OptString)
- func (s *PluginInstallationView) SetSchema(val OptURI)
- func (s *PluginInstallationView) UnmarshalJSON(data []byte) error
- type PluginInstallationViewAdditional
- type PreviewInvitationInputBody
- func (s *PreviewInvitationInputBody) Decode(d *jx.Decoder) error
- func (s *PreviewInvitationInputBody) Encode(e *jx.Encoder)
- func (s *PreviewInvitationInputBody) GetAdditionalProps() PreviewInvitationInputBodyAdditional
- func (s *PreviewInvitationInputBody) GetSchema() OptURI
- func (s *PreviewInvitationInputBody) GetToken() string
- func (s *PreviewInvitationInputBody) MarshalJSON() ([]byte, error)
- func (s *PreviewInvitationInputBody) SetAdditionalProps(val PreviewInvitationInputBodyAdditional)
- func (s *PreviewInvitationInputBody) SetSchema(val OptURI)
- func (s *PreviewInvitationInputBody) SetToken(val string)
- func (s *PreviewInvitationInputBody) UnmarshalJSON(data []byte) error
- func (s *PreviewInvitationInputBody) Validate() error
- type PreviewInvitationInputBodyAdditional
- type PreviewInvitationOK
- func (s *PreviewInvitationOK) Decode(d *jx.Decoder) error
- func (s *PreviewInvitationOK) Encode(e *jx.Encoder)
- func (s *PreviewInvitationOK) GetAdditionalProps() PreviewInvitationOKAdditional
- func (s *PreviewInvitationOK) GetInviterHandle() string
- func (s *PreviewInvitationOK) GetOrgName() string
- func (s *PreviewInvitationOK) GetRole() PreviewInvitationOKRole
- func (s *PreviewInvitationOK) MarshalJSON() ([]byte, error)
- func (s *PreviewInvitationOK) SetAdditionalProps(val PreviewInvitationOKAdditional)
- func (s *PreviewInvitationOK) SetInviterHandle(val string)
- func (s *PreviewInvitationOK) SetOrgName(val string)
- func (s *PreviewInvitationOK) SetRole(val PreviewInvitationOKRole)
- func (s *PreviewInvitationOK) UnmarshalJSON(data []byte) error
- func (s *PreviewInvitationOK) Validate() error
- type PreviewInvitationOKAdditional
- type PreviewInvitationOKHeaders
- func (s *PreviewInvitationOKHeaders) GetCacheControl() OptString
- func (s *PreviewInvitationOKHeaders) GetResponse() PreviewInvitationOK
- func (s *PreviewInvitationOKHeaders) SetCacheControl(val OptString)
- func (s *PreviewInvitationOKHeaders) SetResponse(val PreviewInvitationOK)
- func (s *PreviewInvitationOKHeaders) Validate() error
- type PreviewInvitationOKRole
- func (PreviewInvitationOKRole) AllValues() []PreviewInvitationOKRole
- func (s *PreviewInvitationOKRole) Decode(d *jx.Decoder) error
- func (s PreviewInvitationOKRole) Encode(e *jx.Encoder)
- func (s PreviewInvitationOKRole) MarshalJSON() ([]byte, error)
- func (s PreviewInvitationOKRole) MarshalText() ([]byte, error)
- func (s *PreviewInvitationOKRole) UnmarshalJSON(data []byte) error
- func (s *PreviewInvitationOKRole) UnmarshalText(data []byte) error
- func (s PreviewInvitationOKRole) Validate() error
- 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) GetApiUrl() OptString
- func (s *Project) GetCapabilities() OptProjectCapabilities
- func (s *Project) GetCreatedAt() time.Time
- func (s *Project) GetID() string
- func (s *Project) GetName() string
- func (s *Project) GetOwnerId() string
- func (s *Project) GetOwnerName() OptString
- func (s *Project) GetOwnerType() ProjectOwnerType
- func (s *Project) GetPrimaryProcessingCell() OptString
- func (s *Project) GetRegion() string
- func (s *Project) GetRepositoryCount() OptInt64
- func (s *Project) GetSchema() OptURI
- func (s *Project) MarshalJSON() ([]byte, error)
- func (s *Project) SetAdditionalProps(val ProjectAdditional)
- func (s *Project) SetApiUrl(val OptString)
- func (s *Project) SetCapabilities(val OptProjectCapabilities)
- 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) SetOwnerName(val OptString)
- func (s *Project) SetOwnerType(val ProjectOwnerType)
- func (s *Project) SetPrimaryProcessingCell(val OptString)
- func (s *Project) SetRegion(val string)
- func (s *Project) SetRepositoryCount(val OptInt64)
- func (s *Project) SetSchema(val OptURI)
- func (s *Project) UnmarshalJSON(data []byte) error
- func (s *Project) Validate() error
- type ProjectAdditional
- type ProjectCapabilities
- func (s *ProjectCapabilities) Decode(d *jx.Decoder) error
- func (s *ProjectCapabilities) Encode(e *jx.Encoder)
- func (s *ProjectCapabilities) GetAdditionalProps() ProjectCapabilitiesAdditional
- func (s *ProjectCapabilities) GetCanCreateRepository() bool
- func (s *ProjectCapabilities) GetCanDelete() bool
- func (s *ProjectCapabilities) GetCanManageAccess() bool
- func (s *ProjectCapabilities) GetCanManageTrails() bool
- func (s *ProjectCapabilities) MarshalJSON() ([]byte, error)
- func (s *ProjectCapabilities) SetAdditionalProps(val ProjectCapabilitiesAdditional)
- func (s *ProjectCapabilities) SetCanCreateRepository(val bool)
- func (s *ProjectCapabilities) SetCanDelete(val bool)
- func (s *ProjectCapabilities) SetCanManageAccess(val bool)
- func (s *ProjectCapabilities) SetCanManageTrails(val bool)
- func (s *ProjectCapabilities) UnmarshalJSON(data []byte) error
- type ProjectCapabilitiesAdditional
- type ProjectCollaborator
- func (s *ProjectCollaborator) Decode(d *jx.Decoder) error
- func (s *ProjectCollaborator) Encode(e *jx.Encoder)
- func (s *ProjectCollaborator) GetAccountId() string
- func (s *ProjectCollaborator) GetAdditionalProps() ProjectCollaboratorAdditional
- func (s *ProjectCollaborator) GetAvatarUrl() OptString
- func (s *ProjectCollaborator) GetDisplayName() OptString
- func (s *ProjectCollaborator) GetHandle() OptString
- func (s *ProjectCollaborator) MarshalJSON() ([]byte, error)
- func (s *ProjectCollaborator) SetAccountId(val string)
- func (s *ProjectCollaborator) SetAdditionalProps(val ProjectCollaboratorAdditional)
- func (s *ProjectCollaborator) SetAvatarUrl(val OptString)
- func (s *ProjectCollaborator) SetDisplayName(val OptString)
- func (s *ProjectCollaborator) SetHandle(val OptString)
- func (s *ProjectCollaborator) UnmarshalJSON(data []byte) error
- type ProjectCollaboratorAdditional
- 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) GetDisplayName() OptString
- 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) SetDisplayName(val OptString)
- 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 ProjectReference
- func (s *ProjectReference) Decode(d *jx.Decoder) error
- func (s *ProjectReference) Encode(e *jx.Encoder)
- func (s *ProjectReference) GetAdditionalProps() ProjectReferenceAdditional
- func (s *ProjectReference) GetHost() ProjectReferenceHost
- func (s *ProjectReference) GetProject() string
- func (s *ProjectReference) MarshalJSON() ([]byte, error)
- func (s *ProjectReference) SetAdditionalProps(val ProjectReferenceAdditional)
- func (s *ProjectReference) SetHost(val ProjectReferenceHost)
- func (s *ProjectReference) SetProject(val string)
- func (s *ProjectReference) UnmarshalJSON(data []byte) error
- func (s *ProjectReference) Validate() error
- type ProjectReferenceAdditional
- type ProjectReferenceHost
- func (ProjectReferenceHost) AllValues() []ProjectReferenceHost
- func (s *ProjectReferenceHost) Decode(d *jx.Decoder) error
- func (s ProjectReferenceHost) Encode(e *jx.Encoder)
- func (s ProjectReferenceHost) MarshalJSON() ([]byte, error)
- func (s ProjectReferenceHost) MarshalText() ([]byte, error)
- func (s *ProjectReferenceHost) UnmarshalJSON(data []byte) error
- func (s *ProjectReferenceHost) UnmarshalText(data []byte) error
- func (s ProjectReferenceHost) Validate() error
- type RegisterOrgCIBuildkiteClusterInputBody
- func (s *RegisterOrgCIBuildkiteClusterInputBody) Decode(d *jx.Decoder) error
- func (s *RegisterOrgCIBuildkiteClusterInputBody) Encode(e *jx.Encoder)
- func (s *RegisterOrgCIBuildkiteClusterInputBody) GetAdditionalProps() RegisterOrgCIBuildkiteClusterInputBodyAdditional
- func (s *RegisterOrgCIBuildkiteClusterInputBody) GetAuthPluginRef() OptString
- func (s *RegisterOrgCIBuildkiteClusterInputBody) GetBkClusterID() string
- func (s *RegisterOrgCIBuildkiteClusterInputBody) GetBkOrganization() string
- func (s *RegisterOrgCIBuildkiteClusterInputBody) GetLabel() OptString
- func (s *RegisterOrgCIBuildkiteClusterInputBody) GetSchema() OptURI
- func (s *RegisterOrgCIBuildkiteClusterInputBody) MarshalJSON() ([]byte, error)
- func (s *RegisterOrgCIBuildkiteClusterInputBody) SetAdditionalProps(val RegisterOrgCIBuildkiteClusterInputBodyAdditional)
- func (s *RegisterOrgCIBuildkiteClusterInputBody) SetAuthPluginRef(val OptString)
- func (s *RegisterOrgCIBuildkiteClusterInputBody) SetBkClusterID(val string)
- func (s *RegisterOrgCIBuildkiteClusterInputBody) SetBkOrganization(val string)
- func (s *RegisterOrgCIBuildkiteClusterInputBody) SetLabel(val OptString)
- func (s *RegisterOrgCIBuildkiteClusterInputBody) SetSchema(val OptURI)
- func (s *RegisterOrgCIBuildkiteClusterInputBody) UnmarshalJSON(data []byte) error
- func (s *RegisterOrgCIBuildkiteClusterInputBody) Validate() error
- type RegisterOrgCIBuildkiteClusterInputBodyAdditional
- func (s *RegisterOrgCIBuildkiteClusterInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s RegisterOrgCIBuildkiteClusterInputBodyAdditional) Encode(e *jx.Encoder)
- func (s RegisterOrgCIBuildkiteClusterInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *RegisterOrgCIBuildkiteClusterInputBodyAdditional) UnmarshalJSON(data []byte) error
- type RegisterOrgCIBuildkiteClusterParams
- type RemoveOrgMemberByMembershipIDNoContent
- type RemoveOrgMemberByMembershipIDParams
- type RemoveOrgMemberNoContent
- type RemoveOrgMemberParams
- type RemovePluginInstallationRepositoryNoContent
- type RemovePluginInstallationRepositoryParams
- 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) GetCandidate() OptRepoCandidate
- func (s *Repo) GetCapabilities() OptRepoCapabilities
- func (s *Repo) GetClusterHost() OptString
- func (s *Repo) GetClusterSlug() OptString
- func (s *Repo) GetForeign() OptBool
- func (s *Repo) GetFullName() OptString
- func (s *Repo) GetID() string
- func (s *Repo) GetJurisdiction() OptString
- 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) GetPlacements() []RepoPlacement
- func (s *Repo) GetPrimaries() OptRepoPrimaries
- func (s *Repo) GetProvider() 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) SetCandidate(val OptRepoCandidate)
- func (s *Repo) SetCapabilities(val OptRepoCapabilities)
- func (s *Repo) SetClusterHost(val OptString)
- func (s *Repo) SetClusterSlug(val OptString)
- func (s *Repo) SetForeign(val OptBool)
- func (s *Repo) SetFullName(val OptString)
- func (s *Repo) SetID(val string)
- func (s *Repo) SetJurisdiction(val OptString)
- 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) SetPlacements(val []RepoPlacement)
- func (s *Repo) SetPrimaries(val OptRepoPrimaries)
- func (s *Repo) SetProvider(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
- func (s *Repo) Validate() 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 RepoCapabilities
- func (s *RepoCapabilities) Decode(d *jx.Decoder) error
- func (s *RepoCapabilities) Encode(e *jx.Encoder)
- func (s *RepoCapabilities) GetAdditionalProps() RepoCapabilitiesAdditional
- func (s *RepoCapabilities) GetCanManage() bool
- func (s *RepoCapabilities) GetCanPull() bool
- func (s *RepoCapabilities) GetCanPush() bool
- func (s *RepoCapabilities) MarshalJSON() ([]byte, error)
- func (s *RepoCapabilities) SetAdditionalProps(val RepoCapabilitiesAdditional)
- func (s *RepoCapabilities) SetCanManage(val bool)
- func (s *RepoCapabilities) SetCanPull(val bool)
- func (s *RepoCapabilities) SetCanPush(val bool)
- func (s *RepoCapabilities) UnmarshalJSON(data []byte) error
- type RepoCapabilitiesAdditional
- type RepoCollaborator
- func (s *RepoCollaborator) Decode(d *jx.Decoder) error
- func (s *RepoCollaborator) Encode(e *jx.Encoder)
- func (s *RepoCollaborator) GetAccountId() string
- func (s *RepoCollaborator) GetAdditionalProps() RepoCollaboratorAdditional
- func (s *RepoCollaborator) GetHandle() OptString
- func (s *RepoCollaborator) GetRole() RepoCollaboratorRole
- func (s *RepoCollaborator) MarshalJSON() ([]byte, error)
- func (s *RepoCollaborator) SetAccountId(val string)
- func (s *RepoCollaborator) SetAdditionalProps(val RepoCollaboratorAdditional)
- func (s *RepoCollaborator) SetHandle(val OptString)
- func (s *RepoCollaborator) SetRole(val RepoCollaboratorRole)
- func (s *RepoCollaborator) UnmarshalJSON(data []byte) error
- func (s *RepoCollaborator) Validate() error
- type RepoCollaboratorAdditional
- type RepoCollaboratorRole
- func (RepoCollaboratorRole) AllValues() []RepoCollaboratorRole
- func (s *RepoCollaboratorRole) Decode(d *jx.Decoder) error
- func (s RepoCollaboratorRole) Encode(e *jx.Encoder)
- func (s RepoCollaboratorRole) MarshalJSON() ([]byte, error)
- func (s RepoCollaboratorRole) MarshalText() ([]byte, error)
- func (s *RepoCollaboratorRole) UnmarshalJSON(data []byte) error
- func (s *RepoCollaboratorRole) UnmarshalText(data []byte) error
- func (s RepoCollaboratorRole) Validate() error
- type RepoFacetPage
- func (s *RepoFacetPage) Decode(d *jx.Decoder) error
- func (s *RepoFacetPage) Encode(e *jx.Encoder)
- func (s *RepoFacetPage) GetAdditionalProps() RepoFacetPageAdditional
- func (s *RepoFacetPage) GetItems() []string
- func (s *RepoFacetPage) GetNextPageToken() OptString
- func (s *RepoFacetPage) GetSchema() OptURI
- func (s *RepoFacetPage) MarshalJSON() ([]byte, error)
- func (s *RepoFacetPage) SetAdditionalProps(val RepoFacetPageAdditional)
- func (s *RepoFacetPage) SetItems(val []string)
- func (s *RepoFacetPage) SetNextPageToken(val OptString)
- func (s *RepoFacetPage) SetSchema(val OptURI)
- func (s *RepoFacetPage) UnmarshalJSON(data []byte) error
- func (s *RepoFacetPage) Validate() error
- type RepoFacetPageAdditional
- 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) GetDisplayName() OptString
- 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) SetDisplayName(val OptString)
- 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 RepoHeaders
- type RepoIDResolution
- func (s *RepoIDResolution) Decode(d *jx.Decoder) error
- func (s *RepoIDResolution) Encode(e *jx.Encoder)
- func (s *RepoIDResolution) GetAdditionalProps() RepoIDResolutionAdditional
- func (s *RepoIDResolution) GetFullName() OptString
- func (s *RepoIDResolution) GetProvider() OptString
- func (s *RepoIDResolution) GetRepoId() string
- func (s *RepoIDResolution) GetStatus() RepoIDResolutionStatus
- func (s *RepoIDResolution) MarshalJSON() ([]byte, error)
- func (s *RepoIDResolution) SetAdditionalProps(val RepoIDResolutionAdditional)
- func (s *RepoIDResolution) SetFullName(val OptString)
- func (s *RepoIDResolution) SetProvider(val OptString)
- func (s *RepoIDResolution) SetRepoId(val string)
- func (s *RepoIDResolution) SetStatus(val RepoIDResolutionStatus)
- func (s *RepoIDResolution) UnmarshalJSON(data []byte) error
- func (s *RepoIDResolution) Validate() error
- type RepoIDResolutionAdditional
- type RepoIDResolutionStatus
- func (RepoIDResolutionStatus) AllValues() []RepoIDResolutionStatus
- func (s *RepoIDResolutionStatus) Decode(d *jx.Decoder) error
- func (s RepoIDResolutionStatus) Encode(e *jx.Encoder)
- func (s RepoIDResolutionStatus) MarshalJSON() ([]byte, error)
- func (s RepoIDResolutionStatus) MarshalText() ([]byte, error)
- func (s *RepoIDResolutionStatus) UnmarshalJSON(data []byte) error
- func (s *RepoIDResolutionStatus) UnmarshalText(data []byte) error
- func (s RepoIDResolutionStatus) Validate() error
- type RepoIndexEntry
- func (s *RepoIndexEntry) Decode(d *jx.Decoder) error
- func (s *RepoIndexEntry) Encode(e *jx.Encoder)
- func (s *RepoIndexEntry) GetActivityHotness() OptFloat64
- func (s *RepoIndexEntry) GetAdditionalProps() RepoIndexEntryAdditional
- func (s *RepoIndexEntry) GetArchived() OptBool
- func (s *RepoIndexEntry) GetCandidate() OptRepoCandidate
- func (s *RepoIndexEntry) GetCell() string
- func (s *RepoIndexEntry) GetCheckpointCount() OptInt64
- func (s *RepoIndexEntry) GetClusterSlug() string
- func (s *RepoIndexEntry) GetForks() OptInt64
- func (s *RepoIndexEntry) GetFullName() string
- func (s *RepoIndexEntry) GetID() string
- func (s *RepoIndexEntry) GetJurisdiction() string
- func (s *RepoIndexEntry) GetLanguage() OptString
- func (s *RepoIndexEntry) GetLastActivityAt() OptDateTime
- func (s *RepoIndexEntry) GetLastPushedAt() OptDateTime
- func (s *RepoIndexEntry) GetName() string
- func (s *RepoIndexEntry) GetOpenPrCount() OptInt64
- func (s *RepoIndexEntry) GetOrg() OptString
- func (s *RepoIndexEntry) GetPermission() OptString
- func (s *RepoIndexEntry) GetPlacements() []RepoPlacement
- func (s *RepoIndexEntry) GetPrimaries() OptRepoPrimaries
- func (s *RepoIndexEntry) GetProvider() OptString
- func (s *RepoIndexEntry) GetPushedAt() OptDateTime
- func (s *RepoIndexEntry) GetStars() OptInt64
- func (s *RepoIndexEntry) GetVisibility() string
- func (s *RepoIndexEntry) MarshalJSON() ([]byte, error)
- func (s *RepoIndexEntry) SetActivityHotness(val OptFloat64)
- func (s *RepoIndexEntry) SetAdditionalProps(val RepoIndexEntryAdditional)
- func (s *RepoIndexEntry) SetArchived(val OptBool)
- func (s *RepoIndexEntry) SetCandidate(val OptRepoCandidate)
- func (s *RepoIndexEntry) SetCell(val string)
- func (s *RepoIndexEntry) SetCheckpointCount(val OptInt64)
- func (s *RepoIndexEntry) SetClusterSlug(val string)
- func (s *RepoIndexEntry) SetForks(val OptInt64)
- func (s *RepoIndexEntry) SetFullName(val string)
- func (s *RepoIndexEntry) SetID(val string)
- func (s *RepoIndexEntry) SetJurisdiction(val string)
- func (s *RepoIndexEntry) SetLanguage(val OptString)
- func (s *RepoIndexEntry) SetLastActivityAt(val OptDateTime)
- func (s *RepoIndexEntry) SetLastPushedAt(val OptDateTime)
- func (s *RepoIndexEntry) SetName(val string)
- func (s *RepoIndexEntry) SetOpenPrCount(val OptInt64)
- func (s *RepoIndexEntry) SetOrg(val OptString)
- func (s *RepoIndexEntry) SetPermission(val OptString)
- func (s *RepoIndexEntry) SetPlacements(val []RepoPlacement)
- func (s *RepoIndexEntry) SetPrimaries(val OptRepoPrimaries)
- func (s *RepoIndexEntry) SetProvider(val OptString)
- func (s *RepoIndexEntry) SetPushedAt(val OptDateTime)
- 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) GetApiBaseUrl() OptString
- 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) SetApiBaseUrl(val OptString)
- 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) GetDataPrimary() ForgeRepoIdentity
- func (s *RepoPrimaries) GetGitData() string
- func (s *RepoPrimaries) GetProcessing() string
- func (s *RepoPrimaries) GetProcessingPrimary() OptForgeRepoIdentity
- func (s *RepoPrimaries) MarshalJSON() ([]byte, error)
- func (s *RepoPrimaries) SetAdditionalProps(val RepoPrimariesAdditional)
- func (s *RepoPrimaries) SetDataPrimary(val ForgeRepoIdentity)
- func (s *RepoPrimaries) SetGitData(val string)
- func (s *RepoPrimaries) SetProcessing(val string)
- func (s *RepoPrimaries) SetProcessingPrimary(val OptForgeRepoIdentity)
- func (s *RepoPrimaries) UnmarshalJSON(data []byte) error
- type RepoPrimariesAdditional
- type RepoReference
- func (s *RepoReference) Decode(d *jx.Decoder) error
- func (s *RepoReference) Encode(e *jx.Encoder)
- func (s *RepoReference) GetAdditionalProps() RepoReferenceAdditional
- func (s *RepoReference) GetFullName() string
- func (s *RepoReference) GetProvider() string
- func (s *RepoReference) MarshalJSON() ([]byte, error)
- func (s *RepoReference) SetAdditionalProps(val RepoReferenceAdditional)
- func (s *RepoReference) SetFullName(val string)
- func (s *RepoReference) SetProvider(val string)
- func (s *RepoReference) UnmarshalJSON(data []byte) error
- func (s *RepoReference) Validate() error
- type RepoReferenceAdditional
- type RepoResolution
- func (s *RepoResolution) Decode(d *jx.Decoder) error
- func (s *RepoResolution) Encode(e *jx.Encoder)
- func (s *RepoResolution) GetAdditionalProps() RepoResolutionAdditional
- func (s *RepoResolution) GetCandidate() OptRepoCandidate
- func (s *RepoResolution) GetFullName() OptString
- func (s *RepoResolution) GetPlacements() []RepoPlacement
- func (s *RepoResolution) GetPrimaries() OptRepoPrimaries
- func (s *RepoResolution) GetProvider() string
- func (s *RepoResolution) GetRepoId() OptString
- func (s *RepoResolution) GetRequestedFullName() string
- func (s *RepoResolution) GetStatus() RepoResolutionStatus
- func (s *RepoResolution) MarshalJSON() ([]byte, error)
- func (s *RepoResolution) SetAdditionalProps(val RepoResolutionAdditional)
- func (s *RepoResolution) SetCandidate(val OptRepoCandidate)
- func (s *RepoResolution) SetFullName(val OptString)
- func (s *RepoResolution) SetPlacements(val []RepoPlacement)
- func (s *RepoResolution) SetPrimaries(val OptRepoPrimaries)
- func (s *RepoResolution) SetProvider(val string)
- func (s *RepoResolution) SetRepoId(val OptString)
- func (s *RepoResolution) SetRequestedFullName(val string)
- func (s *RepoResolution) SetStatus(val RepoResolutionStatus)
- func (s *RepoResolution) UnmarshalJSON(data []byte) error
- func (s *RepoResolution) Validate() error
- type RepoResolutionAdditional
- type RepoResolutionStatus
- func (RepoResolutionStatus) AllValues() []RepoResolutionStatus
- func (s *RepoResolutionStatus) Decode(d *jx.Decoder) error
- func (s RepoResolutionStatus) Encode(e *jx.Encoder)
- func (s RepoResolutionStatus) MarshalJSON() ([]byte, error)
- func (s RepoResolutionStatus) MarshalText() ([]byte, error)
- func (s *RepoResolutionStatus) UnmarshalJSON(data []byte) error
- func (s *RepoResolutionStatus) UnmarshalText(data []byte) error
- func (s RepoResolutionStatus) Validate() error
- 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 ResolveProjectHost
- type ResolveProjectOutputBody
- func (s *ResolveProjectOutputBody) Decode(d *jx.Decoder) error
- func (s *ResolveProjectOutputBody) Encode(e *jx.Encoder)
- func (s *ResolveProjectOutputBody) GetAdditionalProps() ResolveProjectOutputBodyAdditional
- func (s *ResolveProjectOutputBody) GetProject() Project
- func (s *ResolveProjectOutputBody) GetReference() ProjectReference
- func (s *ResolveProjectOutputBody) GetSchema() OptURI
- func (s *ResolveProjectOutputBody) MarshalJSON() ([]byte, error)
- func (s *ResolveProjectOutputBody) SetAdditionalProps(val ResolveProjectOutputBodyAdditional)
- func (s *ResolveProjectOutputBody) SetProject(val Project)
- func (s *ResolveProjectOutputBody) SetReference(val ProjectReference)
- func (s *ResolveProjectOutputBody) SetSchema(val OptURI)
- func (s *ResolveProjectOutputBody) UnmarshalJSON(data []byte) error
- func (s *ResolveProjectOutputBody) Validate() error
- type ResolveProjectOutputBodyAdditional
- type ResolveProjectParams
- type ResolveRepoIDsInputBody
- func (s *ResolveRepoIDsInputBody) Decode(d *jx.Decoder) error
- func (s *ResolveRepoIDsInputBody) Encode(e *jx.Encoder)
- func (s *ResolveRepoIDsInputBody) GetAdditionalProps() ResolveRepoIDsInputBodyAdditional
- func (s *ResolveRepoIDsInputBody) GetRepoIds() []string
- func (s *ResolveRepoIDsInputBody) GetSchema() OptURI
- func (s *ResolveRepoIDsInputBody) MarshalJSON() ([]byte, error)
- func (s *ResolveRepoIDsInputBody) SetAdditionalProps(val ResolveRepoIDsInputBodyAdditional)
- func (s *ResolveRepoIDsInputBody) SetRepoIds(val []string)
- func (s *ResolveRepoIDsInputBody) SetSchema(val OptURI)
- func (s *ResolveRepoIDsInputBody) UnmarshalJSON(data []byte) error
- func (s *ResolveRepoIDsInputBody) Validate() error
- type ResolveRepoIDsInputBodyAdditional
- type ResolveRepoIDsResponse
- func (s *ResolveRepoIDsResponse) Decode(d *jx.Decoder) error
- func (s *ResolveRepoIDsResponse) Encode(e *jx.Encoder)
- func (s *ResolveRepoIDsResponse) GetAdditionalProps() ResolveRepoIDsResponseAdditional
- func (s *ResolveRepoIDsResponse) GetResolutions() []RepoIDResolution
- func (s *ResolveRepoIDsResponse) GetSchema() OptURI
- func (s *ResolveRepoIDsResponse) MarshalJSON() ([]byte, error)
- func (s *ResolveRepoIDsResponse) SetAdditionalProps(val ResolveRepoIDsResponseAdditional)
- func (s *ResolveRepoIDsResponse) SetResolutions(val []RepoIDResolution)
- func (s *ResolveRepoIDsResponse) SetSchema(val OptURI)
- func (s *ResolveRepoIDsResponse) UnmarshalJSON(data []byte) error
- func (s *ResolveRepoIDsResponse) Validate() error
- type ResolveRepoIDsResponseAdditional
- type ResolveReposInputBody
- func (s *ResolveReposInputBody) Decode(d *jx.Decoder) error
- func (s *ResolveReposInputBody) Encode(e *jx.Encoder)
- func (s *ResolveReposInputBody) GetAdditionalProps() ResolveReposInputBodyAdditional
- func (s *ResolveReposInputBody) GetCommitToken() OptString
- func (s *ResolveReposInputBody) GetRecheckDeniedPermissions() OptBool
- func (s *ResolveReposInputBody) GetRepositories() []RepoReference
- func (s *ResolveReposInputBody) GetSchema() OptURI
- func (s *ResolveReposInputBody) MarshalJSON() ([]byte, error)
- func (s *ResolveReposInputBody) SetAdditionalProps(val ResolveReposInputBodyAdditional)
- func (s *ResolveReposInputBody) SetCommitToken(val OptString)
- func (s *ResolveReposInputBody) SetRecheckDeniedPermissions(val OptBool)
- func (s *ResolveReposInputBody) SetRepositories(val []RepoReference)
- func (s *ResolveReposInputBody) SetSchema(val OptURI)
- func (s *ResolveReposInputBody) UnmarshalJSON(data []byte) error
- func (s *ResolveReposInputBody) Validate() error
- type ResolveReposInputBodyAdditional
- type ResolveReposResponse
- func (s *ResolveReposResponse) Decode(d *jx.Decoder) error
- func (s *ResolveReposResponse) Encode(e *jx.Encoder)
- func (s *ResolveReposResponse) GetAdditionalProps() ResolveReposResponseAdditional
- func (s *ResolveReposResponse) GetResolutions() []RepoResolution
- func (s *ResolveReposResponse) GetSchema() OptURI
- func (s *ResolveReposResponse) MarshalJSON() ([]byte, error)
- func (s *ResolveReposResponse) SetAdditionalProps(val ResolveReposResponseAdditional)
- func (s *ResolveReposResponse) SetResolutions(val []RepoResolution)
- func (s *ResolveReposResponse) SetSchema(val OptURI)
- func (s *ResolveReposResponse) UnmarshalJSON(data []byte) error
- func (s *ResolveReposResponse) Validate() error
- type ResolveReposResponseAdditional
- 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 ResourcePeopleOutputBody
- func (s *ResourcePeopleOutputBody) Decode(d *jx.Decoder) error
- func (s *ResourcePeopleOutputBody) Encode(e *jx.Encoder)
- func (s *ResourcePeopleOutputBody) GetAdditionalProps() ResourcePeopleOutputBodyAdditional
- func (s *ResourcePeopleOutputBody) GetItems() []ResourcePerson
- func (s *ResourcePeopleOutputBody) GetNextPageToken() OptString
- func (s *ResourcePeopleOutputBody) GetSchema() OptURI
- func (s *ResourcePeopleOutputBody) GetTotalCount() int64
- func (s *ResourcePeopleOutputBody) MarshalJSON() ([]byte, error)
- func (s *ResourcePeopleOutputBody) SetAdditionalProps(val ResourcePeopleOutputBodyAdditional)
- func (s *ResourcePeopleOutputBody) SetItems(val []ResourcePerson)
- func (s *ResourcePeopleOutputBody) SetNextPageToken(val OptString)
- func (s *ResourcePeopleOutputBody) SetSchema(val OptURI)
- func (s *ResourcePeopleOutputBody) SetTotalCount(val int64)
- func (s *ResourcePeopleOutputBody) UnmarshalJSON(data []byte) error
- func (s *ResourcePeopleOutputBody) Validate() error
- type ResourcePeopleOutputBodyAdditional
- type ResourcePerson
- func (s *ResourcePerson) Decode(d *jx.Decoder) error
- func (s *ResourcePerson) Encode(e *jx.Encoder)
- func (s *ResourcePerson) GetAccountId() string
- func (s *ResourcePerson) GetAdditionalProps() ResourcePersonAdditional
- func (s *ResourcePerson) GetAvatarUrl() OptString
- func (s *ResourcePerson) GetDirectGrant() ResourcePersonDirectGrant
- func (s *ResourcePerson) GetDisplayName() OptString
- func (s *ResourcePerson) GetHandle() OptString
- func (s *ResourcePerson) GetJoinedAt() OptDateTime
- func (s *ResourcePerson) GetProvider() OptString
- func (s *ResourcePerson) GetRole() string
- func (s *ResourcePerson) GetSources() []ResourcePersonSource
- func (s *ResourcePerson) MarshalJSON() ([]byte, error)
- func (s *ResourcePerson) SetAccountId(val string)
- func (s *ResourcePerson) SetAdditionalProps(val ResourcePersonAdditional)
- func (s *ResourcePerson) SetAvatarUrl(val OptString)
- func (s *ResourcePerson) SetDirectGrant(val ResourcePersonDirectGrant)
- func (s *ResourcePerson) SetDisplayName(val OptString)
- func (s *ResourcePerson) SetHandle(val OptString)
- func (s *ResourcePerson) SetJoinedAt(val OptDateTime)
- func (s *ResourcePerson) SetProvider(val OptString)
- func (s *ResourcePerson) SetRole(val string)
- func (s *ResourcePerson) SetSources(val []ResourcePersonSource)
- func (s *ResourcePerson) UnmarshalJSON(data []byte) error
- func (s *ResourcePerson) Validate() error
- type ResourcePersonAdditional
- type ResourcePersonDirectGrant
- func (s *ResourcePersonDirectGrant) Decode(d *jx.Decoder) error
- func (s *ResourcePersonDirectGrant) Encode(e *jx.Encoder)
- func (s *ResourcePersonDirectGrant) GetAdditionalProps() ResourcePersonDirectGrantAdditional
- func (s *ResourcePersonDirectGrant) GetRole() ResourcePersonDirectGrantRole
- func (s *ResourcePersonDirectGrant) GetSource() ResourcePersonDirectGrantSource
- func (s *ResourcePersonDirectGrant) MarshalJSON() ([]byte, error)
- func (s *ResourcePersonDirectGrant) SetAdditionalProps(val ResourcePersonDirectGrantAdditional)
- func (s *ResourcePersonDirectGrant) SetRole(val ResourcePersonDirectGrantRole)
- func (s *ResourcePersonDirectGrant) SetSource(val ResourcePersonDirectGrantSource)
- func (s *ResourcePersonDirectGrant) UnmarshalJSON(data []byte) error
- func (s *ResourcePersonDirectGrant) Validate() error
- type ResourcePersonDirectGrantAdditional
- type ResourcePersonDirectGrantRole
- func (ResourcePersonDirectGrantRole) AllValues() []ResourcePersonDirectGrantRole
- func (s *ResourcePersonDirectGrantRole) Decode(d *jx.Decoder) error
- func (s ResourcePersonDirectGrantRole) Encode(e *jx.Encoder)
- func (s ResourcePersonDirectGrantRole) MarshalJSON() ([]byte, error)
- func (s ResourcePersonDirectGrantRole) MarshalText() ([]byte, error)
- func (s *ResourcePersonDirectGrantRole) UnmarshalJSON(data []byte) error
- func (s *ResourcePersonDirectGrantRole) UnmarshalText(data []byte) error
- func (s ResourcePersonDirectGrantRole) Validate() error
- type ResourcePersonDirectGrantSource
- func (ResourcePersonDirectGrantSource) AllValues() []ResourcePersonDirectGrantSource
- func (s *ResourcePersonDirectGrantSource) Decode(d *jx.Decoder) error
- func (s ResourcePersonDirectGrantSource) Encode(e *jx.Encoder)
- func (s ResourcePersonDirectGrantSource) MarshalJSON() ([]byte, error)
- func (s ResourcePersonDirectGrantSource) MarshalText() ([]byte, error)
- func (s *ResourcePersonDirectGrantSource) UnmarshalJSON(data []byte) error
- func (s *ResourcePersonDirectGrantSource) UnmarshalText(data []byte) error
- func (s ResourcePersonDirectGrantSource) Validate() error
- type ResourcePersonSource
- func (s *ResourcePersonSource) Decode(d *jx.Decoder) error
- func (s *ResourcePersonSource) Encode(e *jx.Encoder)
- func (s *ResourcePersonSource) GetAdditionalProps() ResourcePersonSourceAdditional
- func (s *ResourcePersonSource) GetRole() ResourcePersonSourceRole
- func (s *ResourcePersonSource) GetSource() ResourcePersonSourceSource
- func (s *ResourcePersonSource) MarshalJSON() ([]byte, error)
- func (s *ResourcePersonSource) SetAdditionalProps(val ResourcePersonSourceAdditional)
- func (s *ResourcePersonSource) SetRole(val ResourcePersonSourceRole)
- func (s *ResourcePersonSource) SetSource(val ResourcePersonSourceSource)
- func (s *ResourcePersonSource) UnmarshalJSON(data []byte) error
- func (s *ResourcePersonSource) Validate() error
- type ResourcePersonSourceAdditional
- type ResourcePersonSourceRole
- func (ResourcePersonSourceRole) AllValues() []ResourcePersonSourceRole
- func (s *ResourcePersonSourceRole) Decode(d *jx.Decoder) error
- func (s ResourcePersonSourceRole) Encode(e *jx.Encoder)
- func (s ResourcePersonSourceRole) MarshalJSON() ([]byte, error)
- func (s ResourcePersonSourceRole) MarshalText() ([]byte, error)
- func (s *ResourcePersonSourceRole) UnmarshalJSON(data []byte) error
- func (s *ResourcePersonSourceRole) UnmarshalText(data []byte) error
- func (s ResourcePersonSourceRole) Validate() error
- type ResourcePersonSourceSource
- func (ResourcePersonSourceSource) AllValues() []ResourcePersonSourceSource
- func (s *ResourcePersonSourceSource) Decode(d *jx.Decoder) error
- func (s ResourcePersonSourceSource) Encode(e *jx.Encoder)
- func (s ResourcePersonSourceSource) MarshalJSON() ([]byte, error)
- func (s ResourcePersonSourceSource) MarshalText() ([]byte, error)
- func (s *ResourcePersonSourceSource) UnmarshalJSON(data []byte) error
- func (s *ResourcePersonSourceSource) UnmarshalText(data []byte) error
- func (s ResourcePersonSourceSource) Validate() error
- type RevokeOrgInvitationNoContent
- type RevokeOrgInvitationParams
- 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 RotateOrgCIBuildkiteInboundSecretParams
- 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 SetBranchProtectionParams
- type SetPluginInstallationRepositoriesInputBody
- func (s *SetPluginInstallationRepositoriesInputBody) Decode(d *jx.Decoder) error
- func (s *SetPluginInstallationRepositoriesInputBody) Encode(e *jx.Encoder)
- func (s *SetPluginInstallationRepositoriesInputBody) GetAdditionalProps() SetPluginInstallationRepositoriesInputBodyAdditional
- func (s *SetPluginInstallationRepositoriesInputBody) GetRepositoryIds() []string
- func (s *SetPluginInstallationRepositoriesInputBody) GetRepositorySelection() SetPluginInstallationRepositoriesInputBodyRepositorySelection
- func (s *SetPluginInstallationRepositoriesInputBody) GetSchema() OptURI
- func (s *SetPluginInstallationRepositoriesInputBody) MarshalJSON() ([]byte, error)
- func (s *SetPluginInstallationRepositoriesInputBody) SetAdditionalProps(val SetPluginInstallationRepositoriesInputBodyAdditional)
- func (s *SetPluginInstallationRepositoriesInputBody) SetRepositoryIds(val []string)
- func (s *SetPluginInstallationRepositoriesInputBody) SetRepositorySelection(val SetPluginInstallationRepositoriesInputBodyRepositorySelection)
- func (s *SetPluginInstallationRepositoriesInputBody) SetSchema(val OptURI)
- func (s *SetPluginInstallationRepositoriesInputBody) UnmarshalJSON(data []byte) error
- func (s *SetPluginInstallationRepositoriesInputBody) Validate() error
- type SetPluginInstallationRepositoriesInputBodyAdditional
- func (s *SetPluginInstallationRepositoriesInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s SetPluginInstallationRepositoriesInputBodyAdditional) Encode(e *jx.Encoder)
- func (s SetPluginInstallationRepositoriesInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *SetPluginInstallationRepositoriesInputBodyAdditional) UnmarshalJSON(data []byte) error
- type SetPluginInstallationRepositoriesInputBodyRepositorySelection
- func (SetPluginInstallationRepositoriesInputBodyRepositorySelection) AllValues() []SetPluginInstallationRepositoriesInputBodyRepositorySelection
- func (s *SetPluginInstallationRepositoriesInputBodyRepositorySelection) Decode(d *jx.Decoder) error
- func (s SetPluginInstallationRepositoriesInputBodyRepositorySelection) Encode(e *jx.Encoder)
- func (s SetPluginInstallationRepositoriesInputBodyRepositorySelection) MarshalJSON() ([]byte, error)
- func (s SetPluginInstallationRepositoriesInputBodyRepositorySelection) MarshalText() ([]byte, error)
- func (s *SetPluginInstallationRepositoriesInputBodyRepositorySelection) UnmarshalJSON(data []byte) error
- func (s *SetPluginInstallationRepositoriesInputBodyRepositorySelection) UnmarshalText(data []byte) error
- func (s SetPluginInstallationRepositoriesInputBodyRepositorySelection) Validate() error
- type SetPluginInstallationRepositoriesParams
- 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 UpdateBranchProtectionInputBody
- func (s *UpdateBranchProtectionInputBody) Decode(d *jx.Decoder) error
- func (s *UpdateBranchProtectionInputBody) Encode(e *jx.Encoder)
- func (s *UpdateBranchProtectionInputBody) GetAddRules() []BranchRuleUpdate
- func (s *UpdateBranchProtectionInputBody) GetAdditionalProps() UpdateBranchProtectionInputBodyAdditional
- func (s *UpdateBranchProtectionInputBody) GetRemoveRefs() []string
- func (s *UpdateBranchProtectionInputBody) GetSchema() OptURI
- func (s *UpdateBranchProtectionInputBody) MarshalJSON() ([]byte, error)
- func (s *UpdateBranchProtectionInputBody) SetAddRules(val []BranchRuleUpdate)
- func (s *UpdateBranchProtectionInputBody) SetAdditionalProps(val UpdateBranchProtectionInputBodyAdditional)
- func (s *UpdateBranchProtectionInputBody) SetRemoveRefs(val []string)
- func (s *UpdateBranchProtectionInputBody) SetSchema(val OptURI)
- func (s *UpdateBranchProtectionInputBody) UnmarshalJSON(data []byte) error
- func (s *UpdateBranchProtectionInputBody) Validate() error
- type UpdateBranchProtectionInputBodyAdditional
- func (s *UpdateBranchProtectionInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s UpdateBranchProtectionInputBodyAdditional) Encode(e *jx.Encoder)
- func (s UpdateBranchProtectionInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *UpdateBranchProtectionInputBodyAdditional) UnmarshalJSON(data []byte) error
- type UpdateBranchProtectionParams
- type UpdateOrgMemberRoleInputBody
- func (s *UpdateOrgMemberRoleInputBody) Decode(d *jx.Decoder) error
- func (s *UpdateOrgMemberRoleInputBody) Encode(e *jx.Encoder)
- func (s *UpdateOrgMemberRoleInputBody) GetAdditionalProps() UpdateOrgMemberRoleInputBodyAdditional
- func (s *UpdateOrgMemberRoleInputBody) GetRole() UpdateOrgMemberRoleInputBodyRole
- func (s *UpdateOrgMemberRoleInputBody) GetSchema() OptURI
- func (s *UpdateOrgMemberRoleInputBody) MarshalJSON() ([]byte, error)
- func (s *UpdateOrgMemberRoleInputBody) SetAdditionalProps(val UpdateOrgMemberRoleInputBodyAdditional)
- func (s *UpdateOrgMemberRoleInputBody) SetRole(val UpdateOrgMemberRoleInputBodyRole)
- func (s *UpdateOrgMemberRoleInputBody) SetSchema(val OptURI)
- func (s *UpdateOrgMemberRoleInputBody) UnmarshalJSON(data []byte) error
- func (s *UpdateOrgMemberRoleInputBody) Validate() error
- type UpdateOrgMemberRoleInputBodyAdditional
- func (s *UpdateOrgMemberRoleInputBodyAdditional) Decode(d *jx.Decoder) error
- func (s UpdateOrgMemberRoleInputBodyAdditional) Encode(e *jx.Encoder)
- func (s UpdateOrgMemberRoleInputBodyAdditional) MarshalJSON() ([]byte, error)
- func (s *UpdateOrgMemberRoleInputBodyAdditional) UnmarshalJSON(data []byte) error
- type UpdateOrgMemberRoleInputBodyRole
- func (UpdateOrgMemberRoleInputBodyRole) AllValues() []UpdateOrgMemberRoleInputBodyRole
- func (s *UpdateOrgMemberRoleInputBodyRole) Decode(d *jx.Decoder) error
- func (s UpdateOrgMemberRoleInputBodyRole) Encode(e *jx.Encoder)
- func (s UpdateOrgMemberRoleInputBodyRole) MarshalJSON() ([]byte, error)
- func (s UpdateOrgMemberRoleInputBodyRole) MarshalText() ([]byte, error)
- func (s *UpdateOrgMemberRoleInputBodyRole) UnmarshalJSON(data []byte) error
- func (s *UpdateOrgMemberRoleInputBodyRole) UnmarshalText(data []byte) error
- func (s UpdateOrgMemberRoleInputBodyRole) Validate() error
- type UpdateOrgMemberRoleParams
- 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 AcceptInvitationInputBody ¶ added in v0.11.3
type AcceptInvitationInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Token string `json:"token"`
AdditionalProps AcceptInvitationInputBodyAdditional
}
Ref: #/components/schemas/AcceptInvitationInputBody
func (*AcceptInvitationInputBody) Decode ¶ added in v0.11.3
func (s *AcceptInvitationInputBody) Decode(d *jx.Decoder) error
Decode decodes AcceptInvitationInputBody from json.
func (*AcceptInvitationInputBody) Encode ¶ added in v0.11.3
func (s *AcceptInvitationInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AcceptInvitationInputBody) GetAdditionalProps ¶ added in v0.11.3
func (s *AcceptInvitationInputBody) GetAdditionalProps() AcceptInvitationInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*AcceptInvitationInputBody) GetSchema ¶ added in v0.11.3
func (s *AcceptInvitationInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*AcceptInvitationInputBody) GetToken ¶ added in v0.11.3
func (s *AcceptInvitationInputBody) GetToken() string
GetToken returns the value of Token.
func (*AcceptInvitationInputBody) MarshalJSON ¶ added in v0.11.3
func (s *AcceptInvitationInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AcceptInvitationInputBody) SetAdditionalProps ¶ added in v0.11.3
func (s *AcceptInvitationInputBody) SetAdditionalProps(val AcceptInvitationInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*AcceptInvitationInputBody) SetSchema ¶ added in v0.11.3
func (s *AcceptInvitationInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*AcceptInvitationInputBody) SetToken ¶ added in v0.11.3
func (s *AcceptInvitationInputBody) SetToken(val string)
SetToken sets the value of Token.
func (*AcceptInvitationInputBody) UnmarshalJSON ¶ added in v0.11.3
func (s *AcceptInvitationInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AcceptInvitationInputBody) Validate ¶ added in v0.11.3
func (s *AcceptInvitationInputBody) Validate() error
type AcceptInvitationInputBodyAdditional ¶ added in v0.11.3
func (*AcceptInvitationInputBodyAdditional) Decode ¶ added in v0.11.3
func (s *AcceptInvitationInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes AcceptInvitationInputBodyAdditional from json.
func (AcceptInvitationInputBodyAdditional) Encode ¶ added in v0.11.3
func (s AcceptInvitationInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AcceptInvitationInputBodyAdditional) MarshalJSON ¶ added in v0.11.3
func (s AcceptInvitationInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AcceptInvitationInputBodyAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *AcceptInvitationInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AcceptInvitationOK ¶ added in v0.11.3
type AcceptInvitationOK struct {
Membership Membership `json:"membership"`
OrgId string `json:"orgId"`
OrgName string `json:"orgName"`
AdditionalProps AcceptInvitationOKAdditional
}
func (*AcceptInvitationOK) Decode ¶ added in v0.11.3
func (s *AcceptInvitationOK) Decode(d *jx.Decoder) error
Decode decodes AcceptInvitationOK from json.
func (*AcceptInvitationOK) Encode ¶ added in v0.11.3
func (s *AcceptInvitationOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AcceptInvitationOK) GetAdditionalProps ¶ added in v0.11.3
func (s *AcceptInvitationOK) GetAdditionalProps() AcceptInvitationOKAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*AcceptInvitationOK) GetMembership ¶ added in v0.11.3
func (s *AcceptInvitationOK) GetMembership() Membership
GetMembership returns the value of Membership.
func (*AcceptInvitationOK) GetOrgId ¶ added in v0.11.3
func (s *AcceptInvitationOK) GetOrgId() string
GetOrgId returns the value of OrgId.
func (*AcceptInvitationOK) GetOrgName ¶ added in v0.11.3
func (s *AcceptInvitationOK) GetOrgName() string
GetOrgName returns the value of OrgName.
func (*AcceptInvitationOK) MarshalJSON ¶ added in v0.11.3
func (s *AcceptInvitationOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AcceptInvitationOK) SetAdditionalProps ¶ added in v0.11.3
func (s *AcceptInvitationOK) SetAdditionalProps(val AcceptInvitationOKAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*AcceptInvitationOK) SetMembership ¶ added in v0.11.3
func (s *AcceptInvitationOK) SetMembership(val Membership)
SetMembership sets the value of Membership.
func (*AcceptInvitationOK) SetOrgId ¶ added in v0.11.3
func (s *AcceptInvitationOK) SetOrgId(val string)
SetOrgId sets the value of OrgId.
func (*AcceptInvitationOK) SetOrgName ¶ added in v0.11.3
func (s *AcceptInvitationOK) SetOrgName(val string)
SetOrgName sets the value of OrgName.
func (*AcceptInvitationOK) UnmarshalJSON ¶ added in v0.11.3
func (s *AcceptInvitationOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AcceptInvitationOKAdditional ¶ added in v0.11.3
func (*AcceptInvitationOKAdditional) Decode ¶ added in v0.11.3
func (s *AcceptInvitationOKAdditional) Decode(d *jx.Decoder) error
Decode decodes AcceptInvitationOKAdditional from json.
func (AcceptInvitationOKAdditional) Encode ¶ added in v0.11.3
func (s AcceptInvitationOKAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AcceptInvitationOKAdditional) MarshalJSON ¶ added in v0.11.3
func (s AcceptInvitationOKAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AcceptInvitationOKAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *AcceptInvitationOKAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AcceptInvitationRes ¶ added in v0.11.3
type AcceptInvitationRes interface {
// contains filtered or unexported methods
}
type AcceptedInvitation ¶ added in v0.11.3
type AcceptedInvitation struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Membership Membership `json:"membership"`
OrgId string `json:"orgId"`
OrgName string `json:"orgName"`
AdditionalProps AcceptedInvitationAdditional
}
Ref: #/components/schemas/AcceptedInvitation
func (*AcceptedInvitation) Decode ¶ added in v0.11.3
func (s *AcceptedInvitation) Decode(d *jx.Decoder) error
Decode decodes AcceptedInvitation from json.
func (*AcceptedInvitation) Encode ¶ added in v0.11.3
func (s *AcceptedInvitation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AcceptedInvitation) GetAdditionalProps ¶ added in v0.11.3
func (s *AcceptedInvitation) GetAdditionalProps() AcceptedInvitationAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*AcceptedInvitation) GetMembership ¶ added in v0.11.3
func (s *AcceptedInvitation) GetMembership() Membership
GetMembership returns the value of Membership.
func (*AcceptedInvitation) GetOrgId ¶ added in v0.11.3
func (s *AcceptedInvitation) GetOrgId() string
GetOrgId returns the value of OrgId.
func (*AcceptedInvitation) GetOrgName ¶ added in v0.11.3
func (s *AcceptedInvitation) GetOrgName() string
GetOrgName returns the value of OrgName.
func (*AcceptedInvitation) GetSchema ¶ added in v0.11.3
func (s *AcceptedInvitation) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*AcceptedInvitation) MarshalJSON ¶ added in v0.11.3
func (s *AcceptedInvitation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AcceptedInvitation) SetAdditionalProps ¶ added in v0.11.3
func (s *AcceptedInvitation) SetAdditionalProps(val AcceptedInvitationAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*AcceptedInvitation) SetMembership ¶ added in v0.11.3
func (s *AcceptedInvitation) SetMembership(val Membership)
SetMembership sets the value of Membership.
func (*AcceptedInvitation) SetOrgId ¶ added in v0.11.3
func (s *AcceptedInvitation) SetOrgId(val string)
SetOrgId sets the value of OrgId.
func (*AcceptedInvitation) SetOrgName ¶ added in v0.11.3
func (s *AcceptedInvitation) SetOrgName(val string)
SetOrgName sets the value of OrgName.
func (*AcceptedInvitation) SetSchema ¶ added in v0.11.3
func (s *AcceptedInvitation) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*AcceptedInvitation) UnmarshalJSON ¶ added in v0.11.3
func (s *AcceptedInvitation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AcceptedInvitationAdditional ¶ added in v0.11.3
func (*AcceptedInvitationAdditional) Decode ¶ added in v0.11.3
func (s *AcceptedInvitationAdditional) Decode(d *jx.Decoder) error
Decode decodes AcceptedInvitationAdditional from json.
func (AcceptedInvitationAdditional) Encode ¶ added in v0.11.3
func (s AcceptedInvitationAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AcceptedInvitationAdditional) MarshalJSON ¶ added in v0.11.3
func (s AcceptedInvitationAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AcceptedInvitationAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *AcceptedInvitationAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AccountIdentity ¶ added in v0.11.4
type AccountIdentity struct {
AvatarUrl OptString `json:"avatarUrl"`
DisplayName OptString `json:"displayName"`
Handles []AccountProfileHandle `json:"handles"`
AdditionalProps AccountIdentityAdditional
}
Ref: #/components/schemas/AccountIdentity
func (*AccountIdentity) Decode ¶ added in v0.11.4
func (s *AccountIdentity) Decode(d *jx.Decoder) error
Decode decodes AccountIdentity from json.
func (*AccountIdentity) Encode ¶ added in v0.11.4
func (s *AccountIdentity) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AccountIdentity) GetAdditionalProps ¶ added in v0.11.4
func (s *AccountIdentity) GetAdditionalProps() AccountIdentityAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*AccountIdentity) GetAvatarUrl ¶ added in v0.11.4
func (s *AccountIdentity) GetAvatarUrl() OptString
GetAvatarUrl returns the value of AvatarUrl.
func (*AccountIdentity) GetDisplayName ¶ added in v0.11.4
func (s *AccountIdentity) GetDisplayName() OptString
GetDisplayName returns the value of DisplayName.
func (*AccountIdentity) GetHandles ¶ added in v0.11.4
func (s *AccountIdentity) GetHandles() []AccountProfileHandle
GetHandles returns the value of Handles.
func (*AccountIdentity) MarshalJSON ¶ added in v0.11.4
func (s *AccountIdentity) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountIdentity) SetAdditionalProps ¶ added in v0.11.4
func (s *AccountIdentity) SetAdditionalProps(val AccountIdentityAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*AccountIdentity) SetAvatarUrl ¶ added in v0.11.4
func (s *AccountIdentity) SetAvatarUrl(val OptString)
SetAvatarUrl sets the value of AvatarUrl.
func (*AccountIdentity) SetDisplayName ¶ added in v0.11.4
func (s *AccountIdentity) SetDisplayName(val OptString)
SetDisplayName sets the value of DisplayName.
func (*AccountIdentity) SetHandles ¶ added in v0.11.4
func (s *AccountIdentity) SetHandles(val []AccountProfileHandle)
SetHandles sets the value of Handles.
func (*AccountIdentity) UnmarshalJSON ¶ added in v0.11.4
func (s *AccountIdentity) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AccountIdentity) Validate ¶ added in v0.11.4
func (s *AccountIdentity) Validate() error
type AccountIdentityAdditional ¶ added in v0.11.4
func (*AccountIdentityAdditional) Decode ¶ added in v0.11.4
func (s *AccountIdentityAdditional) Decode(d *jx.Decoder) error
Decode decodes AccountIdentityAdditional from json.
func (AccountIdentityAdditional) Encode ¶ added in v0.11.4
func (s AccountIdentityAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AccountIdentityAdditional) MarshalJSON ¶ added in v0.11.4
func (s AccountIdentityAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountIdentityAdditional) UnmarshalJSON ¶ added in v0.11.4
func (s *AccountIdentityAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AccountProfile ¶ added in v0.11.4
type AccountProfile struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
AccountId string `json:"accountId"`
AvatarUrl OptString `json:"avatarUrl"`
DisplayName OptString `json:"displayName"`
Handles []AccountProfileHandle `json:"handles"`
Organizations []AccountProfileOrganization `json:"organizations"`
AdditionalProps AccountProfileAdditional
}
Ref: #/components/schemas/AccountProfile
func (*AccountProfile) Decode ¶ added in v0.11.4
func (s *AccountProfile) Decode(d *jx.Decoder) error
Decode decodes AccountProfile from json.
func (*AccountProfile) Encode ¶ added in v0.11.4
func (s *AccountProfile) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AccountProfile) GetAccountId ¶ added in v0.11.4
func (s *AccountProfile) GetAccountId() string
GetAccountId returns the value of AccountId.
func (*AccountProfile) GetAdditionalProps ¶ added in v0.11.4
func (s *AccountProfile) GetAdditionalProps() AccountProfileAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*AccountProfile) GetAvatarUrl ¶ added in v0.11.4
func (s *AccountProfile) GetAvatarUrl() OptString
GetAvatarUrl returns the value of AvatarUrl.
func (*AccountProfile) GetDisplayName ¶ added in v0.11.4
func (s *AccountProfile) GetDisplayName() OptString
GetDisplayName returns the value of DisplayName.
func (*AccountProfile) GetHandles ¶ added in v0.11.4
func (s *AccountProfile) GetHandles() []AccountProfileHandle
GetHandles returns the value of Handles.
func (*AccountProfile) GetOrganizations ¶ added in v0.11.4
func (s *AccountProfile) GetOrganizations() []AccountProfileOrganization
GetOrganizations returns the value of Organizations.
func (*AccountProfile) GetSchema ¶ added in v0.11.4
func (s *AccountProfile) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*AccountProfile) MarshalJSON ¶ added in v0.11.4
func (s *AccountProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountProfile) SetAccountId ¶ added in v0.11.4
func (s *AccountProfile) SetAccountId(val string)
SetAccountId sets the value of AccountId.
func (*AccountProfile) SetAdditionalProps ¶ added in v0.11.4
func (s *AccountProfile) SetAdditionalProps(val AccountProfileAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*AccountProfile) SetAvatarUrl ¶ added in v0.11.4
func (s *AccountProfile) SetAvatarUrl(val OptString)
SetAvatarUrl sets the value of AvatarUrl.
func (*AccountProfile) SetDisplayName ¶ added in v0.11.4
func (s *AccountProfile) SetDisplayName(val OptString)
SetDisplayName sets the value of DisplayName.
func (*AccountProfile) SetHandles ¶ added in v0.11.4
func (s *AccountProfile) SetHandles(val []AccountProfileHandle)
SetHandles sets the value of Handles.
func (*AccountProfile) SetOrganizations ¶ added in v0.11.4
func (s *AccountProfile) SetOrganizations(val []AccountProfileOrganization)
SetOrganizations sets the value of Organizations.
func (*AccountProfile) SetSchema ¶ added in v0.11.4
func (s *AccountProfile) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*AccountProfile) UnmarshalJSON ¶ added in v0.11.4
func (s *AccountProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AccountProfile) Validate ¶ added in v0.11.4
func (s *AccountProfile) Validate() error
type AccountProfileAdditional ¶ added in v0.11.4
func (*AccountProfileAdditional) Decode ¶ added in v0.11.4
func (s *AccountProfileAdditional) Decode(d *jx.Decoder) error
Decode decodes AccountProfileAdditional from json.
func (AccountProfileAdditional) Encode ¶ added in v0.11.4
func (s AccountProfileAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AccountProfileAdditional) MarshalJSON ¶ added in v0.11.4
func (s AccountProfileAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountProfileAdditional) UnmarshalJSON ¶ added in v0.11.4
func (s *AccountProfileAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AccountProfileHandle ¶ added in v0.11.4
type AccountProfileHandle struct {
Handle string `json:"handle"`
IsPrimary bool `json:"isPrimary"`
Provider string `json:"provider"`
AdditionalProps AccountProfileHandleAdditional
}
Ref: #/components/schemas/AccountProfileHandle
func (*AccountProfileHandle) Decode ¶ added in v0.11.4
func (s *AccountProfileHandle) Decode(d *jx.Decoder) error
Decode decodes AccountProfileHandle from json.
func (*AccountProfileHandle) Encode ¶ added in v0.11.4
func (s *AccountProfileHandle) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AccountProfileHandle) GetAdditionalProps ¶ added in v0.11.4
func (s *AccountProfileHandle) GetAdditionalProps() AccountProfileHandleAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*AccountProfileHandle) GetHandle ¶ added in v0.11.4
func (s *AccountProfileHandle) GetHandle() string
GetHandle returns the value of Handle.
func (*AccountProfileHandle) GetIsPrimary ¶ added in v0.11.4
func (s *AccountProfileHandle) GetIsPrimary() bool
GetIsPrimary returns the value of IsPrimary.
func (*AccountProfileHandle) GetProvider ¶ added in v0.11.4
func (s *AccountProfileHandle) GetProvider() string
GetProvider returns the value of Provider.
func (*AccountProfileHandle) MarshalJSON ¶ added in v0.11.4
func (s *AccountProfileHandle) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountProfileHandle) SetAdditionalProps ¶ added in v0.11.4
func (s *AccountProfileHandle) SetAdditionalProps(val AccountProfileHandleAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*AccountProfileHandle) SetHandle ¶ added in v0.11.4
func (s *AccountProfileHandle) SetHandle(val string)
SetHandle sets the value of Handle.
func (*AccountProfileHandle) SetIsPrimary ¶ added in v0.11.4
func (s *AccountProfileHandle) SetIsPrimary(val bool)
SetIsPrimary sets the value of IsPrimary.
func (*AccountProfileHandle) SetProvider ¶ added in v0.11.4
func (s *AccountProfileHandle) SetProvider(val string)
SetProvider sets the value of Provider.
func (*AccountProfileHandle) UnmarshalJSON ¶ added in v0.11.4
func (s *AccountProfileHandle) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AccountProfileHandleAdditional ¶ added in v0.11.4
func (*AccountProfileHandleAdditional) Decode ¶ added in v0.11.4
func (s *AccountProfileHandleAdditional) Decode(d *jx.Decoder) error
Decode decodes AccountProfileHandleAdditional from json.
func (AccountProfileHandleAdditional) Encode ¶ added in v0.11.4
func (s AccountProfileHandleAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AccountProfileHandleAdditional) MarshalJSON ¶ added in v0.11.4
func (s AccountProfileHandleAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountProfileHandleAdditional) UnmarshalJSON ¶ added in v0.11.4
func (s *AccountProfileHandleAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AccountProfileHeaders ¶ added in v0.11.4
type AccountProfileHeaders struct {
CacheControl OptString
Response AccountProfile
}
AccountProfileHeaders wraps AccountProfile with response headers.
func (*AccountProfileHeaders) GetCacheControl ¶ added in v0.11.4
func (s *AccountProfileHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*AccountProfileHeaders) GetResponse ¶ added in v0.11.4
func (s *AccountProfileHeaders) GetResponse() AccountProfile
GetResponse returns the value of Response.
func (*AccountProfileHeaders) SetCacheControl ¶ added in v0.11.4
func (s *AccountProfileHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*AccountProfileHeaders) SetResponse ¶ added in v0.11.4
func (s *AccountProfileHeaders) SetResponse(val AccountProfile)
SetResponse sets the value of Response.
func (*AccountProfileHeaders) Validate ¶ added in v0.11.4
func (s *AccountProfileHeaders) Validate() error
type AccountProfileOrganization ¶ added in v0.11.4
type AccountProfileOrganization struct {
ID string `json:"id"`
Name string `json:"name"`
AdditionalProps AccountProfileOrganizationAdditional
}
Ref: #/components/schemas/AccountProfileOrganization
func (*AccountProfileOrganization) Decode ¶ added in v0.11.4
func (s *AccountProfileOrganization) Decode(d *jx.Decoder) error
Decode decodes AccountProfileOrganization from json.
func (*AccountProfileOrganization) Encode ¶ added in v0.11.4
func (s *AccountProfileOrganization) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AccountProfileOrganization) GetAdditionalProps ¶ added in v0.11.4
func (s *AccountProfileOrganization) GetAdditionalProps() AccountProfileOrganizationAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*AccountProfileOrganization) GetID ¶ added in v0.11.4
func (s *AccountProfileOrganization) GetID() string
GetID returns the value of ID.
func (*AccountProfileOrganization) GetName ¶ added in v0.11.4
func (s *AccountProfileOrganization) GetName() string
GetName returns the value of Name.
func (*AccountProfileOrganization) MarshalJSON ¶ added in v0.11.4
func (s *AccountProfileOrganization) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountProfileOrganization) SetAdditionalProps ¶ added in v0.11.4
func (s *AccountProfileOrganization) SetAdditionalProps(val AccountProfileOrganizationAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*AccountProfileOrganization) SetID ¶ added in v0.11.4
func (s *AccountProfileOrganization) SetID(val string)
SetID sets the value of ID.
func (*AccountProfileOrganization) SetName ¶ added in v0.11.4
func (s *AccountProfileOrganization) SetName(val string)
SetName sets the value of Name.
func (*AccountProfileOrganization) UnmarshalJSON ¶ added in v0.11.4
func (s *AccountProfileOrganization) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AccountProfileOrganizationAdditional ¶ added in v0.11.4
func (*AccountProfileOrganizationAdditional) Decode ¶ added in v0.11.4
func (s *AccountProfileOrganizationAdditional) Decode(d *jx.Decoder) error
Decode decodes AccountProfileOrganizationAdditional from json.
func (AccountProfileOrganizationAdditional) Encode ¶ added in v0.11.4
func (s AccountProfileOrganizationAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AccountProfileOrganizationAdditional) MarshalJSON ¶ added in v0.11.4
func (s AccountProfileOrganizationAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountProfileOrganizationAdditional) UnmarshalJSON ¶ added in v0.11.4
func (s *AccountProfileOrganizationAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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"`
// Time of the latest push to the upstream repository.
PushedAt OptDateTime `json:"pushedAt"`
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) GetPushedAt ¶ added in v0.11.0
func (s *AvailableMirror) GetPushedAt() OptDateTime
GetPushedAt returns the value of PushedAt.
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) SetPushedAt ¶ added in v0.11.0
func (s *AvailableMirror) SetPushedAt(val OptDateTime)
SetPushedAt sets the value of PushedAt.
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 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 BranchProtection ¶ added in v0.11.0
type BranchProtection struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Protection rules, one per pattern; each ref at most once. Empty protects nothing.
Rules []BranchRule `json:"rules"`
AdditionalProps BranchProtectionAdditional
}
Ref: #/components/schemas/BranchProtection
func (*BranchProtection) Decode ¶ added in v0.11.0
func (s *BranchProtection) Decode(d *jx.Decoder) error
Decode decodes BranchProtection from json.
func (*BranchProtection) Encode ¶ added in v0.11.0
func (s *BranchProtection) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BranchProtection) GetAdditionalProps ¶ added in v0.11.0
func (s *BranchProtection) GetAdditionalProps() BranchProtectionAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*BranchProtection) GetRules ¶ added in v0.11.0
func (s *BranchProtection) GetRules() []BranchRule
GetRules returns the value of Rules.
func (*BranchProtection) GetSchema ¶ added in v0.11.0
func (s *BranchProtection) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*BranchProtection) MarshalJSON ¶ added in v0.11.0
func (s *BranchProtection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BranchProtection) SetAdditionalProps ¶ added in v0.11.0
func (s *BranchProtection) SetAdditionalProps(val BranchProtectionAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*BranchProtection) SetRules ¶ added in v0.11.0
func (s *BranchProtection) SetRules(val []BranchRule)
SetRules sets the value of Rules.
func (*BranchProtection) SetSchema ¶ added in v0.11.0
func (s *BranchProtection) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*BranchProtection) UnmarshalJSON ¶ added in v0.11.0
func (s *BranchProtection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BranchProtection) Validate ¶ added in v0.11.0
func (s *BranchProtection) Validate() error
type BranchProtectionAdditional ¶ added in v0.11.0
func (*BranchProtectionAdditional) Decode ¶ added in v0.11.0
func (s *BranchProtectionAdditional) Decode(d *jx.Decoder) error
Decode decodes BranchProtectionAdditional from json.
func (BranchProtectionAdditional) Encode ¶ added in v0.11.0
func (s BranchProtectionAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (BranchProtectionAdditional) MarshalJSON ¶ added in v0.11.0
func (s BranchProtectionAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BranchProtectionAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *BranchProtectionAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BranchRule ¶ added in v0.11.0
type BranchRule struct {
// "HEAD" or a refs/heads/ name, fnmatch wildcards allowed.
Ref string `json:"ref"`
// The branch moves only through a server-side merge by Entire; every direct write, fast-forward
// included, is refused. Defaults to false.
ServerSideMergeOnly OptBool `json:"serverSideMergeOnly"`
AdditionalProps BranchRuleAdditional
}
Ref: #/components/schemas/BranchRule
func (*BranchRule) Decode ¶ added in v0.11.0
func (s *BranchRule) Decode(d *jx.Decoder) error
Decode decodes BranchRule from json.
func (*BranchRule) Encode ¶ added in v0.11.0
func (s *BranchRule) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BranchRule) GetAdditionalProps ¶ added in v0.11.0
func (s *BranchRule) GetAdditionalProps() BranchRuleAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*BranchRule) GetRef ¶ added in v0.11.0
func (s *BranchRule) GetRef() string
GetRef returns the value of Ref.
func (*BranchRule) GetServerSideMergeOnly ¶ added in v0.11.0
func (s *BranchRule) GetServerSideMergeOnly() OptBool
GetServerSideMergeOnly returns the value of ServerSideMergeOnly.
func (*BranchRule) MarshalJSON ¶ added in v0.11.0
func (s *BranchRule) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BranchRule) SetAdditionalProps ¶ added in v0.11.0
func (s *BranchRule) SetAdditionalProps(val BranchRuleAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*BranchRule) SetRef ¶ added in v0.11.0
func (s *BranchRule) SetRef(val string)
SetRef sets the value of Ref.
func (*BranchRule) SetServerSideMergeOnly ¶ added in v0.11.0
func (s *BranchRule) SetServerSideMergeOnly(val OptBool)
SetServerSideMergeOnly sets the value of ServerSideMergeOnly.
func (*BranchRule) UnmarshalJSON ¶ added in v0.11.0
func (s *BranchRule) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BranchRuleAdditional ¶ added in v0.11.0
func (*BranchRuleAdditional) Decode ¶ added in v0.11.0
func (s *BranchRuleAdditional) Decode(d *jx.Decoder) error
Decode decodes BranchRuleAdditional from json.
func (BranchRuleAdditional) Encode ¶ added in v0.11.0
func (s BranchRuleAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (BranchRuleAdditional) MarshalJSON ¶ added in v0.11.0
func (s BranchRuleAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BranchRuleAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *BranchRuleAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BranchRuleUpdate ¶ added in v0.11.3
type BranchRuleUpdate struct {
// "HEAD" or a refs/heads/ name, fnmatch wildcards allowed.
Ref string `json:"ref"`
// Sets the level: true for server-side merge only, false for protected. Omit to keep an existing
// rule's level.
ServerSideMergeOnly OptBool `json:"serverSideMergeOnly"`
AdditionalProps BranchRuleUpdateAdditional
}
Ref: #/components/schemas/BranchRuleUpdate
func (*BranchRuleUpdate) Decode ¶ added in v0.11.3
func (s *BranchRuleUpdate) Decode(d *jx.Decoder) error
Decode decodes BranchRuleUpdate from json.
func (*BranchRuleUpdate) Encode ¶ added in v0.11.3
func (s *BranchRuleUpdate) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BranchRuleUpdate) GetAdditionalProps ¶ added in v0.11.3
func (s *BranchRuleUpdate) GetAdditionalProps() BranchRuleUpdateAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*BranchRuleUpdate) GetRef ¶ added in v0.11.3
func (s *BranchRuleUpdate) GetRef() string
GetRef returns the value of Ref.
func (*BranchRuleUpdate) GetServerSideMergeOnly ¶ added in v0.11.3
func (s *BranchRuleUpdate) GetServerSideMergeOnly() OptBool
GetServerSideMergeOnly returns the value of ServerSideMergeOnly.
func (*BranchRuleUpdate) MarshalJSON ¶ added in v0.11.3
func (s *BranchRuleUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BranchRuleUpdate) SetAdditionalProps ¶ added in v0.11.3
func (s *BranchRuleUpdate) SetAdditionalProps(val BranchRuleUpdateAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*BranchRuleUpdate) SetRef ¶ added in v0.11.3
func (s *BranchRuleUpdate) SetRef(val string)
SetRef sets the value of Ref.
func (*BranchRuleUpdate) SetServerSideMergeOnly ¶ added in v0.11.3
func (s *BranchRuleUpdate) SetServerSideMergeOnly(val OptBool)
SetServerSideMergeOnly sets the value of ServerSideMergeOnly.
func (*BranchRuleUpdate) UnmarshalJSON ¶ added in v0.11.3
func (s *BranchRuleUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BranchRuleUpdateAdditional ¶ added in v0.11.3
func (*BranchRuleUpdateAdditional) Decode ¶ added in v0.11.3
func (s *BranchRuleUpdateAdditional) Decode(d *jx.Decoder) error
Decode decodes BranchRuleUpdateAdditional from json.
func (BranchRuleUpdateAdditional) Encode ¶ added in v0.11.3
func (s BranchRuleUpdateAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (BranchRuleUpdateAdditional) MarshalJSON ¶ added in v0.11.3
func (s BranchRuleUpdateAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BranchRuleUpdateAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *BranchRuleUpdateAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIBuildView ¶ added in v0.11.0
type CIBuildView struct {
BkBuildUUID string `json:"bk_build_uuid"`
BkOrganization string `json:"bk_organization"`
BkPipeline string `json:"bk_pipeline"`
Branch string `json:"branch"`
BuildNumber int64 `json:"build_number"`
Commit string `json:"commit"`
CreatedAt OptDateTime `json:"created_at"`
EventAt time.Time `json:"event_at"`
FinishedAt OptDateTime `json:"finished_at"`
Jobs []CIJobView `json:"jobs"`
LastEvent string `json:"last_event"`
Message string `json:"message"`
Stale bool `json:"stale"`
StartedAt OptDateTime `json:"started_at"`
State string `json:"state"`
Terminal bool `json:"terminal"`
UpdatedAt time.Time `json:"updated_at"`
WebURL string `json:"web_url"`
AdditionalProps CIBuildViewAdditional
}
Ref: #/components/schemas/CIBuildView
func (*CIBuildView) Decode ¶ added in v0.11.0
func (s *CIBuildView) Decode(d *jx.Decoder) error
Decode decodes CIBuildView from json.
func (*CIBuildView) Encode ¶ added in v0.11.0
func (s *CIBuildView) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CIBuildView) GetAdditionalProps ¶ added in v0.11.0
func (s *CIBuildView) GetAdditionalProps() CIBuildViewAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CIBuildView) GetBkBuildUUID ¶ added in v0.11.0
func (s *CIBuildView) GetBkBuildUUID() string
GetBkBuildUUID returns the value of BkBuildUUID.
func (*CIBuildView) GetBkOrganization ¶ added in v0.11.0
func (s *CIBuildView) GetBkOrganization() string
GetBkOrganization returns the value of BkOrganization.
func (*CIBuildView) GetBkPipeline ¶ added in v0.11.0
func (s *CIBuildView) GetBkPipeline() string
GetBkPipeline returns the value of BkPipeline.
func (*CIBuildView) GetBranch ¶ added in v0.11.0
func (s *CIBuildView) GetBranch() string
GetBranch returns the value of Branch.
func (*CIBuildView) GetBuildNumber ¶ added in v0.11.0
func (s *CIBuildView) GetBuildNumber() int64
GetBuildNumber returns the value of BuildNumber.
func (*CIBuildView) GetCommit ¶ added in v0.11.0
func (s *CIBuildView) GetCommit() string
GetCommit returns the value of Commit.
func (*CIBuildView) GetCreatedAt ¶ added in v0.11.0
func (s *CIBuildView) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
func (*CIBuildView) GetEventAt ¶ added in v0.11.0
func (s *CIBuildView) GetEventAt() time.Time
GetEventAt returns the value of EventAt.
func (*CIBuildView) GetFinishedAt ¶ added in v0.11.0
func (s *CIBuildView) GetFinishedAt() OptDateTime
GetFinishedAt returns the value of FinishedAt.
func (*CIBuildView) GetJobs ¶ added in v0.11.0
func (s *CIBuildView) GetJobs() []CIJobView
GetJobs returns the value of Jobs.
func (*CIBuildView) GetLastEvent ¶ added in v0.11.0
func (s *CIBuildView) GetLastEvent() string
GetLastEvent returns the value of LastEvent.
func (*CIBuildView) GetMessage ¶ added in v0.11.0
func (s *CIBuildView) GetMessage() string
GetMessage returns the value of Message.
func (*CIBuildView) GetStale ¶ added in v0.11.0
func (s *CIBuildView) GetStale() bool
GetStale returns the value of Stale.
func (*CIBuildView) GetStartedAt ¶ added in v0.11.0
func (s *CIBuildView) GetStartedAt() OptDateTime
GetStartedAt returns the value of StartedAt.
func (*CIBuildView) GetState ¶ added in v0.11.0
func (s *CIBuildView) GetState() string
GetState returns the value of State.
func (*CIBuildView) GetTerminal ¶ added in v0.11.0
func (s *CIBuildView) GetTerminal() bool
GetTerminal returns the value of Terminal.
func (*CIBuildView) GetUpdatedAt ¶ added in v0.11.0
func (s *CIBuildView) GetUpdatedAt() time.Time
GetUpdatedAt returns the value of UpdatedAt.
func (*CIBuildView) GetWebURL ¶ added in v0.11.0
func (s *CIBuildView) GetWebURL() string
GetWebURL returns the value of WebURL.
func (*CIBuildView) MarshalJSON ¶ added in v0.11.0
func (s *CIBuildView) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIBuildView) SetAdditionalProps ¶ added in v0.11.0
func (s *CIBuildView) SetAdditionalProps(val CIBuildViewAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CIBuildView) SetBkBuildUUID ¶ added in v0.11.0
func (s *CIBuildView) SetBkBuildUUID(val string)
SetBkBuildUUID sets the value of BkBuildUUID.
func (*CIBuildView) SetBkOrganization ¶ added in v0.11.0
func (s *CIBuildView) SetBkOrganization(val string)
SetBkOrganization sets the value of BkOrganization.
func (*CIBuildView) SetBkPipeline ¶ added in v0.11.0
func (s *CIBuildView) SetBkPipeline(val string)
SetBkPipeline sets the value of BkPipeline.
func (*CIBuildView) SetBranch ¶ added in v0.11.0
func (s *CIBuildView) SetBranch(val string)
SetBranch sets the value of Branch.
func (*CIBuildView) SetBuildNumber ¶ added in v0.11.0
func (s *CIBuildView) SetBuildNumber(val int64)
SetBuildNumber sets the value of BuildNumber.
func (*CIBuildView) SetCommit ¶ added in v0.11.0
func (s *CIBuildView) SetCommit(val string)
SetCommit sets the value of Commit.
func (*CIBuildView) SetCreatedAt ¶ added in v0.11.0
func (s *CIBuildView) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
func (*CIBuildView) SetEventAt ¶ added in v0.11.0
func (s *CIBuildView) SetEventAt(val time.Time)
SetEventAt sets the value of EventAt.
func (*CIBuildView) SetFinishedAt ¶ added in v0.11.0
func (s *CIBuildView) SetFinishedAt(val OptDateTime)
SetFinishedAt sets the value of FinishedAt.
func (*CIBuildView) SetJobs ¶ added in v0.11.0
func (s *CIBuildView) SetJobs(val []CIJobView)
SetJobs sets the value of Jobs.
func (*CIBuildView) SetLastEvent ¶ added in v0.11.0
func (s *CIBuildView) SetLastEvent(val string)
SetLastEvent sets the value of LastEvent.
func (*CIBuildView) SetMessage ¶ added in v0.11.0
func (s *CIBuildView) SetMessage(val string)
SetMessage sets the value of Message.
func (*CIBuildView) SetStale ¶ added in v0.11.0
func (s *CIBuildView) SetStale(val bool)
SetStale sets the value of Stale.
func (*CIBuildView) SetStartedAt ¶ added in v0.11.0
func (s *CIBuildView) SetStartedAt(val OptDateTime)
SetStartedAt sets the value of StartedAt.
func (*CIBuildView) SetState ¶ added in v0.11.0
func (s *CIBuildView) SetState(val string)
SetState sets the value of State.
func (*CIBuildView) SetTerminal ¶ added in v0.11.0
func (s *CIBuildView) SetTerminal(val bool)
SetTerminal sets the value of Terminal.
func (*CIBuildView) SetUpdatedAt ¶ added in v0.11.0
func (s *CIBuildView) SetUpdatedAt(val time.Time)
SetUpdatedAt sets the value of UpdatedAt.
func (*CIBuildView) SetWebURL ¶ added in v0.11.0
func (s *CIBuildView) SetWebURL(val string)
SetWebURL sets the value of WebURL.
func (*CIBuildView) UnmarshalJSON ¶ added in v0.11.0
func (s *CIBuildView) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CIBuildView) Validate ¶ added in v0.11.0
func (s *CIBuildView) Validate() error
type CIBuildViewAdditional ¶ added in v0.11.0
func (*CIBuildViewAdditional) Decode ¶ added in v0.11.0
func (s *CIBuildViewAdditional) Decode(d *jx.Decoder) error
Decode decodes CIBuildViewAdditional from json.
func (CIBuildViewAdditional) Encode ¶ added in v0.11.0
func (s CIBuildViewAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CIBuildViewAdditional) MarshalJSON ¶ added in v0.11.0
func (s CIBuildViewAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIBuildViewAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *CIBuildViewAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIDeliveryDetailView ¶ added in v0.11.3
type CIDeliveryDetailView struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Vendor account (Buildkite org, Depot org).
Account OptString `json:"account"`
// When the delivery started or arrived (UTC).
At time.Time `json:"at"`
// Attempts made; outbound only.
AttemptCount OptInt64 `json:"attempt_count"`
// When an outbound delivery reached a terminal state (UTC).
CompletedAt OptDateTime `json:"completed_at"`
// Outbound or inbound.
Direction string `json:"direction"`
// Subscription display name.
DisplayName OptString `json:"display_name"`
// How long the delivery took, milliseconds.
DurationMs OptInt64 `json:"duration_ms"`
// Vendor event type, e.g. build.finished.
Event OptString `json:"event"`
// HTTP status, absent when no request was made.
HTTPStatus OptInt64 `json:"http_status"`
// Opaque delivery id; pass to the delivery detail route.
ID string `json:"id"`
// Content identity after the change.
NewTarget OptString `json:"new_target"`
// Content identity before the change.
OldTarget OptString `json:"old_target"`
// Five-valued outcome; the vocabularies differ by direction.
Outcome string `json:"outcome"`
// Absent when swept or never stored.
Payload OptCIDeliveryPayloadView `json:"payload"`
// Swept or no_request; empty when a payload is present.
PayloadAbsent OptString `json:"payload_absent"`
// CI provider registry name.
Provider string `json:"provider"`
// Ref that moved.
Ref OptString `json:"ref"`
// Ref operation. Empty means unknown — never guess it from the targets.
RefOp OptString `json:"ref_op"`
// Repository ULID, empty when the delivery resolved to no enrolment.
RepoID OptString `json:"repo_id"`
// Outbound dispatch state.
State OptString `json:"state"`
// Subscription ULID, empty when none was resolved.
SubscriptionID OptString `json:"subscription_id"`
// Vendor target (Buildkite pipeline, Depot run label).
Target OptString `json:"target"`
// The vendor's own id for this delivery.
WireRequestID OptString `json:"wire_request_id"`
AdditionalProps CIDeliveryDetailViewAdditional
}
Ref: #/components/schemas/CIDeliveryDetailView
func (*CIDeliveryDetailView) Decode ¶ added in v0.11.3
func (s *CIDeliveryDetailView) Decode(d *jx.Decoder) error
Decode decodes CIDeliveryDetailView from json.
func (*CIDeliveryDetailView) Encode ¶ added in v0.11.3
func (s *CIDeliveryDetailView) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CIDeliveryDetailView) GetAccount ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetAccount() OptString
GetAccount returns the value of Account.
func (*CIDeliveryDetailView) GetAdditionalProps ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetAdditionalProps() CIDeliveryDetailViewAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CIDeliveryDetailView) GetAt ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetAt() time.Time
GetAt returns the value of At.
func (*CIDeliveryDetailView) GetAttemptCount ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetAttemptCount() OptInt64
GetAttemptCount returns the value of AttemptCount.
func (*CIDeliveryDetailView) GetCompletedAt ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetCompletedAt() OptDateTime
GetCompletedAt returns the value of CompletedAt.
func (*CIDeliveryDetailView) GetDirection ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetDirection() string
GetDirection returns the value of Direction.
func (*CIDeliveryDetailView) GetDisplayName ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetDisplayName() OptString
GetDisplayName returns the value of DisplayName.
func (*CIDeliveryDetailView) GetDurationMs ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetDurationMs() OptInt64
GetDurationMs returns the value of DurationMs.
func (*CIDeliveryDetailView) GetEvent ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetEvent() OptString
GetEvent returns the value of Event.
func (*CIDeliveryDetailView) GetHTTPStatus ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetHTTPStatus() OptInt64
GetHTTPStatus returns the value of HTTPStatus.
func (*CIDeliveryDetailView) GetID ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetID() string
GetID returns the value of ID.
func (*CIDeliveryDetailView) GetNewTarget ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetNewTarget() OptString
GetNewTarget returns the value of NewTarget.
func (*CIDeliveryDetailView) GetOldTarget ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetOldTarget() OptString
GetOldTarget returns the value of OldTarget.
func (*CIDeliveryDetailView) GetOutcome ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetOutcome() string
GetOutcome returns the value of Outcome.
func (*CIDeliveryDetailView) GetPayload ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetPayload() OptCIDeliveryPayloadView
GetPayload returns the value of Payload.
func (*CIDeliveryDetailView) GetPayloadAbsent ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetPayloadAbsent() OptString
GetPayloadAbsent returns the value of PayloadAbsent.
func (*CIDeliveryDetailView) GetProvider ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetProvider() string
GetProvider returns the value of Provider.
func (*CIDeliveryDetailView) GetRef ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetRef() OptString
GetRef returns the value of Ref.
func (*CIDeliveryDetailView) GetRefOp ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetRefOp() OptString
GetRefOp returns the value of RefOp.
func (*CIDeliveryDetailView) GetRepoID ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetRepoID() OptString
GetRepoID returns the value of RepoID.
func (*CIDeliveryDetailView) GetSchema ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CIDeliveryDetailView) GetState ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetState() OptString
GetState returns the value of State.
func (*CIDeliveryDetailView) GetSubscriptionID ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetSubscriptionID() OptString
GetSubscriptionID returns the value of SubscriptionID.
func (*CIDeliveryDetailView) GetTarget ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetTarget() OptString
GetTarget returns the value of Target.
func (*CIDeliveryDetailView) GetWireRequestID ¶ added in v0.11.3
func (s *CIDeliveryDetailView) GetWireRequestID() OptString
GetWireRequestID returns the value of WireRequestID.
func (*CIDeliveryDetailView) MarshalJSON ¶ added in v0.11.3
func (s *CIDeliveryDetailView) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIDeliveryDetailView) SetAccount ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetAccount(val OptString)
SetAccount sets the value of Account.
func (*CIDeliveryDetailView) SetAdditionalProps ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetAdditionalProps(val CIDeliveryDetailViewAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CIDeliveryDetailView) SetAt ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetAt(val time.Time)
SetAt sets the value of At.
func (*CIDeliveryDetailView) SetAttemptCount ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetAttemptCount(val OptInt64)
SetAttemptCount sets the value of AttemptCount.
func (*CIDeliveryDetailView) SetCompletedAt ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetCompletedAt(val OptDateTime)
SetCompletedAt sets the value of CompletedAt.
func (*CIDeliveryDetailView) SetDirection ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetDirection(val string)
SetDirection sets the value of Direction.
func (*CIDeliveryDetailView) SetDisplayName ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetDisplayName(val OptString)
SetDisplayName sets the value of DisplayName.
func (*CIDeliveryDetailView) SetDurationMs ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetDurationMs(val OptInt64)
SetDurationMs sets the value of DurationMs.
func (*CIDeliveryDetailView) SetEvent ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetEvent(val OptString)
SetEvent sets the value of Event.
func (*CIDeliveryDetailView) SetHTTPStatus ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetHTTPStatus(val OptInt64)
SetHTTPStatus sets the value of HTTPStatus.
func (*CIDeliveryDetailView) SetID ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetID(val string)
SetID sets the value of ID.
func (*CIDeliveryDetailView) SetNewTarget ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetNewTarget(val OptString)
SetNewTarget sets the value of NewTarget.
func (*CIDeliveryDetailView) SetOldTarget ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetOldTarget(val OptString)
SetOldTarget sets the value of OldTarget.
func (*CIDeliveryDetailView) SetOutcome ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetOutcome(val string)
SetOutcome sets the value of Outcome.
func (*CIDeliveryDetailView) SetPayload ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetPayload(val OptCIDeliveryPayloadView)
SetPayload sets the value of Payload.
func (*CIDeliveryDetailView) SetPayloadAbsent ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetPayloadAbsent(val OptString)
SetPayloadAbsent sets the value of PayloadAbsent.
func (*CIDeliveryDetailView) SetProvider ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetProvider(val string)
SetProvider sets the value of Provider.
func (*CIDeliveryDetailView) SetRef ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetRef(val OptString)
SetRef sets the value of Ref.
func (*CIDeliveryDetailView) SetRefOp ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetRefOp(val OptString)
SetRefOp sets the value of RefOp.
func (*CIDeliveryDetailView) SetRepoID ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetRepoID(val OptString)
SetRepoID sets the value of RepoID.
func (*CIDeliveryDetailView) SetSchema ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CIDeliveryDetailView) SetState ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetState(val OptString)
SetState sets the value of State.
func (*CIDeliveryDetailView) SetSubscriptionID ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetSubscriptionID(val OptString)
SetSubscriptionID sets the value of SubscriptionID.
func (*CIDeliveryDetailView) SetTarget ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetTarget(val OptString)
SetTarget sets the value of Target.
func (*CIDeliveryDetailView) SetWireRequestID ¶ added in v0.11.3
func (s *CIDeliveryDetailView) SetWireRequestID(val OptString)
SetWireRequestID sets the value of WireRequestID.
func (*CIDeliveryDetailView) UnmarshalJSON ¶ added in v0.11.3
func (s *CIDeliveryDetailView) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIDeliveryDetailViewAdditional ¶ added in v0.11.3
func (*CIDeliveryDetailViewAdditional) Decode ¶ added in v0.11.3
func (s *CIDeliveryDetailViewAdditional) Decode(d *jx.Decoder) error
Decode decodes CIDeliveryDetailViewAdditional from json.
func (CIDeliveryDetailViewAdditional) Encode ¶ added in v0.11.3
func (s CIDeliveryDetailViewAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CIDeliveryDetailViewAdditional) MarshalJSON ¶ added in v0.11.3
func (s CIDeliveryDetailViewAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIDeliveryDetailViewAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *CIDeliveryDetailViewAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIDeliveryPayloadView ¶ added in v0.11.3
type CIDeliveryPayloadView struct {
// Where the request went, or the path it arrived on.
Endpoint string `json:"endpoint"`
// Which attempt these bytes came from; compare with attempt_count.
FromAttempt int64 `json:"from_attempt"`
// Request body as stored.
RequestBody string `json:"request_body"`
// Stored request headers; an allowlist, signatures truncated.
RequestHeaders CIDeliveryPayloadViewRequestHeaders `json:"request_headers"`
// Request body is at the 16 KiB cap and may be cut.
RequestTruncated bool `json:"request_truncated"`
// Response body as stored.
ResponseBody string `json:"response_body"`
// False means no response arrived, not that it was empty.
ResponsePresent bool `json:"response_present"`
// Response body is at the 16 KiB cap and may be cut.
ResponseTruncated bool `json:"response_truncated"`
AdditionalProps CIDeliveryPayloadViewAdditional
}
Ref: #/components/schemas/CIDeliveryPayloadView
func (*CIDeliveryPayloadView) Decode ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) Decode(d *jx.Decoder) error
Decode decodes CIDeliveryPayloadView from json.
func (*CIDeliveryPayloadView) Encode ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CIDeliveryPayloadView) GetAdditionalProps ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) GetAdditionalProps() CIDeliveryPayloadViewAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CIDeliveryPayloadView) GetEndpoint ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) GetEndpoint() string
GetEndpoint returns the value of Endpoint.
func (*CIDeliveryPayloadView) GetFromAttempt ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) GetFromAttempt() int64
GetFromAttempt returns the value of FromAttempt.
func (*CIDeliveryPayloadView) GetRequestBody ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) GetRequestBody() string
GetRequestBody returns the value of RequestBody.
func (*CIDeliveryPayloadView) GetRequestHeaders ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) GetRequestHeaders() CIDeliveryPayloadViewRequestHeaders
GetRequestHeaders returns the value of RequestHeaders.
func (*CIDeliveryPayloadView) GetRequestTruncated ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) GetRequestTruncated() bool
GetRequestTruncated returns the value of RequestTruncated.
func (*CIDeliveryPayloadView) GetResponseBody ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) GetResponseBody() string
GetResponseBody returns the value of ResponseBody.
func (*CIDeliveryPayloadView) GetResponsePresent ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) GetResponsePresent() bool
GetResponsePresent returns the value of ResponsePresent.
func (*CIDeliveryPayloadView) GetResponseTruncated ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) GetResponseTruncated() bool
GetResponseTruncated returns the value of ResponseTruncated.
func (*CIDeliveryPayloadView) MarshalJSON ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIDeliveryPayloadView) SetAdditionalProps ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) SetAdditionalProps(val CIDeliveryPayloadViewAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CIDeliveryPayloadView) SetEndpoint ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) SetEndpoint(val string)
SetEndpoint sets the value of Endpoint.
func (*CIDeliveryPayloadView) SetFromAttempt ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) SetFromAttempt(val int64)
SetFromAttempt sets the value of FromAttempt.
func (*CIDeliveryPayloadView) SetRequestBody ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) SetRequestBody(val string)
SetRequestBody sets the value of RequestBody.
func (*CIDeliveryPayloadView) SetRequestHeaders ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) SetRequestHeaders(val CIDeliveryPayloadViewRequestHeaders)
SetRequestHeaders sets the value of RequestHeaders.
func (*CIDeliveryPayloadView) SetRequestTruncated ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) SetRequestTruncated(val bool)
SetRequestTruncated sets the value of RequestTruncated.
func (*CIDeliveryPayloadView) SetResponseBody ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) SetResponseBody(val string)
SetResponseBody sets the value of ResponseBody.
func (*CIDeliveryPayloadView) SetResponsePresent ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) SetResponsePresent(val bool)
SetResponsePresent sets the value of ResponsePresent.
func (*CIDeliveryPayloadView) SetResponseTruncated ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) SetResponseTruncated(val bool)
SetResponseTruncated sets the value of ResponseTruncated.
func (*CIDeliveryPayloadView) UnmarshalJSON ¶ added in v0.11.3
func (s *CIDeliveryPayloadView) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIDeliveryPayloadViewAdditional ¶ added in v0.11.3
func (*CIDeliveryPayloadViewAdditional) Decode ¶ added in v0.11.3
func (s *CIDeliveryPayloadViewAdditional) Decode(d *jx.Decoder) error
Decode decodes CIDeliveryPayloadViewAdditional from json.
func (CIDeliveryPayloadViewAdditional) Encode ¶ added in v0.11.3
func (s CIDeliveryPayloadViewAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CIDeliveryPayloadViewAdditional) MarshalJSON ¶ added in v0.11.3
func (s CIDeliveryPayloadViewAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIDeliveryPayloadViewAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *CIDeliveryPayloadViewAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIDeliveryPayloadViewRequestHeaders ¶ added in v0.11.3
Stored request headers; an allowlist, signatures truncated.
func (*CIDeliveryPayloadViewRequestHeaders) Decode ¶ added in v0.11.3
func (s *CIDeliveryPayloadViewRequestHeaders) Decode(d *jx.Decoder) error
Decode decodes CIDeliveryPayloadViewRequestHeaders from json.
func (CIDeliveryPayloadViewRequestHeaders) Encode ¶ added in v0.11.3
func (s CIDeliveryPayloadViewRequestHeaders) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CIDeliveryPayloadViewRequestHeaders) MarshalJSON ¶ added in v0.11.3
func (s CIDeliveryPayloadViewRequestHeaders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIDeliveryPayloadViewRequestHeaders) UnmarshalJSON ¶ added in v0.11.3
func (s *CIDeliveryPayloadViewRequestHeaders) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIDeliveryView ¶ added in v0.11.3
type CIDeliveryView struct {
// Vendor account (Buildkite org, Depot org).
Account OptString `json:"account"`
// When the delivery started or arrived (UTC).
At time.Time `json:"at"`
// Attempts made; outbound only.
AttemptCount OptInt64 `json:"attempt_count"`
// When an outbound delivery reached a terminal state (UTC).
CompletedAt OptDateTime `json:"completed_at"`
// Outbound or inbound.
Direction string `json:"direction"`
// Subscription display name.
DisplayName OptString `json:"display_name"`
// How long the delivery took, milliseconds.
DurationMs OptInt64 `json:"duration_ms"`
// Vendor event type, e.g. build.finished.
Event OptString `json:"event"`
// HTTP status, absent when no request was made.
HTTPStatus OptInt64 `json:"http_status"`
// Opaque delivery id; pass to the delivery detail route.
ID string `json:"id"`
// Content identity after the change.
NewTarget OptString `json:"new_target"`
// Content identity before the change.
OldTarget OptString `json:"old_target"`
// Five-valued outcome; the vocabularies differ by direction.
Outcome string `json:"outcome"`
// CI provider registry name.
Provider string `json:"provider"`
// Ref that moved.
Ref OptString `json:"ref"`
// Ref operation. Empty means unknown — never guess it from the targets.
RefOp OptString `json:"ref_op"`
// Repository ULID, empty when the delivery resolved to no enrolment.
RepoID OptString `json:"repo_id"`
// Outbound dispatch state.
State OptString `json:"state"`
// Subscription ULID, empty when none was resolved.
SubscriptionID OptString `json:"subscription_id"`
// Vendor target (Buildkite pipeline, Depot run label).
Target OptString `json:"target"`
// The vendor's own id for this delivery.
WireRequestID OptString `json:"wire_request_id"`
AdditionalProps CIDeliveryViewAdditional
}
Ref: #/components/schemas/CIDeliveryView
func (*CIDeliveryView) Decode ¶ added in v0.11.3
func (s *CIDeliveryView) Decode(d *jx.Decoder) error
Decode decodes CIDeliveryView from json.
func (*CIDeliveryView) Encode ¶ added in v0.11.3
func (s *CIDeliveryView) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CIDeliveryView) GetAccount ¶ added in v0.11.3
func (s *CIDeliveryView) GetAccount() OptString
GetAccount returns the value of Account.
func (*CIDeliveryView) GetAdditionalProps ¶ added in v0.11.3
func (s *CIDeliveryView) GetAdditionalProps() CIDeliveryViewAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CIDeliveryView) GetAt ¶ added in v0.11.3
func (s *CIDeliveryView) GetAt() time.Time
GetAt returns the value of At.
func (*CIDeliveryView) GetAttemptCount ¶ added in v0.11.3
func (s *CIDeliveryView) GetAttemptCount() OptInt64
GetAttemptCount returns the value of AttemptCount.
func (*CIDeliveryView) GetCompletedAt ¶ added in v0.11.3
func (s *CIDeliveryView) GetCompletedAt() OptDateTime
GetCompletedAt returns the value of CompletedAt.
func (*CIDeliveryView) GetDirection ¶ added in v0.11.3
func (s *CIDeliveryView) GetDirection() string
GetDirection returns the value of Direction.
func (*CIDeliveryView) GetDisplayName ¶ added in v0.11.3
func (s *CIDeliveryView) GetDisplayName() OptString
GetDisplayName returns the value of DisplayName.
func (*CIDeliveryView) GetDurationMs ¶ added in v0.11.3
func (s *CIDeliveryView) GetDurationMs() OptInt64
GetDurationMs returns the value of DurationMs.
func (*CIDeliveryView) GetEvent ¶ added in v0.11.3
func (s *CIDeliveryView) GetEvent() OptString
GetEvent returns the value of Event.
func (*CIDeliveryView) GetHTTPStatus ¶ added in v0.11.3
func (s *CIDeliveryView) GetHTTPStatus() OptInt64
GetHTTPStatus returns the value of HTTPStatus.
func (*CIDeliveryView) GetID ¶ added in v0.11.3
func (s *CIDeliveryView) GetID() string
GetID returns the value of ID.
func (*CIDeliveryView) GetNewTarget ¶ added in v0.11.3
func (s *CIDeliveryView) GetNewTarget() OptString
GetNewTarget returns the value of NewTarget.
func (*CIDeliveryView) GetOldTarget ¶ added in v0.11.3
func (s *CIDeliveryView) GetOldTarget() OptString
GetOldTarget returns the value of OldTarget.
func (*CIDeliveryView) GetOutcome ¶ added in v0.11.3
func (s *CIDeliveryView) GetOutcome() string
GetOutcome returns the value of Outcome.
func (*CIDeliveryView) GetProvider ¶ added in v0.11.3
func (s *CIDeliveryView) GetProvider() string
GetProvider returns the value of Provider.
func (*CIDeliveryView) GetRef ¶ added in v0.11.3
func (s *CIDeliveryView) GetRef() OptString
GetRef returns the value of Ref.
func (*CIDeliveryView) GetRefOp ¶ added in v0.11.3
func (s *CIDeliveryView) GetRefOp() OptString
GetRefOp returns the value of RefOp.
func (*CIDeliveryView) GetRepoID ¶ added in v0.11.3
func (s *CIDeliveryView) GetRepoID() OptString
GetRepoID returns the value of RepoID.
func (*CIDeliveryView) GetState ¶ added in v0.11.3
func (s *CIDeliveryView) GetState() OptString
GetState returns the value of State.
func (*CIDeliveryView) GetSubscriptionID ¶ added in v0.11.3
func (s *CIDeliveryView) GetSubscriptionID() OptString
GetSubscriptionID returns the value of SubscriptionID.
func (*CIDeliveryView) GetTarget ¶ added in v0.11.3
func (s *CIDeliveryView) GetTarget() OptString
GetTarget returns the value of Target.
func (*CIDeliveryView) GetWireRequestID ¶ added in v0.11.3
func (s *CIDeliveryView) GetWireRequestID() OptString
GetWireRequestID returns the value of WireRequestID.
func (*CIDeliveryView) MarshalJSON ¶ added in v0.11.3
func (s *CIDeliveryView) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIDeliveryView) SetAccount ¶ added in v0.11.3
func (s *CIDeliveryView) SetAccount(val OptString)
SetAccount sets the value of Account.
func (*CIDeliveryView) SetAdditionalProps ¶ added in v0.11.3
func (s *CIDeliveryView) SetAdditionalProps(val CIDeliveryViewAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CIDeliveryView) SetAt ¶ added in v0.11.3
func (s *CIDeliveryView) SetAt(val time.Time)
SetAt sets the value of At.
func (*CIDeliveryView) SetAttemptCount ¶ added in v0.11.3
func (s *CIDeliveryView) SetAttemptCount(val OptInt64)
SetAttemptCount sets the value of AttemptCount.
func (*CIDeliveryView) SetCompletedAt ¶ added in v0.11.3
func (s *CIDeliveryView) SetCompletedAt(val OptDateTime)
SetCompletedAt sets the value of CompletedAt.
func (*CIDeliveryView) SetDirection ¶ added in v0.11.3
func (s *CIDeliveryView) SetDirection(val string)
SetDirection sets the value of Direction.
func (*CIDeliveryView) SetDisplayName ¶ added in v0.11.3
func (s *CIDeliveryView) SetDisplayName(val OptString)
SetDisplayName sets the value of DisplayName.
func (*CIDeliveryView) SetDurationMs ¶ added in v0.11.3
func (s *CIDeliveryView) SetDurationMs(val OptInt64)
SetDurationMs sets the value of DurationMs.
func (*CIDeliveryView) SetEvent ¶ added in v0.11.3
func (s *CIDeliveryView) SetEvent(val OptString)
SetEvent sets the value of Event.
func (*CIDeliveryView) SetHTTPStatus ¶ added in v0.11.3
func (s *CIDeliveryView) SetHTTPStatus(val OptInt64)
SetHTTPStatus sets the value of HTTPStatus.
func (*CIDeliveryView) SetID ¶ added in v0.11.3
func (s *CIDeliveryView) SetID(val string)
SetID sets the value of ID.
func (*CIDeliveryView) SetNewTarget ¶ added in v0.11.3
func (s *CIDeliveryView) SetNewTarget(val OptString)
SetNewTarget sets the value of NewTarget.
func (*CIDeliveryView) SetOldTarget ¶ added in v0.11.3
func (s *CIDeliveryView) SetOldTarget(val OptString)
SetOldTarget sets the value of OldTarget.
func (*CIDeliveryView) SetOutcome ¶ added in v0.11.3
func (s *CIDeliveryView) SetOutcome(val string)
SetOutcome sets the value of Outcome.
func (*CIDeliveryView) SetProvider ¶ added in v0.11.3
func (s *CIDeliveryView) SetProvider(val string)
SetProvider sets the value of Provider.
func (*CIDeliveryView) SetRef ¶ added in v0.11.3
func (s *CIDeliveryView) SetRef(val OptString)
SetRef sets the value of Ref.
func (*CIDeliveryView) SetRefOp ¶ added in v0.11.3
func (s *CIDeliveryView) SetRefOp(val OptString)
SetRefOp sets the value of RefOp.
func (*CIDeliveryView) SetRepoID ¶ added in v0.11.3
func (s *CIDeliveryView) SetRepoID(val OptString)
SetRepoID sets the value of RepoID.
func (*CIDeliveryView) SetState ¶ added in v0.11.3
func (s *CIDeliveryView) SetState(val OptString)
SetState sets the value of State.
func (*CIDeliveryView) SetSubscriptionID ¶ added in v0.11.3
func (s *CIDeliveryView) SetSubscriptionID(val OptString)
SetSubscriptionID sets the value of SubscriptionID.
func (*CIDeliveryView) SetTarget ¶ added in v0.11.3
func (s *CIDeliveryView) SetTarget(val OptString)
SetTarget sets the value of Target.
func (*CIDeliveryView) SetWireRequestID ¶ added in v0.11.3
func (s *CIDeliveryView) SetWireRequestID(val OptString)
SetWireRequestID sets the value of WireRequestID.
func (*CIDeliveryView) UnmarshalJSON ¶ added in v0.11.3
func (s *CIDeliveryView) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIDeliveryViewAdditional ¶ added in v0.11.3
func (*CIDeliveryViewAdditional) Decode ¶ added in v0.11.3
func (s *CIDeliveryViewAdditional) Decode(d *jx.Decoder) error
Decode decodes CIDeliveryViewAdditional from json.
func (CIDeliveryViewAdditional) Encode ¶ added in v0.11.3
func (s CIDeliveryViewAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CIDeliveryViewAdditional) MarshalJSON ¶ added in v0.11.3
func (s CIDeliveryViewAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIDeliveryViewAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *CIDeliveryViewAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIJobView ¶ added in v0.11.0
type CIJobView struct {
BkJobID string `json:"bk_job_id"`
ExitStatus OptInt64 `json:"exit_status"`
FinishedAt OptDateTime `json:"finished_at"`
Name string `json:"name"`
StartedAt OptDateTime `json:"started_at"`
State string `json:"state"`
StepKey string `json:"step_key"`
Type string `json:"type"`
AdditionalProps CIJobViewAdditional
}
Ref: #/components/schemas/CIJobView
func (*CIJobView) GetAdditionalProps ¶ added in v0.11.0
func (s *CIJobView) GetAdditionalProps() CIJobViewAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CIJobView) GetBkJobID ¶ added in v0.11.0
GetBkJobID returns the value of BkJobID.
func (*CIJobView) GetExitStatus ¶ added in v0.11.0
GetExitStatus returns the value of ExitStatus.
func (*CIJobView) GetFinishedAt ¶ added in v0.11.0
func (s *CIJobView) GetFinishedAt() OptDateTime
GetFinishedAt returns the value of FinishedAt.
func (*CIJobView) GetStartedAt ¶ added in v0.11.0
func (s *CIJobView) GetStartedAt() OptDateTime
GetStartedAt returns the value of StartedAt.
func (*CIJobView) GetStepKey ¶ added in v0.11.0
GetStepKey returns the value of StepKey.
func (*CIJobView) MarshalJSON ¶ added in v0.11.0
MarshalJSON implements stdjson.Marshaler.
func (*CIJobView) SetAdditionalProps ¶ added in v0.11.0
func (s *CIJobView) SetAdditionalProps(val CIJobViewAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CIJobView) SetBkJobID ¶ added in v0.11.0
SetBkJobID sets the value of BkJobID.
func (*CIJobView) SetExitStatus ¶ added in v0.11.0
SetExitStatus sets the value of ExitStatus.
func (*CIJobView) SetFinishedAt ¶ added in v0.11.0
func (s *CIJobView) SetFinishedAt(val OptDateTime)
SetFinishedAt sets the value of FinishedAt.
func (*CIJobView) SetStartedAt ¶ added in v0.11.0
func (s *CIJobView) SetStartedAt(val OptDateTime)
SetStartedAt sets the value of StartedAt.
func (*CIJobView) SetStepKey ¶ added in v0.11.0
SetStepKey sets the value of StepKey.
func (*CIJobView) UnmarshalJSON ¶ added in v0.11.0
UnmarshalJSON implements stdjson.Unmarshaler.
type CIJobViewAdditional ¶ added in v0.11.0
func (*CIJobViewAdditional) Decode ¶ added in v0.11.0
func (s *CIJobViewAdditional) Decode(d *jx.Decoder) error
Decode decodes CIJobViewAdditional from json.
func (CIJobViewAdditional) Encode ¶ added in v0.11.0
func (s CIJobViewAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CIJobViewAdditional) MarshalJSON ¶ added in v0.11.0
func (s CIJobViewAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIJobViewAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *CIJobViewAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIProviderDescriptor ¶ added in v0.11.0
type CIProviderDescriptor struct {
// Whether this org can enrol into this provider right now.
Enrollable bool `json:"enrollable"`
// Form fields, in the order a client should render them.
Fields []CIProviderField `json:"fields"`
// Human-readable provider name.
Label string `json:"label"`
// Ways of enrolling; exactly one is marked default.
Modes []CIProviderMode `json:"modes"`
// Provider key, posted back as the request's provider.
Name string `json:"name"`
// Why enrolment is unavailable; set only when enrollable is false.
Reason OptString `json:"reason"`
AdditionalProps CIProviderDescriptorAdditional
}
Ref: #/components/schemas/CIProviderDescriptor
func (*CIProviderDescriptor) Decode ¶ added in v0.11.0
func (s *CIProviderDescriptor) Decode(d *jx.Decoder) error
Decode decodes CIProviderDescriptor from json.
func (*CIProviderDescriptor) Encode ¶ added in v0.11.0
func (s *CIProviderDescriptor) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CIProviderDescriptor) GetAdditionalProps ¶ added in v0.11.0
func (s *CIProviderDescriptor) GetAdditionalProps() CIProviderDescriptorAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CIProviderDescriptor) GetEnrollable ¶ added in v0.11.0
func (s *CIProviderDescriptor) GetEnrollable() bool
GetEnrollable returns the value of Enrollable.
func (*CIProviderDescriptor) GetFields ¶ added in v0.11.0
func (s *CIProviderDescriptor) GetFields() []CIProviderField
GetFields returns the value of Fields.
func (*CIProviderDescriptor) GetLabel ¶ added in v0.11.0
func (s *CIProviderDescriptor) GetLabel() string
GetLabel returns the value of Label.
func (*CIProviderDescriptor) GetModes ¶ added in v0.11.0
func (s *CIProviderDescriptor) GetModes() []CIProviderMode
GetModes returns the value of Modes.
func (*CIProviderDescriptor) GetName ¶ added in v0.11.0
func (s *CIProviderDescriptor) GetName() string
GetName returns the value of Name.
func (*CIProviderDescriptor) GetReason ¶ added in v0.11.0
func (s *CIProviderDescriptor) GetReason() OptString
GetReason returns the value of Reason.
func (*CIProviderDescriptor) MarshalJSON ¶ added in v0.11.0
func (s *CIProviderDescriptor) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIProviderDescriptor) SetAdditionalProps ¶ added in v0.11.0
func (s *CIProviderDescriptor) SetAdditionalProps(val CIProviderDescriptorAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CIProviderDescriptor) SetEnrollable ¶ added in v0.11.0
func (s *CIProviderDescriptor) SetEnrollable(val bool)
SetEnrollable sets the value of Enrollable.
func (*CIProviderDescriptor) SetFields ¶ added in v0.11.0
func (s *CIProviderDescriptor) SetFields(val []CIProviderField)
SetFields sets the value of Fields.
func (*CIProviderDescriptor) SetLabel ¶ added in v0.11.0
func (s *CIProviderDescriptor) SetLabel(val string)
SetLabel sets the value of Label.
func (*CIProviderDescriptor) SetModes ¶ added in v0.11.0
func (s *CIProviderDescriptor) SetModes(val []CIProviderMode)
SetModes sets the value of Modes.
func (*CIProviderDescriptor) SetName ¶ added in v0.11.0
func (s *CIProviderDescriptor) SetName(val string)
SetName sets the value of Name.
func (*CIProviderDescriptor) SetReason ¶ added in v0.11.0
func (s *CIProviderDescriptor) SetReason(val OptString)
SetReason sets the value of Reason.
func (*CIProviderDescriptor) UnmarshalJSON ¶ added in v0.11.0
func (s *CIProviderDescriptor) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CIProviderDescriptor) Validate ¶ added in v0.11.0
func (s *CIProviderDescriptor) Validate() error
type CIProviderDescriptorAdditional ¶ added in v0.11.0
func (*CIProviderDescriptorAdditional) Decode ¶ added in v0.11.0
func (s *CIProviderDescriptorAdditional) Decode(d *jx.Decoder) error
Decode decodes CIProviderDescriptorAdditional from json.
func (CIProviderDescriptorAdditional) Encode ¶ added in v0.11.0
func (s CIProviderDescriptorAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CIProviderDescriptorAdditional) MarshalJSON ¶ added in v0.11.0
func (s CIProviderDescriptorAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIProviderDescriptorAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *CIProviderDescriptorAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIProviderField ¶ added in v0.11.0
type CIProviderField struct {
// Longer explanation shown beneath the field.
Help OptString `json:"help"`
// Body key this field's value posts under.
Key string `json:"key"`
// Widget to render: text, select, secret, bool.
Kind string `json:"kind"`
// Human-readable field label.
Label string `json:"label"`
// Choices for a select field; absent for every other kind.
Options []CIProviderOption `json:"options"`
// Placeholder text for an empty field.
Placeholder OptString `json:"placeholder"`
// Mode keys this field is required in; empty means never required.
RequiredIn []string `json:"required_in"`
// Where the value goes: body (top level) or config (opaque map).
Target string `json:"target"`
AdditionalProps CIProviderFieldAdditional
}
Ref: #/components/schemas/CIProviderField
func (*CIProviderField) Decode ¶ added in v0.11.0
func (s *CIProviderField) Decode(d *jx.Decoder) error
Decode decodes CIProviderField from json.
func (*CIProviderField) Encode ¶ added in v0.11.0
func (s *CIProviderField) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CIProviderField) GetAdditionalProps ¶ added in v0.11.0
func (s *CIProviderField) GetAdditionalProps() CIProviderFieldAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CIProviderField) GetHelp ¶ added in v0.11.0
func (s *CIProviderField) GetHelp() OptString
GetHelp returns the value of Help.
func (*CIProviderField) GetKey ¶ added in v0.11.0
func (s *CIProviderField) GetKey() string
GetKey returns the value of Key.
func (*CIProviderField) GetKind ¶ added in v0.11.0
func (s *CIProviderField) GetKind() string
GetKind returns the value of Kind.
func (*CIProviderField) GetLabel ¶ added in v0.11.0
func (s *CIProviderField) GetLabel() string
GetLabel returns the value of Label.
func (*CIProviderField) GetOptions ¶ added in v0.11.0
func (s *CIProviderField) GetOptions() []CIProviderOption
GetOptions returns the value of Options.
func (*CIProviderField) GetPlaceholder ¶ added in v0.11.0
func (s *CIProviderField) GetPlaceholder() OptString
GetPlaceholder returns the value of Placeholder.
func (*CIProviderField) GetRequiredIn ¶ added in v0.11.0
func (s *CIProviderField) GetRequiredIn() []string
GetRequiredIn returns the value of RequiredIn.
func (*CIProviderField) GetTarget ¶ added in v0.11.0
func (s *CIProviderField) GetTarget() string
GetTarget returns the value of Target.
func (*CIProviderField) MarshalJSON ¶ added in v0.11.0
func (s *CIProviderField) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIProviderField) SetAdditionalProps ¶ added in v0.11.0
func (s *CIProviderField) SetAdditionalProps(val CIProviderFieldAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CIProviderField) SetHelp ¶ added in v0.11.0
func (s *CIProviderField) SetHelp(val OptString)
SetHelp sets the value of Help.
func (*CIProviderField) SetKey ¶ added in v0.11.0
func (s *CIProviderField) SetKey(val string)
SetKey sets the value of Key.
func (*CIProviderField) SetKind ¶ added in v0.11.0
func (s *CIProviderField) SetKind(val string)
SetKind sets the value of Kind.
func (*CIProviderField) SetLabel ¶ added in v0.11.0
func (s *CIProviderField) SetLabel(val string)
SetLabel sets the value of Label.
func (*CIProviderField) SetOptions ¶ added in v0.11.0
func (s *CIProviderField) SetOptions(val []CIProviderOption)
SetOptions sets the value of Options.
func (*CIProviderField) SetPlaceholder ¶ added in v0.11.0
func (s *CIProviderField) SetPlaceholder(val OptString)
SetPlaceholder sets the value of Placeholder.
func (*CIProviderField) SetRequiredIn ¶ added in v0.11.0
func (s *CIProviderField) SetRequiredIn(val []string)
SetRequiredIn sets the value of RequiredIn.
func (*CIProviderField) SetTarget ¶ added in v0.11.0
func (s *CIProviderField) SetTarget(val string)
SetTarget sets the value of Target.
func (*CIProviderField) UnmarshalJSON ¶ added in v0.11.0
func (s *CIProviderField) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CIProviderField) Validate ¶ added in v0.11.0
func (s *CIProviderField) Validate() error
type CIProviderFieldAdditional ¶ added in v0.11.0
func (*CIProviderFieldAdditional) Decode ¶ added in v0.11.0
func (s *CIProviderFieldAdditional) Decode(d *jx.Decoder) error
Decode decodes CIProviderFieldAdditional from json.
func (CIProviderFieldAdditional) Encode ¶ added in v0.11.0
func (s CIProviderFieldAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CIProviderFieldAdditional) MarshalJSON ¶ added in v0.11.0
func (s CIProviderFieldAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIProviderFieldAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *CIProviderFieldAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIProviderMode ¶ added in v0.11.0
type CIProviderMode struct {
// Whether a client should preselect this mode.
Default OptBool `json:"default"`
// Longer explanation of what this mode does.
Help OptString `json:"help"`
// Mode key to post back as the request's mode.
Key string `json:"key"`
// Human-readable label.
Label string `json:"label"`
AdditionalProps CIProviderModeAdditional
}
Ref: #/components/schemas/CIProviderMode
func (*CIProviderMode) Decode ¶ added in v0.11.0
func (s *CIProviderMode) Decode(d *jx.Decoder) error
Decode decodes CIProviderMode from json.
func (*CIProviderMode) Encode ¶ added in v0.11.0
func (s *CIProviderMode) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CIProviderMode) GetAdditionalProps ¶ added in v0.11.0
func (s *CIProviderMode) GetAdditionalProps() CIProviderModeAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CIProviderMode) GetDefault ¶ added in v0.11.0
func (s *CIProviderMode) GetDefault() OptBool
GetDefault returns the value of Default.
func (*CIProviderMode) GetHelp ¶ added in v0.11.0
func (s *CIProviderMode) GetHelp() OptString
GetHelp returns the value of Help.
func (*CIProviderMode) GetKey ¶ added in v0.11.0
func (s *CIProviderMode) GetKey() string
GetKey returns the value of Key.
func (*CIProviderMode) GetLabel ¶ added in v0.11.0
func (s *CIProviderMode) GetLabel() string
GetLabel returns the value of Label.
func (*CIProviderMode) MarshalJSON ¶ added in v0.11.0
func (s *CIProviderMode) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIProviderMode) SetAdditionalProps ¶ added in v0.11.0
func (s *CIProviderMode) SetAdditionalProps(val CIProviderModeAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CIProviderMode) SetDefault ¶ added in v0.11.0
func (s *CIProviderMode) SetDefault(val OptBool)
SetDefault sets the value of Default.
func (*CIProviderMode) SetHelp ¶ added in v0.11.0
func (s *CIProviderMode) SetHelp(val OptString)
SetHelp sets the value of Help.
func (*CIProviderMode) SetKey ¶ added in v0.11.0
func (s *CIProviderMode) SetKey(val string)
SetKey sets the value of Key.
func (*CIProviderMode) SetLabel ¶ added in v0.11.0
func (s *CIProviderMode) SetLabel(val string)
SetLabel sets the value of Label.
func (*CIProviderMode) UnmarshalJSON ¶ added in v0.11.0
func (s *CIProviderMode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIProviderModeAdditional ¶ added in v0.11.0
func (*CIProviderModeAdditional) Decode ¶ added in v0.11.0
func (s *CIProviderModeAdditional) Decode(d *jx.Decoder) error
Decode decodes CIProviderModeAdditional from json.
func (CIProviderModeAdditional) Encode ¶ added in v0.11.0
func (s CIProviderModeAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CIProviderModeAdditional) MarshalJSON ¶ added in v0.11.0
func (s CIProviderModeAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIProviderModeAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *CIProviderModeAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIProviderOption ¶ added in v0.11.0
type CIProviderOption struct {
// Human-readable label.
Label string `json:"label"`
// Value to post back for this choice.
Value string `json:"value"`
AdditionalProps CIProviderOptionAdditional
}
Ref: #/components/schemas/CIProviderOption
func (*CIProviderOption) Decode ¶ added in v0.11.0
func (s *CIProviderOption) Decode(d *jx.Decoder) error
Decode decodes CIProviderOption from json.
func (*CIProviderOption) Encode ¶ added in v0.11.0
func (s *CIProviderOption) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CIProviderOption) GetAdditionalProps ¶ added in v0.11.0
func (s *CIProviderOption) GetAdditionalProps() CIProviderOptionAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CIProviderOption) GetLabel ¶ added in v0.11.0
func (s *CIProviderOption) GetLabel() string
GetLabel returns the value of Label.
func (*CIProviderOption) GetValue ¶ added in v0.11.0
func (s *CIProviderOption) GetValue() string
GetValue returns the value of Value.
func (*CIProviderOption) MarshalJSON ¶ added in v0.11.0
func (s *CIProviderOption) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIProviderOption) SetAdditionalProps ¶ added in v0.11.0
func (s *CIProviderOption) SetAdditionalProps(val CIProviderOptionAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CIProviderOption) SetLabel ¶ added in v0.11.0
func (s *CIProviderOption) SetLabel(val string)
SetLabel sets the value of Label.
func (*CIProviderOption) SetValue ¶ added in v0.11.0
func (s *CIProviderOption) SetValue(val string)
SetValue sets the value of Value.
func (*CIProviderOption) UnmarshalJSON ¶ added in v0.11.0
func (s *CIProviderOption) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIProviderOptionAdditional ¶ added in v0.11.0
func (*CIProviderOptionAdditional) Decode ¶ added in v0.11.0
func (s *CIProviderOptionAdditional) Decode(d *jx.Decoder) error
Decode decodes CIProviderOptionAdditional from json.
func (CIProviderOptionAdditional) Encode ¶ added in v0.11.0
func (s CIProviderOptionAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CIProviderOptionAdditional) MarshalJSON ¶ added in v0.11.0
func (s CIProviderOptionAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIProviderOptionAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *CIProviderOptionAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CISetupBlock ¶ added in v0.11.0
type CISetupBlock struct {
// The content itself, ready to use verbatim.
Content string `json:"content"`
// The content's syntax, for highlighting: yaml, json.
Format string `json:"format"`
// Short instruction naming what to do with the content.
Heading string `json:"heading"`
AdditionalProps CISetupBlockAdditional
}
Ref: #/components/schemas/CISetupBlock
func (*CISetupBlock) Decode ¶ added in v0.11.0
func (s *CISetupBlock) Decode(d *jx.Decoder) error
Decode decodes CISetupBlock from json.
func (*CISetupBlock) Encode ¶ added in v0.11.0
func (s *CISetupBlock) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CISetupBlock) GetAdditionalProps ¶ added in v0.11.0
func (s *CISetupBlock) GetAdditionalProps() CISetupBlockAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CISetupBlock) GetContent ¶ added in v0.11.0
func (s *CISetupBlock) GetContent() string
GetContent returns the value of Content.
func (*CISetupBlock) GetFormat ¶ added in v0.11.0
func (s *CISetupBlock) GetFormat() string
GetFormat returns the value of Format.
func (*CISetupBlock) GetHeading ¶ added in v0.11.0
func (s *CISetupBlock) GetHeading() string
GetHeading returns the value of Heading.
func (*CISetupBlock) MarshalJSON ¶ added in v0.11.0
func (s *CISetupBlock) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CISetupBlock) SetAdditionalProps ¶ added in v0.11.0
func (s *CISetupBlock) SetAdditionalProps(val CISetupBlockAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CISetupBlock) SetContent ¶ added in v0.11.0
func (s *CISetupBlock) SetContent(val string)
SetContent sets the value of Content.
func (*CISetupBlock) SetFormat ¶ added in v0.11.0
func (s *CISetupBlock) SetFormat(val string)
SetFormat sets the value of Format.
func (*CISetupBlock) SetHeading ¶ added in v0.11.0
func (s *CISetupBlock) SetHeading(val string)
SetHeading sets the value of Heading.
func (*CISetupBlock) UnmarshalJSON ¶ added in v0.11.0
func (s *CISetupBlock) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CISetupBlockAdditional ¶ added in v0.11.0
func (*CISetupBlockAdditional) Decode ¶ added in v0.11.0
func (s *CISetupBlockAdditional) Decode(d *jx.Decoder) error
Decode decodes CISetupBlockAdditional from json.
func (CISetupBlockAdditional) Encode ¶ added in v0.11.0
func (s CISetupBlockAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CISetupBlockAdditional) MarshalJSON ¶ added in v0.11.0
func (s CISetupBlockAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CISetupBlockAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *CISetupBlockAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIWebhookAuditActor ¶ added in v0.11.0
type CIWebhookAuditActor struct {
// Entire account ULID that performed the action.
AccountID string `json:"account_id"`
// Actor's primary handle; empty when they have none.
Handle OptString `json:"handle"`
// Provider the handle came from: github, workos, system.
HandleProvider OptString `json:"handle_provider"`
AdditionalProps CIWebhookAuditActorAdditional
}
Ref: #/components/schemas/CIWebhookAuditActor
func (*CIWebhookAuditActor) Decode ¶ added in v0.11.0
func (s *CIWebhookAuditActor) Decode(d *jx.Decoder) error
Decode decodes CIWebhookAuditActor from json.
func (*CIWebhookAuditActor) Encode ¶ added in v0.11.0
func (s *CIWebhookAuditActor) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CIWebhookAuditActor) GetAccountID ¶ added in v0.11.0
func (s *CIWebhookAuditActor) GetAccountID() string
GetAccountID returns the value of AccountID.
func (*CIWebhookAuditActor) GetAdditionalProps ¶ added in v0.11.0
func (s *CIWebhookAuditActor) GetAdditionalProps() CIWebhookAuditActorAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CIWebhookAuditActor) GetHandle ¶ added in v0.11.0
func (s *CIWebhookAuditActor) GetHandle() OptString
GetHandle returns the value of Handle.
func (*CIWebhookAuditActor) GetHandleProvider ¶ added in v0.11.0
func (s *CIWebhookAuditActor) GetHandleProvider() OptString
GetHandleProvider returns the value of HandleProvider.
func (*CIWebhookAuditActor) MarshalJSON ¶ added in v0.11.0
func (s *CIWebhookAuditActor) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIWebhookAuditActor) SetAccountID ¶ added in v0.11.0
func (s *CIWebhookAuditActor) SetAccountID(val string)
SetAccountID sets the value of AccountID.
func (*CIWebhookAuditActor) SetAdditionalProps ¶ added in v0.11.0
func (s *CIWebhookAuditActor) SetAdditionalProps(val CIWebhookAuditActorAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CIWebhookAuditActor) SetHandle ¶ added in v0.11.0
func (s *CIWebhookAuditActor) SetHandle(val OptString)
SetHandle sets the value of Handle.
func (*CIWebhookAuditActor) SetHandleProvider ¶ added in v0.11.0
func (s *CIWebhookAuditActor) SetHandleProvider(val OptString)
SetHandleProvider sets the value of HandleProvider.
func (*CIWebhookAuditActor) UnmarshalJSON ¶ added in v0.11.0
func (s *CIWebhookAuditActor) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIWebhookAuditActorAdditional ¶ added in v0.11.0
func (*CIWebhookAuditActorAdditional) Decode ¶ added in v0.11.0
func (s *CIWebhookAuditActorAdditional) Decode(d *jx.Decoder) error
Decode decodes CIWebhookAuditActorAdditional from json.
func (CIWebhookAuditActorAdditional) Encode ¶ added in v0.11.0
func (s CIWebhookAuditActorAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CIWebhookAuditActorAdditional) MarshalJSON ¶ added in v0.11.0
func (s CIWebhookAuditActorAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIWebhookAuditActorAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *CIWebhookAuditActorAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIWebhookAuditEventView ¶ added in v0.11.0
type CIWebhookAuditEventView struct {
// Who performed the action.
Actor CIWebhookAuditActor `json:"actor"`
// Ci_webhook_enrolled | ci_webhook_updated | ci_webhook_deleted | ci_webhook_identity_rolled_back |
// ci_webhook_identity_orphaned.
EventType string `json:"event_type"`
// Audit event ULID.
ID string `json:"id"`
// Event detail as recorded, e.g. bk_organization/bk_pipeline.
Metadata OptCIWebhookAuditEventViewMetadata `json:"metadata"`
// When the action was recorded (UTC).
OccurredAt time.Time `json:"occurred_at"`
AdditionalProps CIWebhookAuditEventViewAdditional
}
Ref: #/components/schemas/CIWebhookAuditEventView
func (*CIWebhookAuditEventView) Decode ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) Decode(d *jx.Decoder) error
Decode decodes CIWebhookAuditEventView from json.
func (*CIWebhookAuditEventView) Encode ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CIWebhookAuditEventView) GetActor ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) GetActor() CIWebhookAuditActor
GetActor returns the value of Actor.
func (*CIWebhookAuditEventView) GetAdditionalProps ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) GetAdditionalProps() CIWebhookAuditEventViewAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CIWebhookAuditEventView) GetEventType ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) GetEventType() string
GetEventType returns the value of EventType.
func (*CIWebhookAuditEventView) GetID ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) GetID() string
GetID returns the value of ID.
func (*CIWebhookAuditEventView) GetMetadata ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) GetMetadata() OptCIWebhookAuditEventViewMetadata
GetMetadata returns the value of Metadata.
func (*CIWebhookAuditEventView) GetOccurredAt ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) GetOccurredAt() time.Time
GetOccurredAt returns the value of OccurredAt.
func (*CIWebhookAuditEventView) MarshalJSON ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIWebhookAuditEventView) SetActor ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) SetActor(val CIWebhookAuditActor)
SetActor sets the value of Actor.
func (*CIWebhookAuditEventView) SetAdditionalProps ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) SetAdditionalProps(val CIWebhookAuditEventViewAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CIWebhookAuditEventView) SetEventType ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) SetEventType(val string)
SetEventType sets the value of EventType.
func (*CIWebhookAuditEventView) SetID ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) SetID(val string)
SetID sets the value of ID.
func (*CIWebhookAuditEventView) SetMetadata ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) SetMetadata(val OptCIWebhookAuditEventViewMetadata)
SetMetadata sets the value of Metadata.
func (*CIWebhookAuditEventView) SetOccurredAt ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) SetOccurredAt(val time.Time)
SetOccurredAt sets the value of OccurredAt.
func (*CIWebhookAuditEventView) UnmarshalJSON ¶ added in v0.11.0
func (s *CIWebhookAuditEventView) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIWebhookAuditEventViewAdditional ¶ added in v0.11.0
func (*CIWebhookAuditEventViewAdditional) Decode ¶ added in v0.11.0
func (s *CIWebhookAuditEventViewAdditional) Decode(d *jx.Decoder) error
Decode decodes CIWebhookAuditEventViewAdditional from json.
func (CIWebhookAuditEventViewAdditional) Encode ¶ added in v0.11.0
func (s CIWebhookAuditEventViewAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CIWebhookAuditEventViewAdditional) MarshalJSON ¶ added in v0.11.0
func (s CIWebhookAuditEventViewAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIWebhookAuditEventViewAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *CIWebhookAuditEventViewAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CIWebhookAuditEventViewMetadata ¶ added in v0.11.0
Event detail as recorded, e.g. bk_organization/bk_pipeline.
func (*CIWebhookAuditEventViewMetadata) Decode ¶ added in v0.11.0
func (s *CIWebhookAuditEventViewMetadata) Decode(d *jx.Decoder) error
Decode decodes CIWebhookAuditEventViewMetadata from json.
func (CIWebhookAuditEventViewMetadata) Encode ¶ added in v0.11.0
func (s CIWebhookAuditEventViewMetadata) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CIWebhookAuditEventViewMetadata) MarshalJSON ¶ added in v0.11.0
func (s CIWebhookAuditEventViewMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CIWebhookAuditEventViewMetadata) UnmarshalJSON ¶ added in v0.11.0
func (s *CIWebhookAuditEventViewMetadata) 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"`
ProviderAccount string `json:"provider_account"`
PublishChecks bool `json:"publish_checks"`
RefFilter string `json:"ref_filter"`
RepoID string `json:"repo_id"`
RepoWrite bool `json:"repo_write"`
TargetRef string `json:"target_ref"`
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) GetProviderAccount ¶ added in v0.11.3
func (s *CIWebhookView) GetProviderAccount() string
GetProviderAccount returns the value of ProviderAccount.
func (*CIWebhookView) GetPublishChecks ¶ added in v0.11.0
func (s *CIWebhookView) GetPublishChecks() bool
GetPublishChecks returns the value of PublishChecks.
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) GetRepoWrite ¶ added in v0.11.3
func (s *CIWebhookView) GetRepoWrite() bool
GetRepoWrite returns the value of RepoWrite.
func (*CIWebhookView) GetSchema ¶ added in v0.9.0
func (s *CIWebhookView) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CIWebhookView) GetTargetRef ¶ added in v0.11.3
func (s *CIWebhookView) GetTargetRef() string
GetTargetRef returns the value of TargetRef.
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) SetProviderAccount ¶ added in v0.11.3
func (s *CIWebhookView) SetProviderAccount(val string)
SetProviderAccount sets the value of ProviderAccount.
func (*CIWebhookView) SetPublishChecks ¶ added in v0.11.0
func (s *CIWebhookView) SetPublishChecks(val bool)
SetPublishChecks sets the value of PublishChecks.
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) SetRepoWrite ¶ added in v0.11.3
func (s *CIWebhookView) SetRepoWrite(val bool)
SetRepoWrite sets the value of RepoWrite.
func (*CIWebhookView) SetSchema ¶ added in v0.9.0
func (s *CIWebhookView) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CIWebhookView) SetTargetRef ¶ added in v0.11.3
func (s *CIWebhookView) SetTargetRef(val string)
SetTargetRef sets the value of TargetRef.
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 switch <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 add/remove, `repo grant list` of a mirror ref).
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 add /gh/… --cluster 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) AcceptInvitation ¶ added in v0.11.3
func (c *Client) AcceptInvitation(ctx context.Context, request *AcceptInvitationInputBody) (AcceptInvitationRes, error)
AcceptInvitation invokes acceptInvitation operation.
Accept an organization invitation.
POST /invitations/accept
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) 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) ConnectOrgCIBuildkiteCredential ¶ added in v0.11.0
func (c *Client) ConnectOrgCIBuildkiteCredential(ctx context.Context, request *ConnectOrgCIBuildkiteCredentialInputBody, params ConnectOrgCIBuildkiteCredentialParams) (*OrgCIBuildkiteCredentialView, error)
ConnectOrgCIBuildkiteCredential invokes connectOrgCIBuildkiteCredential operation.
Connect or rotate an org's Buildkite API credential.
POST /orgs/{orgId}/ci/buildkite/credential
func (*Client) ConnectOrgCIDepotOrganization ¶ added in v0.11.3
func (c *Client) ConnectOrgCIDepotOrganization(ctx context.Context, request *ConnectOrgCIDepotOrganizationInputBody, params ConnectOrgCIDepotOrganizationParams) (*OrgCIDepotConnectionView, error)
ConnectOrgCIDepotOrganization invokes connectOrgCIDepotOrganization operation.
Operator-only: requires platform#admin because nothing can verify a Depot organization ID. Depot gives Entire no credential, so the operator vouches for the connection. Repositories subscribe through the connected Depot organization. Returns 201 for a new connection and 200 when the same pair is already connected.
POST /orgs/{orgId}/ci/depot/connection
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) CreateMirrorRequest ¶ added in v0.10.4
func (c *Client) CreateMirrorRequest(ctx context.Context, request *CreateMirrorRequestInputBody) (*MirrorRequestHeaders, error)
CreateMirrorRequest invokes createMirrorRequest operation.
A validation failure may be reported synchronously at submission or as a terminal state on the request; clients must handle both.
POST /mirror-requests
func (*Client) CreateNativeMirror ¶ added in v0.11.0
func (c *Client) CreateNativeMirror(ctx context.Context, request *CreateNativeMirrorInputBody, params CreateNativeMirrorParams) (*NativeMirrorPlacement, error)
CreateNativeMirror invokes createNativeMirror operation.
Create a native-mirror placement.
POST /repos/{repoId}/native-mirrors
func (*Client) CreateOrg ¶
func (c *Client) CreateOrg(ctx context.Context, request *CreateOrgInputBody) (*CreatedOrgHeaders, error)
CreateOrg invokes createOrg operation.
Create organization.
POST /orgs
func (*Client) CreateOrgInvitation ¶ added in v0.11.3
func (c *Client) CreateOrgInvitation(ctx context.Context, request *CreateOrgInvitationInputBody, params CreateOrgInvitationParams) (CreateOrgInvitationRes, error)
CreateOrgInvitation invokes createOrgInvitation operation.
Invite an address into an organization.
POST /orgs/{orgId}/invitations
func (*Client) CreatePluginInstallation ¶ added in v0.11.4
func (c *Client) CreatePluginInstallation(ctx context.Context, request *CreatePluginInstallationInputBody, params CreatePluginInstallationParams) (*PluginInstallation, error)
CreatePluginInstallation invokes createPluginInstallation operation.
Requires project#manage with project_id, or org#manage with org_id. Without installation_id, creates an installation (201). With one the project or org owns on this core, refreshes the selected static profile output (200).
POST /plugins/{plugin}/installations
func (*Client) CreateProject ¶
func (c *Client) CreateProject(ctx context.Context, request *CreateProjectInputBody) (*CreatedProjectHeaders, error)
CreateProject invokes createProject operation.
Create project.
POST /projects
func (*Client) CreateRepo ¶
func (c *Client) CreateRepo(ctx context.Context, request *CreateRepoInputBody) (*CreatedRepoHeaders, error)
CreateRepo invokes createRepo operation.
Create repository.
POST /repos
func (*Client) CreateRepoCIWebhook ¶ added in v0.9.0
func (c *Client) CreateRepoCIWebhook(ctx context.Context, request *CreateRepoCIWebhookInputBody, params CreateRepoCIWebhookParams) (*CreateRepoCIWebhookBody, 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) DeleteNativeMirror ¶ added in v0.11.0
func (c *Client) DeleteNativeMirror(ctx context.Context, params DeleteNativeMirrorParams) (*NativeMirrorPlacement, error)
DeleteNativeMirror invokes deleteNativeMirror operation.
Delete a native-mirror placement.
DELETE /repos/{repoId}/native-mirrors/{clusterSlug}
func (*Client) DeleteOrg ¶ added in v0.7.8
func (c *Client) DeleteOrg(ctx context.Context, params DeleteOrgParams) (*DeleteOrgNoContent, error)
DeleteOrg invokes deleteOrg operation.
Delete an organization.
DELETE /orgs/{orgId}
func (*Client) DeleteOrgCIBuildkiteCluster ¶ added in v0.11.0
func (c *Client) DeleteOrgCIBuildkiteCluster(ctx context.Context, params DeleteOrgCIBuildkiteClusterParams) error
DeleteOrgCIBuildkiteCluster invokes deleteOrgCIBuildkiteCluster operation.
Remove a registered Buildkite cluster from an org.
DELETE /orgs/{orgId}/ci/buildkite/clusters/{bkOrg}/{bkClusterId}
func (*Client) DeleteOrgCIBuildkiteCredential ¶ added in v0.11.0
func (c *Client) DeleteOrgCIBuildkiteCredential(ctx context.Context, params DeleteOrgCIBuildkiteCredentialParams) error
DeleteOrgCIBuildkiteCredential invokes deleteOrgCIBuildkiteCredential operation.
Delete an org's connected Buildkite credential.
DELETE /orgs/{orgId}/ci/buildkite/credential/{bkOrg}
func (*Client) DeletePluginInstallation ¶ added in v0.11.4
func (c *Client) DeletePluginInstallation(ctx context.Context, params DeletePluginInstallationParams) error
DeletePluginInstallation invokes deletePluginInstallation operation.
Requires project#manage on the installation's project.
DELETE /plugins/{plugin}/installations/{id}
func (*Client) DeleteProject ¶ added in v0.7.8
func (c *Client) DeleteProject(ctx context.Context, params DeleteProjectParams) (*DeleteProjectNoContent, error)
DeleteProject invokes deleteProject operation.
Delete a project.
DELETE /projects/{projectId}
func (*Client) DeleteRepo ¶
func (c *Client) DeleteRepo(ctx context.Context, params DeleteRepoParams) (*DeleteRepoNoContent, 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.
Deletes the subscription and clears this repo's own enrolment marker. This does NOT immediately revoke the automation's access to the repo: that access normally continues, on its existing expiry,
in the background. Pass keep_identity=true to leave the marker untouched too — for an immediate
re-enroll, which always resumes the same automation_id either way. The Buildkite pipeline is always kept.
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) DetachMyHandle ¶ added in v0.11.3
func (c *Client) DetachMyHandle(ctx context.Context, params DetachMyHandleParams) error
DetachMyHandle invokes detachMyHandle operation.
Detach a linked sign-in method from the calling account.
DELETE /me/handles/{provider}/{providerUserId}
func (*Client) DisconnectOrgCIDepotOrganization ¶ added in v0.11.3
func (c *Client) DisconnectOrgCIDepotOrganization(ctx context.Context, params DisconnectOrgCIDepotOrganizationParams) error
DisconnectOrgCIDepotOrganization invokes disconnectOrgCIDepotOrganization operation.
Operator-only: requires platform#admin. The operation removes only the Depot connection and never a Buildkite credential with the same name. Repositories subscribe through the connected Depot organization. Active subscriptions stop dispatching when the connection is removed.
DELETE /orgs/{orgId}/ci/depot/connection/{account}
func (*Client) GetAccountProfile ¶ added in v0.11.4
func (c *Client) GetAccountProfile(ctx context.Context, params GetAccountProfileParams) (*AccountProfileHeaders, error)
GetAccountProfile invokes getAccountProfile operation.
Get the viewer-scoped profile of an account.
GET /accounts/{accountId}
func (*Client) GetBranchProtection ¶ added in v0.11.0
func (c *Client) GetBranchProtection(ctx context.Context, params GetBranchProtectionParams) (*BranchProtection, error)
GetBranchProtection invokes getBranchProtection operation.
Get repository branch protection.
GET /repos/{repoId}/branch-protection
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) GetMirrorRequest ¶ added in v0.10.4
func (c *Client) GetMirrorRequest(ctx context.Context, params GetMirrorRequestParams) (*MirrorRequest, error)
GetMirrorRequest invokes getMirrorRequest operation.
Unknown failure codes must be treated as a generic terminal failure.
GET /mirror-requests/{requestId}
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) GetOrgPersonAccess ¶ added in v0.11.3
func (c *Client) GetOrgPersonAccess(ctx context.Context, params GetOrgPersonAccessParams) (*OrgPersonHeaders, error)
GetOrgPersonAccess invokes getOrgPersonAccess operation.
Requires organization management permission. Selects the exact account within this organization's roster, not a handle or substring. Returns all recorded grants and fresh caller-specific editing capabilities. Missing or excluded people return 404; incomplete organization read models return 503. Uses global public data only. Mutations independently reauthorize every write.
GET /orgs/{orgId}/people/{accountId}/access
func (*Client) GetProject ¶ added in v0.7.8
GetProject invokes getProject operation.
Get a project by id.
GET /projects/{projectId}
func (*Client) GetRepo ¶
func (c *Client) GetRepo(ctx context.Context, params GetRepoParams) (*RepoHeaders, error)
GetRepo invokes getRepo operation.
Get repository.
GET /repos/{repoId}
func (*Client) GetRepoCIDelivery ¶ added in v0.11.3
func (c *Client) GetRepoCIDelivery(ctx context.Context, params GetRepoCIDeliveryParams) (*CIDeliveryDetailView, error)
GetRepoCIDelivery invokes getRepoCIDelivery operation.
The id is the opaque value from a list response. A payload is absent once its day has been swept (payload_absent=swept) or when no request was ever built (payload_absent=no_request).
GET /repos/{repoId}/ci-deliveries/{id}
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 *GrantAccessBody, 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 *GrantAccessBody, 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) ListNativeMirrors ¶ added in v0.11.0
func (c *Client) ListNativeMirrors(ctx context.Context, params ListNativeMirrorsParams) (*ListNativeMirrorsOutputBody, error)
ListNativeMirrors invokes listNativeMirrors operation.
List native-mirror placement status.
GET /repos/{repoId}/native-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) ListOrgCIBuildkiteClusters ¶ added in v0.11.0
func (c *Client) ListOrgCIBuildkiteClusters(ctx context.Context, params ListOrgCIBuildkiteClustersParams) (*ListOrgCIBuildkiteClustersOutputBody, error)
ListOrgCIBuildkiteClusters invokes listOrgCIBuildkiteClusters operation.
List an org's registered Buildkite clusters.
GET /orgs/{orgId}/ci/buildkite/clusters
func (*Client) ListOrgCIBuildkiteCredentials ¶ added in v0.11.0
func (c *Client) ListOrgCIBuildkiteCredentials(ctx context.Context, params ListOrgCIBuildkiteCredentialsParams) (*ListOrgCIBuildkiteCredentialsOutputBody, error)
ListOrgCIBuildkiteCredentials invokes listOrgCIBuildkiteCredentials operation.
List an org's connected Buildkite credentials.
GET /orgs/{orgId}/ci/buildkite/credentials
func (*Client) ListOrgCIDepotOrganizations ¶ added in v0.11.3
func (c *Client) ListOrgCIDepotOrganizations(ctx context.Context, params ListOrgCIDepotOrganizationsParams) (*ListOrgCIDepotOrganizationsOutputBody, error)
ListOrgCIDepotOrganizations invokes listOrgCIDepotOrganizations operation.
Requires org#manage. A Depot connection holds no secret. Repositories subscribe through the connected Depot organization.
GET /orgs/{orgId}/ci/depot/connections
func (*Client) ListOrgInvitations ¶ added in v0.11.3
func (c *Client) ListOrgInvitations(ctx context.Context, params ListOrgInvitationsParams) (*ListOrgInvitationsOutputBody, error)
ListOrgInvitations invokes listOrgInvitations operation.
List an organization's invitations.
GET /orgs/{orgId}/invitations
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) ListOrgPeople ¶ added in v0.11.3
func (c *Client) ListOrgPeople(ctx context.Context, params ListOrgPeopleParams) (*ListOrgPeopleOutputBodyHeaders, error)
ListOrgPeople invokes listOrgPeople operation.
Requires organization management permission, not repository pull permission. Returns one row per account with membership metadata and recorded accessScopes, without grant details or editing capabilities. Grants retain each distinct role and origin (membership, direct, team, or github), without inherited expansion or strongest-role collapsing. Repository IDs identify published logical repo groups, not placements. Membership grants include pending and inactive memberships; membership.status describes their lifecycle. GitHub grants use the collaborator read model and can differ from live SpiceDB permissions during reconciliation. This is a roster read model, not an authorization check or complete SpiceDB audit. Management does not imply Git read permission. Snapshot readiness uses the shared GitHub discovery eligibility and 15-minute grace policy. Detached, suspended, sync-blocked, sync-banned, and wholly suspended mirror targets do not block readiness; recorded edges still serve. Overdue eligible snapshots or missing mirror mappings return 503. Filters select people by recorded grants, not inherited roles. Load /people/{accountId}/access when opening an editor; it returns that person's grants and fresh editing capabilities. The list has no full mode. Filters and totalCount apply before cursor pagination; sort and order select the order, name by default. Outstanding invitations are keyed by email and never joined to an account. They appear only on an unfiltered first page. Only the organization's home core serves this list; other cores answer 421.
GET /orgs/{orgId}/people
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) ListPluginInstallations ¶ added in v0.11.4
func (c *Client) ListPluginInstallations(ctx context.Context, params ListPluginInstallationsParams) (*ListPluginInstallationsOutputBody, error)
ListPluginInstallations invokes listPluginInstallations operation.
Requires project#manage with project_id, or org#manage with org_id.
GET /plugins/{plugin}/installations
func (*Client) ListProjectCollaborators ¶ added in v0.11.4
func (c *Client) ListProjectCollaborators(ctx context.Context, params ListProjectCollaboratorsParams) (*ListProjectCollaboratorsOutputBodyHeaders, error)
ListProjectCollaborators invokes listProjectCollaborators operation.
Without repoId, returns people who can manage or write the project, plus source-managed members of a forge project. Requires project inspect. With repoId, returns people who can manage or push the repository's logical group, including project-level authority. Requires non-public list access to that repository. Readers and organization members without write access are excluded. Returns approved human accounts with public profile fields, ordered by account ID. Search and eligibility apply before pagination. Assignment writes must authorize independently. Staff authority does not bypass these requirements.
GET /projects/{projectId}/collaborators
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) ListProjectPeople ¶ added in v0.11.3
func (c *Client) ListProjectPeople(ctx context.Context, params ListProjectPeopleParams) (*ResourcePeopleOutputBody, error)
ListProjectPeople invokes listProjectPeople operation.
Requires project roster-view permission, held by project managers and source-managed forge members but not ordinary native readers or writers. Returns one account per row with its effective role and merged access sources. Grant managers also receive the mutable direct grant. Search and role filters run before cursor pagination. Results are ordered by name, the public display name else the GitHub handle, unless sort selects another order; a page token only continues the order that issued it.
GET /projects/{projectId}/people
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) ListRepoCIBuilds ¶ added in v0.11.0
func (c *Client) ListRepoCIBuilds(ctx context.Context, params ListRepoCIBuildsParams) (*ListRepoCIBuildsOutputBody, error)
ListRepoCIBuilds invokes listRepoCIBuilds operation.
List a repo's CI build statuses.
GET /repos/{repoId}/ci-builds
func (*Client) ListRepoCIDeliveries ¶ added in v0.11.3
func (c *Client) ListRepoCIDeliveries(ctx context.Context, params ListRepoCIDeliveriesParams) (*ListRepoCIDeliveriesOutputBody, error)
ListRepoCIDeliveries invokes listRepoCIDeliveries operation.
Recent deliveries, newest first. direction=outbound (default) is what Entire sent the repo's CI when refs changed; direction=inbound is what that CI sent back.
GET /repos/{repoId}/ci-deliveries
func (*Client) ListRepoCIProviders ¶ added in v0.11.0
func (c *Client) ListRepoCIProviders(ctx context.Context, params ListRepoCIProvidersParams) (*ListRepoCIProvidersOutputBody, error)
ListRepoCIProviders invokes listRepoCIProviders operation.
Returns each provider's enrolment form AS DATA: its modes, its fields, and the select options drawn from this repo's owning org's connected credentials and registered clusters. A client renders what it is handed and posts back provider/provider_account/target_ref/mode/config, so it never names a CI vendor in its own source. A provider the org cannot enrol into yet comes back enrollable=false with a reason a customer can act on, rather than being omitted. Authz: repo#manage_ci, the same gate as enrolling.
GET /repos/{repoId}/ci-webhooks/providers
func (*Client) ListRepoCIWebhookAudit ¶ added in v0.11.0
func (c *Client) ListRepoCIWebhookAudit(ctx context.Context, params ListRepoCIWebhookAuditParams) (*ListRepoCIWebhookAuditOutputBody, error)
ListRepoCIWebhookAudit invokes listRepoCIWebhookAudit operation.
Audited ci_webhook_enrolled / _updated / _deleted / _identity_rolled_back / _identity_orphaned events for this repo, newest first, from core's domain audit log. The entire-ci-webhooks subscription row records no actor, so this is the only way to attribute an enrollment — and it covers subscriptions created before this endpoint existed. Authz: repo#manage_ci.
GET /repos/{repoId}/ci-webhooks/audit
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) ListRepoCollaborators ¶ added in v0.11.0
func (c *Client) ListRepoCollaborators(ctx context.Context, params ListRepoCollaboratorsParams) (*ListRepoCollaboratorsOutputBody, error)
ListRepoCollaborators invokes listRepoCollaborators operation.
List repo collaborators.
GET /repos/{repoId}/collaborators
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) ListRepoLanguageFacets ¶ added in v0.11.0
func (c *Client) ListRepoLanguageFacets(ctx context.Context, params ListRepoLanguageFacetsParams) (*RepoFacetPage, error)
ListRepoLanguageFacets invokes listRepoLanguageFacets operation.
List repository language facets.
GET /repos/facets/languages
func (*Client) ListRepoOrgFacets ¶ added in v0.11.0
func (c *Client) ListRepoOrgFacets(ctx context.Context, params ListRepoOrgFacetsParams) (*RepoFacetPage, error)
ListRepoOrgFacets invokes listRepoOrgFacets operation.
List repository org facets.
GET /repos/facets/orgs
func (*Client) ListRepoPeople ¶ added in v0.11.3
func (c *Client) ListRepoPeople(ctx context.Context, params ListRepoPeopleParams) (*ResourcePeopleOutputBody, error)
ListRepoPeople invokes listRepoPeople operation.
Returns one account per row with its effective role and merged access sources. Grant managers also receive the mutable direct grant. Search and role filters run before cursor pagination. Results are ordered by name, the public display name else the GitHub handle, unless sort selects another order; a page token only continues the order that issued it.
GET /repos/{repoId}/people
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) MintOrgCIGitHubActionsCredential ¶ added in v0.11.0
func (c *Client) MintOrgCIGitHubActionsCredential(ctx context.Context, request *MintOrgCIGitHubActionsCredentialInputBody, params MintOrgCIGitHubActionsCredentialParams) (*OrgCIGitHubActionsCredentialView, error)
MintOrgCIGitHubActionsCredential invokes mintOrgCIGitHubActionsCredential operation.
Operator-only: requires platform#admin, unlike the Buildkite routes beside it, because GitHub Actions has no subscription path yet and a credential minted here cannot be used. Mints the inbound webhook credential for one GitHub account: a fresh webhook secret (returned once, in this 201) and the endpoint URL to configure the GitHub webhook with, plus optionally the outbound dispatch api_token (write-only, never returned; has_api_token confirms storage). With api_token, an already-minted github-actions row gets the token stored/rotated instead (200, no secret re-issued).
POST /orgs/{orgId}/ci/github-actions/credential
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) PreviewInvitation ¶ added in v0.11.3
func (c *Client) PreviewInvitation(ctx context.Context, request *PreviewInvitationInputBody) (*PreviewInvitationOKHeaders, error)
PreviewInvitation invokes previewInvitation operation.
Preview an organization invitation.
POST /invitations/preview
func (*Client) RegisterOrgCIBuildkiteCluster ¶ added in v0.11.0
func (c *Client) RegisterOrgCIBuildkiteCluster(ctx context.Context, request *RegisterOrgCIBuildkiteClusterInputBody, params RegisterOrgCIBuildkiteClusterParams) (*OrgCIBuildkiteClusterView, error)
RegisterOrgCIBuildkiteCluster invokes registerOrgCIBuildkiteCluster operation.
Register or update a Buildkite hosted cluster for an org.
POST /orgs/{orgId}/ci/buildkite/clusters
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) RemoveOrgMemberByMembershipID ¶ added in v0.11.4
func (c *Client) RemoveOrgMemberByMembershipID(ctx context.Context, params RemoveOrgMemberByMembershipIDParams) error
RemoveOrgMemberByMembershipID invokes removeOrgMemberByMembershipID operation.
Remove an organization member by membership ID.
DELETE /orgs/{orgId}/members/{membershipId}
func (*Client) RemovePluginInstallationRepository ¶ added in v0.11.4
func (c *Client) RemovePluginInstallationRepository(ctx context.Context, params RemovePluginInstallationRepositoryParams) error
RemovePluginInstallationRepository invokes removePluginInstallationRepository operation.
Requires project#manage on the installation's project.
DELETE /plugins/{plugin}/installations/{id}/repositories/{repository_id}
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) ResolveProject ¶ added in v0.11.3
func (c *Client) ResolveProject(ctx context.Context, params ResolveProjectParams) (*ResolveProjectOutputBody, error)
ResolveProject invokes resolveProject operation.
Case-insensitive lookup by native project name (et) or GitHub owner namespace (gh). Uses project inspect permission, including platform administrators. An existing native (et) project the caller cannot inspect returns 403, so a creator can tell a taken name from a free one. Missing projects, and inaccessible GitHub (gh) namespaces, return 404.
GET /projects/resolve/{host}/{project}
func (*Client) ResolveRepoIDs ¶ added in v0.11.0
func (c *Client) ResolveRepoIDs(ctx context.Context, request *ResolveRepoIDsInputBody) (*ResolveRepoIDsResponse, error)
ResolveRepoIDs invokes resolveRepoIDs operation.
Resolve repository ids to full name and provider.
POST /repos/resolve-ids
func (*Client) ResolveRepos ¶ added in v0.11.0
func (c *Client) ResolveRepos(ctx context.Context, request *ResolveReposInputBody) (*ResolveReposResponse, error)
ResolveRepos invokes resolveRepos operation.
Resolve provider-qualified repository lifecycle states.
POST /repos/resolve
func (*Client) RevokeOrgInvitation ¶ added in v0.11.3
func (c *Client) RevokeOrgInvitation(ctx context.Context, params RevokeOrgInvitationParams) error
RevokeOrgInvitation invokes revokeOrgInvitation operation.
Revoke an organization invitation.
DELETE /orgs/{orgId}/invitations/{id}
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) RotateOrgCIBuildkiteInboundSecret ¶ added in v0.11.0
func (c *Client) RotateOrgCIBuildkiteInboundSecret(ctx context.Context, params RotateOrgCIBuildkiteInboundSecretParams) (*OrgCIBuildkiteCredentialView, error)
RotateOrgCIBuildkiteInboundSecret invokes rotateOrgCIBuildkiteInboundSecret operation.
Rotate an org's inbound Buildkite webhook secret.
PUT /orgs/{orgId}/ci/buildkite/credential/{bkOrg}/inbound-secret
func (*Client) SetBranchProtection ¶ added in v0.11.0
func (c *Client) SetBranchProtection(ctx context.Context, request *BranchProtection, params SetBranchProtectionParams) (*BranchProtection, error)
SetBranchProtection invokes setBranchProtection operation.
Set repository branch protection.
PUT /repos/{repoId}/branch-protection
func (*Client) SetPluginInstallationRepositories ¶ added in v0.11.4
func (c *Client) SetPluginInstallationRepositories(ctx context.Context, request *SetPluginInstallationRepositoriesInputBody, params SetPluginInstallationRepositoriesParams) (*PluginInstallationView, error)
SetPluginInstallationRepositories invokes setPluginInstallationRepositories operation.
Requires project#manage on the installation's project. Grants follow the new selection before the response.
PUT /plugins/{plugin}/installations/{id}/repository-selection
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
func (*Client) UpdateBranchProtection ¶ added in v0.11.0
func (c *Client) UpdateBranchProtection(ctx context.Context, request *UpdateBranchProtectionInputBody, params UpdateBranchProtectionParams) (*BranchProtection, error)
UpdateBranchProtection invokes updateBranchProtection operation.
Add or remove protected branches.
PATCH /repos/{repoId}/branch-protection
func (*Client) UpdateOrgMemberRole ¶ added in v0.11.3
func (c *Client) UpdateOrgMemberRole(ctx context.Context, request *UpdateOrgMemberRoleInputBody, params UpdateOrgMemberRoleParams) (*Membership, error)
UpdateOrgMemberRole invokes updateOrgMemberRole operation.
Update an organization member's role.
PATCH /orgs/{orgId}/members/{membershipId}
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 ConnectOrgCIBuildkiteCredentialInputBody ¶ added in v0.11.0
type ConnectOrgCIBuildkiteCredentialInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
BkAPIToken string `json:"bk_api_token"`
BkOrganization string `json:"bk_organization"`
AdditionalProps ConnectOrgCIBuildkiteCredentialInputBodyAdditional
}
Ref: #/components/schemas/ConnectOrgCIBuildkiteCredentialInputBody
func (*ConnectOrgCIBuildkiteCredentialInputBody) Decode ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBody) Decode(d *jx.Decoder) error
Decode decodes ConnectOrgCIBuildkiteCredentialInputBody from json.
func (*ConnectOrgCIBuildkiteCredentialInputBody) Encode ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConnectOrgCIBuildkiteCredentialInputBody) GetAdditionalProps ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBody) GetAdditionalProps() ConnectOrgCIBuildkiteCredentialInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ConnectOrgCIBuildkiteCredentialInputBody) GetBkAPIToken ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBody) GetBkAPIToken() string
GetBkAPIToken returns the value of BkAPIToken.
func (*ConnectOrgCIBuildkiteCredentialInputBody) GetBkOrganization ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBody) GetBkOrganization() string
GetBkOrganization returns the value of BkOrganization.
func (*ConnectOrgCIBuildkiteCredentialInputBody) GetSchema ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ConnectOrgCIBuildkiteCredentialInputBody) MarshalJSON ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConnectOrgCIBuildkiteCredentialInputBody) SetAdditionalProps ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBody) SetAdditionalProps(val ConnectOrgCIBuildkiteCredentialInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ConnectOrgCIBuildkiteCredentialInputBody) SetBkAPIToken ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBody) SetBkAPIToken(val string)
SetBkAPIToken sets the value of BkAPIToken.
func (*ConnectOrgCIBuildkiteCredentialInputBody) SetBkOrganization ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBody) SetBkOrganization(val string)
SetBkOrganization sets the value of BkOrganization.
func (*ConnectOrgCIBuildkiteCredentialInputBody) SetSchema ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ConnectOrgCIBuildkiteCredentialInputBody) UnmarshalJSON ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConnectOrgCIBuildkiteCredentialInputBody) Validate ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBody) Validate() error
type ConnectOrgCIBuildkiteCredentialInputBodyAdditional ¶ added in v0.11.0
func (*ConnectOrgCIBuildkiteCredentialInputBodyAdditional) Decode ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ConnectOrgCIBuildkiteCredentialInputBodyAdditional from json.
func (ConnectOrgCIBuildkiteCredentialInputBodyAdditional) Encode ¶ added in v0.11.0
func (s ConnectOrgCIBuildkiteCredentialInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ConnectOrgCIBuildkiteCredentialInputBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s ConnectOrgCIBuildkiteCredentialInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConnectOrgCIBuildkiteCredentialInputBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *ConnectOrgCIBuildkiteCredentialInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ConnectOrgCIBuildkiteCredentialParams ¶ added in v0.11.0
type ConnectOrgCIBuildkiteCredentialParams struct {
OrgId string
}
ConnectOrgCIBuildkiteCredentialParams is parameters of connectOrgCIBuildkiteCredential operation.
type ConnectOrgCIDepotOrganizationInputBody ¶ added in v0.11.3
type ConnectOrgCIDepotOrganizationInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Depot organisation id, as Depot's provisioning call returns it.
Account string `json:"account"`
AdditionalProps ConnectOrgCIDepotOrganizationInputBodyAdditional
}
Ref: #/components/schemas/ConnectOrgCIDepotOrganizationInputBody
func (*ConnectOrgCIDepotOrganizationInputBody) Decode ¶ added in v0.11.3
func (s *ConnectOrgCIDepotOrganizationInputBody) Decode(d *jx.Decoder) error
Decode decodes ConnectOrgCIDepotOrganizationInputBody from json.
func (*ConnectOrgCIDepotOrganizationInputBody) Encode ¶ added in v0.11.3
func (s *ConnectOrgCIDepotOrganizationInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConnectOrgCIDepotOrganizationInputBody) GetAccount ¶ added in v0.11.3
func (s *ConnectOrgCIDepotOrganizationInputBody) GetAccount() string
GetAccount returns the value of Account.
func (*ConnectOrgCIDepotOrganizationInputBody) GetAdditionalProps ¶ added in v0.11.3
func (s *ConnectOrgCIDepotOrganizationInputBody) GetAdditionalProps() ConnectOrgCIDepotOrganizationInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ConnectOrgCIDepotOrganizationInputBody) GetSchema ¶ added in v0.11.3
func (s *ConnectOrgCIDepotOrganizationInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ConnectOrgCIDepotOrganizationInputBody) MarshalJSON ¶ added in v0.11.3
func (s *ConnectOrgCIDepotOrganizationInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConnectOrgCIDepotOrganizationInputBody) SetAccount ¶ added in v0.11.3
func (s *ConnectOrgCIDepotOrganizationInputBody) SetAccount(val string)
SetAccount sets the value of Account.
func (*ConnectOrgCIDepotOrganizationInputBody) SetAdditionalProps ¶ added in v0.11.3
func (s *ConnectOrgCIDepotOrganizationInputBody) SetAdditionalProps(val ConnectOrgCIDepotOrganizationInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ConnectOrgCIDepotOrganizationInputBody) SetSchema ¶ added in v0.11.3
func (s *ConnectOrgCIDepotOrganizationInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ConnectOrgCIDepotOrganizationInputBody) UnmarshalJSON ¶ added in v0.11.3
func (s *ConnectOrgCIDepotOrganizationInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ConnectOrgCIDepotOrganizationInputBody) Validate ¶ added in v0.11.3
func (s *ConnectOrgCIDepotOrganizationInputBody) Validate() error
type ConnectOrgCIDepotOrganizationInputBodyAdditional ¶ added in v0.11.3
func (*ConnectOrgCIDepotOrganizationInputBodyAdditional) Decode ¶ added in v0.11.3
func (s *ConnectOrgCIDepotOrganizationInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ConnectOrgCIDepotOrganizationInputBodyAdditional from json.
func (ConnectOrgCIDepotOrganizationInputBodyAdditional) Encode ¶ added in v0.11.3
func (s ConnectOrgCIDepotOrganizationInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ConnectOrgCIDepotOrganizationInputBodyAdditional) MarshalJSON ¶ added in v0.11.3
func (s ConnectOrgCIDepotOrganizationInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConnectOrgCIDepotOrganizationInputBodyAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *ConnectOrgCIDepotOrganizationInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ConnectOrgCIDepotOrganizationParams ¶ added in v0.11.3
type ConnectOrgCIDepotOrganizationParams struct {
OrgId string
}
ConnectOrgCIDepotOrganizationParams is parameters of connectOrgCIDepotOrganization operation.
type CreateBindingInputBody ¶
type CreateBindingInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Canonical attribute name → required value; at least one pin.
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 CreateMirrorRequestInputBody ¶ added in v0.10.4
type CreateMirrorRequestInputBody 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 CreateMirrorRequestInputBodyProvider `json:"provider"`
Repo string `json:"repo"`
AdditionalProps CreateMirrorRequestInputBodyAdditional
}
Ref: #/components/schemas/CreateMirrorRequestInputBody
func (*CreateMirrorRequestInputBody) Decode ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) Decode(d *jx.Decoder) error
Decode decodes CreateMirrorRequestInputBody from json.
func (*CreateMirrorRequestInputBody) Encode ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateMirrorRequestInputBody) GetAdditionalProps ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) GetAdditionalProps() CreateMirrorRequestInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreateMirrorRequestInputBody) GetClusterHost ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) GetClusterHost() string
GetClusterHost returns the value of ClusterHost.
func (*CreateMirrorRequestInputBody) GetOwner ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) GetOwner() string
GetOwner returns the value of Owner.
func (*CreateMirrorRequestInputBody) GetProvider ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) GetProvider() CreateMirrorRequestInputBodyProvider
GetProvider returns the value of Provider.
func (*CreateMirrorRequestInputBody) GetRepo ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) GetRepo() string
GetRepo returns the value of Repo.
func (*CreateMirrorRequestInputBody) GetSchema ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreateMirrorRequestInputBody) MarshalJSON ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateMirrorRequestInputBody) SetAdditionalProps ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) SetAdditionalProps(val CreateMirrorRequestInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreateMirrorRequestInputBody) SetClusterHost ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) SetClusterHost(val string)
SetClusterHost sets the value of ClusterHost.
func (*CreateMirrorRequestInputBody) SetOwner ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) SetOwner(val string)
SetOwner sets the value of Owner.
func (*CreateMirrorRequestInputBody) SetProvider ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) SetProvider(val CreateMirrorRequestInputBodyProvider)
SetProvider sets the value of Provider.
func (*CreateMirrorRequestInputBody) SetRepo ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) SetRepo(val string)
SetRepo sets the value of Repo.
func (*CreateMirrorRequestInputBody) SetSchema ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreateMirrorRequestInputBody) UnmarshalJSON ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateMirrorRequestInputBody) Validate ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBody) Validate() error
type CreateMirrorRequestInputBodyAdditional ¶ added in v0.10.4
func (*CreateMirrorRequestInputBodyAdditional) Decode ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes CreateMirrorRequestInputBodyAdditional from json.
func (CreateMirrorRequestInputBodyAdditional) Encode ¶ added in v0.10.4
func (s CreateMirrorRequestInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateMirrorRequestInputBodyAdditional) MarshalJSON ¶ added in v0.10.4
func (s CreateMirrorRequestInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateMirrorRequestInputBodyAdditional) UnmarshalJSON ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateMirrorRequestInputBodyProvider ¶ added in v0.10.4
type CreateMirrorRequestInputBodyProvider string
const (
CreateMirrorRequestInputBodyProviderGithub CreateMirrorRequestInputBodyProvider = "github"
)
func (CreateMirrorRequestInputBodyProvider) AllValues ¶ added in v0.10.4
func (CreateMirrorRequestInputBodyProvider) AllValues() []CreateMirrorRequestInputBodyProvider
AllValues returns all CreateMirrorRequestInputBodyProvider values.
func (*CreateMirrorRequestInputBodyProvider) Decode ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBodyProvider) Decode(d *jx.Decoder) error
Decode decodes CreateMirrorRequestInputBodyProvider from json.
func (CreateMirrorRequestInputBodyProvider) Encode ¶ added in v0.10.4
func (s CreateMirrorRequestInputBodyProvider) Encode(e *jx.Encoder)
Encode encodes CreateMirrorRequestInputBodyProvider as json.
func (CreateMirrorRequestInputBodyProvider) MarshalJSON ¶ added in v0.10.4
func (s CreateMirrorRequestInputBodyProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateMirrorRequestInputBodyProvider) MarshalText ¶ added in v0.10.4
func (s CreateMirrorRequestInputBodyProvider) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateMirrorRequestInputBodyProvider) UnmarshalJSON ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBodyProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateMirrorRequestInputBodyProvider) UnmarshalText ¶ added in v0.10.4
func (s *CreateMirrorRequestInputBodyProvider) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateMirrorRequestInputBodyProvider) Validate ¶ added in v0.10.4
func (s CreateMirrorRequestInputBodyProvider) Validate() error
type CreateNativeMirrorInputBody ¶ added in v0.11.0
type CreateNativeMirrorInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
ClusterSlug string `json:"clusterSlug"`
AdditionalProps CreateNativeMirrorInputBodyAdditional
}
Ref: #/components/schemas/CreateNativeMirrorInputBody
func (*CreateNativeMirrorInputBody) Decode ¶ added in v0.11.0
func (s *CreateNativeMirrorInputBody) Decode(d *jx.Decoder) error
Decode decodes CreateNativeMirrorInputBody from json.
func (*CreateNativeMirrorInputBody) Encode ¶ added in v0.11.0
func (s *CreateNativeMirrorInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateNativeMirrorInputBody) GetAdditionalProps ¶ added in v0.11.0
func (s *CreateNativeMirrorInputBody) GetAdditionalProps() CreateNativeMirrorInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreateNativeMirrorInputBody) GetClusterSlug ¶ added in v0.11.0
func (s *CreateNativeMirrorInputBody) GetClusterSlug() string
GetClusterSlug returns the value of ClusterSlug.
func (*CreateNativeMirrorInputBody) GetSchema ¶ added in v0.11.0
func (s *CreateNativeMirrorInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreateNativeMirrorInputBody) MarshalJSON ¶ added in v0.11.0
func (s *CreateNativeMirrorInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateNativeMirrorInputBody) SetAdditionalProps ¶ added in v0.11.0
func (s *CreateNativeMirrorInputBody) SetAdditionalProps(val CreateNativeMirrorInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreateNativeMirrorInputBody) SetClusterSlug ¶ added in v0.11.0
func (s *CreateNativeMirrorInputBody) SetClusterSlug(val string)
SetClusterSlug sets the value of ClusterSlug.
func (*CreateNativeMirrorInputBody) SetSchema ¶ added in v0.11.0
func (s *CreateNativeMirrorInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreateNativeMirrorInputBody) UnmarshalJSON ¶ added in v0.11.0
func (s *CreateNativeMirrorInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateNativeMirrorInputBody) Validate ¶ added in v0.11.0
func (s *CreateNativeMirrorInputBody) Validate() error
type CreateNativeMirrorInputBodyAdditional ¶ added in v0.11.0
func (*CreateNativeMirrorInputBodyAdditional) Decode ¶ added in v0.11.0
func (s *CreateNativeMirrorInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes CreateNativeMirrorInputBodyAdditional from json.
func (CreateNativeMirrorInputBodyAdditional) Encode ¶ added in v0.11.0
func (s CreateNativeMirrorInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateNativeMirrorInputBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s CreateNativeMirrorInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateNativeMirrorInputBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *CreateNativeMirrorInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateNativeMirrorParams ¶ added in v0.11.0
type CreateNativeMirrorParams struct {
RepoId string
}
CreateNativeMirrorParams is parameters of createNativeMirror operation.
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 CreateOrgInvitationCreated ¶ added in v0.11.3
type CreateOrgInvitationCreated Invitation
func (*CreateOrgInvitationCreated) Decode ¶ added in v0.11.3
func (s *CreateOrgInvitationCreated) Decode(d *jx.Decoder) error
Decode decodes CreateOrgInvitationCreated from json.
func (*CreateOrgInvitationCreated) Encode ¶ added in v0.11.3
func (s *CreateOrgInvitationCreated) Encode(e *jx.Encoder)
Encode encodes CreateOrgInvitationCreated as json.
func (*CreateOrgInvitationCreated) MarshalJSON ¶ added in v0.11.3
func (s *CreateOrgInvitationCreated) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateOrgInvitationCreated) UnmarshalJSON ¶ added in v0.11.3
func (s *CreateOrgInvitationCreated) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateOrgInvitationCreated) Validate ¶ added in v0.11.4
func (s *CreateOrgInvitationCreated) Validate() error
type CreateOrgInvitationInputBody ¶ added in v0.11.3
type CreateOrgInvitationInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Email string `json:"email"`
Role CreateOrgInvitationInputBodyRole `json:"role"`
AdditionalProps CreateOrgInvitationInputBodyAdditional
}
Ref: #/components/schemas/CreateOrgInvitationInputBody
func (*CreateOrgInvitationInputBody) Decode ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBody) Decode(d *jx.Decoder) error
Decode decodes CreateOrgInvitationInputBody from json.
func (*CreateOrgInvitationInputBody) Encode ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateOrgInvitationInputBody) GetAdditionalProps ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBody) GetAdditionalProps() CreateOrgInvitationInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreateOrgInvitationInputBody) GetEmail ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBody) GetEmail() string
GetEmail returns the value of Email.
func (*CreateOrgInvitationInputBody) GetRole ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBody) GetRole() CreateOrgInvitationInputBodyRole
GetRole returns the value of Role.
func (*CreateOrgInvitationInputBody) GetSchema ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreateOrgInvitationInputBody) MarshalJSON ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateOrgInvitationInputBody) SetAdditionalProps ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBody) SetAdditionalProps(val CreateOrgInvitationInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreateOrgInvitationInputBody) SetEmail ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBody) SetEmail(val string)
SetEmail sets the value of Email.
func (*CreateOrgInvitationInputBody) SetRole ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBody) SetRole(val CreateOrgInvitationInputBodyRole)
SetRole sets the value of Role.
func (*CreateOrgInvitationInputBody) SetSchema ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreateOrgInvitationInputBody) UnmarshalJSON ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateOrgInvitationInputBody) Validate ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBody) Validate() error
type CreateOrgInvitationInputBodyAdditional ¶ added in v0.11.3
func (*CreateOrgInvitationInputBodyAdditional) Decode ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes CreateOrgInvitationInputBodyAdditional from json.
func (CreateOrgInvitationInputBodyAdditional) Encode ¶ added in v0.11.3
func (s CreateOrgInvitationInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateOrgInvitationInputBodyAdditional) MarshalJSON ¶ added in v0.11.3
func (s CreateOrgInvitationInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateOrgInvitationInputBodyAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateOrgInvitationInputBodyRole ¶ added in v0.11.3
type CreateOrgInvitationInputBodyRole string
const ( CreateOrgInvitationInputBodyRoleOwner CreateOrgInvitationInputBodyRole = "owner" CreateOrgInvitationInputBodyRoleAdmin CreateOrgInvitationInputBodyRole = "admin" CreateOrgInvitationInputBodyRoleMember CreateOrgInvitationInputBodyRole = "member" )
func (CreateOrgInvitationInputBodyRole) AllValues ¶ added in v0.11.3
func (CreateOrgInvitationInputBodyRole) AllValues() []CreateOrgInvitationInputBodyRole
AllValues returns all CreateOrgInvitationInputBodyRole values.
func (*CreateOrgInvitationInputBodyRole) Decode ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBodyRole) Decode(d *jx.Decoder) error
Decode decodes CreateOrgInvitationInputBodyRole from json.
func (CreateOrgInvitationInputBodyRole) Encode ¶ added in v0.11.3
func (s CreateOrgInvitationInputBodyRole) Encode(e *jx.Encoder)
Encode encodes CreateOrgInvitationInputBodyRole as json.
func (CreateOrgInvitationInputBodyRole) MarshalJSON ¶ added in v0.11.3
func (s CreateOrgInvitationInputBodyRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreateOrgInvitationInputBodyRole) MarshalText ¶ added in v0.11.3
func (s CreateOrgInvitationInputBodyRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreateOrgInvitationInputBodyRole) UnmarshalJSON ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBodyRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateOrgInvitationInputBodyRole) UnmarshalText ¶ added in v0.11.3
func (s *CreateOrgInvitationInputBodyRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreateOrgInvitationInputBodyRole) Validate ¶ added in v0.11.3
func (s CreateOrgInvitationInputBodyRole) Validate() error
type CreateOrgInvitationOK ¶ added in v0.11.3
type CreateOrgInvitationOK Invitation
func (*CreateOrgInvitationOK) Decode ¶ added in v0.11.3
func (s *CreateOrgInvitationOK) Decode(d *jx.Decoder) error
Decode decodes CreateOrgInvitationOK from json.
func (*CreateOrgInvitationOK) Encode ¶ added in v0.11.3
func (s *CreateOrgInvitationOK) Encode(e *jx.Encoder)
Encode encodes CreateOrgInvitationOK as json.
func (*CreateOrgInvitationOK) MarshalJSON ¶ added in v0.11.3
func (s *CreateOrgInvitationOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateOrgInvitationOK) UnmarshalJSON ¶ added in v0.11.3
func (s *CreateOrgInvitationOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateOrgInvitationOK) Validate ¶ added in v0.11.4
func (s *CreateOrgInvitationOK) Validate() error
type CreateOrgInvitationParams ¶ added in v0.11.3
type CreateOrgInvitationParams struct {
OrgId string
}
CreateOrgInvitationParams is parameters of createOrgInvitation operation.
type CreateOrgInvitationRes ¶ added in v0.11.3
type CreateOrgInvitationRes interface {
// contains filtered or unexported methods
}
type CreatePluginInstallationInputBody ¶ added in v0.11.4
type CreatePluginInstallationInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Existing installation (ins_<ULID>) to retry.
InstallationID OptString `json:"installation_id"`
// Entire org the installation belongs to. Deprecated: use project_id.
OrgID OptString `json:"org_id"`
// Entire project the installation belongs to.
ProjectID OptString `json:"project_id"`
// Public repository ids (repo_<ULID>) when repository_selection is selected.
RepositoryIds []string `json:"repository_ids"`
// Project installations: all repositories in the project, or only repository_ids.
RepositorySelection OptCreatePluginInstallationInputBodyRepositorySelection `json:"repository_selection"`
// Opaque state interpreted by the selected plugin profile.
State OptString `json:"state"`
AdditionalProps CreatePluginInstallationInputBodyAdditional
}
Ref: #/components/schemas/CreatePluginInstallationInputBody
func (*CreatePluginInstallationInputBody) Decode ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) Decode(d *jx.Decoder) error
Decode decodes CreatePluginInstallationInputBody from json.
func (*CreatePluginInstallationInputBody) Encode ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreatePluginInstallationInputBody) GetAdditionalProps ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) GetAdditionalProps() CreatePluginInstallationInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreatePluginInstallationInputBody) GetInstallationID ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) GetInstallationID() OptString
GetInstallationID returns the value of InstallationID.
func (*CreatePluginInstallationInputBody) GetOrgID ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) GetOrgID() OptString
GetOrgID returns the value of OrgID.
func (*CreatePluginInstallationInputBody) GetProjectID ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) GetProjectID() OptString
GetProjectID returns the value of ProjectID.
func (*CreatePluginInstallationInputBody) GetRepositoryIds ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) GetRepositoryIds() []string
GetRepositoryIds returns the value of RepositoryIds.
func (*CreatePluginInstallationInputBody) GetRepositorySelection ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) GetRepositorySelection() OptCreatePluginInstallationInputBodyRepositorySelection
GetRepositorySelection returns the value of RepositorySelection.
func (*CreatePluginInstallationInputBody) GetSchema ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreatePluginInstallationInputBody) GetState ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) GetState() OptString
GetState returns the value of State.
func (*CreatePluginInstallationInputBody) MarshalJSON ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreatePluginInstallationInputBody) SetAdditionalProps ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) SetAdditionalProps(val CreatePluginInstallationInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreatePluginInstallationInputBody) SetInstallationID ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) SetInstallationID(val OptString)
SetInstallationID sets the value of InstallationID.
func (*CreatePluginInstallationInputBody) SetOrgID ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) SetOrgID(val OptString)
SetOrgID sets the value of OrgID.
func (*CreatePluginInstallationInputBody) SetProjectID ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) SetProjectID(val OptString)
SetProjectID sets the value of ProjectID.
func (*CreatePluginInstallationInputBody) SetRepositoryIds ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) SetRepositoryIds(val []string)
SetRepositoryIds sets the value of RepositoryIds.
func (*CreatePluginInstallationInputBody) SetRepositorySelection ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) SetRepositorySelection(val OptCreatePluginInstallationInputBodyRepositorySelection)
SetRepositorySelection sets the value of RepositorySelection.
func (*CreatePluginInstallationInputBody) SetSchema ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreatePluginInstallationInputBody) SetState ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) SetState(val OptString)
SetState sets the value of State.
func (*CreatePluginInstallationInputBody) UnmarshalJSON ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreatePluginInstallationInputBody) Validate ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBody) Validate() error
type CreatePluginInstallationInputBodyAdditional ¶ added in v0.11.4
func (*CreatePluginInstallationInputBodyAdditional) Decode ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes CreatePluginInstallationInputBodyAdditional from json.
func (CreatePluginInstallationInputBodyAdditional) Encode ¶ added in v0.11.4
func (s CreatePluginInstallationInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreatePluginInstallationInputBodyAdditional) MarshalJSON ¶ added in v0.11.4
func (s CreatePluginInstallationInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreatePluginInstallationInputBodyAdditional) UnmarshalJSON ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreatePluginInstallationInputBodyRepositorySelection ¶ added in v0.11.4
type CreatePluginInstallationInputBodyRepositorySelection string
Project installations: all repositories in the project, or only repository_ids.
const ( CreatePluginInstallationInputBodyRepositorySelectionAll CreatePluginInstallationInputBodyRepositorySelection = "all" CreatePluginInstallationInputBodyRepositorySelectionSelected CreatePluginInstallationInputBodyRepositorySelection = "selected" )
func (CreatePluginInstallationInputBodyRepositorySelection) AllValues ¶ added in v0.11.4
func (CreatePluginInstallationInputBodyRepositorySelection) AllValues() []CreatePluginInstallationInputBodyRepositorySelection
AllValues returns all CreatePluginInstallationInputBodyRepositorySelection values.
func (*CreatePluginInstallationInputBodyRepositorySelection) Decode ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBodyRepositorySelection) Decode(d *jx.Decoder) error
Decode decodes CreatePluginInstallationInputBodyRepositorySelection from json.
func (CreatePluginInstallationInputBodyRepositorySelection) Encode ¶ added in v0.11.4
func (s CreatePluginInstallationInputBodyRepositorySelection) Encode(e *jx.Encoder)
Encode encodes CreatePluginInstallationInputBodyRepositorySelection as json.
func (CreatePluginInstallationInputBodyRepositorySelection) MarshalJSON ¶ added in v0.11.4
func (s CreatePluginInstallationInputBodyRepositorySelection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreatePluginInstallationInputBodyRepositorySelection) MarshalText ¶ added in v0.11.4
func (s CreatePluginInstallationInputBodyRepositorySelection) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreatePluginInstallationInputBodyRepositorySelection) UnmarshalJSON ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBodyRepositorySelection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreatePluginInstallationInputBodyRepositorySelection) UnmarshalText ¶ added in v0.11.4
func (s *CreatePluginInstallationInputBodyRepositorySelection) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreatePluginInstallationInputBodyRepositorySelection) Validate ¶ added in v0.11.4
func (s CreatePluginInstallationInputBodyRepositorySelection) Validate() error
type CreatePluginInstallationParams ¶ added in v0.11.4
type CreatePluginInstallationParams struct {
// Plugin installation profile.
Plugin string
}
CreatePluginInstallationParams is parameters of createPluginInstallation operation.
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 CreateRepoCIWebhookBody ¶ added in v0.11.0
type CreateRepoCIWebhookBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Entire-core-auth Buildkite plugin ref this pipeline is built with: the registered cluster's
// override, else the pinned default; goes in the bootstrap config's plugins list.
AuthPluginRef string `json:"auth_plugin_ref"`
// Automation (aut_<ulid>) the enrolled pipeline's builds exchange their OIDC token for; goes in the
// bootstrap config as the automation:<id> resource (ENTIRE_CORE_AUTH_RESOURCE).
AutomationID string `json:"automation_id"`
BkOrganization string `json:"bk_organization"`
BkPipeline string `json:"bk_pipeline"`
// Entire-core base URL the bootstrap auth plugin talks to; goes in the bootstrap config as
// ENTIRE_CORE_AUTH_URL.
CoreURL string `json:"core_url"`
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"`
ProviderAccount string `json:"provider_account"`
PublishChecks bool `json:"publish_checks"`
RefFilter string `json:"ref_filter"`
RepoID string `json:"repo_id"`
RepoWrite bool `json:"repo_write"`
// What to do next, rendered ready to use. Present on a self-managed enrolment.
Setup OptCISetupBlock `json:"setup"`
TargetRef string `json:"target_ref"`
UpdatedAt time.Time `json:"updated_at"`
AdditionalProps CreateRepoCIWebhookBodyAdditional
}
Ref: #/components/schemas/CreateRepoCIWebhookBody
func (*CreateRepoCIWebhookBody) Decode ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) Decode(d *jx.Decoder) error
Decode decodes CreateRepoCIWebhookBody from json.
func (*CreateRepoCIWebhookBody) Encode ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreateRepoCIWebhookBody) GetAdditionalProps ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetAdditionalProps() CreateRepoCIWebhookBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreateRepoCIWebhookBody) GetAuthPluginRef ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetAuthPluginRef() string
GetAuthPluginRef returns the value of AuthPluginRef.
func (*CreateRepoCIWebhookBody) GetAutomationID ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetAutomationID() string
GetAutomationID returns the value of AutomationID.
func (*CreateRepoCIWebhookBody) GetBkOrganization ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetBkOrganization() string
GetBkOrganization returns the value of BkOrganization.
func (*CreateRepoCIWebhookBody) GetBkPipeline ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetBkPipeline() string
GetBkPipeline returns the value of BkPipeline.
func (*CreateRepoCIWebhookBody) GetCoreURL ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetCoreURL() string
GetCoreURL returns the value of CoreURL.
func (*CreateRepoCIWebhookBody) GetCreatedAt ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*CreateRepoCIWebhookBody) GetDisplayName ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetDisplayName() string
GetDisplayName returns the value of DisplayName.
func (*CreateRepoCIWebhookBody) GetEnabled ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetEnabled() bool
GetEnabled returns the value of Enabled.
func (*CreateRepoCIWebhookBody) GetEvents ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetEvents() []string
GetEvents returns the value of Events.
func (*CreateRepoCIWebhookBody) GetID ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetID() string
GetID returns the value of ID.
func (*CreateRepoCIWebhookBody) GetProvider ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetProvider() string
GetProvider returns the value of Provider.
func (*CreateRepoCIWebhookBody) GetProviderAccount ¶ added in v0.11.3
func (s *CreateRepoCIWebhookBody) GetProviderAccount() string
GetProviderAccount returns the value of ProviderAccount.
func (*CreateRepoCIWebhookBody) GetPublishChecks ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetPublishChecks() bool
GetPublishChecks returns the value of PublishChecks.
func (*CreateRepoCIWebhookBody) GetRefFilter ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetRefFilter() string
GetRefFilter returns the value of RefFilter.
func (*CreateRepoCIWebhookBody) GetRepoID ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetRepoID() string
GetRepoID returns the value of RepoID.
func (*CreateRepoCIWebhookBody) GetRepoWrite ¶ added in v0.11.3
func (s *CreateRepoCIWebhookBody) GetRepoWrite() bool
GetRepoWrite returns the value of RepoWrite.
func (*CreateRepoCIWebhookBody) GetSchema ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreateRepoCIWebhookBody) GetSetup ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetSetup() OptCISetupBlock
GetSetup returns the value of Setup.
func (*CreateRepoCIWebhookBody) GetTargetRef ¶ added in v0.11.3
func (s *CreateRepoCIWebhookBody) GetTargetRef() string
GetTargetRef returns the value of TargetRef.
func (*CreateRepoCIWebhookBody) GetUpdatedAt ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) GetUpdatedAt() time.Time
GetUpdatedAt returns the value of UpdatedAt.
func (*CreateRepoCIWebhookBody) MarshalJSON ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateRepoCIWebhookBody) SetAdditionalProps ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetAdditionalProps(val CreateRepoCIWebhookBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreateRepoCIWebhookBody) SetAuthPluginRef ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetAuthPluginRef(val string)
SetAuthPluginRef sets the value of AuthPluginRef.
func (*CreateRepoCIWebhookBody) SetAutomationID ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetAutomationID(val string)
SetAutomationID sets the value of AutomationID.
func (*CreateRepoCIWebhookBody) SetBkOrganization ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetBkOrganization(val string)
SetBkOrganization sets the value of BkOrganization.
func (*CreateRepoCIWebhookBody) SetBkPipeline ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetBkPipeline(val string)
SetBkPipeline sets the value of BkPipeline.
func (*CreateRepoCIWebhookBody) SetCoreURL ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetCoreURL(val string)
SetCoreURL sets the value of CoreURL.
func (*CreateRepoCIWebhookBody) SetCreatedAt ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*CreateRepoCIWebhookBody) SetDisplayName ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetDisplayName(val string)
SetDisplayName sets the value of DisplayName.
func (*CreateRepoCIWebhookBody) SetEnabled ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetEnabled(val bool)
SetEnabled sets the value of Enabled.
func (*CreateRepoCIWebhookBody) SetEvents ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetEvents(val []string)
SetEvents sets the value of Events.
func (*CreateRepoCIWebhookBody) SetID ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetID(val string)
SetID sets the value of ID.
func (*CreateRepoCIWebhookBody) SetProvider ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetProvider(val string)
SetProvider sets the value of Provider.
func (*CreateRepoCIWebhookBody) SetProviderAccount ¶ added in v0.11.3
func (s *CreateRepoCIWebhookBody) SetProviderAccount(val string)
SetProviderAccount sets the value of ProviderAccount.
func (*CreateRepoCIWebhookBody) SetPublishChecks ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetPublishChecks(val bool)
SetPublishChecks sets the value of PublishChecks.
func (*CreateRepoCIWebhookBody) SetRefFilter ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetRefFilter(val string)
SetRefFilter sets the value of RefFilter.
func (*CreateRepoCIWebhookBody) SetRepoID ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetRepoID(val string)
SetRepoID sets the value of RepoID.
func (*CreateRepoCIWebhookBody) SetRepoWrite ¶ added in v0.11.3
func (s *CreateRepoCIWebhookBody) SetRepoWrite(val bool)
SetRepoWrite sets the value of RepoWrite.
func (*CreateRepoCIWebhookBody) SetSchema ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreateRepoCIWebhookBody) SetSetup ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetSetup(val OptCISetupBlock)
SetSetup sets the value of Setup.
func (*CreateRepoCIWebhookBody) SetTargetRef ¶ added in v0.11.3
func (s *CreateRepoCIWebhookBody) SetTargetRef(val string)
SetTargetRef sets the value of TargetRef.
func (*CreateRepoCIWebhookBody) SetUpdatedAt ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) SetUpdatedAt(val time.Time)
SetUpdatedAt sets the value of UpdatedAt.
func (*CreateRepoCIWebhookBody) UnmarshalJSON ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreateRepoCIWebhookBody) Validate ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBody) Validate() error
type CreateRepoCIWebhookBodyAdditional ¶ added in v0.11.0
func (*CreateRepoCIWebhookBodyAdditional) Decode ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes CreateRepoCIWebhookBodyAdditional from json.
func (CreateRepoCIWebhookBodyAdditional) Encode ¶ added in v0.11.0
func (s CreateRepoCIWebhookBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateRepoCIWebhookBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s CreateRepoCIWebhookBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateRepoCIWebhookBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *CreateRepoCIWebhookBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreateRepoCIWebhookInputBody ¶ added in v0.9.0
type CreateRepoCIWebhookInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
BkClusterID OptString `json:"bk_cluster_id"`
// Overwrite an existing pipeline's configuration with the generated bootstrap step, DISCARDING
// manual edits. Repairs a pipeline left naming an automation that a teardown retired. Requires
// bk_provisioning_token; refused on a self-managed pipeline.
BkForceRescaffold OptBool `json:"bk_force_rescaffold"`
BkOrganization OptString `json:"bk_organization"`
BkPipeline OptString `json:"bk_pipeline"`
// The customer created and maintains this Buildkite pipeline. entire never creates, reconciles or
// reads it, and bk_provisioning_token is neither required nor accepted.
BkPipelineSelfManaged OptBool `json:"bk_pipeline_self_managed"`
// Transient Buildkite token (write_pipelines) to create the pipeline; write-only, never stored.
// Required on first enroll; omit on a routing-only re-enroll. Refused for an existing pipeline
// unless bk_force_rescaffold is also set.
BkProvisioningToken OptString `json:"bk_provisioning_token"`
// Provider-specific values from the providers listing; opaque to core. For buildkite: cluster_id,
// provisioning_token, force_rescaffold.
Config OptCreateRepoCIWebhookInputBodyConfig `json:"config"`
DisplayName OptString `json:"display_name"`
Events []string `json:"events"`
// How to enrol, from the chosen provider's modes. For buildkite: self_managed or provisioned.
Mode OptString `json:"mode"`
Provider string `json:"provider"`
// Vendor-side account to enrol against (for buildkite, the organization slug). Use with
// provider/mode/config; omit when sending the bk_* fields.
ProviderAccount OptString `json:"provider_account"`
RefFilter OptString `json:"ref_filter"`
// Vendor-side build target (for buildkite, the pipeline slug). Defaults to a slug derived from the
// repo.
TargetRef OptString `json:"target_ref"`
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() OptString
GetBkClusterID returns the value of BkClusterID.
func (*CreateRepoCIWebhookInputBody) GetBkForceRescaffold ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBody) GetBkForceRescaffold() OptBool
GetBkForceRescaffold returns the value of BkForceRescaffold.
func (*CreateRepoCIWebhookInputBody) GetBkOrganization ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) GetBkOrganization() OptString
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) GetBkPipelineSelfManaged ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBody) GetBkPipelineSelfManaged() OptBool
GetBkPipelineSelfManaged returns the value of BkPipelineSelfManaged.
func (*CreateRepoCIWebhookInputBody) GetBkProvisioningToken ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBody) GetBkProvisioningToken() OptString
GetBkProvisioningToken returns the value of BkProvisioningToken.
func (*CreateRepoCIWebhookInputBody) GetConfig ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBody) GetConfig() OptCreateRepoCIWebhookInputBodyConfig
GetConfig returns the value of Config.
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) GetMode ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBody) GetMode() OptString
GetMode returns the value of Mode.
func (*CreateRepoCIWebhookInputBody) GetProvider ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) GetProvider() string
GetProvider returns the value of Provider.
func (*CreateRepoCIWebhookInputBody) GetProviderAccount ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBody) GetProviderAccount() OptString
GetProviderAccount returns the value of ProviderAccount.
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) GetTargetRef ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBody) GetTargetRef() OptString
GetTargetRef returns the value of TargetRef.
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 OptString)
SetBkClusterID sets the value of BkClusterID.
func (*CreateRepoCIWebhookInputBody) SetBkForceRescaffold ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBody) SetBkForceRescaffold(val OptBool)
SetBkForceRescaffold sets the value of BkForceRescaffold.
func (*CreateRepoCIWebhookInputBody) SetBkOrganization ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) SetBkOrganization(val OptString)
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) SetBkPipelineSelfManaged ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBody) SetBkPipelineSelfManaged(val OptBool)
SetBkPipelineSelfManaged sets the value of BkPipelineSelfManaged.
func (*CreateRepoCIWebhookInputBody) SetBkProvisioningToken ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBody) SetBkProvisioningToken(val OptString)
SetBkProvisioningToken sets the value of BkProvisioningToken.
func (*CreateRepoCIWebhookInputBody) SetConfig ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBody) SetConfig(val OptCreateRepoCIWebhookInputBodyConfig)
SetConfig sets the value of Config.
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) SetMode ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBody) SetMode(val OptString)
SetMode sets the value of Mode.
func (*CreateRepoCIWebhookInputBody) SetProvider ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) SetProvider(val string)
SetProvider sets the value of Provider.
func (*CreateRepoCIWebhookInputBody) SetProviderAccount ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBody) SetProviderAccount(val OptString)
SetProviderAccount sets the value of ProviderAccount.
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) SetTargetRef ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBody) SetTargetRef(val OptString)
SetTargetRef sets the value of TargetRef.
func (*CreateRepoCIWebhookInputBody) UnmarshalJSON ¶ added in v0.9.0
func (s *CreateRepoCIWebhookInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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 CreateRepoCIWebhookInputBodyConfig ¶ added in v0.11.0
Provider-specific values from the providers listing; opaque to core. For buildkite: cluster_id, provisioning_token, force_rescaffold.
func (*CreateRepoCIWebhookInputBodyConfig) Decode ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBodyConfig) Decode(d *jx.Decoder) error
Decode decodes CreateRepoCIWebhookInputBodyConfig from json.
func (CreateRepoCIWebhookInputBodyConfig) Encode ¶ added in v0.11.0
func (s CreateRepoCIWebhookInputBodyConfig) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreateRepoCIWebhookInputBodyConfig) MarshalJSON ¶ added in v0.11.0
func (s CreateRepoCIWebhookInputBodyConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreateRepoCIWebhookInputBodyConfig) UnmarshalJSON ¶ added in v0.11.0
func (s *CreateRepoCIWebhookInputBodyConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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); must be in the
// project's processing cell. Empty takes that cell's cluster.
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 CreatedOrg ¶ added in v0.11.3
type CreatedOrg struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Capabilities OptOrgCapabilities `json:"capabilities"`
// Deprecated: read the X-Entire-Commit-Token response header instead.
//
// Deprecated: schema marks this property as deprecated.
CommitToken OptString `json:"commitToken"`
CreatedAt time.Time `json:"createdAt"`
ID string `json:"id"`
Name string `json:"name"`
Region string `json:"region"`
WorkosOrganizationId OptString `json:"workosOrganizationId"`
AdditionalProps CreatedOrgAdditional
}
Ref: #/components/schemas/CreatedOrg
func (*CreatedOrg) Decode ¶ added in v0.11.3
func (s *CreatedOrg) Decode(d *jx.Decoder) error
Decode decodes CreatedOrg from json.
func (*CreatedOrg) Encode ¶ added in v0.11.3
func (s *CreatedOrg) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreatedOrg) GetAdditionalProps ¶ added in v0.11.3
func (s *CreatedOrg) GetAdditionalProps() CreatedOrgAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreatedOrg) GetCapabilities ¶ added in v0.11.3
func (s *CreatedOrg) GetCapabilities() OptOrgCapabilities
GetCapabilities returns the value of Capabilities.
func (*CreatedOrg) GetCommitToken ¶ added in v0.11.3
func (s *CreatedOrg) GetCommitToken() OptString
GetCommitToken returns the value of CommitToken.
func (*CreatedOrg) GetCreatedAt ¶ added in v0.11.3
func (s *CreatedOrg) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*CreatedOrg) GetID ¶ added in v0.11.3
func (s *CreatedOrg) GetID() string
GetID returns the value of ID.
func (*CreatedOrg) GetName ¶ added in v0.11.3
func (s *CreatedOrg) GetName() string
GetName returns the value of Name.
func (*CreatedOrg) GetRegion ¶ added in v0.11.3
func (s *CreatedOrg) GetRegion() string
GetRegion returns the value of Region.
func (*CreatedOrg) GetSchema ¶ added in v0.11.3
func (s *CreatedOrg) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreatedOrg) GetWorkosOrganizationId ¶ added in v0.11.3
func (s *CreatedOrg) GetWorkosOrganizationId() OptString
GetWorkosOrganizationId returns the value of WorkosOrganizationId.
func (*CreatedOrg) MarshalJSON ¶ added in v0.11.3
func (s *CreatedOrg) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreatedOrg) SetAdditionalProps ¶ added in v0.11.3
func (s *CreatedOrg) SetAdditionalProps(val CreatedOrgAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreatedOrg) SetCapabilities ¶ added in v0.11.3
func (s *CreatedOrg) SetCapabilities(val OptOrgCapabilities)
SetCapabilities sets the value of Capabilities.
func (*CreatedOrg) SetCommitToken ¶ added in v0.11.3
func (s *CreatedOrg) SetCommitToken(val OptString)
SetCommitToken sets the value of CommitToken.
func (*CreatedOrg) SetCreatedAt ¶ added in v0.11.3
func (s *CreatedOrg) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*CreatedOrg) SetID ¶ added in v0.11.3
func (s *CreatedOrg) SetID(val string)
SetID sets the value of ID.
func (*CreatedOrg) SetName ¶ added in v0.11.3
func (s *CreatedOrg) SetName(val string)
SetName sets the value of Name.
func (*CreatedOrg) SetRegion ¶ added in v0.11.3
func (s *CreatedOrg) SetRegion(val string)
SetRegion sets the value of Region.
func (*CreatedOrg) SetSchema ¶ added in v0.11.3
func (s *CreatedOrg) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreatedOrg) SetWorkosOrganizationId ¶ added in v0.11.3
func (s *CreatedOrg) SetWorkosOrganizationId(val OptString)
SetWorkosOrganizationId sets the value of WorkosOrganizationId.
func (*CreatedOrg) UnmarshalJSON ¶ added in v0.11.3
func (s *CreatedOrg) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreatedOrgAdditional ¶ added in v0.11.3
func (*CreatedOrgAdditional) Decode ¶ added in v0.11.3
func (s *CreatedOrgAdditional) Decode(d *jx.Decoder) error
Decode decodes CreatedOrgAdditional from json.
func (CreatedOrgAdditional) Encode ¶ added in v0.11.3
func (s CreatedOrgAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreatedOrgAdditional) MarshalJSON ¶ added in v0.11.3
func (s CreatedOrgAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreatedOrgAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *CreatedOrgAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreatedOrgHeaders ¶ added in v0.11.3
type CreatedOrgHeaders struct {
XEntireCommitToken OptString
Response CreatedOrg
}
CreatedOrgHeaders wraps CreatedOrg with response headers.
func (*CreatedOrgHeaders) GetResponse ¶ added in v0.11.3
func (s *CreatedOrgHeaders) GetResponse() CreatedOrg
GetResponse returns the value of Response.
func (*CreatedOrgHeaders) GetXEntireCommitToken ¶ added in v0.11.3
func (s *CreatedOrgHeaders) GetXEntireCommitToken() OptString
GetXEntireCommitToken returns the value of XEntireCommitToken.
func (*CreatedOrgHeaders) SetResponse ¶ added in v0.11.3
func (s *CreatedOrgHeaders) SetResponse(val CreatedOrg)
SetResponse sets the value of Response.
func (*CreatedOrgHeaders) SetXEntireCommitToken ¶ added in v0.11.3
func (s *CreatedOrgHeaders) SetXEntireCommitToken(val OptString)
SetXEntireCommitToken sets the value of XEntireCommitToken.
type CreatedProject ¶ added in v0.11.3
type CreatedProject struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Public entire-api base URL for the assigned cell. Empty when unassigned or routing is unavailable;
// do not fall back to another cell.
ApiUrl OptString `json:"apiUrl"`
Capabilities OptProjectCapabilities `json:"capabilities"`
// Deprecated: read the X-Entire-Commit-Token response header instead.
//
// Deprecated: schema marks this property as deprecated.
CommitToken OptString `json:"commitToken"`
CreatedAt time.Time `json:"createdAt"`
ID string `json:"id"`
Name string `json:"name"`
OwnerId string `json:"ownerId"`
OwnerName OptString `json:"ownerName"`
OwnerType CreatedProjectOwnerType `json:"ownerType"`
// Stored processing cell ID, not a cluster slug. Empty when the project is unassigned.
PrimaryProcessingCell OptString `json:"primaryProcessingCell"`
Region string `json:"region"`
// Published logical repositories in paginated project listings. Omitted without project-wide view
// permission or when unavailable.
RepositoryCount OptInt64 `json:"repositoryCount"`
AdditionalProps CreatedProjectAdditional
}
Ref: #/components/schemas/CreatedProject
func (*CreatedProject) Decode ¶ added in v0.11.3
func (s *CreatedProject) Decode(d *jx.Decoder) error
Decode decodes CreatedProject from json.
func (*CreatedProject) Encode ¶ added in v0.11.3
func (s *CreatedProject) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreatedProject) GetAdditionalProps ¶ added in v0.11.3
func (s *CreatedProject) GetAdditionalProps() CreatedProjectAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreatedProject) GetApiUrl ¶ added in v0.11.3
func (s *CreatedProject) GetApiUrl() OptString
GetApiUrl returns the value of ApiUrl.
func (*CreatedProject) GetCapabilities ¶ added in v0.11.3
func (s *CreatedProject) GetCapabilities() OptProjectCapabilities
GetCapabilities returns the value of Capabilities.
func (*CreatedProject) GetCommitToken ¶ added in v0.11.3
func (s *CreatedProject) GetCommitToken() OptString
GetCommitToken returns the value of CommitToken.
func (*CreatedProject) GetCreatedAt ¶ added in v0.11.3
func (s *CreatedProject) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*CreatedProject) GetID ¶ added in v0.11.3
func (s *CreatedProject) GetID() string
GetID returns the value of ID.
func (*CreatedProject) GetName ¶ added in v0.11.3
func (s *CreatedProject) GetName() string
GetName returns the value of Name.
func (*CreatedProject) GetOwnerId ¶ added in v0.11.3
func (s *CreatedProject) GetOwnerId() string
GetOwnerId returns the value of OwnerId.
func (*CreatedProject) GetOwnerName ¶ added in v0.11.3
func (s *CreatedProject) GetOwnerName() OptString
GetOwnerName returns the value of OwnerName.
func (*CreatedProject) GetOwnerType ¶ added in v0.11.3
func (s *CreatedProject) GetOwnerType() CreatedProjectOwnerType
GetOwnerType returns the value of OwnerType.
func (*CreatedProject) GetPrimaryProcessingCell ¶ added in v0.11.3
func (s *CreatedProject) GetPrimaryProcessingCell() OptString
GetPrimaryProcessingCell returns the value of PrimaryProcessingCell.
func (*CreatedProject) GetRegion ¶ added in v0.11.3
func (s *CreatedProject) GetRegion() string
GetRegion returns the value of Region.
func (*CreatedProject) GetRepositoryCount ¶ added in v0.11.3
func (s *CreatedProject) GetRepositoryCount() OptInt64
GetRepositoryCount returns the value of RepositoryCount.
func (*CreatedProject) GetSchema ¶ added in v0.11.3
func (s *CreatedProject) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreatedProject) MarshalJSON ¶ added in v0.11.3
func (s *CreatedProject) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreatedProject) SetAdditionalProps ¶ added in v0.11.3
func (s *CreatedProject) SetAdditionalProps(val CreatedProjectAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreatedProject) SetApiUrl ¶ added in v0.11.3
func (s *CreatedProject) SetApiUrl(val OptString)
SetApiUrl sets the value of ApiUrl.
func (*CreatedProject) SetCapabilities ¶ added in v0.11.3
func (s *CreatedProject) SetCapabilities(val OptProjectCapabilities)
SetCapabilities sets the value of Capabilities.
func (*CreatedProject) SetCommitToken ¶ added in v0.11.3
func (s *CreatedProject) SetCommitToken(val OptString)
SetCommitToken sets the value of CommitToken.
func (*CreatedProject) SetCreatedAt ¶ added in v0.11.3
func (s *CreatedProject) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*CreatedProject) SetID ¶ added in v0.11.3
func (s *CreatedProject) SetID(val string)
SetID sets the value of ID.
func (*CreatedProject) SetName ¶ added in v0.11.3
func (s *CreatedProject) SetName(val string)
SetName sets the value of Name.
func (*CreatedProject) SetOwnerId ¶ added in v0.11.3
func (s *CreatedProject) SetOwnerId(val string)
SetOwnerId sets the value of OwnerId.
func (*CreatedProject) SetOwnerName ¶ added in v0.11.3
func (s *CreatedProject) SetOwnerName(val OptString)
SetOwnerName sets the value of OwnerName.
func (*CreatedProject) SetOwnerType ¶ added in v0.11.3
func (s *CreatedProject) SetOwnerType(val CreatedProjectOwnerType)
SetOwnerType sets the value of OwnerType.
func (*CreatedProject) SetPrimaryProcessingCell ¶ added in v0.11.3
func (s *CreatedProject) SetPrimaryProcessingCell(val OptString)
SetPrimaryProcessingCell sets the value of PrimaryProcessingCell.
func (*CreatedProject) SetRegion ¶ added in v0.11.3
func (s *CreatedProject) SetRegion(val string)
SetRegion sets the value of Region.
func (*CreatedProject) SetRepositoryCount ¶ added in v0.11.3
func (s *CreatedProject) SetRepositoryCount(val OptInt64)
SetRepositoryCount sets the value of RepositoryCount.
func (*CreatedProject) SetSchema ¶ added in v0.11.3
func (s *CreatedProject) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreatedProject) UnmarshalJSON ¶ added in v0.11.3
func (s *CreatedProject) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreatedProject) Validate ¶ added in v0.11.3
func (s *CreatedProject) Validate() error
type CreatedProjectAdditional ¶ added in v0.11.3
func (*CreatedProjectAdditional) Decode ¶ added in v0.11.3
func (s *CreatedProjectAdditional) Decode(d *jx.Decoder) error
Decode decodes CreatedProjectAdditional from json.
func (CreatedProjectAdditional) Encode ¶ added in v0.11.3
func (s CreatedProjectAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreatedProjectAdditional) MarshalJSON ¶ added in v0.11.3
func (s CreatedProjectAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreatedProjectAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *CreatedProjectAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreatedProjectHeaders ¶ added in v0.11.3
type CreatedProjectHeaders struct {
XEntireCommitToken OptString
Response CreatedProject
}
CreatedProjectHeaders wraps CreatedProject with response headers.
func (*CreatedProjectHeaders) GetResponse ¶ added in v0.11.3
func (s *CreatedProjectHeaders) GetResponse() CreatedProject
GetResponse returns the value of Response.
func (*CreatedProjectHeaders) GetXEntireCommitToken ¶ added in v0.11.3
func (s *CreatedProjectHeaders) GetXEntireCommitToken() OptString
GetXEntireCommitToken returns the value of XEntireCommitToken.
func (*CreatedProjectHeaders) SetResponse ¶ added in v0.11.3
func (s *CreatedProjectHeaders) SetResponse(val CreatedProject)
SetResponse sets the value of Response.
func (*CreatedProjectHeaders) SetXEntireCommitToken ¶ added in v0.11.3
func (s *CreatedProjectHeaders) SetXEntireCommitToken(val OptString)
SetXEntireCommitToken sets the value of XEntireCommitToken.
func (*CreatedProjectHeaders) Validate ¶ added in v0.11.3
func (s *CreatedProjectHeaders) Validate() error
type CreatedProjectOwnerType ¶ added in v0.11.3
type CreatedProjectOwnerType string
const ( CreatedProjectOwnerTypeOrg CreatedProjectOwnerType = "org" CreatedProjectOwnerTypeAccount CreatedProjectOwnerType = "account" )
func (CreatedProjectOwnerType) AllValues ¶ added in v0.11.3
func (CreatedProjectOwnerType) AllValues() []CreatedProjectOwnerType
AllValues returns all CreatedProjectOwnerType values.
func (*CreatedProjectOwnerType) Decode ¶ added in v0.11.3
func (s *CreatedProjectOwnerType) Decode(d *jx.Decoder) error
Decode decodes CreatedProjectOwnerType from json.
func (CreatedProjectOwnerType) Encode ¶ added in v0.11.3
func (s CreatedProjectOwnerType) Encode(e *jx.Encoder)
Encode encodes CreatedProjectOwnerType as json.
func (CreatedProjectOwnerType) MarshalJSON ¶ added in v0.11.3
func (s CreatedProjectOwnerType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CreatedProjectOwnerType) MarshalText ¶ added in v0.11.3
func (s CreatedProjectOwnerType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CreatedProjectOwnerType) UnmarshalJSON ¶ added in v0.11.3
func (s *CreatedProjectOwnerType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreatedProjectOwnerType) UnmarshalText ¶ added in v0.11.3
func (s *CreatedProjectOwnerType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CreatedProjectOwnerType) Validate ¶ added in v0.11.3
func (s CreatedProjectOwnerType) Validate() error
type CreatedRepo ¶ added in v0.11.3
type CreatedRepo struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Candidate OptRepoCandidate `json:"candidate"`
Capabilities OptRepoCapabilities `json:"capabilities"`
ClusterHost OptString `json:"clusterHost"`
ClusterSlug OptString `json:"clusterSlug"`
// Deprecated: read the X-Entire-Commit-Token response header instead.
//
// Deprecated: schema marks this property as deprecated.
CommitToken OptString `json:"commitToken"`
Foreign OptBool `json:"foreign"`
FullName OptString `json:"fullName"`
ID string `json:"id"`
Jurisdiction OptString `json:"jurisdiction"`
MirrorSuspended OptBool `json:"mirrorSuspended"`
MirrorSuspendedAt OptString `json:"mirrorSuspendedAt"`
Name string `json:"name"`
ObjectFormat OptString `json:"objectFormat"`
OwningProjectId string `json:"owningProjectId"`
Path OptString `json:"path"`
Placements []RepoPlacement `json:"placements"`
Primaries OptRepoPrimaries `json:"primaries"`
Provider OptString `json:"provider"`
ProvisionAttempts OptInt64 `json:"provisionAttempts"`
ProvisionReason OptString `json:"provisionReason"`
RepoGroupId OptString `json:"repoGroupId"`
// Provisioning lifecycle. A mirror is active from creation, before its initial clone completes.
State OptString `json:"state"`
Visibility OptString `json:"visibility"`
AdditionalProps CreatedRepoAdditional
}
Ref: #/components/schemas/CreatedRepo
func (*CreatedRepo) Decode ¶ added in v0.11.3
func (s *CreatedRepo) Decode(d *jx.Decoder) error
Decode decodes CreatedRepo from json.
func (*CreatedRepo) Encode ¶ added in v0.11.3
func (s *CreatedRepo) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CreatedRepo) GetAdditionalProps ¶ added in v0.11.3
func (s *CreatedRepo) GetAdditionalProps() CreatedRepoAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*CreatedRepo) GetCandidate ¶ added in v0.11.4
func (s *CreatedRepo) GetCandidate() OptRepoCandidate
GetCandidate returns the value of Candidate.
func (*CreatedRepo) GetCapabilities ¶ added in v0.11.3
func (s *CreatedRepo) GetCapabilities() OptRepoCapabilities
GetCapabilities returns the value of Capabilities.
func (*CreatedRepo) GetClusterHost ¶ added in v0.11.3
func (s *CreatedRepo) GetClusterHost() OptString
GetClusterHost returns the value of ClusterHost.
func (*CreatedRepo) GetClusterSlug ¶ added in v0.11.3
func (s *CreatedRepo) GetClusterSlug() OptString
GetClusterSlug returns the value of ClusterSlug.
func (*CreatedRepo) GetCommitToken ¶ added in v0.11.3
func (s *CreatedRepo) GetCommitToken() OptString
GetCommitToken returns the value of CommitToken.
func (*CreatedRepo) GetForeign ¶ added in v0.11.3
func (s *CreatedRepo) GetForeign() OptBool
GetForeign returns the value of Foreign.
func (*CreatedRepo) GetFullName ¶ added in v0.11.3
func (s *CreatedRepo) GetFullName() OptString
GetFullName returns the value of FullName.
func (*CreatedRepo) GetID ¶ added in v0.11.3
func (s *CreatedRepo) GetID() string
GetID returns the value of ID.
func (*CreatedRepo) GetJurisdiction ¶ added in v0.11.3
func (s *CreatedRepo) GetJurisdiction() OptString
GetJurisdiction returns the value of Jurisdiction.
func (*CreatedRepo) GetMirrorSuspended ¶ added in v0.11.3
func (s *CreatedRepo) GetMirrorSuspended() OptBool
GetMirrorSuspended returns the value of MirrorSuspended.
func (*CreatedRepo) GetMirrorSuspendedAt ¶ added in v0.11.3
func (s *CreatedRepo) GetMirrorSuspendedAt() OptString
GetMirrorSuspendedAt returns the value of MirrorSuspendedAt.
func (*CreatedRepo) GetName ¶ added in v0.11.3
func (s *CreatedRepo) GetName() string
GetName returns the value of Name.
func (*CreatedRepo) GetObjectFormat ¶ added in v0.11.3
func (s *CreatedRepo) GetObjectFormat() OptString
GetObjectFormat returns the value of ObjectFormat.
func (*CreatedRepo) GetOwningProjectId ¶ added in v0.11.3
func (s *CreatedRepo) GetOwningProjectId() string
GetOwningProjectId returns the value of OwningProjectId.
func (*CreatedRepo) GetPath ¶ added in v0.11.3
func (s *CreatedRepo) GetPath() OptString
GetPath returns the value of Path.
func (*CreatedRepo) GetPlacements ¶ added in v0.11.3
func (s *CreatedRepo) GetPlacements() []RepoPlacement
GetPlacements returns the value of Placements.
func (*CreatedRepo) GetPrimaries ¶ added in v0.11.3
func (s *CreatedRepo) GetPrimaries() OptRepoPrimaries
GetPrimaries returns the value of Primaries.
func (*CreatedRepo) GetProvider ¶ added in v0.11.3
func (s *CreatedRepo) GetProvider() OptString
GetProvider returns the value of Provider.
func (*CreatedRepo) GetProvisionAttempts ¶ added in v0.11.3
func (s *CreatedRepo) GetProvisionAttempts() OptInt64
GetProvisionAttempts returns the value of ProvisionAttempts.
func (*CreatedRepo) GetProvisionReason ¶ added in v0.11.3
func (s *CreatedRepo) GetProvisionReason() OptString
GetProvisionReason returns the value of ProvisionReason.
func (*CreatedRepo) GetRepoGroupId ¶ added in v0.11.3
func (s *CreatedRepo) GetRepoGroupId() OptString
GetRepoGroupId returns the value of RepoGroupId.
func (*CreatedRepo) GetSchema ¶ added in v0.11.3
func (s *CreatedRepo) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*CreatedRepo) GetState ¶ added in v0.11.3
func (s *CreatedRepo) GetState() OptString
GetState returns the value of State.
func (*CreatedRepo) GetVisibility ¶ added in v0.11.3
func (s *CreatedRepo) GetVisibility() OptString
GetVisibility returns the value of Visibility.
func (*CreatedRepo) MarshalJSON ¶ added in v0.11.3
func (s *CreatedRepo) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreatedRepo) SetAdditionalProps ¶ added in v0.11.3
func (s *CreatedRepo) SetAdditionalProps(val CreatedRepoAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*CreatedRepo) SetCandidate ¶ added in v0.11.4
func (s *CreatedRepo) SetCandidate(val OptRepoCandidate)
SetCandidate sets the value of Candidate.
func (*CreatedRepo) SetCapabilities ¶ added in v0.11.3
func (s *CreatedRepo) SetCapabilities(val OptRepoCapabilities)
SetCapabilities sets the value of Capabilities.
func (*CreatedRepo) SetClusterHost ¶ added in v0.11.3
func (s *CreatedRepo) SetClusterHost(val OptString)
SetClusterHost sets the value of ClusterHost.
func (*CreatedRepo) SetClusterSlug ¶ added in v0.11.3
func (s *CreatedRepo) SetClusterSlug(val OptString)
SetClusterSlug sets the value of ClusterSlug.
func (*CreatedRepo) SetCommitToken ¶ added in v0.11.3
func (s *CreatedRepo) SetCommitToken(val OptString)
SetCommitToken sets the value of CommitToken.
func (*CreatedRepo) SetForeign ¶ added in v0.11.3
func (s *CreatedRepo) SetForeign(val OptBool)
SetForeign sets the value of Foreign.
func (*CreatedRepo) SetFullName ¶ added in v0.11.3
func (s *CreatedRepo) SetFullName(val OptString)
SetFullName sets the value of FullName.
func (*CreatedRepo) SetID ¶ added in v0.11.3
func (s *CreatedRepo) SetID(val string)
SetID sets the value of ID.
func (*CreatedRepo) SetJurisdiction ¶ added in v0.11.3
func (s *CreatedRepo) SetJurisdiction(val OptString)
SetJurisdiction sets the value of Jurisdiction.
func (*CreatedRepo) SetMirrorSuspended ¶ added in v0.11.3
func (s *CreatedRepo) SetMirrorSuspended(val OptBool)
SetMirrorSuspended sets the value of MirrorSuspended.
func (*CreatedRepo) SetMirrorSuspendedAt ¶ added in v0.11.3
func (s *CreatedRepo) SetMirrorSuspendedAt(val OptString)
SetMirrorSuspendedAt sets the value of MirrorSuspendedAt.
func (*CreatedRepo) SetName ¶ added in v0.11.3
func (s *CreatedRepo) SetName(val string)
SetName sets the value of Name.
func (*CreatedRepo) SetObjectFormat ¶ added in v0.11.3
func (s *CreatedRepo) SetObjectFormat(val OptString)
SetObjectFormat sets the value of ObjectFormat.
func (*CreatedRepo) SetOwningProjectId ¶ added in v0.11.3
func (s *CreatedRepo) SetOwningProjectId(val string)
SetOwningProjectId sets the value of OwningProjectId.
func (*CreatedRepo) SetPath ¶ added in v0.11.3
func (s *CreatedRepo) SetPath(val OptString)
SetPath sets the value of Path.
func (*CreatedRepo) SetPlacements ¶ added in v0.11.3
func (s *CreatedRepo) SetPlacements(val []RepoPlacement)
SetPlacements sets the value of Placements.
func (*CreatedRepo) SetPrimaries ¶ added in v0.11.3
func (s *CreatedRepo) SetPrimaries(val OptRepoPrimaries)
SetPrimaries sets the value of Primaries.
func (*CreatedRepo) SetProvider ¶ added in v0.11.3
func (s *CreatedRepo) SetProvider(val OptString)
SetProvider sets the value of Provider.
func (*CreatedRepo) SetProvisionAttempts ¶ added in v0.11.3
func (s *CreatedRepo) SetProvisionAttempts(val OptInt64)
SetProvisionAttempts sets the value of ProvisionAttempts.
func (*CreatedRepo) SetProvisionReason ¶ added in v0.11.3
func (s *CreatedRepo) SetProvisionReason(val OptString)
SetProvisionReason sets the value of ProvisionReason.
func (*CreatedRepo) SetRepoGroupId ¶ added in v0.11.3
func (s *CreatedRepo) SetRepoGroupId(val OptString)
SetRepoGroupId sets the value of RepoGroupId.
func (*CreatedRepo) SetSchema ¶ added in v0.11.3
func (s *CreatedRepo) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*CreatedRepo) SetState ¶ added in v0.11.3
func (s *CreatedRepo) SetState(val OptString)
SetState sets the value of State.
func (*CreatedRepo) SetVisibility ¶ added in v0.11.3
func (s *CreatedRepo) SetVisibility(val OptString)
SetVisibility sets the value of Visibility.
func (*CreatedRepo) UnmarshalJSON ¶ added in v0.11.3
func (s *CreatedRepo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CreatedRepo) Validate ¶ added in v0.11.3
func (s *CreatedRepo) Validate() error
type CreatedRepoAdditional ¶ added in v0.11.3
func (*CreatedRepoAdditional) Decode ¶ added in v0.11.3
func (s *CreatedRepoAdditional) Decode(d *jx.Decoder) error
Decode decodes CreatedRepoAdditional from json.
func (CreatedRepoAdditional) Encode ¶ added in v0.11.3
func (s CreatedRepoAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreatedRepoAdditional) MarshalJSON ¶ added in v0.11.3
func (s CreatedRepoAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreatedRepoAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *CreatedRepoAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CreatedRepoHeaders ¶ added in v0.11.3
type CreatedRepoHeaders struct {
RetryAfter OptString
XEntireCommitToken OptString
Response CreatedRepo
}
CreatedRepoHeaders wraps CreatedRepo with response headers.
func (*CreatedRepoHeaders) GetResponse ¶ added in v0.11.3
func (s *CreatedRepoHeaders) GetResponse() CreatedRepo
GetResponse returns the value of Response.
func (*CreatedRepoHeaders) GetRetryAfter ¶ added in v0.11.4
func (s *CreatedRepoHeaders) GetRetryAfter() OptString
GetRetryAfter returns the value of RetryAfter.
func (*CreatedRepoHeaders) GetXEntireCommitToken ¶ added in v0.11.3
func (s *CreatedRepoHeaders) GetXEntireCommitToken() OptString
GetXEntireCommitToken returns the value of XEntireCommitToken.
func (*CreatedRepoHeaders) SetResponse ¶ added in v0.11.3
func (s *CreatedRepoHeaders) SetResponse(val CreatedRepo)
SetResponse sets the value of Response.
func (*CreatedRepoHeaders) SetRetryAfter ¶ added in v0.11.4
func (s *CreatedRepoHeaders) SetRetryAfter(val OptString)
SetRetryAfter sets the value of RetryAfter.
func (*CreatedRepoHeaders) SetXEntireCommitToken ¶ added in v0.11.3
func (s *CreatedRepoHeaders) SetXEntireCommitToken(val OptString)
SetXEntireCommitToken sets the value of XEntireCommitToken.
func (*CreatedRepoHeaders) Validate ¶ added in v0.11.3
func (s *CreatedRepoHeaders) Validate() error
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 DeleteNativeMirrorParams ¶ added in v0.11.0
DeleteNativeMirrorParams is parameters of deleteNativeMirror operation.
type DeleteOrgCIBuildkiteClusterNoContent ¶ added in v0.11.0
type DeleteOrgCIBuildkiteClusterNoContent struct{}
DeleteOrgCIBuildkiteClusterNoContent is response for DeleteOrgCIBuildkiteCluster operation.
type DeleteOrgCIBuildkiteClusterParams ¶ added in v0.11.0
DeleteOrgCIBuildkiteClusterParams is parameters of deleteOrgCIBuildkiteCluster operation.
type DeleteOrgCIBuildkiteCredentialNoContent ¶ added in v0.11.0
type DeleteOrgCIBuildkiteCredentialNoContent struct{}
DeleteOrgCIBuildkiteCredentialNoContent is response for DeleteOrgCIBuildkiteCredential operation.
type DeleteOrgCIBuildkiteCredentialParams ¶ added in v0.11.0
DeleteOrgCIBuildkiteCredentialParams is parameters of deleteOrgCIBuildkiteCredential operation.
type DeleteOrgNoContent ¶ added in v0.7.8
type DeleteOrgNoContent struct {
XEntireCommitToken OptString
}
DeleteOrgNoContent is response for DeleteOrg operation.
func (*DeleteOrgNoContent) GetXEntireCommitToken ¶ added in v0.11.3
func (s *DeleteOrgNoContent) GetXEntireCommitToken() OptString
GetXEntireCommitToken returns the value of XEntireCommitToken.
func (*DeleteOrgNoContent) SetXEntireCommitToken ¶ added in v0.11.3
func (s *DeleteOrgNoContent) SetXEntireCommitToken(val OptString)
SetXEntireCommitToken sets the value of XEntireCommitToken.
type DeleteOrgParams ¶ added in v0.7.8
type DeleteOrgParams struct {
OrgId string
}
DeleteOrgParams is parameters of deleteOrg operation.
type DeletePluginInstallationNoContent ¶ added in v0.11.4
type DeletePluginInstallationNoContent struct{}
DeletePluginInstallationNoContent is response for DeletePluginInstallation operation.
type DeletePluginInstallationParams ¶ added in v0.11.4
type DeletePluginInstallationParams struct {
// Plugin installation profile.
Plugin string
// Plugin installation id.
ID string
}
DeletePluginInstallationParams is parameters of deletePluginInstallation operation.
type DeleteProjectNoContent ¶ added in v0.7.8
type DeleteProjectNoContent struct {
XEntireCommitToken OptString
}
DeleteProjectNoContent is response for DeleteProject operation.
func (*DeleteProjectNoContent) GetXEntireCommitToken ¶ added in v0.11.3
func (s *DeleteProjectNoContent) GetXEntireCommitToken() OptString
GetXEntireCommitToken returns the value of XEntireCommitToken.
func (*DeleteProjectNoContent) SetXEntireCommitToken ¶ added in v0.11.3
func (s *DeleteProjectNoContent) SetXEntireCommitToken(val OptString)
SetXEntireCommitToken sets the value of XEntireCommitToken.
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
KeepIdentity OptBool `json:",omitempty,omitzero"`
}
DeleteRepoCIWebhookParams is parameters of deleteRepoCIWebhook operation.
type DeleteRepoNoContent ¶
type DeleteRepoNoContent struct {
XEntireCommitToken OptString
}
DeleteRepoNoContent is response for DeleteRepo operation.
func (*DeleteRepoNoContent) GetXEntireCommitToken ¶ added in v0.11.3
func (s *DeleteRepoNoContent) GetXEntireCommitToken() OptString
GetXEntireCommitToken returns the value of XEntireCommitToken.
func (*DeleteRepoNoContent) SetXEntireCommitToken ¶ added in v0.11.3
func (s *DeleteRepoNoContent) SetXEntireCommitToken(val OptString)
SetXEntireCommitToken sets the value of XEntireCommitToken.
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 DetachMyHandleNoContent ¶ added in v0.11.3
type DetachMyHandleNoContent struct{}
DetachMyHandleNoContent is response for DetachMyHandle operation.
type DetachMyHandleParams ¶ added in v0.11.3
type DetachMyHandleParams struct {
// Sign-in provider of the handle to detach.
Provider DetachMyHandleProvider
// The provider's stable user identifier for the handle (handles[].providerUserId from GET /me).
ProviderUserId string
}
DetachMyHandleParams is parameters of detachMyHandle operation.
type DetachMyHandleProvider ¶ added in v0.11.3
type DetachMyHandleProvider string
Sign-in provider of the handle to detach.
const ( DetachMyHandleProviderGoogle DetachMyHandleProvider = "google" DetachMyHandleProviderGithub DetachMyHandleProvider = "github" )
func (DetachMyHandleProvider) AllValues ¶ added in v0.11.3
func (DetachMyHandleProvider) AllValues() []DetachMyHandleProvider
AllValues returns all DetachMyHandleProvider values.
func (DetachMyHandleProvider) MarshalText ¶ added in v0.11.3
func (s DetachMyHandleProvider) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*DetachMyHandleProvider) UnmarshalText ¶ added in v0.11.3
func (s *DetachMyHandleProvider) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (DetachMyHandleProvider) Validate ¶ added in v0.11.3
func (s DetachMyHandleProvider) Validate() error
type DisconnectOrgCIDepotOrganizationNoContent ¶ added in v0.11.3
type DisconnectOrgCIDepotOrganizationNoContent struct{}
DisconnectOrgCIDepotOrganizationNoContent is response for DisconnectOrgCIDepotOrganization operation.
type DisconnectOrgCIDepotOrganizationParams ¶ added in v0.11.3
DisconnectOrgCIDepotOrganizationParams is parameters of disconnectOrgCIDepotOrganization operation.
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 ForgeRepoIdentity ¶ added in v0.11.0
type ForgeRepoIdentity struct {
Forge string `json:"forge"`
RepoID string `json:"repo_id"`
AdditionalProps ForgeRepoIdentityAdditional
}
Ref: #/components/schemas/ForgeRepoIdentity
func (*ForgeRepoIdentity) Decode ¶ added in v0.11.0
func (s *ForgeRepoIdentity) Decode(d *jx.Decoder) error
Decode decodes ForgeRepoIdentity from json.
func (*ForgeRepoIdentity) Encode ¶ added in v0.11.0
func (s *ForgeRepoIdentity) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ForgeRepoIdentity) GetAdditionalProps ¶ added in v0.11.0
func (s *ForgeRepoIdentity) GetAdditionalProps() ForgeRepoIdentityAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ForgeRepoIdentity) GetForge ¶ added in v0.11.0
func (s *ForgeRepoIdentity) GetForge() string
GetForge returns the value of Forge.
func (*ForgeRepoIdentity) GetRepoID ¶ added in v0.11.0
func (s *ForgeRepoIdentity) GetRepoID() string
GetRepoID returns the value of RepoID.
func (*ForgeRepoIdentity) MarshalJSON ¶ added in v0.11.0
func (s *ForgeRepoIdentity) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ForgeRepoIdentity) SetAdditionalProps ¶ added in v0.11.0
func (s *ForgeRepoIdentity) SetAdditionalProps(val ForgeRepoIdentityAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ForgeRepoIdentity) SetForge ¶ added in v0.11.0
func (s *ForgeRepoIdentity) SetForge(val string)
SetForge sets the value of Forge.
func (*ForgeRepoIdentity) SetRepoID ¶ added in v0.11.0
func (s *ForgeRepoIdentity) SetRepoID(val string)
SetRepoID sets the value of RepoID.
func (*ForgeRepoIdentity) UnmarshalJSON ¶ added in v0.11.0
func (s *ForgeRepoIdentity) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ForgeRepoIdentityAdditional ¶ added in v0.11.0
func (*ForgeRepoIdentityAdditional) Decode ¶ added in v0.11.0
func (s *ForgeRepoIdentityAdditional) Decode(d *jx.Decoder) error
Decode decodes ForgeRepoIdentityAdditional from json.
func (ForgeRepoIdentityAdditional) Encode ¶ added in v0.11.0
func (s ForgeRepoIdentityAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ForgeRepoIdentityAdditional) MarshalJSON ¶ added in v0.11.0
func (s ForgeRepoIdentityAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ForgeRepoIdentityAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *ForgeRepoIdentityAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAccountProfileParams ¶ added in v0.11.4
type GetAccountProfileParams struct {
AccountId string
}
GetAccountProfileParams is parameters of getAccountProfile operation.
type GetBranchProtectionParams ¶ added in v0.11.0
type GetBranchProtectionParams struct {
RepoId string
}
GetBranchProtectionParams is parameters of getBranchProtection operation.
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 ( 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 GetMirrorRequestParams ¶ added in v0.10.4
GetMirrorRequestParams is parameters of getMirrorRequest 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 once the account has completed a CLI login (either grant type).
CliLoggedIn bool `json:"cliLoggedIn"`
// 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) GetCliLoggedIn ¶ added in v0.11.0
func (s *GetOnboardingStatusOutputBody) GetCliLoggedIn() bool
GetCliLoggedIn returns the value of CliLoggedIn.
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) SetCliLoggedIn ¶ added in v0.11.0
func (s *GetOnboardingStatusOutputBody) SetCliLoggedIn(val bool)
SetCliLoggedIn sets the value of CliLoggedIn.
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 GetOrgPersonAccessParams ¶ added in v0.11.3
GetOrgPersonAccessParams is parameters of getOrgPersonAccess operation.
type GetProjectParams ¶ added in v0.7.8
type GetProjectParams struct {
ProjectId string
}
GetProjectParams is parameters of getProject operation.
type GetRepoCIDeliveryParams ¶ added in v0.11.3
GetRepoCIDeliveryParams is parameters of getRepoCIDelivery operation.
type GetRepoParams ¶
type GetRepoParams struct {
RepoId string
// Require the repo's regional lifecycle state. A local repo is unaffected. A repo homed in another
// jurisdiction redirects with 421. This core reports 503 when it cannot route the read. Provisioning
// and failed states still return 200.
Authoritative OptBool `json:",omitempty,omitzero"`
// Optional: opaque commit token from this repo's create, to read at a snapshot that contains that
// write. The lifecycle state, the placements, and a provisioning failure are always read fresh.
CommitToken OptString `json:",omitempty,omitzero"`
}
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 ( 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 GitHubInstallation ¶ added in v0.11.3
type GitHubInstallation struct {
AccountLogin string `json:"accountLogin"`
AccountType GitHubInstallationAccountType `json:"accountType"`
ID string `json:"id"`
State GitHubInstallationState `json:"state"`
AdditionalProps GitHubInstallationAdditional
}
Ref: #/components/schemas/GitHubInstallation
func (*GitHubInstallation) Decode ¶ added in v0.11.3
func (s *GitHubInstallation) Decode(d *jx.Decoder) error
Decode decodes GitHubInstallation from json.
func (*GitHubInstallation) Encode ¶ added in v0.11.3
func (s *GitHubInstallation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GitHubInstallation) GetAccountLogin ¶ added in v0.11.3
func (s *GitHubInstallation) GetAccountLogin() string
GetAccountLogin returns the value of AccountLogin.
func (*GitHubInstallation) GetAccountType ¶ added in v0.11.3
func (s *GitHubInstallation) GetAccountType() GitHubInstallationAccountType
GetAccountType returns the value of AccountType.
func (*GitHubInstallation) GetAdditionalProps ¶ added in v0.11.3
func (s *GitHubInstallation) GetAdditionalProps() GitHubInstallationAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GitHubInstallation) GetID ¶ added in v0.11.3
func (s *GitHubInstallation) GetID() string
GetID returns the value of ID.
func (*GitHubInstallation) GetState ¶ added in v0.11.3
func (s *GitHubInstallation) GetState() GitHubInstallationState
GetState returns the value of State.
func (*GitHubInstallation) MarshalJSON ¶ added in v0.11.3
func (s *GitHubInstallation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GitHubInstallation) SetAccountLogin ¶ added in v0.11.3
func (s *GitHubInstallation) SetAccountLogin(val string)
SetAccountLogin sets the value of AccountLogin.
func (*GitHubInstallation) SetAccountType ¶ added in v0.11.3
func (s *GitHubInstallation) SetAccountType(val GitHubInstallationAccountType)
SetAccountType sets the value of AccountType.
func (*GitHubInstallation) SetAdditionalProps ¶ added in v0.11.3
func (s *GitHubInstallation) SetAdditionalProps(val GitHubInstallationAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GitHubInstallation) SetID ¶ added in v0.11.3
func (s *GitHubInstallation) SetID(val string)
SetID sets the value of ID.
func (*GitHubInstallation) SetState ¶ added in v0.11.3
func (s *GitHubInstallation) SetState(val GitHubInstallationState)
SetState sets the value of State.
func (*GitHubInstallation) UnmarshalJSON ¶ added in v0.11.3
func (s *GitHubInstallation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GitHubInstallation) Validate ¶ added in v0.11.3
func (s *GitHubInstallation) Validate() error
type GitHubInstallationAccountType ¶ added in v0.11.3
type GitHubInstallationAccountType string
const ( GitHubInstallationAccountTypeUser GitHubInstallationAccountType = "user" GitHubInstallationAccountTypeOrganization GitHubInstallationAccountType = "organization" )
func (GitHubInstallationAccountType) AllValues ¶ added in v0.11.3
func (GitHubInstallationAccountType) AllValues() []GitHubInstallationAccountType
AllValues returns all GitHubInstallationAccountType values.
func (*GitHubInstallationAccountType) Decode ¶ added in v0.11.3
func (s *GitHubInstallationAccountType) Decode(d *jx.Decoder) error
Decode decodes GitHubInstallationAccountType from json.
func (GitHubInstallationAccountType) Encode ¶ added in v0.11.3
func (s GitHubInstallationAccountType) Encode(e *jx.Encoder)
Encode encodes GitHubInstallationAccountType as json.
func (GitHubInstallationAccountType) MarshalJSON ¶ added in v0.11.3
func (s GitHubInstallationAccountType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GitHubInstallationAccountType) MarshalText ¶ added in v0.11.3
func (s GitHubInstallationAccountType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GitHubInstallationAccountType) UnmarshalJSON ¶ added in v0.11.3
func (s *GitHubInstallationAccountType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GitHubInstallationAccountType) UnmarshalText ¶ added in v0.11.3
func (s *GitHubInstallationAccountType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GitHubInstallationAccountType) Validate ¶ added in v0.11.3
func (s GitHubInstallationAccountType) Validate() error
type GitHubInstallationAdditional ¶ added in v0.11.3
func (*GitHubInstallationAdditional) Decode ¶ added in v0.11.3
func (s *GitHubInstallationAdditional) Decode(d *jx.Decoder) error
Decode decodes GitHubInstallationAdditional from json.
func (GitHubInstallationAdditional) Encode ¶ added in v0.11.3
func (s GitHubInstallationAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GitHubInstallationAdditional) MarshalJSON ¶ added in v0.11.3
func (s GitHubInstallationAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GitHubInstallationAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *GitHubInstallationAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GitHubInstallationState ¶ added in v0.11.3
type GitHubInstallationState string
const ( GitHubInstallationStateActive GitHubInstallationState = "active" GitHubInstallationStateSuspended GitHubInstallationState = "suspended" )
func (GitHubInstallationState) AllValues ¶ added in v0.11.3
func (GitHubInstallationState) AllValues() []GitHubInstallationState
AllValues returns all GitHubInstallationState values.
func (*GitHubInstallationState) Decode ¶ added in v0.11.3
func (s *GitHubInstallationState) Decode(d *jx.Decoder) error
Decode decodes GitHubInstallationState from json.
func (GitHubInstallationState) Encode ¶ added in v0.11.3
func (s GitHubInstallationState) Encode(e *jx.Encoder)
Encode encodes GitHubInstallationState as json.
func (GitHubInstallationState) MarshalJSON ¶ added in v0.11.3
func (s GitHubInstallationState) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GitHubInstallationState) MarshalText ¶ added in v0.11.3
func (s GitHubInstallationState) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GitHubInstallationState) UnmarshalJSON ¶ added in v0.11.3
func (s *GitHubInstallationState) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GitHubInstallationState) UnmarshalText ¶ added in v0.11.3
func (s *GitHubInstallationState) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GitHubInstallationState) Validate ¶ added in v0.11.3
func (s GitHubInstallationState) Validate() error
type GitHubInstallations ¶ added in v0.11.3
type GitHubInstallations struct {
Items []GitHubInstallation `json:"items"`
Status GitHubInstallationsStatus `json:"status"`
AdditionalProps GitHubInstallationsAdditional
}
Ref: #/components/schemas/GitHubInstallations
func (*GitHubInstallations) Decode ¶ added in v0.11.3
func (s *GitHubInstallations) Decode(d *jx.Decoder) error
Decode decodes GitHubInstallations from json.
func (*GitHubInstallations) Encode ¶ added in v0.11.3
func (s *GitHubInstallations) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GitHubInstallations) GetAdditionalProps ¶ added in v0.11.3
func (s *GitHubInstallations) GetAdditionalProps() GitHubInstallationsAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GitHubInstallations) GetItems ¶ added in v0.11.3
func (s *GitHubInstallations) GetItems() []GitHubInstallation
GetItems returns the value of Items.
func (*GitHubInstallations) GetStatus ¶ added in v0.11.3
func (s *GitHubInstallations) GetStatus() GitHubInstallationsStatus
GetStatus returns the value of Status.
func (*GitHubInstallations) MarshalJSON ¶ added in v0.11.3
func (s *GitHubInstallations) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GitHubInstallations) SetAdditionalProps ¶ added in v0.11.3
func (s *GitHubInstallations) SetAdditionalProps(val GitHubInstallationsAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GitHubInstallations) SetItems ¶ added in v0.11.3
func (s *GitHubInstallations) SetItems(val []GitHubInstallation)
SetItems sets the value of Items.
func (*GitHubInstallations) SetStatus ¶ added in v0.11.3
func (s *GitHubInstallations) SetStatus(val GitHubInstallationsStatus)
SetStatus sets the value of Status.
func (*GitHubInstallations) UnmarshalJSON ¶ added in v0.11.3
func (s *GitHubInstallations) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GitHubInstallations) Validate ¶ added in v0.11.3
func (s *GitHubInstallations) Validate() error
type GitHubInstallationsAdditional ¶ added in v0.11.3
func (*GitHubInstallationsAdditional) Decode ¶ added in v0.11.3
func (s *GitHubInstallationsAdditional) Decode(d *jx.Decoder) error
Decode decodes GitHubInstallationsAdditional from json.
func (GitHubInstallationsAdditional) Encode ¶ added in v0.11.3
func (s GitHubInstallationsAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GitHubInstallationsAdditional) MarshalJSON ¶ added in v0.11.3
func (s GitHubInstallationsAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GitHubInstallationsAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *GitHubInstallationsAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GitHubInstallationsStatus ¶ added in v0.11.3
type GitHubInstallationsStatus string
const ( GitHubInstallationsStatusOk GitHubInstallationsStatus = "ok" )
func (GitHubInstallationsStatus) AllValues ¶ added in v0.11.3
func (GitHubInstallationsStatus) AllValues() []GitHubInstallationsStatus
AllValues returns all GitHubInstallationsStatus values.
func (*GitHubInstallationsStatus) Decode ¶ added in v0.11.3
func (s *GitHubInstallationsStatus) Decode(d *jx.Decoder) error
Decode decodes GitHubInstallationsStatus from json.
func (GitHubInstallationsStatus) Encode ¶ added in v0.11.3
func (s GitHubInstallationsStatus) Encode(e *jx.Encoder)
Encode encodes GitHubInstallationsStatus as json.
func (GitHubInstallationsStatus) MarshalJSON ¶ added in v0.11.3
func (s GitHubInstallationsStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GitHubInstallationsStatus) MarshalText ¶ added in v0.11.3
func (s GitHubInstallationsStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GitHubInstallationsStatus) UnmarshalJSON ¶ added in v0.11.3
func (s *GitHubInstallationsStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GitHubInstallationsStatus) UnmarshalText ¶ added in v0.11.3
func (s *GitHubInstallationsStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GitHubInstallationsStatus) Validate ¶ added in v0.11.3
func (s GitHubInstallationsStatus) Validate() error
type GrantAccessBody ¶ added in v0.11.3
type GrantAccessBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Entire account ULID to grant directly. Mutually exclusive with provider/providerUserId; the
// account must exist.
AccountId OptString `json:"accountId"`
GranteeType OptGrantAccessBodyGranteeType `json:"granteeType"`
// Legacy identity selector; requires providerUserId and must not be combined with accountId.
Provider OptString `json:"provider"`
// Legacy provider user ID; requires provider and must not be combined with accountId.
ProviderUserId OptString `json:"providerUserId"`
Role GrantAccessBodyRole `json:"role"`
AdditionalProps GrantAccessBodyAdditional
}
Ref: #/components/schemas/GrantAccessBody
func (*GrantAccessBody) Decode ¶ added in v0.11.3
func (s *GrantAccessBody) Decode(d *jx.Decoder) error
Decode decodes GrantAccessBody from json.
func (*GrantAccessBody) Encode ¶ added in v0.11.3
func (s *GrantAccessBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GrantAccessBody) GetAccountId ¶ added in v0.11.3
func (s *GrantAccessBody) GetAccountId() OptString
GetAccountId returns the value of AccountId.
func (*GrantAccessBody) GetAdditionalProps ¶ added in v0.11.3
func (s *GrantAccessBody) GetAdditionalProps() GrantAccessBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*GrantAccessBody) GetGranteeType ¶ added in v0.11.3
func (s *GrantAccessBody) GetGranteeType() OptGrantAccessBodyGranteeType
GetGranteeType returns the value of GranteeType.
func (*GrantAccessBody) GetProvider ¶ added in v0.11.3
func (s *GrantAccessBody) GetProvider() OptString
GetProvider returns the value of Provider.
func (*GrantAccessBody) GetProviderUserId ¶ added in v0.11.3
func (s *GrantAccessBody) GetProviderUserId() OptString
GetProviderUserId returns the value of ProviderUserId.
func (*GrantAccessBody) GetRole ¶ added in v0.11.3
func (s *GrantAccessBody) GetRole() GrantAccessBodyRole
GetRole returns the value of Role.
func (*GrantAccessBody) GetSchema ¶ added in v0.11.3
func (s *GrantAccessBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*GrantAccessBody) MarshalJSON ¶ added in v0.11.3
func (s *GrantAccessBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GrantAccessBody) SetAccountId ¶ added in v0.11.3
func (s *GrantAccessBody) SetAccountId(val OptString)
SetAccountId sets the value of AccountId.
func (*GrantAccessBody) SetAdditionalProps ¶ added in v0.11.3
func (s *GrantAccessBody) SetAdditionalProps(val GrantAccessBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*GrantAccessBody) SetGranteeType ¶ added in v0.11.3
func (s *GrantAccessBody) SetGranteeType(val OptGrantAccessBodyGranteeType)
SetGranteeType sets the value of GranteeType.
func (*GrantAccessBody) SetProvider ¶ added in v0.11.3
func (s *GrantAccessBody) SetProvider(val OptString)
SetProvider sets the value of Provider.
func (*GrantAccessBody) SetProviderUserId ¶ added in v0.11.3
func (s *GrantAccessBody) SetProviderUserId(val OptString)
SetProviderUserId sets the value of ProviderUserId.
func (*GrantAccessBody) SetRole ¶ added in v0.11.3
func (s *GrantAccessBody) SetRole(val GrantAccessBodyRole)
SetRole sets the value of Role.
func (*GrantAccessBody) SetSchema ¶ added in v0.11.3
func (s *GrantAccessBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*GrantAccessBody) UnmarshalJSON ¶ added in v0.11.3
func (s *GrantAccessBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GrantAccessBody) Validate ¶ added in v0.11.3
func (s *GrantAccessBody) Validate() error
type GrantAccessBodyAdditional ¶ added in v0.11.3
func (*GrantAccessBodyAdditional) Decode ¶ added in v0.11.3
func (s *GrantAccessBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes GrantAccessBodyAdditional from json.
func (GrantAccessBodyAdditional) Encode ¶ added in v0.11.3
func (s GrantAccessBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GrantAccessBodyAdditional) MarshalJSON ¶ added in v0.11.3
func (s GrantAccessBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GrantAccessBodyAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *GrantAccessBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GrantAccessBodyGranteeType ¶ added in v0.11.3
type GrantAccessBodyGranteeType string
const (
GrantAccessBodyGranteeTypeAccount GrantAccessBodyGranteeType = "account"
)
func (GrantAccessBodyGranteeType) AllValues ¶ added in v0.11.3
func (GrantAccessBodyGranteeType) AllValues() []GrantAccessBodyGranteeType
AllValues returns all GrantAccessBodyGranteeType values.
func (*GrantAccessBodyGranteeType) Decode ¶ added in v0.11.3
func (s *GrantAccessBodyGranteeType) Decode(d *jx.Decoder) error
Decode decodes GrantAccessBodyGranteeType from json.
func (GrantAccessBodyGranteeType) Encode ¶ added in v0.11.3
func (s GrantAccessBodyGranteeType) Encode(e *jx.Encoder)
Encode encodes GrantAccessBodyGranteeType as json.
func (GrantAccessBodyGranteeType) MarshalJSON ¶ added in v0.11.3
func (s GrantAccessBodyGranteeType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GrantAccessBodyGranteeType) MarshalText ¶ added in v0.11.3
func (s GrantAccessBodyGranteeType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GrantAccessBodyGranteeType) UnmarshalJSON ¶ added in v0.11.3
func (s *GrantAccessBodyGranteeType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GrantAccessBodyGranteeType) UnmarshalText ¶ added in v0.11.3
func (s *GrantAccessBodyGranteeType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GrantAccessBodyGranteeType) Validate ¶ added in v0.11.3
func (s GrantAccessBodyGranteeType) Validate() error
type GrantAccessBodyRole ¶ added in v0.11.3
type GrantAccessBodyRole string
const ( GrantAccessBodyRoleReader GrantAccessBodyRole = "reader" GrantAccessBodyRoleWriter GrantAccessBodyRole = "writer" GrantAccessBodyRoleAdmin GrantAccessBodyRole = "admin" )
func (GrantAccessBodyRole) AllValues ¶ added in v0.11.3
func (GrantAccessBodyRole) AllValues() []GrantAccessBodyRole
AllValues returns all GrantAccessBodyRole values.
func (*GrantAccessBodyRole) Decode ¶ added in v0.11.3
func (s *GrantAccessBodyRole) Decode(d *jx.Decoder) error
Decode decodes GrantAccessBodyRole from json.
func (GrantAccessBodyRole) Encode ¶ added in v0.11.3
func (s GrantAccessBodyRole) Encode(e *jx.Encoder)
Encode encodes GrantAccessBodyRole as json.
func (GrantAccessBodyRole) MarshalJSON ¶ added in v0.11.3
func (s GrantAccessBodyRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (GrantAccessBodyRole) MarshalText ¶ added in v0.11.3
func (s GrantAccessBodyRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*GrantAccessBodyRole) UnmarshalJSON ¶ added in v0.11.3
func (s *GrantAccessBodyRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GrantAccessBodyRole) UnmarshalText ¶ added in v0.11.3
func (s *GrantAccessBodyRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (GrantAccessBodyRole) Validate ¶ added in v0.11.3
func (s GrantAccessBodyRole) 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 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 Invitation ¶ added in v0.11.3
type Invitation struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
AcceptedAt OptDateTime `json:"acceptedAt"`
// Account ID that used the token. Empty until the invitation is accepted.
AcceptedBy OptString `json:"acceptedBy"`
// Resolved identity for AcceptedBy. Absent when it cannot be resolved.
AcceptedByIdentity OptAccountIdentity `json:"acceptedByIdentity"`
CreatedAt time.Time `json:"createdAt"`
DeclinedAt OptDateTime `json:"declinedAt"`
// The invited address, normalized to lowercase.
Email string `json:"email"`
ExpiresAt time.Time `json:"expiresAt"`
ID string `json:"id"`
// Account ID of the manager who created the invitation. Empty when that account has been erased.
InvitedBy string `json:"invitedBy"`
// Resolved identity for InvitedBy. Absent when it cannot be resolved.
InvitedByIdentity OptAccountIdentity `json:"invitedByIdentity"`
RevokedAt OptDateTime `json:"revokedAt"`
Role string `json:"role"`
// Derived from the outcome columns at read time.
Status string `json:"status"`
AdditionalProps InvitationAdditional
}
Ref: #/components/schemas/Invitation
func (*Invitation) Decode ¶ added in v0.11.3
func (s *Invitation) Decode(d *jx.Decoder) error
Decode decodes Invitation from json.
func (*Invitation) Encode ¶ added in v0.11.3
func (s *Invitation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*Invitation) GetAcceptedAt ¶ added in v0.11.3
func (s *Invitation) GetAcceptedAt() OptDateTime
GetAcceptedAt returns the value of AcceptedAt.
func (*Invitation) GetAcceptedBy ¶ added in v0.11.3
func (s *Invitation) GetAcceptedBy() OptString
GetAcceptedBy returns the value of AcceptedBy.
func (*Invitation) GetAcceptedByIdentity ¶ added in v0.11.4
func (s *Invitation) GetAcceptedByIdentity() OptAccountIdentity
GetAcceptedByIdentity returns the value of AcceptedByIdentity.
func (*Invitation) GetAdditionalProps ¶ added in v0.11.3
func (s *Invitation) GetAdditionalProps() InvitationAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*Invitation) GetCreatedAt ¶ added in v0.11.3
func (s *Invitation) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*Invitation) GetDeclinedAt ¶ added in v0.11.4
func (s *Invitation) GetDeclinedAt() OptDateTime
GetDeclinedAt returns the value of DeclinedAt.
func (*Invitation) GetEmail ¶ added in v0.11.3
func (s *Invitation) GetEmail() string
GetEmail returns the value of Email.
func (*Invitation) GetExpiresAt ¶ added in v0.11.3
func (s *Invitation) GetExpiresAt() time.Time
GetExpiresAt returns the value of ExpiresAt.
func (*Invitation) GetID ¶ added in v0.11.3
func (s *Invitation) GetID() string
GetID returns the value of ID.
func (*Invitation) GetInvitedBy ¶ added in v0.11.3
func (s *Invitation) GetInvitedBy() string
GetInvitedBy returns the value of InvitedBy.
func (*Invitation) GetInvitedByIdentity ¶ added in v0.11.4
func (s *Invitation) GetInvitedByIdentity() OptAccountIdentity
GetInvitedByIdentity returns the value of InvitedByIdentity.
func (*Invitation) GetRevokedAt ¶ added in v0.11.3
func (s *Invitation) GetRevokedAt() OptDateTime
GetRevokedAt returns the value of RevokedAt.
func (*Invitation) GetRole ¶ added in v0.11.3
func (s *Invitation) GetRole() string
GetRole returns the value of Role.
func (*Invitation) GetSchema ¶ added in v0.11.3
func (s *Invitation) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*Invitation) GetStatus ¶ added in v0.11.3
func (s *Invitation) GetStatus() string
GetStatus returns the value of Status.
func (*Invitation) MarshalJSON ¶ added in v0.11.3
func (s *Invitation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Invitation) SetAcceptedAt ¶ added in v0.11.3
func (s *Invitation) SetAcceptedAt(val OptDateTime)
SetAcceptedAt sets the value of AcceptedAt.
func (*Invitation) SetAcceptedBy ¶ added in v0.11.3
func (s *Invitation) SetAcceptedBy(val OptString)
SetAcceptedBy sets the value of AcceptedBy.
func (*Invitation) SetAcceptedByIdentity ¶ added in v0.11.4
func (s *Invitation) SetAcceptedByIdentity(val OptAccountIdentity)
SetAcceptedByIdentity sets the value of AcceptedByIdentity.
func (*Invitation) SetAdditionalProps ¶ added in v0.11.3
func (s *Invitation) SetAdditionalProps(val InvitationAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*Invitation) SetCreatedAt ¶ added in v0.11.3
func (s *Invitation) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*Invitation) SetDeclinedAt ¶ added in v0.11.4
func (s *Invitation) SetDeclinedAt(val OptDateTime)
SetDeclinedAt sets the value of DeclinedAt.
func (*Invitation) SetEmail ¶ added in v0.11.3
func (s *Invitation) SetEmail(val string)
SetEmail sets the value of Email.
func (*Invitation) SetExpiresAt ¶ added in v0.11.3
func (s *Invitation) SetExpiresAt(val time.Time)
SetExpiresAt sets the value of ExpiresAt.
func (*Invitation) SetID ¶ added in v0.11.3
func (s *Invitation) SetID(val string)
SetID sets the value of ID.
func (*Invitation) SetInvitedBy ¶ added in v0.11.3
func (s *Invitation) SetInvitedBy(val string)
SetInvitedBy sets the value of InvitedBy.
func (*Invitation) SetInvitedByIdentity ¶ added in v0.11.4
func (s *Invitation) SetInvitedByIdentity(val OptAccountIdentity)
SetInvitedByIdentity sets the value of InvitedByIdentity.
func (*Invitation) SetRevokedAt ¶ added in v0.11.3
func (s *Invitation) SetRevokedAt(val OptDateTime)
SetRevokedAt sets the value of RevokedAt.
func (*Invitation) SetRole ¶ added in v0.11.3
func (s *Invitation) SetRole(val string)
SetRole sets the value of Role.
func (*Invitation) SetSchema ¶ added in v0.11.3
func (s *Invitation) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*Invitation) SetStatus ¶ added in v0.11.3
func (s *Invitation) SetStatus(val string)
SetStatus sets the value of Status.
func (*Invitation) UnmarshalJSON ¶ added in v0.11.3
func (s *Invitation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*Invitation) Validate ¶ added in v0.11.4
func (s *Invitation) Validate() error
type InvitationAdditional ¶ added in v0.11.3
func (*InvitationAdditional) Decode ¶ added in v0.11.3
func (s *InvitationAdditional) Decode(d *jx.Decoder) error
Decode decodes InvitationAdditional from json.
func (InvitationAdditional) Encode ¶ added in v0.11.3
func (s InvitationAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (InvitationAdditional) MarshalJSON ¶ added in v0.11.3
func (s InvitationAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*InvitationAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *InvitationAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Invoker ¶
type Invoker interface {
// AcceptInvitation invokes acceptInvitation operation.
//
// Accept an organization invitation.
//
// POST /invitations/accept
AcceptInvitation(ctx context.Context, request *AcceptInvitationInputBody) (AcceptInvitationRes, error)
// AddOrgMember invokes addOrgMember operation.
//
// Add a member to an organization.
//
// POST /orgs/{orgId}/members
AddOrgMember(ctx context.Context, request *AddOrgMemberInputBody, params AddOrgMemberParams) (*Membership, 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)
// ConnectOrgCIBuildkiteCredential invokes connectOrgCIBuildkiteCredential operation.
//
// Connect or rotate an org's Buildkite API credential.
//
// POST /orgs/{orgId}/ci/buildkite/credential
ConnectOrgCIBuildkiteCredential(ctx context.Context, request *ConnectOrgCIBuildkiteCredentialInputBody, params ConnectOrgCIBuildkiteCredentialParams) (*OrgCIBuildkiteCredentialView, error)
// ConnectOrgCIDepotOrganization invokes connectOrgCIDepotOrganization operation.
//
// Operator-only: requires platform#admin because nothing can verify a Depot organization ID. Depot
// gives Entire no credential, so the operator vouches for the connection. Repositories subscribe
// through the connected Depot organization. Returns 201 for a new connection and 200 when the same
// pair is already connected.
//
// POST /orgs/{orgId}/ci/depot/connection
ConnectOrgCIDepotOrganization(ctx context.Context, request *ConnectOrgCIDepotOrganizationInputBody, params ConnectOrgCIDepotOrganizationParams) (*OrgCIDepotConnectionView, error)
// CreateBinding invokes createBinding operation.
//
// Create OIDC binding.
//
// POST /service-accounts/{accountId}/bindings
CreateBinding(ctx context.Context, request *CreateBindingInputBody, params CreateBindingParams) (*Binding, error)
// CreateMirrorRequest invokes createMirrorRequest operation.
//
// A validation failure may be reported synchronously at submission or as a terminal state on the
// request; clients must handle both.
//
// POST /mirror-requests
CreateMirrorRequest(ctx context.Context, request *CreateMirrorRequestInputBody) (*MirrorRequestHeaders, error)
// CreateNativeMirror invokes createNativeMirror operation.
//
// Create a native-mirror placement.
//
// POST /repos/{repoId}/native-mirrors
CreateNativeMirror(ctx context.Context, request *CreateNativeMirrorInputBody, params CreateNativeMirrorParams) (*NativeMirrorPlacement, error)
// CreateOrg invokes createOrg operation.
//
// Create organization.
//
// POST /orgs
CreateOrg(ctx context.Context, request *CreateOrgInputBody) (*CreatedOrgHeaders, error)
// CreateOrgInvitation invokes createOrgInvitation operation.
//
// Invite an address into an organization.
//
// POST /orgs/{orgId}/invitations
CreateOrgInvitation(ctx context.Context, request *CreateOrgInvitationInputBody, params CreateOrgInvitationParams) (CreateOrgInvitationRes, error)
// CreatePluginInstallation invokes createPluginInstallation operation.
//
// Requires project#manage with project_id, or org#manage with org_id. Without installation_id,
// creates an installation (201). With one the project or org owns on this core, refreshes the
// selected static profile output (200).
//
// POST /plugins/{plugin}/installations
CreatePluginInstallation(ctx context.Context, request *CreatePluginInstallationInputBody, params CreatePluginInstallationParams) (*PluginInstallation, error)
// CreateProject invokes createProject operation.
//
// Create project.
//
// POST /projects
CreateProject(ctx context.Context, request *CreateProjectInputBody) (*CreatedProjectHeaders, error)
// CreateRepo invokes createRepo operation.
//
// Create repository.
//
// POST /repos
CreateRepo(ctx context.Context, request *CreateRepoInputBody) (*CreatedRepoHeaders, 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) (*CreateRepoCIWebhookBody, 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
// DeleteNativeMirror invokes deleteNativeMirror operation.
//
// Delete a native-mirror placement.
//
// DELETE /repos/{repoId}/native-mirrors/{clusterSlug}
DeleteNativeMirror(ctx context.Context, params DeleteNativeMirrorParams) (*NativeMirrorPlacement, error)
// DeleteOrg invokes deleteOrg operation.
//
// Delete an organization.
//
// DELETE /orgs/{orgId}
DeleteOrg(ctx context.Context, params DeleteOrgParams) (*DeleteOrgNoContent, error)
// DeleteOrgCIBuildkiteCluster invokes deleteOrgCIBuildkiteCluster operation.
//
// Remove a registered Buildkite cluster from an org.
//
// DELETE /orgs/{orgId}/ci/buildkite/clusters/{bkOrg}/{bkClusterId}
DeleteOrgCIBuildkiteCluster(ctx context.Context, params DeleteOrgCIBuildkiteClusterParams) error
// DeleteOrgCIBuildkiteCredential invokes deleteOrgCIBuildkiteCredential operation.
//
// Delete an org's connected Buildkite credential.
//
// DELETE /orgs/{orgId}/ci/buildkite/credential/{bkOrg}
DeleteOrgCIBuildkiteCredential(ctx context.Context, params DeleteOrgCIBuildkiteCredentialParams) error
// DeletePluginInstallation invokes deletePluginInstallation operation.
//
// Requires project#manage on the installation's project.
//
// DELETE /plugins/{plugin}/installations/{id}
DeletePluginInstallation(ctx context.Context, params DeletePluginInstallationParams) error
// DeleteProject invokes deleteProject operation.
//
// Delete a project.
//
// DELETE /projects/{projectId}
DeleteProject(ctx context.Context, params DeleteProjectParams) (*DeleteProjectNoContent, error)
// DeleteRepo invokes deleteRepo operation.
//
// Delete repository.
//
// DELETE /repos/{repoId}
DeleteRepo(ctx context.Context, params DeleteRepoParams) (*DeleteRepoNoContent, error)
// DeleteRepoCIWebhook invokes deleteRepoCIWebhook operation.
//
// Deletes the subscription and clears this repo's own enrolment marker. This does NOT immediately
// revoke the automation's access to the repo: that access normally continues, on its existing expiry,
// in the background. Pass keep_identity=true to leave the marker untouched too — for an immediate
// re-enroll, which always resumes the same automation_id either way. The Buildkite pipeline is
// always kept.
//
// 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
// DetachMyHandle invokes detachMyHandle operation.
//
// Detach a linked sign-in method from the calling account.
//
// DELETE /me/handles/{provider}/{providerUserId}
DetachMyHandle(ctx context.Context, params DetachMyHandleParams) error
// DisconnectOrgCIDepotOrganization invokes disconnectOrgCIDepotOrganization operation.
//
// Operator-only: requires platform#admin. The operation removes only the Depot connection and never
// a Buildkite credential with the same name. Repositories subscribe through the connected Depot
// organization. Active subscriptions stop dispatching when the connection is removed.
//
// DELETE /orgs/{orgId}/ci/depot/connection/{account}
DisconnectOrgCIDepotOrganization(ctx context.Context, params DisconnectOrgCIDepotOrganizationParams) error
// GetAccountProfile invokes getAccountProfile operation.
//
// Get the viewer-scoped profile of an account.
//
// GET /accounts/{accountId}
GetAccountProfile(ctx context.Context, params GetAccountProfileParams) (*AccountProfileHeaders, error)
// GetBranchProtection invokes getBranchProtection operation.
//
// Get repository branch protection.
//
// GET /repos/{repoId}/branch-protection
GetBranchProtection(ctx context.Context, params GetBranchProtectionParams) (*BranchProtection, 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)
// GetMirrorRequest invokes getMirrorRequest operation.
//
// Unknown failure codes must be treated as a generic terminal failure.
//
// GET /mirror-requests/{requestId}
GetMirrorRequest(ctx context.Context, params GetMirrorRequestParams) (*MirrorRequest, 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)
// GetOrgPersonAccess invokes getOrgPersonAccess operation.
//
// Requires organization management permission. Selects the exact account within this organization's
// roster, not a handle or substring. Returns all recorded grants and fresh caller-specific editing
// capabilities. Missing or excluded people return 404; incomplete organization read models return
// 503. Uses global public data only. Mutations independently reauthorize every write.
//
// GET /orgs/{orgId}/people/{accountId}/access
GetOrgPersonAccess(ctx context.Context, params GetOrgPersonAccessParams) (*OrgPersonHeaders, 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) (*RepoHeaders, error)
// GetRepoCIDelivery invokes getRepoCIDelivery operation.
//
// The id is the opaque value from a list response. A payload is absent once its day has been swept
// (payload_absent=swept) or when no request was ever built (payload_absent=no_request).
//
// GET /repos/{repoId}/ci-deliveries/{id}
GetRepoCIDelivery(ctx context.Context, params GetRepoCIDeliveryParams) (*CIDeliveryDetailView, 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 *GrantAccessBody, params GrantProjectAccessParams) (*GrantProjectAccessOutputBody, error)
// GrantRepoAccess invokes grantRepoAccess operation.
//
// Grant repo access to an identity.
//
// POST /repos/{repoId}/grants
GrantRepoAccess(ctx context.Context, request *GrantAccessBody, 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)
// ListNativeMirrors invokes listNativeMirrors operation.
//
// List native-mirror placement status.
//
// GET /repos/{repoId}/native-mirrors
ListNativeMirrors(ctx context.Context, params ListNativeMirrorsParams) (*ListNativeMirrorsOutputBody, error)
// ListOIDCProviders invokes listOIDCProviders operation.
//
// List federated OIDC identity providers.
//
// GET /oidc-providers
ListOIDCProviders(ctx context.Context, params ListOIDCProvidersParams) (*ListOIDCProvidersOutputBody, error)
// ListOrgCIBuildkiteClusters invokes listOrgCIBuildkiteClusters operation.
//
// List an org's registered Buildkite clusters.
//
// GET /orgs/{orgId}/ci/buildkite/clusters
ListOrgCIBuildkiteClusters(ctx context.Context, params ListOrgCIBuildkiteClustersParams) (*ListOrgCIBuildkiteClustersOutputBody, error)
// ListOrgCIBuildkiteCredentials invokes listOrgCIBuildkiteCredentials operation.
//
// List an org's connected Buildkite credentials.
//
// GET /orgs/{orgId}/ci/buildkite/credentials
ListOrgCIBuildkiteCredentials(ctx context.Context, params ListOrgCIBuildkiteCredentialsParams) (*ListOrgCIBuildkiteCredentialsOutputBody, error)
// ListOrgCIDepotOrganizations invokes listOrgCIDepotOrganizations operation.
//
// Requires org#manage. A Depot connection holds no secret. Repositories subscribe through the
// connected Depot organization.
//
// GET /orgs/{orgId}/ci/depot/connections
ListOrgCIDepotOrganizations(ctx context.Context, params ListOrgCIDepotOrganizationsParams) (*ListOrgCIDepotOrganizationsOutputBody, error)
// ListOrgInvitations invokes listOrgInvitations operation.
//
// List an organization's invitations.
//
// GET /orgs/{orgId}/invitations
ListOrgInvitations(ctx context.Context, params ListOrgInvitationsParams) (*ListOrgInvitationsOutputBody, error)
// ListOrgMembers invokes listOrgMembers operation.
//
// List members of an organization.
//
// GET /orgs/{orgId}/members
ListOrgMembers(ctx context.Context, params ListOrgMembersParams) (*ListOrgMembersOutputBody, error)
// ListOrgPeople invokes listOrgPeople operation.
//
// Requires organization management permission, not repository pull permission. Returns one row per
// account with membership metadata and recorded accessScopes, without grant details or editing
// capabilities. Grants retain each distinct role and origin (membership, direct, team, or github),
// without inherited expansion or strongest-role collapsing. Repository IDs identify published
// logical repo groups, not placements. Membership grants include pending and inactive memberships;
// membership.status describes their lifecycle. GitHub grants use the collaborator read model and can
// differ from live SpiceDB permissions during reconciliation. This is a roster read model, not an
// authorization check or complete SpiceDB audit. Management does not imply Git read permission.
// Snapshot readiness uses the shared GitHub discovery eligibility and 15-minute grace policy.
// Detached, suspended, sync-blocked, sync-banned, and wholly suspended mirror targets do not block
// readiness; recorded edges still serve. Overdue eligible snapshots or missing mirror mappings
// return 503. Filters select people by recorded grants, not inherited roles. Load
// /people/{accountId}/access when opening an editor; it returns that person's grants and fresh
// editing capabilities. The list has no full mode. Filters and totalCount apply before cursor
// pagination; sort and order select the order, name by default. Outstanding invitations are keyed by
// email and never joined to an account. They appear only on an unfiltered first page. Only the
// organization's home core serves this list; other cores answer 421.
//
// GET /orgs/{orgId}/people
ListOrgPeople(ctx context.Context, params ListOrgPeopleParams) (*ListOrgPeopleOutputBodyHeaders, 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)
// ListPluginInstallations invokes listPluginInstallations operation.
//
// Requires project#manage with project_id, or org#manage with org_id.
//
// GET /plugins/{plugin}/installations
ListPluginInstallations(ctx context.Context, params ListPluginInstallationsParams) (*ListPluginInstallationsOutputBody, error)
// ListProjectCollaborators invokes listProjectCollaborators operation.
//
// Without repoId, returns people who can manage or write the project, plus source-managed members of
// a forge project. Requires project inspect. With repoId, returns people who can manage or push the
// repository's logical group, including project-level authority. Requires non-public list access to
// that repository. Readers and organization members without write access are excluded. Returns
// approved human accounts with public profile fields, ordered by account ID. Search and eligibility
// apply before pagination. Assignment writes must authorize independently. Staff authority does not
// bypass these requirements.
//
// GET /projects/{projectId}/collaborators
ListProjectCollaborators(ctx context.Context, params ListProjectCollaboratorsParams) (*ListProjectCollaboratorsOutputBodyHeaders, error)
// ListProjectMembers invokes listProjectMembers operation.
//
// List project members and their roles.
//
// GET /projects/{projectId}/members
ListProjectMembers(ctx context.Context, params ListProjectMembersParams) (*ListProjectMembersOutputBody, error)
// ListProjectPeople invokes listProjectPeople operation.
//
// Requires project roster-view permission, held by project managers and source-managed forge members
// but not ordinary native readers or writers. Returns one account per row with its effective role
// and merged access sources. Grant managers also receive the mutable direct grant. Search and role
// filters run before cursor pagination. Results are ordered by name, the public display name else
// the GitHub handle, unless sort selects another order; a page token only continues the order that
// issued it.
//
// GET /projects/{projectId}/people
ListProjectPeople(ctx context.Context, params ListProjectPeopleParams) (*ResourcePeopleOutputBody, 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)
// ListRepoCIBuilds invokes listRepoCIBuilds operation.
//
// List a repo's CI build statuses.
//
// GET /repos/{repoId}/ci-builds
ListRepoCIBuilds(ctx context.Context, params ListRepoCIBuildsParams) (*ListRepoCIBuildsOutputBody, error)
// ListRepoCIDeliveries invokes listRepoCIDeliveries operation.
//
// Recent deliveries, newest first. direction=outbound (default) is what Entire sent the repo's CI
// when refs changed; direction=inbound is what that CI sent back.
//
// GET /repos/{repoId}/ci-deliveries
ListRepoCIDeliveries(ctx context.Context, params ListRepoCIDeliveriesParams) (*ListRepoCIDeliveriesOutputBody, error)
// ListRepoCIProviders invokes listRepoCIProviders operation.
//
// Returns each provider's enrolment form AS DATA: its modes, its fields, and the select options
// drawn from this repo's owning org's connected credentials and registered clusters. A client
// renders what it is handed and posts back provider/provider_account/target_ref/mode/config, so it
// never names a CI vendor in its own source. A provider the org cannot enrol into yet comes back
// enrollable=false with a reason a customer can act on, rather than being omitted. Authz:
// repo#manage_ci, the same gate as enrolling.
//
// GET /repos/{repoId}/ci-webhooks/providers
ListRepoCIProviders(ctx context.Context, params ListRepoCIProvidersParams) (*ListRepoCIProvidersOutputBody, error)
// ListRepoCIWebhookAudit invokes listRepoCIWebhookAudit operation.
//
// Audited ci_webhook_enrolled / _updated / _deleted / _identity_rolled_back / _identity_orphaned
// events for this repo, newest first, from core's domain audit log. The entire-ci-webhooks
// subscription row records no actor, so this is the only way to attribute an enrollment — and it
// covers subscriptions created before this endpoint existed. Authz: repo#manage_ci.
//
// GET /repos/{repoId}/ci-webhooks/audit
ListRepoCIWebhookAudit(ctx context.Context, params ListRepoCIWebhookAuditParams) (*ListRepoCIWebhookAuditOutputBody, error)
// ListRepoCIWebhooks invokes listRepoCIWebhooks operation.
//
// List a repo's CI webhooks.
//
// GET /repos/{repoId}/ci-webhooks
ListRepoCIWebhooks(ctx context.Context, params ListRepoCIWebhooksParams) (*ListRepoCIWebhooksOutputBody, error)
// ListRepoCollaborators invokes listRepoCollaborators operation.
//
// List repo collaborators.
//
// GET /repos/{repoId}/collaborators
ListRepoCollaborators(ctx context.Context, params ListRepoCollaboratorsParams) (*ListRepoCollaboratorsOutputBody, error)
// ListRepoGrants invokes listRepoGrants operation.
//
// List repo grants.
//
// GET /repos/{repoId}/grants
ListRepoGrants(ctx context.Context, params ListRepoGrantsParams) (*ListRepoGrantsOutputBody, error)
// ListRepoLanguageFacets invokes listRepoLanguageFacets operation.
//
// List repository language facets.
//
// GET /repos/facets/languages
ListRepoLanguageFacets(ctx context.Context, params ListRepoLanguageFacetsParams) (*RepoFacetPage, error)
// ListRepoOrgFacets invokes listRepoOrgFacets operation.
//
// List repository org facets.
//
// GET /repos/facets/orgs
ListRepoOrgFacets(ctx context.Context, params ListRepoOrgFacetsParams) (*RepoFacetPage, error)
// ListRepoPeople invokes listRepoPeople operation.
//
// Returns one account per row with its effective role and merged access sources. Grant managers also
// receive the mutable direct grant. Search and role filters run before cursor pagination. Results
// are ordered by name, the public display name else the GitHub handle, unless sort selects another
// order; a page token only continues the order that issued it.
//
// GET /repos/{repoId}/people
ListRepoPeople(ctx context.Context, params ListRepoPeopleParams) (*ResourcePeopleOutputBody, 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)
// MintOrgCIGitHubActionsCredential invokes mintOrgCIGitHubActionsCredential operation.
//
// Operator-only: requires platform#admin, unlike the Buildkite routes beside it, because GitHub
// Actions has no subscription path yet and a credential minted here cannot be used. Mints the
// inbound webhook credential for one GitHub account: a fresh webhook secret (returned once, in this
// 201) and the endpoint URL to configure the GitHub webhook with, plus optionally the outbound
// dispatch api_token (write-only, never returned; has_api_token confirms storage). With api_token,
// an already-minted github-actions row gets the token stored/rotated instead (200, no secret
// re-issued).
//
// POST /orgs/{orgId}/ci/github-actions/credential
MintOrgCIGitHubActionsCredential(ctx context.Context, request *MintOrgCIGitHubActionsCredentialInputBody, params MintOrgCIGitHubActionsCredentialParams) (*OrgCIGitHubActionsCredentialView, 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)
// PreviewInvitation invokes previewInvitation operation.
//
// Preview an organization invitation.
//
// POST /invitations/preview
PreviewInvitation(ctx context.Context, request *PreviewInvitationInputBody) (*PreviewInvitationOKHeaders, error)
// RegisterOrgCIBuildkiteCluster invokes registerOrgCIBuildkiteCluster operation.
//
// Register or update a Buildkite hosted cluster for an org.
//
// POST /orgs/{orgId}/ci/buildkite/clusters
RegisterOrgCIBuildkiteCluster(ctx context.Context, request *RegisterOrgCIBuildkiteClusterInputBody, params RegisterOrgCIBuildkiteClusterParams) (*OrgCIBuildkiteClusterView, error)
// RemoveOrgMember invokes removeOrgMember operation.
//
// Remove a member from an organization.
//
// DELETE /orgs/{orgId}/members/{provider}/{providerUserId}
RemoveOrgMember(ctx context.Context, params RemoveOrgMemberParams) error
// RemoveOrgMemberByMembershipID invokes removeOrgMemberByMembershipID operation.
//
// Remove an organization member by membership ID.
//
// DELETE /orgs/{orgId}/members/{membershipId}
RemoveOrgMemberByMembershipID(ctx context.Context, params RemoveOrgMemberByMembershipIDParams) error
// RemovePluginInstallationRepository invokes removePluginInstallationRepository operation.
//
// Requires project#manage on the installation's project.
//
// DELETE /plugins/{plugin}/installations/{id}/repositories/{repository_id}
RemovePluginInstallationRepository(ctx context.Context, params RemovePluginInstallationRepositoryParams) 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)
// ResolveProject invokes resolveProject operation.
//
// Case-insensitive lookup by native project name (et) or GitHub owner namespace (gh). Uses project
// inspect permission, including platform administrators. An existing native (et) project the caller
// cannot inspect returns 403, so a creator can tell a taken name from a free one. Missing projects,
// and inaccessible GitHub (gh) namespaces, return 404.
//
// GET /projects/resolve/{host}/{project}
ResolveProject(ctx context.Context, params ResolveProjectParams) (*ResolveProjectOutputBody, error)
// ResolveRepoIDs invokes resolveRepoIDs operation.
//
// Resolve repository ids to full name and provider.
//
// POST /repos/resolve-ids
ResolveRepoIDs(ctx context.Context, request *ResolveRepoIDsInputBody) (*ResolveRepoIDsResponse, error)
// ResolveRepos invokes resolveRepos operation.
//
// Resolve provider-qualified repository lifecycle states.
//
// POST /repos/resolve
ResolveRepos(ctx context.Context, request *ResolveReposInputBody) (*ResolveReposResponse, error)
// RevokeOrgInvitation invokes revokeOrgInvitation operation.
//
// Revoke an organization invitation.
//
// DELETE /orgs/{orgId}/invitations/{id}
RevokeOrgInvitation(ctx context.Context, params RevokeOrgInvitationParams) 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
// RotateOrgCIBuildkiteInboundSecret invokes rotateOrgCIBuildkiteInboundSecret operation.
//
// Rotate an org's inbound Buildkite webhook secret.
//
// PUT /orgs/{orgId}/ci/buildkite/credential/{bkOrg}/inbound-secret
RotateOrgCIBuildkiteInboundSecret(ctx context.Context, params RotateOrgCIBuildkiteInboundSecretParams) (*OrgCIBuildkiteCredentialView, error)
// SetBranchProtection invokes setBranchProtection operation.
//
// Set repository branch protection.
//
// PUT /repos/{repoId}/branch-protection
SetBranchProtection(ctx context.Context, request *BranchProtection, params SetBranchProtectionParams) (*BranchProtection, error)
// SetPluginInstallationRepositories invokes setPluginInstallationRepositories operation.
//
// Requires project#manage on the installation's project. Grants follow the new selection before the
// response.
//
// PUT /plugins/{plugin}/installations/{id}/repository-selection
SetPluginInstallationRepositories(ctx context.Context, request *SetPluginInstallationRepositoriesInputBody, params SetPluginInstallationRepositoriesParams) (*PluginInstallationView, error)
// SetRepoVisibility invokes setRepoVisibility operation.
//
// Set repository visibility.
//
// PUT /repos/{repoId}/visibility
SetRepoVisibility(ctx context.Context, request *SetRepoVisibilityInputBody, params SetRepoVisibilityParams) (*SetRepoVisibilityOutputBody, error)
// UpdateBranchProtection invokes updateBranchProtection operation.
//
// Add or remove protected branches.
//
// PATCH /repos/{repoId}/branch-protection
UpdateBranchProtection(ctx context.Context, request *UpdateBranchProtectionInputBody, params UpdateBranchProtectionParams) (*BranchProtection, error)
// UpdateOrgMemberRole invokes updateOrgMemberRole operation.
//
// Update an organization member's role.
//
// PATCH /orgs/{orgId}/members/{membershipId}
UpdateOrgMemberRole(ctx context.Context, request *UpdateOrgMemberRoleInputBody, params UpdateOrgMemberRoleParams) (*Membership, 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"`
GithubInstallations GitHubInstallations `json:"githubInstallations"`
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) GetGithubInstallations ¶ added in v0.11.3
func (s *ListAvailableMirrorsOutputBody) GetGithubInstallations() GitHubInstallations
GetGithubInstallations returns the value of GithubInstallations.
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) SetGithubInstallations ¶ added in v0.11.3
func (s *ListAvailableMirrorsOutputBody) SetGithubInstallations(val GitHubInstallations)
SetGithubInstallations sets the value of GithubInstallations.
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 ListNativeMirrorsOutputBody ¶ added in v0.11.0
type ListNativeMirrorsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
NativeMirrors []NativeMirrorPlacement `json:"nativeMirrors"`
AdditionalProps ListNativeMirrorsOutputBodyAdditional
}
Ref: #/components/schemas/ListNativeMirrorsOutputBody
func (*ListNativeMirrorsOutputBody) Decode ¶ added in v0.11.0
func (s *ListNativeMirrorsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListNativeMirrorsOutputBody from json.
func (*ListNativeMirrorsOutputBody) Encode ¶ added in v0.11.0
func (s *ListNativeMirrorsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListNativeMirrorsOutputBody) GetAdditionalProps ¶ added in v0.11.0
func (s *ListNativeMirrorsOutputBody) GetAdditionalProps() ListNativeMirrorsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListNativeMirrorsOutputBody) GetNativeMirrors ¶ added in v0.11.0
func (s *ListNativeMirrorsOutputBody) GetNativeMirrors() []NativeMirrorPlacement
GetNativeMirrors returns the value of NativeMirrors.
func (*ListNativeMirrorsOutputBody) GetSchema ¶ added in v0.11.0
func (s *ListNativeMirrorsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListNativeMirrorsOutputBody) MarshalJSON ¶ added in v0.11.0
func (s *ListNativeMirrorsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListNativeMirrorsOutputBody) SetAdditionalProps ¶ added in v0.11.0
func (s *ListNativeMirrorsOutputBody) SetAdditionalProps(val ListNativeMirrorsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListNativeMirrorsOutputBody) SetNativeMirrors ¶ added in v0.11.0
func (s *ListNativeMirrorsOutputBody) SetNativeMirrors(val []NativeMirrorPlacement)
SetNativeMirrors sets the value of NativeMirrors.
func (*ListNativeMirrorsOutputBody) SetSchema ¶ added in v0.11.0
func (s *ListNativeMirrorsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListNativeMirrorsOutputBody) UnmarshalJSON ¶ added in v0.11.0
func (s *ListNativeMirrorsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListNativeMirrorsOutputBody) Validate ¶ added in v0.11.0
func (s *ListNativeMirrorsOutputBody) Validate() error
type ListNativeMirrorsOutputBodyAdditional ¶ added in v0.11.0
func (*ListNativeMirrorsOutputBodyAdditional) Decode ¶ added in v0.11.0
func (s *ListNativeMirrorsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListNativeMirrorsOutputBodyAdditional from json.
func (ListNativeMirrorsOutputBodyAdditional) Encode ¶ added in v0.11.0
func (s ListNativeMirrorsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListNativeMirrorsOutputBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s ListNativeMirrorsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListNativeMirrorsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *ListNativeMirrorsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListNativeMirrorsParams ¶ added in v0.11.0
type ListNativeMirrorsParams struct {
RepoId string
}
ListNativeMirrorsParams is parameters of listNativeMirrors 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 ListOrgCIBuildkiteClustersOutputBody ¶ added in v0.11.0
type ListOrgCIBuildkiteClustersOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Clusters []OrgCIBuildkiteClusterView `json:"clusters"`
AdditionalProps ListOrgCIBuildkiteClustersOutputBodyAdditional
}
Ref: #/components/schemas/ListOrgCIBuildkiteClustersOutputBody
func (*ListOrgCIBuildkiteClustersOutputBody) Decode ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteClustersOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListOrgCIBuildkiteClustersOutputBody from json.
func (*ListOrgCIBuildkiteClustersOutputBody) Encode ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteClustersOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListOrgCIBuildkiteClustersOutputBody) GetAdditionalProps ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteClustersOutputBody) GetAdditionalProps() ListOrgCIBuildkiteClustersOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListOrgCIBuildkiteClustersOutputBody) GetClusters ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteClustersOutputBody) GetClusters() []OrgCIBuildkiteClusterView
GetClusters returns the value of Clusters.
func (*ListOrgCIBuildkiteClustersOutputBody) GetSchema ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteClustersOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListOrgCIBuildkiteClustersOutputBody) MarshalJSON ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteClustersOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgCIBuildkiteClustersOutputBody) SetAdditionalProps ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteClustersOutputBody) SetAdditionalProps(val ListOrgCIBuildkiteClustersOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListOrgCIBuildkiteClustersOutputBody) SetClusters ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteClustersOutputBody) SetClusters(val []OrgCIBuildkiteClusterView)
SetClusters sets the value of Clusters.
func (*ListOrgCIBuildkiteClustersOutputBody) SetSchema ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteClustersOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListOrgCIBuildkiteClustersOutputBody) UnmarshalJSON ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteClustersOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListOrgCIBuildkiteClustersOutputBody) Validate ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteClustersOutputBody) Validate() error
type ListOrgCIBuildkiteClustersOutputBodyAdditional ¶ added in v0.11.0
func (*ListOrgCIBuildkiteClustersOutputBodyAdditional) Decode ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteClustersOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListOrgCIBuildkiteClustersOutputBodyAdditional from json.
func (ListOrgCIBuildkiteClustersOutputBodyAdditional) Encode ¶ added in v0.11.0
func (s ListOrgCIBuildkiteClustersOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListOrgCIBuildkiteClustersOutputBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s ListOrgCIBuildkiteClustersOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgCIBuildkiteClustersOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteClustersOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListOrgCIBuildkiteClustersParams ¶ added in v0.11.0
type ListOrgCIBuildkiteClustersParams struct {
OrgId string
BkOrganization OptString `json:",omitempty,omitzero"`
}
ListOrgCIBuildkiteClustersParams is parameters of listOrgCIBuildkiteClusters operation.
type ListOrgCIBuildkiteCredentialsOutputBody ¶ added in v0.11.0
type ListOrgCIBuildkiteCredentialsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Credentials []OrgCIBuildkiteCredentialView `json:"credentials"`
AdditionalProps ListOrgCIBuildkiteCredentialsOutputBodyAdditional
}
Ref: #/components/schemas/ListOrgCIBuildkiteCredentialsOutputBody
func (*ListOrgCIBuildkiteCredentialsOutputBody) Decode ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteCredentialsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListOrgCIBuildkiteCredentialsOutputBody from json.
func (*ListOrgCIBuildkiteCredentialsOutputBody) Encode ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteCredentialsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListOrgCIBuildkiteCredentialsOutputBody) GetAdditionalProps ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteCredentialsOutputBody) GetAdditionalProps() ListOrgCIBuildkiteCredentialsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListOrgCIBuildkiteCredentialsOutputBody) GetCredentials ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteCredentialsOutputBody) GetCredentials() []OrgCIBuildkiteCredentialView
GetCredentials returns the value of Credentials.
func (*ListOrgCIBuildkiteCredentialsOutputBody) GetSchema ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteCredentialsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListOrgCIBuildkiteCredentialsOutputBody) MarshalJSON ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteCredentialsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgCIBuildkiteCredentialsOutputBody) SetAdditionalProps ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteCredentialsOutputBody) SetAdditionalProps(val ListOrgCIBuildkiteCredentialsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListOrgCIBuildkiteCredentialsOutputBody) SetCredentials ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteCredentialsOutputBody) SetCredentials(val []OrgCIBuildkiteCredentialView)
SetCredentials sets the value of Credentials.
func (*ListOrgCIBuildkiteCredentialsOutputBody) SetSchema ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteCredentialsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListOrgCIBuildkiteCredentialsOutputBody) UnmarshalJSON ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteCredentialsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListOrgCIBuildkiteCredentialsOutputBody) Validate ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteCredentialsOutputBody) Validate() error
type ListOrgCIBuildkiteCredentialsOutputBodyAdditional ¶ added in v0.11.0
func (*ListOrgCIBuildkiteCredentialsOutputBodyAdditional) Decode ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteCredentialsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListOrgCIBuildkiteCredentialsOutputBodyAdditional from json.
func (ListOrgCIBuildkiteCredentialsOutputBodyAdditional) Encode ¶ added in v0.11.0
func (s ListOrgCIBuildkiteCredentialsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListOrgCIBuildkiteCredentialsOutputBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s ListOrgCIBuildkiteCredentialsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgCIBuildkiteCredentialsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *ListOrgCIBuildkiteCredentialsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListOrgCIBuildkiteCredentialsParams ¶ added in v0.11.0
type ListOrgCIBuildkiteCredentialsParams struct {
OrgId string
}
ListOrgCIBuildkiteCredentialsParams is parameters of listOrgCIBuildkiteCredentials operation.
type ListOrgCIDepotOrganizationsOutputBody ¶ added in v0.11.3
type ListOrgCIDepotOrganizationsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Connections []OrgCIDepotConnectionView `json:"connections"`
AdditionalProps ListOrgCIDepotOrganizationsOutputBodyAdditional
}
Ref: #/components/schemas/ListOrgCIDepotOrganizationsOutputBody
func (*ListOrgCIDepotOrganizationsOutputBody) Decode ¶ added in v0.11.3
func (s *ListOrgCIDepotOrganizationsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListOrgCIDepotOrganizationsOutputBody from json.
func (*ListOrgCIDepotOrganizationsOutputBody) Encode ¶ added in v0.11.3
func (s *ListOrgCIDepotOrganizationsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListOrgCIDepotOrganizationsOutputBody) GetAdditionalProps ¶ added in v0.11.3
func (s *ListOrgCIDepotOrganizationsOutputBody) GetAdditionalProps() ListOrgCIDepotOrganizationsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListOrgCIDepotOrganizationsOutputBody) GetConnections ¶ added in v0.11.3
func (s *ListOrgCIDepotOrganizationsOutputBody) GetConnections() []OrgCIDepotConnectionView
GetConnections returns the value of Connections.
func (*ListOrgCIDepotOrganizationsOutputBody) GetSchema ¶ added in v0.11.3
func (s *ListOrgCIDepotOrganizationsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListOrgCIDepotOrganizationsOutputBody) MarshalJSON ¶ added in v0.11.3
func (s *ListOrgCIDepotOrganizationsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgCIDepotOrganizationsOutputBody) SetAdditionalProps ¶ added in v0.11.3
func (s *ListOrgCIDepotOrganizationsOutputBody) SetAdditionalProps(val ListOrgCIDepotOrganizationsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListOrgCIDepotOrganizationsOutputBody) SetConnections ¶ added in v0.11.3
func (s *ListOrgCIDepotOrganizationsOutputBody) SetConnections(val []OrgCIDepotConnectionView)
SetConnections sets the value of Connections.
func (*ListOrgCIDepotOrganizationsOutputBody) SetSchema ¶ added in v0.11.3
func (s *ListOrgCIDepotOrganizationsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListOrgCIDepotOrganizationsOutputBody) UnmarshalJSON ¶ added in v0.11.3
func (s *ListOrgCIDepotOrganizationsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListOrgCIDepotOrganizationsOutputBody) Validate ¶ added in v0.11.3
func (s *ListOrgCIDepotOrganizationsOutputBody) Validate() error
type ListOrgCIDepotOrganizationsOutputBodyAdditional ¶ added in v0.11.3
func (*ListOrgCIDepotOrganizationsOutputBodyAdditional) Decode ¶ added in v0.11.3
func (s *ListOrgCIDepotOrganizationsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListOrgCIDepotOrganizationsOutputBodyAdditional from json.
func (ListOrgCIDepotOrganizationsOutputBodyAdditional) Encode ¶ added in v0.11.3
func (s ListOrgCIDepotOrganizationsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListOrgCIDepotOrganizationsOutputBodyAdditional) MarshalJSON ¶ added in v0.11.3
func (s ListOrgCIDepotOrganizationsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgCIDepotOrganizationsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *ListOrgCIDepotOrganizationsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListOrgCIDepotOrganizationsParams ¶ added in v0.11.3
type ListOrgCIDepotOrganizationsParams struct {
OrgId string
}
ListOrgCIDepotOrganizationsParams is parameters of listOrgCIDepotOrganizations operation.
type ListOrgInvitationsOutputBody ¶ added in v0.11.3
type ListOrgInvitationsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Invitations []Invitation `json:"invitations"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
AdditionalProps ListOrgInvitationsOutputBodyAdditional
}
Ref: #/components/schemas/ListOrgInvitationsOutputBody
func (*ListOrgInvitationsOutputBody) Decode ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListOrgInvitationsOutputBody from json.
func (*ListOrgInvitationsOutputBody) Encode ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListOrgInvitationsOutputBody) GetAdditionalProps ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBody) GetAdditionalProps() ListOrgInvitationsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListOrgInvitationsOutputBody) GetInvitations ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBody) GetInvitations() []Invitation
GetInvitations returns the value of Invitations.
func (*ListOrgInvitationsOutputBody) GetNextPageToken ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListOrgInvitationsOutputBody) GetSchema ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListOrgInvitationsOutputBody) MarshalJSON ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgInvitationsOutputBody) SetAdditionalProps ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBody) SetAdditionalProps(val ListOrgInvitationsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListOrgInvitationsOutputBody) SetInvitations ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBody) SetInvitations(val []Invitation)
SetInvitations sets the value of Invitations.
func (*ListOrgInvitationsOutputBody) SetNextPageToken ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListOrgInvitationsOutputBody) SetSchema ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListOrgInvitationsOutputBody) UnmarshalJSON ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListOrgInvitationsOutputBody) Validate ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBody) Validate() error
type ListOrgInvitationsOutputBodyAdditional ¶ added in v0.11.3
func (*ListOrgInvitationsOutputBodyAdditional) Decode ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListOrgInvitationsOutputBodyAdditional from json.
func (ListOrgInvitationsOutputBodyAdditional) Encode ¶ added in v0.11.3
func (s ListOrgInvitationsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListOrgInvitationsOutputBodyAdditional) MarshalJSON ¶ added in v0.11.3
func (s ListOrgInvitationsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgInvitationsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *ListOrgInvitationsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListOrgInvitationsParams ¶ added in v0.11.3
type ListOrgInvitationsParams 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
// Lifecycle state to return; all returns every state.
Status OptListOrgInvitationsStatus `json:",omitempty,omitzero"`
}
ListOrgInvitationsParams is parameters of listOrgInvitations operation.
type ListOrgInvitationsStatus ¶ added in v0.11.3
type ListOrgInvitationsStatus string
Lifecycle state to return; all returns every state.
const ( ListOrgInvitationsStatusOpen ListOrgInvitationsStatus = "open" ListOrgInvitationsStatusAccepted ListOrgInvitationsStatus = "accepted" ListOrgInvitationsStatusRevoked ListOrgInvitationsStatus = "revoked" ListOrgInvitationsStatusExpired ListOrgInvitationsStatus = "expired" ListOrgInvitationsStatusDeclined ListOrgInvitationsStatus = "declined" ListOrgInvitationsStatusAll ListOrgInvitationsStatus = "all" )
func (ListOrgInvitationsStatus) AllValues ¶ added in v0.11.3
func (ListOrgInvitationsStatus) AllValues() []ListOrgInvitationsStatus
AllValues returns all ListOrgInvitationsStatus values.
func (ListOrgInvitationsStatus) MarshalText ¶ added in v0.11.3
func (s ListOrgInvitationsStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListOrgInvitationsStatus) UnmarshalText ¶ added in v0.11.3
func (s *ListOrgInvitationsStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListOrgInvitationsStatus) Validate ¶ added in v0.11.3
func (s ListOrgInvitationsStatus) Validate() error
type ListOrgMembersOrder ¶ added in v0.11.4
type ListOrgMembersOrder string
Asc (default) or desc. desc reverses the order, but people without a name stay last on the name sort, and people without a membership stay last on joined.
const ( ListOrgMembersOrderAsc ListOrgMembersOrder = "asc" ListOrgMembersOrderDesc ListOrgMembersOrder = "desc" )
func (ListOrgMembersOrder) AllValues ¶ added in v0.11.4
func (ListOrgMembersOrder) AllValues() []ListOrgMembersOrder
AllValues returns all ListOrgMembersOrder values.
func (ListOrgMembersOrder) MarshalText ¶ added in v0.11.4
func (s ListOrgMembersOrder) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListOrgMembersOrder) UnmarshalText ¶ added in v0.11.4
func (s *ListOrgMembersOrder) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListOrgMembersOrder) Validate ¶ added in v0.11.4
func (s ListOrgMembersOrder) Validate() error
type ListOrgMembersOutputBody ¶
type ListOrgMembersOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Members []OrgMemberListItem `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() []OrgMemberListItem
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 []OrgMemberListItem)
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"`
// Sort column, name when omitted. name orders by public display name, else GitHub handle; people
// without either come last. role orders by membership role, owner first, then by name; collaborators
// come last. status orders active, pending, inactive, then people without a membership. joined
// orders by membership creation, oldest first; people without a membership come last.
Sort OptListOrgMembersSort `json:",omitempty,omitzero"`
// Asc (default) or desc. desc reverses the order, but people without a name stay last on the name
// sort, and people without a membership stay last on joined.
Order OptListOrgMembersOrder `json:",omitempty,omitzero"`
OrgId string
}
ListOrgMembersParams is parameters of listOrgMembers operation.
type ListOrgMembersSort ¶ added in v0.11.4
type ListOrgMembersSort string
Sort column, name when omitted. name orders by public display name, else GitHub handle; people without either come last. role orders by membership role, owner first, then by name; collaborators come last. status orders active, pending, inactive, then people without a membership. joined orders by membership creation, oldest first; people without a membership come last.
const ( ListOrgMembersSortName ListOrgMembersSort = "name" ListOrgMembersSortRole ListOrgMembersSort = "role" ListOrgMembersSortStatus ListOrgMembersSort = "status" ListOrgMembersSortJoined ListOrgMembersSort = "joined" )
func (ListOrgMembersSort) AllValues ¶ added in v0.11.4
func (ListOrgMembersSort) AllValues() []ListOrgMembersSort
AllValues returns all ListOrgMembersSort values.
func (ListOrgMembersSort) MarshalText ¶ added in v0.11.4
func (s ListOrgMembersSort) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListOrgMembersSort) UnmarshalText ¶ added in v0.11.4
func (s *ListOrgMembersSort) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListOrgMembersSort) Validate ¶ added in v0.11.4
func (s ListOrgMembersSort) Validate() error
type ListOrgPeopleMembership ¶ added in v0.11.3
type ListOrgPeopleMembership string
Member includes non-pending memberships; invited means a WorkOS membership with status pending, not an email invitation; collaborator means no direct membership.
const ( ListOrgPeopleMembershipMember ListOrgPeopleMembership = "member" ListOrgPeopleMembershipInvited ListOrgPeopleMembership = "invited" ListOrgPeopleMembershipCollaborator ListOrgPeopleMembership = "collaborator" )
func (ListOrgPeopleMembership) AllValues ¶ added in v0.11.3
func (ListOrgPeopleMembership) AllValues() []ListOrgPeopleMembership
AllValues returns all ListOrgPeopleMembership values.
func (ListOrgPeopleMembership) MarshalText ¶ added in v0.11.3
func (s ListOrgPeopleMembership) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListOrgPeopleMembership) UnmarshalText ¶ added in v0.11.3
func (s *ListOrgPeopleMembership) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListOrgPeopleMembership) Validate ¶ added in v0.11.3
func (s ListOrgPeopleMembership) Validate() error
type ListOrgPeopleOrder ¶ added in v0.11.4
type ListOrgPeopleOrder string
Asc (default) or desc. desc reverses the order, but people without a name stay last on the name sort, and people without a membership stay last on joined.
const ( ListOrgPeopleOrderAsc ListOrgPeopleOrder = "asc" ListOrgPeopleOrderDesc ListOrgPeopleOrder = "desc" )
func (ListOrgPeopleOrder) AllValues ¶ added in v0.11.4
func (ListOrgPeopleOrder) AllValues() []ListOrgPeopleOrder
AllValues returns all ListOrgPeopleOrder values.
func (ListOrgPeopleOrder) MarshalText ¶ added in v0.11.4
func (s ListOrgPeopleOrder) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListOrgPeopleOrder) UnmarshalText ¶ added in v0.11.4
func (s *ListOrgPeopleOrder) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListOrgPeopleOrder) Validate ¶ added in v0.11.4
func (s ListOrgPeopleOrder) Validate() error
type ListOrgPeopleOutputBody ¶ added in v0.11.3
type ListOrgPeopleOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Outstanding (open and expired) invitations, only on the first page of an unfiltered request and
// only when the caller passes the SSO check. They are never joined to an account.
Invitations []Invitation `json:"invitations"`
Items []OrgPersonSummary `json:"items"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
TotalCount int64 `json:"totalCount"`
AdditionalProps ListOrgPeopleOutputBodyAdditional
}
Ref: #/components/schemas/ListOrgPeopleOutputBody
func (*ListOrgPeopleOutputBody) Decode ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListOrgPeopleOutputBody from json.
func (*ListOrgPeopleOutputBody) Encode ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListOrgPeopleOutputBody) GetAdditionalProps ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) GetAdditionalProps() ListOrgPeopleOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListOrgPeopleOutputBody) GetInvitations ¶ added in v0.11.4
func (s *ListOrgPeopleOutputBody) GetInvitations() []Invitation
GetInvitations returns the value of Invitations.
func (*ListOrgPeopleOutputBody) GetItems ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) GetItems() []OrgPersonSummary
GetItems returns the value of Items.
func (*ListOrgPeopleOutputBody) GetNextPageToken ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListOrgPeopleOutputBody) GetSchema ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListOrgPeopleOutputBody) GetTotalCount ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) GetTotalCount() int64
GetTotalCount returns the value of TotalCount.
func (*ListOrgPeopleOutputBody) MarshalJSON ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgPeopleOutputBody) SetAdditionalProps ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) SetAdditionalProps(val ListOrgPeopleOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListOrgPeopleOutputBody) SetInvitations ¶ added in v0.11.4
func (s *ListOrgPeopleOutputBody) SetInvitations(val []Invitation)
SetInvitations sets the value of Invitations.
func (*ListOrgPeopleOutputBody) SetItems ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) SetItems(val []OrgPersonSummary)
SetItems sets the value of Items.
func (*ListOrgPeopleOutputBody) SetNextPageToken ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListOrgPeopleOutputBody) SetSchema ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListOrgPeopleOutputBody) SetTotalCount ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) SetTotalCount(val int64)
SetTotalCount sets the value of TotalCount.
func (*ListOrgPeopleOutputBody) UnmarshalJSON ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListOrgPeopleOutputBody) Validate ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBody) Validate() error
type ListOrgPeopleOutputBodyAdditional ¶ added in v0.11.3
func (*ListOrgPeopleOutputBodyAdditional) Decode ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListOrgPeopleOutputBodyAdditional from json.
func (ListOrgPeopleOutputBodyAdditional) Encode ¶ added in v0.11.3
func (s ListOrgPeopleOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListOrgPeopleOutputBodyAdditional) MarshalJSON ¶ added in v0.11.3
func (s ListOrgPeopleOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListOrgPeopleOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListOrgPeopleOutputBodyHeaders ¶ added in v0.11.3
type ListOrgPeopleOutputBodyHeaders struct {
CacheControl OptString
Response ListOrgPeopleOutputBody
}
ListOrgPeopleOutputBodyHeaders wraps ListOrgPeopleOutputBody with response headers.
func (*ListOrgPeopleOutputBodyHeaders) GetCacheControl ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBodyHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*ListOrgPeopleOutputBodyHeaders) GetResponse ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBodyHeaders) GetResponse() ListOrgPeopleOutputBody
GetResponse returns the value of Response.
func (*ListOrgPeopleOutputBodyHeaders) SetCacheControl ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBodyHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*ListOrgPeopleOutputBodyHeaders) SetResponse ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBodyHeaders) SetResponse(val ListOrgPeopleOutputBody)
SetResponse sets the value of Response.
func (*ListOrgPeopleOutputBodyHeaders) Validate ¶ added in v0.11.3
func (s *ListOrgPeopleOutputBodyHeaders) Validate() error
type ListOrgPeopleParams ¶ added in v0.11.3
type ListOrgPeopleParams 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"`
// Sort column, name when omitted. name orders by public display name, else GitHub handle; people
// without either come last. role orders by membership role, owner first, then by name; collaborators
// come last. status orders active, pending, inactive, then people without a membership. joined
// orders by membership creation, oldest first; people without a membership come last.
Sort OptListOrgPeopleSort `json:",omitempty,omitzero"`
// Asc (default) or desc. desc reverses the order, but people without a name stay last on the name
// sort, and people without a membership stay last on joined.
Order OptListOrgPeopleOrder `json:",omitempty,omitzero"`
// Select people with a recorded grant at this resource level.
Scope OptListOrgPeopleScope `json:",omitempty,omitzero"`
OrgId string
// Case-insensitive substring of account ID, public handle, or public display name.
Search OptString `json:",omitempty,omitzero"`
// Member includes non-pending memberships; invited means a WorkOS membership with status pending,
// not an email invitation; collaborator means no direct membership.
Membership OptListOrgPeopleMembership `json:",omitempty,omitzero"`
// Direct membership status; collaborators have no membership status.
Status OptListOrgPeopleStatus `json:",omitempty,omitzero"`
// Exact recorded grant role, including organization membership and weaker independent grants.
Role OptListOrgPeopleRole `json:",omitempty,omitzero"`
}
ListOrgPeopleParams is parameters of listOrgPeople operation.
type ListOrgPeopleRole ¶ added in v0.11.3
type ListOrgPeopleRole string
Exact recorded grant role, including organization membership and weaker independent grants.
const ( ListOrgPeopleRoleOwner ListOrgPeopleRole = "owner" ListOrgPeopleRoleAdmin ListOrgPeopleRole = "admin" ListOrgPeopleRoleMember ListOrgPeopleRole = "member" ListOrgPeopleRoleReader ListOrgPeopleRole = "reader" ListOrgPeopleRoleWriter ListOrgPeopleRole = "writer" ListOrgPeopleRoleMirrorSourceAdmin ListOrgPeopleRole = "mirror_source_admin" )
func (ListOrgPeopleRole) AllValues ¶ added in v0.11.3
func (ListOrgPeopleRole) AllValues() []ListOrgPeopleRole
AllValues returns all ListOrgPeopleRole values.
func (ListOrgPeopleRole) MarshalText ¶ added in v0.11.3
func (s ListOrgPeopleRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListOrgPeopleRole) UnmarshalText ¶ added in v0.11.3
func (s *ListOrgPeopleRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListOrgPeopleRole) Validate ¶ added in v0.11.3
func (s ListOrgPeopleRole) Validate() error
type ListOrgPeopleScope ¶ added in v0.11.3
type ListOrgPeopleScope string
Select people with a recorded grant at this resource level.
const ( ListOrgPeopleScopeOrganization ListOrgPeopleScope = "organization" ListOrgPeopleScopeProject ListOrgPeopleScope = "project" ListOrgPeopleScopeRepository ListOrgPeopleScope = "repository" )
func (ListOrgPeopleScope) AllValues ¶ added in v0.11.3
func (ListOrgPeopleScope) AllValues() []ListOrgPeopleScope
AllValues returns all ListOrgPeopleScope values.
func (ListOrgPeopleScope) MarshalText ¶ added in v0.11.3
func (s ListOrgPeopleScope) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListOrgPeopleScope) UnmarshalText ¶ added in v0.11.3
func (s *ListOrgPeopleScope) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListOrgPeopleScope) Validate ¶ added in v0.11.3
func (s ListOrgPeopleScope) Validate() error
type ListOrgPeopleSort ¶ added in v0.11.4
type ListOrgPeopleSort string
Sort column, name when omitted. name orders by public display name, else GitHub handle; people without either come last. role orders by membership role, owner first, then by name; collaborators come last. status orders active, pending, inactive, then people without a membership. joined orders by membership creation, oldest first; people without a membership come last.
const ( ListOrgPeopleSortName ListOrgPeopleSort = "name" ListOrgPeopleSortRole ListOrgPeopleSort = "role" ListOrgPeopleSortStatus ListOrgPeopleSort = "status" ListOrgPeopleSortJoined ListOrgPeopleSort = "joined" )
func (ListOrgPeopleSort) AllValues ¶ added in v0.11.4
func (ListOrgPeopleSort) AllValues() []ListOrgPeopleSort
AllValues returns all ListOrgPeopleSort values.
func (ListOrgPeopleSort) MarshalText ¶ added in v0.11.4
func (s ListOrgPeopleSort) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListOrgPeopleSort) UnmarshalText ¶ added in v0.11.4
func (s *ListOrgPeopleSort) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListOrgPeopleSort) Validate ¶ added in v0.11.4
func (s ListOrgPeopleSort) Validate() error
type ListOrgPeopleStatus ¶ added in v0.11.3
type ListOrgPeopleStatus string
Direct membership status; collaborators have no membership status.
const ( ListOrgPeopleStatusActive ListOrgPeopleStatus = "active" ListOrgPeopleStatusInactive ListOrgPeopleStatus = "inactive" ListOrgPeopleStatusPending ListOrgPeopleStatus = "pending" )
func (ListOrgPeopleStatus) AllValues ¶ added in v0.11.3
func (ListOrgPeopleStatus) AllValues() []ListOrgPeopleStatus
AllValues returns all ListOrgPeopleStatus values.
func (ListOrgPeopleStatus) MarshalText ¶ added in v0.11.3
func (s ListOrgPeopleStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListOrgPeopleStatus) UnmarshalText ¶ added in v0.11.3
func (s *ListOrgPeopleStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListOrgPeopleStatus) Validate ¶ added in v0.11.3
func (s ListOrgPeopleStatus) Validate() error
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"`
// Deprecated: exact org name among the caller's own orgs, case-insensitive. List orgs and match
// client-side instead.
Name OptString `json:",omitempty,omitzero"`
IfNoneMatch OptString `json:",omitempty,omitzero"`
// Optional: opaque commit token from an org create or delete, to read at a snapshot that contains
// that write. Applies to both the name lookup and the page.
CommitToken OptString `json:",omitempty,omitzero"`
}
ListOrgsParams is parameters of listOrgs operation.
type ListPluginInstallationsOutputBody ¶ added in v0.11.4
type ListPluginInstallationsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Items []PluginInstallationView `json:"items"`
AdditionalProps ListPluginInstallationsOutputBodyAdditional
}
Ref: #/components/schemas/ListPluginInstallationsOutputBody
func (*ListPluginInstallationsOutputBody) Decode ¶ added in v0.11.4
func (s *ListPluginInstallationsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListPluginInstallationsOutputBody from json.
func (*ListPluginInstallationsOutputBody) Encode ¶ added in v0.11.4
func (s *ListPluginInstallationsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListPluginInstallationsOutputBody) GetAdditionalProps ¶ added in v0.11.4
func (s *ListPluginInstallationsOutputBody) GetAdditionalProps() ListPluginInstallationsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListPluginInstallationsOutputBody) GetItems ¶ added in v0.11.4
func (s *ListPluginInstallationsOutputBody) GetItems() []PluginInstallationView
GetItems returns the value of Items.
func (*ListPluginInstallationsOutputBody) GetSchema ¶ added in v0.11.4
func (s *ListPluginInstallationsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListPluginInstallationsOutputBody) MarshalJSON ¶ added in v0.11.4
func (s *ListPluginInstallationsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListPluginInstallationsOutputBody) SetAdditionalProps ¶ added in v0.11.4
func (s *ListPluginInstallationsOutputBody) SetAdditionalProps(val ListPluginInstallationsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListPluginInstallationsOutputBody) SetItems ¶ added in v0.11.4
func (s *ListPluginInstallationsOutputBody) SetItems(val []PluginInstallationView)
SetItems sets the value of Items.
func (*ListPluginInstallationsOutputBody) SetSchema ¶ added in v0.11.4
func (s *ListPluginInstallationsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListPluginInstallationsOutputBody) UnmarshalJSON ¶ added in v0.11.4
func (s *ListPluginInstallationsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListPluginInstallationsOutputBody) Validate ¶ added in v0.11.4
func (s *ListPluginInstallationsOutputBody) Validate() error
type ListPluginInstallationsOutputBodyAdditional ¶ added in v0.11.4
func (*ListPluginInstallationsOutputBodyAdditional) Decode ¶ added in v0.11.4
func (s *ListPluginInstallationsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListPluginInstallationsOutputBodyAdditional from json.
func (ListPluginInstallationsOutputBodyAdditional) Encode ¶ added in v0.11.4
func (s ListPluginInstallationsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListPluginInstallationsOutputBodyAdditional) MarshalJSON ¶ added in v0.11.4
func (s ListPluginInstallationsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListPluginInstallationsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.4
func (s *ListPluginInstallationsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListPluginInstallationsParams ¶ added in v0.11.4
type ListPluginInstallationsParams struct {
// Plugin installation profile.
Plugin string
// Entire org.
OrgID OptString `json:",omitempty,omitzero"`
// Entire project.
ProjectID OptString `json:",omitempty,omitzero"`
}
ListPluginInstallationsParams is parameters of listPluginInstallations operation.
type ListProjectCollaboratorsOutputBody ¶ added in v0.11.4
type ListProjectCollaboratorsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Collaborators []ProjectCollaborator `json:"collaborators"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
AdditionalProps ListProjectCollaboratorsOutputBodyAdditional
}
Ref: #/components/schemas/ListProjectCollaboratorsOutputBody
func (*ListProjectCollaboratorsOutputBody) Decode ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListProjectCollaboratorsOutputBody from json.
func (*ListProjectCollaboratorsOutputBody) Encode ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListProjectCollaboratorsOutputBody) GetAdditionalProps ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBody) GetAdditionalProps() ListProjectCollaboratorsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListProjectCollaboratorsOutputBody) GetCollaborators ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBody) GetCollaborators() []ProjectCollaborator
GetCollaborators returns the value of Collaborators.
func (*ListProjectCollaboratorsOutputBody) GetNextPageToken ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListProjectCollaboratorsOutputBody) GetSchema ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListProjectCollaboratorsOutputBody) MarshalJSON ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListProjectCollaboratorsOutputBody) SetAdditionalProps ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBody) SetAdditionalProps(val ListProjectCollaboratorsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListProjectCollaboratorsOutputBody) SetCollaborators ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBody) SetCollaborators(val []ProjectCollaborator)
SetCollaborators sets the value of Collaborators.
func (*ListProjectCollaboratorsOutputBody) SetNextPageToken ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListProjectCollaboratorsOutputBody) SetSchema ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListProjectCollaboratorsOutputBody) UnmarshalJSON ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListProjectCollaboratorsOutputBody) Validate ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBody) Validate() error
type ListProjectCollaboratorsOutputBodyAdditional ¶ added in v0.11.4
func (*ListProjectCollaboratorsOutputBodyAdditional) Decode ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListProjectCollaboratorsOutputBodyAdditional from json.
func (ListProjectCollaboratorsOutputBodyAdditional) Encode ¶ added in v0.11.4
func (s ListProjectCollaboratorsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListProjectCollaboratorsOutputBodyAdditional) MarshalJSON ¶ added in v0.11.4
func (s ListProjectCollaboratorsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListProjectCollaboratorsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListProjectCollaboratorsOutputBodyHeaders ¶ added in v0.11.4
type ListProjectCollaboratorsOutputBodyHeaders struct {
CacheControl OptString
Response ListProjectCollaboratorsOutputBody
}
ListProjectCollaboratorsOutputBodyHeaders wraps ListProjectCollaboratorsOutputBody with response headers.
func (*ListProjectCollaboratorsOutputBodyHeaders) GetCacheControl ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBodyHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*ListProjectCollaboratorsOutputBodyHeaders) GetResponse ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBodyHeaders) GetResponse() ListProjectCollaboratorsOutputBody
GetResponse returns the value of Response.
func (*ListProjectCollaboratorsOutputBodyHeaders) SetCacheControl ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBodyHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*ListProjectCollaboratorsOutputBodyHeaders) SetResponse ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBodyHeaders) SetResponse(val ListProjectCollaboratorsOutputBody)
SetResponse sets the value of Response.
func (*ListProjectCollaboratorsOutputBodyHeaders) Validate ¶ added in v0.11.4
func (s *ListProjectCollaboratorsOutputBodyHeaders) Validate() error
type ListProjectCollaboratorsParams ¶ added in v0.11.4
type ListProjectCollaboratorsParams 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 repository placement ID owned by this project. Adds people granted on that logical
// repository.
RepoId OptString `json:",omitempty,omitzero"`
// Case-insensitive substring of account ID, active public handle, or public display name.
Search OptString `json:",omitempty,omitzero"`
}
ListProjectCollaboratorsParams is parameters of listProjectCollaborators 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 ListProjectPeopleOrder ¶ added in v0.11.4
type ListProjectPeopleOrder string
Asc (default) or desc. desc reverses the order, but people without a name stay last on the name and handle sorts.
const ( ListProjectPeopleOrderAsc ListProjectPeopleOrder = "asc" ListProjectPeopleOrderDesc ListProjectPeopleOrder = "desc" )
func (ListProjectPeopleOrder) AllValues ¶ added in v0.11.4
func (ListProjectPeopleOrder) AllValues() []ListProjectPeopleOrder
AllValues returns all ListProjectPeopleOrder values.
func (ListProjectPeopleOrder) MarshalText ¶ added in v0.11.4
func (s ListProjectPeopleOrder) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListProjectPeopleOrder) UnmarshalText ¶ added in v0.11.4
func (s *ListProjectPeopleOrder) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListProjectPeopleOrder) Validate ¶ added in v0.11.4
func (s ListProjectPeopleOrder) Validate() error
type ListProjectPeopleParams ¶ added in v0.11.3
type ListProjectPeopleParams 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"`
// Case-insensitive substring of account ID, public handle, or public display name.
Search OptString `json:",omitempty,omitzero"`
// Exact effective role on the selected resource.
Role OptListProjectPeopleRole `json:",omitempty,omitzero"`
// Sort column, name when omitted. name orders by public display name, else GitHub handle; people
// without either come last. handle orders by GitHub handle ignoring case, people without one last.
// role orders strongest first, then by name. access orders by the listed sources, then by name.
Sort OptListProjectPeopleSort `json:",omitempty,omitzero"`
// Asc (default) or desc. desc reverses the order, but people without a name stay last on the name
// and handle sorts.
Order OptListProjectPeopleOrder `json:",omitempty,omitzero"`
ProjectId string
}
ListProjectPeopleParams is parameters of listProjectPeople operation.
type ListProjectPeopleRole ¶ added in v0.11.3
type ListProjectPeopleRole string
Exact effective role on the selected resource.
const ( ListProjectPeopleRoleOwner ListProjectPeopleRole = "owner" ListProjectPeopleRoleAdmin ListProjectPeopleRole = "admin" ListProjectPeopleRoleMember ListProjectPeopleRole = "member" ListProjectPeopleRoleReader ListProjectPeopleRole = "reader" ListProjectPeopleRoleWriter ListProjectPeopleRole = "writer" ListProjectPeopleRoleMirrorSourceAdmin ListProjectPeopleRole = "mirror_source_admin" )
func (ListProjectPeopleRole) AllValues ¶ added in v0.11.3
func (ListProjectPeopleRole) AllValues() []ListProjectPeopleRole
AllValues returns all ListProjectPeopleRole values.
func (ListProjectPeopleRole) MarshalText ¶ added in v0.11.3
func (s ListProjectPeopleRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListProjectPeopleRole) UnmarshalText ¶ added in v0.11.3
func (s *ListProjectPeopleRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListProjectPeopleRole) Validate ¶ added in v0.11.3
func (s ListProjectPeopleRole) Validate() error
type ListProjectPeopleSort ¶ added in v0.11.4
type ListProjectPeopleSort string
Sort column, name when omitted. name orders by public display name, else GitHub handle; people without either come last. handle orders by GitHub handle ignoring case, people without one last. role orders strongest first, then by name. access orders by the listed sources, then by name.
const ( ListProjectPeopleSortName ListProjectPeopleSort = "name" ListProjectPeopleSortHandle ListProjectPeopleSort = "handle" ListProjectPeopleSortRole ListProjectPeopleSort = "role" ListProjectPeopleSortAccess ListProjectPeopleSort = "access" )
func (ListProjectPeopleSort) AllValues ¶ added in v0.11.4
func (ListProjectPeopleSort) AllValues() []ListProjectPeopleSort
AllValues returns all ListProjectPeopleSort values.
func (ListProjectPeopleSort) MarshalText ¶ added in v0.11.4
func (s ListProjectPeopleSort) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListProjectPeopleSort) UnmarshalText ¶ added in v0.11.4
func (s *ListProjectPeopleSort) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListProjectPeopleSort) Validate ¶ added in v0.11.4
func (s ListProjectPeopleSort) Validate() error
type ListProjectReposOutputBody ¶
type ListProjectReposOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
CandidatesIncomplete OptBool `json:"candidatesIncomplete"`
// 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) GetCandidatesIncomplete ¶ added in v0.11.4
func (s *ListProjectReposOutputBody) GetCandidatesIncomplete() OptBool
GetCandidatesIncomplete returns the value of CandidatesIncomplete.
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) SetCandidatesIncomplete ¶ added in v0.11.4
func (s *ListProjectReposOutputBody) SetCandidatesIncomplete(val OptBool)
SetCandidatesIncomplete sets the value of CandidatesIncomplete.
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.
func (*ListProjectReposOutputBody) Validate ¶
func (s *ListProjectReposOutputBody) Validate() error
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"`
// Onboarded (default): the project's repos in Entire. all: also lists the GitHub owner's unmirrored
// repos that the caller can access on GitHub, after all published repos. Only a GitHub mirrors
// project has such repos. Ignored when name is set.
Scope OptListProjectReposScope `json:",omitempty,omitzero"`
// Optional: opaque commit token from a create, to read a snapshot that contains that write.
CommitToken OptString `json:",omitempty,omitzero"`
}
ListProjectReposParams is parameters of listProjectRepos operation.
type ListProjectReposScope ¶ added in v0.11.4
type ListProjectReposScope string
Onboarded (default): the project's repos in Entire. all: also lists the GitHub owner's unmirrored repos that the caller can access on GitHub, after all published repos. Only a GitHub mirrors project has such repos. Ignored when name is set.
const ( ListProjectReposScopeOnboarded ListProjectReposScope = "onboarded" ListProjectReposScopeAll ListProjectReposScope = "all" )
func (ListProjectReposScope) AllValues ¶ added in v0.11.4
func (ListProjectReposScope) AllValues() []ListProjectReposScope
AllValues returns all ListProjectReposScope values.
func (ListProjectReposScope) MarshalText ¶ added in v0.11.4
func (s ListProjectReposScope) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListProjectReposScope) UnmarshalText ¶ added in v0.11.4
func (s *ListProjectReposScope) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListProjectReposScope) Validate ¶ added in v0.11.4
func (s ListProjectReposScope) Validate() error
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"`
// Optional: opaque commit token from a project create or delete, to list at a snapshot that contains
// that write. Ignored when name is set.
CommitToken OptString `json:",omitempty,omitzero"`
}
ListProjectsParams is parameters of listProjects operation.
type ListRepoCIBuildsOutputBody ¶ added in v0.11.0
type ListRepoCIBuildsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Builds []CIBuildView `json:"builds"`
AdditionalProps ListRepoCIBuildsOutputBodyAdditional
}
Ref: #/components/schemas/ListRepoCIBuildsOutputBody
func (*ListRepoCIBuildsOutputBody) Decode ¶ added in v0.11.0
func (s *ListRepoCIBuildsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListRepoCIBuildsOutputBody from json.
func (*ListRepoCIBuildsOutputBody) Encode ¶ added in v0.11.0
func (s *ListRepoCIBuildsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListRepoCIBuildsOutputBody) GetAdditionalProps ¶ added in v0.11.0
func (s *ListRepoCIBuildsOutputBody) GetAdditionalProps() ListRepoCIBuildsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListRepoCIBuildsOutputBody) GetBuilds ¶ added in v0.11.0
func (s *ListRepoCIBuildsOutputBody) GetBuilds() []CIBuildView
GetBuilds returns the value of Builds.
func (*ListRepoCIBuildsOutputBody) GetSchema ¶ added in v0.11.0
func (s *ListRepoCIBuildsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListRepoCIBuildsOutputBody) MarshalJSON ¶ added in v0.11.0
func (s *ListRepoCIBuildsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListRepoCIBuildsOutputBody) SetAdditionalProps ¶ added in v0.11.0
func (s *ListRepoCIBuildsOutputBody) SetAdditionalProps(val ListRepoCIBuildsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListRepoCIBuildsOutputBody) SetBuilds ¶ added in v0.11.0
func (s *ListRepoCIBuildsOutputBody) SetBuilds(val []CIBuildView)
SetBuilds sets the value of Builds.
func (*ListRepoCIBuildsOutputBody) SetSchema ¶ added in v0.11.0
func (s *ListRepoCIBuildsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListRepoCIBuildsOutputBody) UnmarshalJSON ¶ added in v0.11.0
func (s *ListRepoCIBuildsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListRepoCIBuildsOutputBody) Validate ¶ added in v0.11.0
func (s *ListRepoCIBuildsOutputBody) Validate() error
type ListRepoCIBuildsOutputBodyAdditional ¶ added in v0.11.0
func (*ListRepoCIBuildsOutputBodyAdditional) Decode ¶ added in v0.11.0
func (s *ListRepoCIBuildsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListRepoCIBuildsOutputBodyAdditional from json.
func (ListRepoCIBuildsOutputBodyAdditional) Encode ¶ added in v0.11.0
func (s ListRepoCIBuildsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListRepoCIBuildsOutputBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s ListRepoCIBuildsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListRepoCIBuildsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *ListRepoCIBuildsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListRepoCIBuildsParams ¶ added in v0.11.0
type ListRepoCIBuildsParams struct {
RepoId string
Commit OptString `json:",omitempty,omitzero"`
Pipeline OptString `json:",omitempty,omitzero"`
BuildNumber OptInt64 `json:",omitempty,omitzero"`
Limit OptInt64 `json:",omitempty,omitzero"`
}
ListRepoCIBuildsParams is parameters of listRepoCIBuilds operation.
type ListRepoCIDeliveriesDirection ¶ added in v0.11.3
type ListRepoCIDeliveriesDirection string
const ( ListRepoCIDeliveriesDirectionOutbound ListRepoCIDeliveriesDirection = "outbound" ListRepoCIDeliveriesDirectionInbound ListRepoCIDeliveriesDirection = "inbound" )
func (ListRepoCIDeliveriesDirection) AllValues ¶ added in v0.11.3
func (ListRepoCIDeliveriesDirection) AllValues() []ListRepoCIDeliveriesDirection
AllValues returns all ListRepoCIDeliveriesDirection values.
func (ListRepoCIDeliveriesDirection) MarshalText ¶ added in v0.11.3
func (s ListRepoCIDeliveriesDirection) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListRepoCIDeliveriesDirection) UnmarshalText ¶ added in v0.11.3
func (s *ListRepoCIDeliveriesDirection) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListRepoCIDeliveriesDirection) Validate ¶ added in v0.11.3
func (s ListRepoCIDeliveriesDirection) Validate() error
type ListRepoCIDeliveriesOutputBody ¶ added in v0.11.3
type ListRepoCIDeliveriesOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Deliveries []CIDeliveryView `json:"deliveries"`
AdditionalProps ListRepoCIDeliveriesOutputBodyAdditional
}
Ref: #/components/schemas/ListRepoCIDeliveriesOutputBody
func (*ListRepoCIDeliveriesOutputBody) Decode ¶ added in v0.11.3
func (s *ListRepoCIDeliveriesOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListRepoCIDeliveriesOutputBody from json.
func (*ListRepoCIDeliveriesOutputBody) Encode ¶ added in v0.11.3
func (s *ListRepoCIDeliveriesOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListRepoCIDeliveriesOutputBody) GetAdditionalProps ¶ added in v0.11.3
func (s *ListRepoCIDeliveriesOutputBody) GetAdditionalProps() ListRepoCIDeliveriesOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListRepoCIDeliveriesOutputBody) GetDeliveries ¶ added in v0.11.3
func (s *ListRepoCIDeliveriesOutputBody) GetDeliveries() []CIDeliveryView
GetDeliveries returns the value of Deliveries.
func (*ListRepoCIDeliveriesOutputBody) GetSchema ¶ added in v0.11.3
func (s *ListRepoCIDeliveriesOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListRepoCIDeliveriesOutputBody) MarshalJSON ¶ added in v0.11.3
func (s *ListRepoCIDeliveriesOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListRepoCIDeliveriesOutputBody) SetAdditionalProps ¶ added in v0.11.3
func (s *ListRepoCIDeliveriesOutputBody) SetAdditionalProps(val ListRepoCIDeliveriesOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListRepoCIDeliveriesOutputBody) SetDeliveries ¶ added in v0.11.3
func (s *ListRepoCIDeliveriesOutputBody) SetDeliveries(val []CIDeliveryView)
SetDeliveries sets the value of Deliveries.
func (*ListRepoCIDeliveriesOutputBody) SetSchema ¶ added in v0.11.3
func (s *ListRepoCIDeliveriesOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListRepoCIDeliveriesOutputBody) UnmarshalJSON ¶ added in v0.11.3
func (s *ListRepoCIDeliveriesOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListRepoCIDeliveriesOutputBody) Validate ¶ added in v0.11.3
func (s *ListRepoCIDeliveriesOutputBody) Validate() error
type ListRepoCIDeliveriesOutputBodyAdditional ¶ added in v0.11.3
func (*ListRepoCIDeliveriesOutputBodyAdditional) Decode ¶ added in v0.11.3
func (s *ListRepoCIDeliveriesOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListRepoCIDeliveriesOutputBodyAdditional from json.
func (ListRepoCIDeliveriesOutputBodyAdditional) Encode ¶ added in v0.11.3
func (s ListRepoCIDeliveriesOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListRepoCIDeliveriesOutputBodyAdditional) MarshalJSON ¶ added in v0.11.3
func (s ListRepoCIDeliveriesOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListRepoCIDeliveriesOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *ListRepoCIDeliveriesOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListRepoCIDeliveriesParams ¶ added in v0.11.3
type ListRepoCIDeliveriesParams struct {
RepoId string
Direction OptListRepoCIDeliveriesDirection `json:",omitempty,omitzero"`
Limit OptInt64 `json:",omitempty,omitzero"`
}
ListRepoCIDeliveriesParams is parameters of listRepoCIDeliveries operation.
type ListRepoCIProvidersOutputBody ¶ added in v0.11.0
type ListRepoCIProvidersOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Providers []CIProviderDescriptor `json:"providers"`
AdditionalProps ListRepoCIProvidersOutputBodyAdditional
}
Ref: #/components/schemas/ListRepoCIProvidersOutputBody
func (*ListRepoCIProvidersOutputBody) Decode ¶ added in v0.11.0
func (s *ListRepoCIProvidersOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListRepoCIProvidersOutputBody from json.
func (*ListRepoCIProvidersOutputBody) Encode ¶ added in v0.11.0
func (s *ListRepoCIProvidersOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListRepoCIProvidersOutputBody) GetAdditionalProps ¶ added in v0.11.0
func (s *ListRepoCIProvidersOutputBody) GetAdditionalProps() ListRepoCIProvidersOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListRepoCIProvidersOutputBody) GetProviders ¶ added in v0.11.0
func (s *ListRepoCIProvidersOutputBody) GetProviders() []CIProviderDescriptor
GetProviders returns the value of Providers.
func (*ListRepoCIProvidersOutputBody) GetSchema ¶ added in v0.11.0
func (s *ListRepoCIProvidersOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListRepoCIProvidersOutputBody) MarshalJSON ¶ added in v0.11.0
func (s *ListRepoCIProvidersOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListRepoCIProvidersOutputBody) SetAdditionalProps ¶ added in v0.11.0
func (s *ListRepoCIProvidersOutputBody) SetAdditionalProps(val ListRepoCIProvidersOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListRepoCIProvidersOutputBody) SetProviders ¶ added in v0.11.0
func (s *ListRepoCIProvidersOutputBody) SetProviders(val []CIProviderDescriptor)
SetProviders sets the value of Providers.
func (*ListRepoCIProvidersOutputBody) SetSchema ¶ added in v0.11.0
func (s *ListRepoCIProvidersOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListRepoCIProvidersOutputBody) UnmarshalJSON ¶ added in v0.11.0
func (s *ListRepoCIProvidersOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListRepoCIProvidersOutputBody) Validate ¶ added in v0.11.0
func (s *ListRepoCIProvidersOutputBody) Validate() error
type ListRepoCIProvidersOutputBodyAdditional ¶ added in v0.11.0
func (*ListRepoCIProvidersOutputBodyAdditional) Decode ¶ added in v0.11.0
func (s *ListRepoCIProvidersOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListRepoCIProvidersOutputBodyAdditional from json.
func (ListRepoCIProvidersOutputBodyAdditional) Encode ¶ added in v0.11.0
func (s ListRepoCIProvidersOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListRepoCIProvidersOutputBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s ListRepoCIProvidersOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListRepoCIProvidersOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *ListRepoCIProvidersOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListRepoCIProvidersParams ¶ added in v0.11.0
type ListRepoCIProvidersParams struct {
RepoId string
}
ListRepoCIProvidersParams is parameters of listRepoCIProviders operation.
type ListRepoCIWebhookAuditOutputBody ¶ added in v0.11.0
type ListRepoCIWebhookAuditOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Events []CIWebhookAuditEventView `json:"events"`
AdditionalProps ListRepoCIWebhookAuditOutputBodyAdditional
}
Ref: #/components/schemas/ListRepoCIWebhookAuditOutputBody
func (*ListRepoCIWebhookAuditOutputBody) Decode ¶ added in v0.11.0
func (s *ListRepoCIWebhookAuditOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListRepoCIWebhookAuditOutputBody from json.
func (*ListRepoCIWebhookAuditOutputBody) Encode ¶ added in v0.11.0
func (s *ListRepoCIWebhookAuditOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListRepoCIWebhookAuditOutputBody) GetAdditionalProps ¶ added in v0.11.0
func (s *ListRepoCIWebhookAuditOutputBody) GetAdditionalProps() ListRepoCIWebhookAuditOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListRepoCIWebhookAuditOutputBody) GetEvents ¶ added in v0.11.0
func (s *ListRepoCIWebhookAuditOutputBody) GetEvents() []CIWebhookAuditEventView
GetEvents returns the value of Events.
func (*ListRepoCIWebhookAuditOutputBody) GetSchema ¶ added in v0.11.0
func (s *ListRepoCIWebhookAuditOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListRepoCIWebhookAuditOutputBody) MarshalJSON ¶ added in v0.11.0
func (s *ListRepoCIWebhookAuditOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListRepoCIWebhookAuditOutputBody) SetAdditionalProps ¶ added in v0.11.0
func (s *ListRepoCIWebhookAuditOutputBody) SetAdditionalProps(val ListRepoCIWebhookAuditOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListRepoCIWebhookAuditOutputBody) SetEvents ¶ added in v0.11.0
func (s *ListRepoCIWebhookAuditOutputBody) SetEvents(val []CIWebhookAuditEventView)
SetEvents sets the value of Events.
func (*ListRepoCIWebhookAuditOutputBody) SetSchema ¶ added in v0.11.0
func (s *ListRepoCIWebhookAuditOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListRepoCIWebhookAuditOutputBody) UnmarshalJSON ¶ added in v0.11.0
func (s *ListRepoCIWebhookAuditOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListRepoCIWebhookAuditOutputBody) Validate ¶ added in v0.11.0
func (s *ListRepoCIWebhookAuditOutputBody) Validate() error
type ListRepoCIWebhookAuditOutputBodyAdditional ¶ added in v0.11.0
func (*ListRepoCIWebhookAuditOutputBodyAdditional) Decode ¶ added in v0.11.0
func (s *ListRepoCIWebhookAuditOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListRepoCIWebhookAuditOutputBodyAdditional from json.
func (ListRepoCIWebhookAuditOutputBodyAdditional) Encode ¶ added in v0.11.0
func (s ListRepoCIWebhookAuditOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListRepoCIWebhookAuditOutputBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s ListRepoCIWebhookAuditOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListRepoCIWebhookAuditOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *ListRepoCIWebhookAuditOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListRepoCIWebhookAuditParams ¶ added in v0.11.0
type ListRepoCIWebhookAuditParams struct {
RepoId string
EventType OptString `json:",omitempty,omitzero"`
Limit OptInt64 `json:",omitempty,omitzero"`
Offset OptInt64 `json:",omitempty,omitzero"`
}
ListRepoCIWebhookAuditParams is parameters of listRepoCIWebhookAudit 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 ListRepoCollaboratorsOutputBody ¶ added in v0.11.0
type ListRepoCollaboratorsOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Collaborators []RepoCollaborator `json:"collaborators"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
AdditionalProps ListRepoCollaboratorsOutputBodyAdditional
}
Ref: #/components/schemas/ListRepoCollaboratorsOutputBody
func (*ListRepoCollaboratorsOutputBody) Decode ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBody) Decode(d *jx.Decoder) error
Decode decodes ListRepoCollaboratorsOutputBody from json.
func (*ListRepoCollaboratorsOutputBody) Encode ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ListRepoCollaboratorsOutputBody) GetAdditionalProps ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBody) GetAdditionalProps() ListRepoCollaboratorsOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ListRepoCollaboratorsOutputBody) GetCollaborators ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBody) GetCollaborators() []RepoCollaborator
GetCollaborators returns the value of Collaborators.
func (*ListRepoCollaboratorsOutputBody) GetNextPageToken ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ListRepoCollaboratorsOutputBody) GetSchema ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ListRepoCollaboratorsOutputBody) MarshalJSON ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListRepoCollaboratorsOutputBody) SetAdditionalProps ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBody) SetAdditionalProps(val ListRepoCollaboratorsOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ListRepoCollaboratorsOutputBody) SetCollaborators ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBody) SetCollaborators(val []RepoCollaborator)
SetCollaborators sets the value of Collaborators.
func (*ListRepoCollaboratorsOutputBody) SetNextPageToken ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ListRepoCollaboratorsOutputBody) SetSchema ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ListRepoCollaboratorsOutputBody) UnmarshalJSON ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ListRepoCollaboratorsOutputBody) Validate ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBody) Validate() error
type ListRepoCollaboratorsOutputBodyAdditional ¶ added in v0.11.0
func (*ListRepoCollaboratorsOutputBodyAdditional) Decode ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ListRepoCollaboratorsOutputBodyAdditional from json.
func (ListRepoCollaboratorsOutputBodyAdditional) Encode ¶ added in v0.11.0
func (s ListRepoCollaboratorsOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ListRepoCollaboratorsOutputBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s ListRepoCollaboratorsOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ListRepoCollaboratorsOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *ListRepoCollaboratorsOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ListRepoCollaboratorsParams ¶ added in v0.11.0
type ListRepoCollaboratorsParams 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
}
ListRepoCollaboratorsParams is parameters of listRepoCollaborators 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 ListRepoLanguageFacetsParams ¶ added in v0.11.0
type ListRepoLanguageFacetsParams struct {
// Maximum facet values to return.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
// Case-insensitive substring match over facet values.
Q OptString `json:",omitempty,omitzero"`
}
ListRepoLanguageFacetsParams is parameters of listRepoLanguageFacets operation.
type ListRepoOrgFacetsParams ¶ added in v0.11.0
type ListRepoOrgFacetsParams struct {
// Maximum facet values to return.
PageSize OptInt32 `json:",omitempty,omitzero"`
// Opaque cursor from a previous response's nextPageToken.
PageToken OptString `json:",omitempty,omitzero"`
// Case-insensitive substring match over facet values.
Q OptString `json:",omitempty,omitzero"`
}
ListRepoOrgFacetsParams is parameters of listRepoOrgFacets operation.
type ListRepoPeopleOrder ¶ added in v0.11.4
type ListRepoPeopleOrder string
Asc (default) or desc. desc reverses the order, but people without a name stay last on the name and handle sorts.
const ( ListRepoPeopleOrderAsc ListRepoPeopleOrder = "asc" ListRepoPeopleOrderDesc ListRepoPeopleOrder = "desc" )
func (ListRepoPeopleOrder) AllValues ¶ added in v0.11.4
func (ListRepoPeopleOrder) AllValues() []ListRepoPeopleOrder
AllValues returns all ListRepoPeopleOrder values.
func (ListRepoPeopleOrder) MarshalText ¶ added in v0.11.4
func (s ListRepoPeopleOrder) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListRepoPeopleOrder) UnmarshalText ¶ added in v0.11.4
func (s *ListRepoPeopleOrder) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListRepoPeopleOrder) Validate ¶ added in v0.11.4
func (s ListRepoPeopleOrder) Validate() error
type ListRepoPeopleParams ¶ added in v0.11.3
type ListRepoPeopleParams 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"`
// Case-insensitive substring of account ID, public handle, or public display name.
Search OptString `json:",omitempty,omitzero"`
// Exact effective role on the selected resource.
Role OptListRepoPeopleRole `json:",omitempty,omitzero"`
// Sort column, name when omitted. name orders by public display name, else GitHub handle; people
// without either come last. handle orders by GitHub handle ignoring case, people without one last.
// role orders strongest first, then by name. access orders by the listed sources, then by name.
Sort OptListRepoPeopleSort `json:",omitempty,omitzero"`
// Asc (default) or desc. desc reverses the order, but people without a name stay last on the name
// and handle sorts.
Order OptListRepoPeopleOrder `json:",omitempty,omitzero"`
RepoId string
}
ListRepoPeopleParams is parameters of listRepoPeople operation.
type ListRepoPeopleRole ¶ added in v0.11.3
type ListRepoPeopleRole string
Exact effective role on the selected resource.
const ( ListRepoPeopleRoleOwner ListRepoPeopleRole = "owner" ListRepoPeopleRoleAdmin ListRepoPeopleRole = "admin" ListRepoPeopleRoleMember ListRepoPeopleRole = "member" ListRepoPeopleRoleReader ListRepoPeopleRole = "reader" ListRepoPeopleRoleWriter ListRepoPeopleRole = "writer" ListRepoPeopleRoleMirrorSourceAdmin ListRepoPeopleRole = "mirror_source_admin" )
func (ListRepoPeopleRole) AllValues ¶ added in v0.11.3
func (ListRepoPeopleRole) AllValues() []ListRepoPeopleRole
AllValues returns all ListRepoPeopleRole values.
func (ListRepoPeopleRole) MarshalText ¶ added in v0.11.3
func (s ListRepoPeopleRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListRepoPeopleRole) UnmarshalText ¶ added in v0.11.3
func (s *ListRepoPeopleRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListRepoPeopleRole) Validate ¶ added in v0.11.3
func (s ListRepoPeopleRole) Validate() error
type ListRepoPeopleSort ¶ added in v0.11.4
type ListRepoPeopleSort string
Sort column, name when omitted. name orders by public display name, else GitHub handle; people without either come last. handle orders by GitHub handle ignoring case, people without one last. role orders strongest first, then by name. access orders by the listed sources, then by name.
const ( ListRepoPeopleSortName ListRepoPeopleSort = "name" ListRepoPeopleSortHandle ListRepoPeopleSort = "handle" ListRepoPeopleSortRole ListRepoPeopleSort = "role" ListRepoPeopleSortAccess ListRepoPeopleSort = "access" )
func (ListRepoPeopleSort) AllValues ¶ added in v0.11.4
func (ListRepoPeopleSort) AllValues() []ListRepoPeopleSort
AllValues returns all ListRepoPeopleSort values.
func (ListRepoPeopleSort) MarshalText ¶ added in v0.11.4
func (s ListRepoPeopleSort) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListRepoPeopleSort) UnmarshalText ¶ added in v0.11.4
func (s *ListRepoPeopleSort) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListRepoPeopleSort) Validate ¶ added in v0.11.4
func (s ListRepoPeopleSort) Validate() error
type ListReposArchived ¶ added in v0.11.0
type ListReposArchived string
Filter on repo_facts.archived.
const ( ListReposArchivedTrue ListReposArchived = "true" ListReposArchivedFalse ListReposArchived = "false" )
func (ListReposArchived) AllValues ¶ added in v0.11.0
func (ListReposArchived) AllValues() []ListReposArchived
AllValues returns all ListReposArchived values.
func (ListReposArchived) MarshalText ¶ added in v0.11.0
func (s ListReposArchived) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListReposArchived) UnmarshalText ¶ added in v0.11.0
func (s *ListReposArchived) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListReposArchived) Validate ¶ added in v0.11.0
func (s ListReposArchived) Validate() error
type ListReposHasCheckpoints ¶ added in v0.11.0
type ListReposHasCheckpoints string
True: repo_facts.checkpoint_count > 0; false: no checkpoints (0 or unobserved).
const ( ListReposHasCheckpointsTrue ListReposHasCheckpoints = "true" ListReposHasCheckpointsFalse ListReposHasCheckpoints = "false" )
func (ListReposHasCheckpoints) AllValues ¶ added in v0.11.0
func (ListReposHasCheckpoints) AllValues() []ListReposHasCheckpoints
AllValues returns all ListReposHasCheckpoints values.
func (ListReposHasCheckpoints) MarshalText ¶ added in v0.11.0
func (s ListReposHasCheckpoints) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListReposHasCheckpoints) UnmarshalText ¶ added in v0.11.0
func (s *ListReposHasCheckpoints) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListReposHasCheckpoints) Validate ¶ added in v0.11.0
func (s ListReposHasCheckpoints) Validate() error
type ListReposOrder ¶ added in v0.11.0
type ListReposOrder string
Direction for a single bare sort key; defaults to asc. Ignored when sort carries per-key :asc/:desc suffixes. Encoded into the cursor (authoritative on continuation).
const ( ListReposOrderAsc ListReposOrder = "asc" ListReposOrderDesc ListReposOrder = "desc" )
func (ListReposOrder) AllValues ¶ added in v0.11.0
func (ListReposOrder) AllValues() []ListReposOrder
AllValues returns all ListReposOrder values.
func (ListReposOrder) MarshalText ¶ added in v0.11.0
func (s ListReposOrder) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListReposOrder) UnmarshalText ¶ added in v0.11.0
func (s *ListReposOrder) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListReposOrder) Validate ¶ added in v0.11.0
func (s ListReposOrder) Validate() error
type ListReposOutputBody ¶ added in v0.8.0
type ListReposOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
CandidatesIncomplete OptBool `json:"candidatesIncomplete"`
// 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) GetCandidatesIncomplete ¶ added in v0.11.0
func (s *ListReposOutputBody) GetCandidatesIncomplete() OptBool
GetCandidatesIncomplete returns the value of CandidatesIncomplete.
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) SetCandidatesIncomplete ¶ added in v0.11.0
func (s *ListReposOutputBody) SetCandidatesIncomplete(val OptBool)
SetCandidatesIncomplete sets the value of CandidatesIncomplete.
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: up to 100 comma-separated names: gh/owner/repo (GitHub only), et/project/repo
// (Entire-native only), or legacy owner/repo (both namespaces). Exact matching is case-insensitive;
// deduplication includes the forge. Unknown prefixes or malformed names return 400. Returns
// authorized onboarded repos with consolidated placements. Missing repos are omitted. Pagination,
// scope, and sorting are ignored; fact filters and projectId still apply. A single name remains
// supported.
Filter OptString `json:",omitempty,omitzero"`
// Optional: opaque commit token from a create, to read a snapshot that contains that write. Requires
// a single filter name. A non-empty token with multiple supplied names returns 400, including
// duplicate names.
CommitToken OptString `json:",omitempty,omitzero"`
// Multi-key sort spec, e.g. org:asc,stars:desc. Keys: name,org,language,candidacy,stars,forks,
// pushed_at,last_activity_at,last_pushed_at,activity_hotness,checkpoint_count,open_pr_count. A
// single bare key uses the order param. Encoded into the cursor (authoritative on continuation).
Sort OptString `json:",omitempty,omitzero"`
// Direction for a single bare sort key; defaults to asc. Ignored when sort carries per-key
// :asc/:desc suffixes. Encoded into the cursor (authoritative on continuation).
Order OptListReposOrder `json:",omitempty,omitzero"`
// Exact-match repo_facts.language. Also accepts language[eq]/language[ne] (bare is sugar for [eq]).
Language OptString `json:",omitempty,omitzero"`
// Filter on the observed repo_facts.private fact (public: private=false; private: private=true).
// Also accepts visibility[eq]/visibility[ne].
Visibility OptListReposVisibility `json:",omitempty,omitzero"`
// Filter on repo_facts.archived.
Archived OptListReposArchived `json:",omitempty,omitzero"`
// True: repo_facts.checkpoint_count > 0; false: no checkpoints (0 or unobserved).
HasCheckpoints OptListReposHasCheckpoints `json:",omitempty,omitzero"`
// Exact-match owner/project org (case-insensitive). Also accepts org[eq]/org[ne].
Org OptString `json:",omitempty,omitzero"`
// Literal case-insensitive substring match on the full name (owner/repo).
Q OptString `json:",omitempty,omitzero"`
// Exact-match owning project id (ULID). Also accepts projectId[eq]; projectId[ne] is rejected.
ProjectId OptString `json:",omitempty,omitzero"`
// Filter on placement/candidacy lifecycle. inactive requires scope=all. Also accepts
// status[eq]/status[ne].
Status OptListReposStatus `json:",omitempty,omitzero"`
// Minimum caller access tier: read (all), write (write+admin), or admin. Also accepts permission[eq];
// permission[ne] is rejected.
Permission OptListReposPermission `json:",omitempty,omitzero"`
}
ListReposParams is parameters of listRepos operation.
type ListReposPermission ¶ added in v0.11.0
type ListReposPermission string
Minimum caller access tier: read (all), write (write+admin), or admin. Also accepts permission[eq];
permission[ne] is rejected.
const ( ListReposPermissionRead ListReposPermission = "read" ListReposPermissionWrite ListReposPermission = "write" ListReposPermissionAdmin ListReposPermission = "admin" )
func (ListReposPermission) AllValues ¶ added in v0.11.0
func (ListReposPermission) AllValues() []ListReposPermission
AllValues returns all ListReposPermission values.
func (ListReposPermission) MarshalText ¶ added in v0.11.0
func (s ListReposPermission) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListReposPermission) UnmarshalText ¶ added in v0.11.0
func (s *ListReposPermission) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListReposPermission) Validate ¶ added in v0.11.0
func (s ListReposPermission) Validate() error
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 ListReposStatus ¶ added in v0.11.0
type ListReposStatus string
Filter on placement/candidacy lifecycle. inactive requires scope=all. Also accepts status[eq]/status[ne].
const ( ListReposStatusMirrored ListReposStatus = "mirrored" ListReposStatusProcessing ListReposStatus = "processing" ListReposStatusInactive ListReposStatus = "inactive" )
func (ListReposStatus) AllValues ¶ added in v0.11.0
func (ListReposStatus) AllValues() []ListReposStatus
AllValues returns all ListReposStatus values.
func (ListReposStatus) MarshalText ¶ added in v0.11.0
func (s ListReposStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListReposStatus) UnmarshalText ¶ added in v0.11.0
func (s *ListReposStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListReposStatus) Validate ¶ added in v0.11.0
func (s ListReposStatus) Validate() error
type ListReposVisibility ¶ added in v0.11.0
type ListReposVisibility string
Filter on the observed repo_facts.private fact (public: private=false; private: private=true). Also accepts visibility[eq]/visibility[ne].
const ( ListReposVisibilityPublic ListReposVisibility = "public" ListReposVisibilityPrivate ListReposVisibility = "private" )
func (ListReposVisibility) AllValues ¶ added in v0.11.0
func (ListReposVisibility) AllValues() []ListReposVisibility
AllValues returns all ListReposVisibility values.
func (ListReposVisibility) MarshalText ¶ added in v0.11.0
func (s ListReposVisibility) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ListReposVisibility) UnmarshalText ¶ added in v0.11.0
func (s *ListReposVisibility) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ListReposVisibility) Validate ¶ added in v0.11.0
func (s ListReposVisibility) 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 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 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"`
// The account-level Display Name: provider-asserted, not user-editable. Null until seeded. Distinct
// from regional.displayName, the free-editable provider-login mirror.
DisplayName OptString `json:"displayName"`
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) GetDisplayName ¶ added in v0.11.4
GetDisplayName returns the value of DisplayName.
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) SetDisplayName ¶ added in v0.11.4
SetDisplayName sets the value of DisplayName.
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"`
// browser link and not the console.
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"`
Handle OptString `json:"handle"`
ID string `json:"id"`
OrgId string `json:"orgId"`
Provider OptString `json:"provider"`
Role string `json:"role"`
// Membership lifecycle status.
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) GetHandle ¶ added in v0.11.0
func (s *Membership) GetHandle() OptString
GetHandle returns the value of Handle.
func (*Membership) GetOrgId ¶
func (s *Membership) GetOrgId() string
GetOrgId returns the value of OrgId.
func (*Membership) GetProvider ¶ added in v0.11.0
func (s *Membership) GetProvider() OptString
GetProvider returns the value of Provider.
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) SetHandle ¶ added in v0.11.0
func (s *Membership) SetHandle(val OptString)
SetHandle sets the value of Handle.
func (*Membership) SetOrgId ¶
func (s *Membership) SetOrgId(val string)
SetOrgId sets the value of OrgId.
func (*Membership) SetProvider ¶ added in v0.11.0
func (s *Membership) SetProvider(val OptString)
SetProvider sets the value of Provider.
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 MintOrgCIGitHubActionsCredentialInputBody ¶ added in v0.11.0
type MintOrgCIGitHubActionsCredentialInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// GitHub login (user or organization) whose webhooks this credential verifies.
Account string `json:"account"`
// GitHub API token for outbound workflow dispatch. Optional: omit for an inbound-only credential. On
// an existing github-actions row this stores/rotates the token instead of conflicting.
APIToken OptString `json:"api_token"`
AdditionalProps MintOrgCIGitHubActionsCredentialInputBodyAdditional
}
Ref: #/components/schemas/MintOrgCIGitHubActionsCredentialInputBody
func (*MintOrgCIGitHubActionsCredentialInputBody) Decode ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBody) Decode(d *jx.Decoder) error
Decode decodes MintOrgCIGitHubActionsCredentialInputBody from json.
func (*MintOrgCIGitHubActionsCredentialInputBody) Encode ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MintOrgCIGitHubActionsCredentialInputBody) GetAPIToken ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBody) GetAPIToken() OptString
GetAPIToken returns the value of APIToken.
func (*MintOrgCIGitHubActionsCredentialInputBody) GetAccount ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBody) GetAccount() string
GetAccount returns the value of Account.
func (*MintOrgCIGitHubActionsCredentialInputBody) GetAdditionalProps ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBody) GetAdditionalProps() MintOrgCIGitHubActionsCredentialInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*MintOrgCIGitHubActionsCredentialInputBody) GetSchema ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*MintOrgCIGitHubActionsCredentialInputBody) MarshalJSON ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MintOrgCIGitHubActionsCredentialInputBody) SetAPIToken ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBody) SetAPIToken(val OptString)
SetAPIToken sets the value of APIToken.
func (*MintOrgCIGitHubActionsCredentialInputBody) SetAccount ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBody) SetAccount(val string)
SetAccount sets the value of Account.
func (*MintOrgCIGitHubActionsCredentialInputBody) SetAdditionalProps ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBody) SetAdditionalProps(val MintOrgCIGitHubActionsCredentialInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*MintOrgCIGitHubActionsCredentialInputBody) SetSchema ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*MintOrgCIGitHubActionsCredentialInputBody) UnmarshalJSON ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MintOrgCIGitHubActionsCredentialInputBody) Validate ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBody) Validate() error
type MintOrgCIGitHubActionsCredentialInputBodyAdditional ¶ added in v0.11.0
func (*MintOrgCIGitHubActionsCredentialInputBodyAdditional) Decode ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes MintOrgCIGitHubActionsCredentialInputBodyAdditional from json.
func (MintOrgCIGitHubActionsCredentialInputBodyAdditional) Encode ¶ added in v0.11.0
func (s MintOrgCIGitHubActionsCredentialInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MintOrgCIGitHubActionsCredentialInputBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s MintOrgCIGitHubActionsCredentialInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MintOrgCIGitHubActionsCredentialInputBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *MintOrgCIGitHubActionsCredentialInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MintOrgCIGitHubActionsCredentialParams ¶ added in v0.11.0
type MintOrgCIGitHubActionsCredentialParams struct {
OrgId string
}
MintOrgCIGitHubActionsCredentialParams is parameters of mintOrgCIGitHubActionsCredential operation.
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"`
IsArchived OptBool `json:"isArchived"`
IsPrivate OptBool `json:"isPrivate"`
// True when this placement does its repo group's per-event work. Removing it is refused while other
// placements remain.
IsProcessingPrimary OptBool `json:"isProcessingPrimary"`
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) GetIsArchived ¶
GetIsArchived returns the value of IsArchived.
func (*Mirror) GetIsPrivate ¶
GetIsPrivate returns the value of IsPrivate.
func (*Mirror) GetIsProcessingPrimary ¶ added in v0.11.3
GetIsProcessingPrimary returns the value of IsProcessingPrimary.
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) SetIsArchived ¶
SetIsArchived sets the value of IsArchived.
func (*Mirror) SetIsPrivate ¶
SetIsPrivate sets the value of IsPrivate.
func (*Mirror) SetIsProcessingPrimary ¶ added in v0.11.3
SetIsProcessingPrimary sets the value of IsProcessingPrimary.
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 MirrorRequest ¶ added in v0.10.4
type MirrorRequest struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Failure OptMirrorRequestFailure `json:"failure"`
RequestId uuid.UUID `json:"requestId"`
Result OptMirrorRequestResult `json:"result"`
Status MirrorRequestStatus `json:"status"`
AdditionalProps MirrorRequestAdditional
}
Ref: #/components/schemas/MirrorRequest
func (*MirrorRequest) Decode ¶ added in v0.10.4
func (s *MirrorRequest) Decode(d *jx.Decoder) error
Decode decodes MirrorRequest from json.
func (*MirrorRequest) Encode ¶ added in v0.10.4
func (s *MirrorRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MirrorRequest) GetAdditionalProps ¶ added in v0.10.4
func (s *MirrorRequest) GetAdditionalProps() MirrorRequestAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*MirrorRequest) GetFailure ¶ added in v0.10.4
func (s *MirrorRequest) GetFailure() OptMirrorRequestFailure
GetFailure returns the value of Failure.
func (*MirrorRequest) GetRequestId ¶ added in v0.10.4
func (s *MirrorRequest) GetRequestId() uuid.UUID
GetRequestId returns the value of RequestId.
func (*MirrorRequest) GetResult ¶ added in v0.10.4
func (s *MirrorRequest) GetResult() OptMirrorRequestResult
GetResult returns the value of Result.
func (*MirrorRequest) GetSchema ¶ added in v0.10.4
func (s *MirrorRequest) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*MirrorRequest) GetStatus ¶ added in v0.10.4
func (s *MirrorRequest) GetStatus() MirrorRequestStatus
GetStatus returns the value of Status.
func (*MirrorRequest) MarshalJSON ¶ added in v0.10.4
func (s *MirrorRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MirrorRequest) SetAdditionalProps ¶ added in v0.10.4
func (s *MirrorRequest) SetAdditionalProps(val MirrorRequestAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*MirrorRequest) SetFailure ¶ added in v0.10.4
func (s *MirrorRequest) SetFailure(val OptMirrorRequestFailure)
SetFailure sets the value of Failure.
func (*MirrorRequest) SetRequestId ¶ added in v0.10.4
func (s *MirrorRequest) SetRequestId(val uuid.UUID)
SetRequestId sets the value of RequestId.
func (*MirrorRequest) SetResult ¶ added in v0.10.4
func (s *MirrorRequest) SetResult(val OptMirrorRequestResult)
SetResult sets the value of Result.
func (*MirrorRequest) SetSchema ¶ added in v0.10.4
func (s *MirrorRequest) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*MirrorRequest) SetStatus ¶ added in v0.10.4
func (s *MirrorRequest) SetStatus(val MirrorRequestStatus)
SetStatus sets the value of Status.
func (*MirrorRequest) UnmarshalJSON ¶ added in v0.10.4
func (s *MirrorRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MirrorRequest) Validate ¶ added in v0.10.4
func (s *MirrorRequest) Validate() error
type MirrorRequestAdditional ¶ added in v0.10.4
func (*MirrorRequestAdditional) Decode ¶ added in v0.10.4
func (s *MirrorRequestAdditional) Decode(d *jx.Decoder) error
Decode decodes MirrorRequestAdditional from json.
func (MirrorRequestAdditional) Encode ¶ added in v0.10.4
func (s MirrorRequestAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MirrorRequestAdditional) MarshalJSON ¶ added in v0.10.4
func (s MirrorRequestAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MirrorRequestAdditional) UnmarshalJSON ¶ added in v0.10.4
func (s *MirrorRequestAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MirrorRequestFailure ¶ added in v0.10.4
type MirrorRequestFailure struct {
// Stable machine-readable failure code.
Code string `json:"code"`
Message string `json:"message"`
// Whether submitting a new request may succeed without changing its inputs.
Retryable bool `json:"retryable"`
AdditionalProps MirrorRequestFailureAdditional
}
Ref: #/components/schemas/MirrorRequestFailure
func (*MirrorRequestFailure) Decode ¶ added in v0.10.4
func (s *MirrorRequestFailure) Decode(d *jx.Decoder) error
Decode decodes MirrorRequestFailure from json.
func (*MirrorRequestFailure) Encode ¶ added in v0.10.4
func (s *MirrorRequestFailure) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MirrorRequestFailure) GetAdditionalProps ¶ added in v0.10.4
func (s *MirrorRequestFailure) GetAdditionalProps() MirrorRequestFailureAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*MirrorRequestFailure) GetCode ¶ added in v0.10.4
func (s *MirrorRequestFailure) GetCode() string
GetCode returns the value of Code.
func (*MirrorRequestFailure) GetMessage ¶ added in v0.10.4
func (s *MirrorRequestFailure) GetMessage() string
GetMessage returns the value of Message.
func (*MirrorRequestFailure) GetRetryable ¶ added in v0.10.4
func (s *MirrorRequestFailure) GetRetryable() bool
GetRetryable returns the value of Retryable.
func (*MirrorRequestFailure) MarshalJSON ¶ added in v0.10.4
func (s *MirrorRequestFailure) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MirrorRequestFailure) SetAdditionalProps ¶ added in v0.10.4
func (s *MirrorRequestFailure) SetAdditionalProps(val MirrorRequestFailureAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*MirrorRequestFailure) SetCode ¶ added in v0.10.4
func (s *MirrorRequestFailure) SetCode(val string)
SetCode sets the value of Code.
func (*MirrorRequestFailure) SetMessage ¶ added in v0.10.4
func (s *MirrorRequestFailure) SetMessage(val string)
SetMessage sets the value of Message.
func (*MirrorRequestFailure) SetRetryable ¶ added in v0.10.4
func (s *MirrorRequestFailure) SetRetryable(val bool)
SetRetryable sets the value of Retryable.
func (*MirrorRequestFailure) UnmarshalJSON ¶ added in v0.10.4
func (s *MirrorRequestFailure) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MirrorRequestFailureAdditional ¶ added in v0.10.4
func (*MirrorRequestFailureAdditional) Decode ¶ added in v0.10.4
func (s *MirrorRequestFailureAdditional) Decode(d *jx.Decoder) error
Decode decodes MirrorRequestFailureAdditional from json.
func (MirrorRequestFailureAdditional) Encode ¶ added in v0.10.4
func (s MirrorRequestFailureAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MirrorRequestFailureAdditional) MarshalJSON ¶ added in v0.10.4
func (s MirrorRequestFailureAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MirrorRequestFailureAdditional) UnmarshalJSON ¶ added in v0.10.4
func (s *MirrorRequestFailureAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MirrorRequestHeaders ¶ added in v0.10.4
type MirrorRequestHeaders struct {
Location OptString
Response MirrorRequest
}
MirrorRequestHeaders wraps MirrorRequest with response headers.
func (*MirrorRequestHeaders) GetLocation ¶ added in v0.10.4
func (s *MirrorRequestHeaders) GetLocation() OptString
GetLocation returns the value of Location.
func (*MirrorRequestHeaders) GetResponse ¶ added in v0.10.4
func (s *MirrorRequestHeaders) GetResponse() MirrorRequest
GetResponse returns the value of Response.
func (*MirrorRequestHeaders) SetLocation ¶ added in v0.10.4
func (s *MirrorRequestHeaders) SetLocation(val OptString)
SetLocation sets the value of Location.
func (*MirrorRequestHeaders) SetResponse ¶ added in v0.10.4
func (s *MirrorRequestHeaders) SetResponse(val MirrorRequest)
SetResponse sets the value of Response.
func (*MirrorRequestHeaders) Validate ¶ added in v0.10.4
func (s *MirrorRequestHeaders) Validate() error
type MirrorRequestResult ¶ added in v0.10.4
type MirrorRequestResult struct {
MirrorId string `json:"mirrorId"`
MirrorUrl string `json:"mirrorUrl"`
PublicUrl string `json:"publicUrl"`
AdditionalProps MirrorRequestResultAdditional
}
Ref: #/components/schemas/MirrorRequestResult
func (*MirrorRequestResult) Decode ¶ added in v0.10.4
func (s *MirrorRequestResult) Decode(d *jx.Decoder) error
Decode decodes MirrorRequestResult from json.
func (*MirrorRequestResult) Encode ¶ added in v0.10.4
func (s *MirrorRequestResult) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MirrorRequestResult) GetAdditionalProps ¶ added in v0.10.4
func (s *MirrorRequestResult) GetAdditionalProps() MirrorRequestResultAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*MirrorRequestResult) GetMirrorId ¶ added in v0.10.4
func (s *MirrorRequestResult) GetMirrorId() string
GetMirrorId returns the value of MirrorId.
func (*MirrorRequestResult) GetMirrorUrl ¶ added in v0.10.4
func (s *MirrorRequestResult) GetMirrorUrl() string
GetMirrorUrl returns the value of MirrorUrl.
func (*MirrorRequestResult) GetPublicUrl ¶ added in v0.10.4
func (s *MirrorRequestResult) GetPublicUrl() string
GetPublicUrl returns the value of PublicUrl.
func (*MirrorRequestResult) MarshalJSON ¶ added in v0.10.4
func (s *MirrorRequestResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MirrorRequestResult) SetAdditionalProps ¶ added in v0.10.4
func (s *MirrorRequestResult) SetAdditionalProps(val MirrorRequestResultAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*MirrorRequestResult) SetMirrorId ¶ added in v0.10.4
func (s *MirrorRequestResult) SetMirrorId(val string)
SetMirrorId sets the value of MirrorId.
func (*MirrorRequestResult) SetMirrorUrl ¶ added in v0.10.4
func (s *MirrorRequestResult) SetMirrorUrl(val string)
SetMirrorUrl sets the value of MirrorUrl.
func (*MirrorRequestResult) SetPublicUrl ¶ added in v0.10.4
func (s *MirrorRequestResult) SetPublicUrl(val string)
SetPublicUrl sets the value of PublicUrl.
func (*MirrorRequestResult) UnmarshalJSON ¶ added in v0.10.4
func (s *MirrorRequestResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MirrorRequestResultAdditional ¶ added in v0.10.4
func (*MirrorRequestResultAdditional) Decode ¶ added in v0.10.4
func (s *MirrorRequestResultAdditional) Decode(d *jx.Decoder) error
Decode decodes MirrorRequestResultAdditional from json.
func (MirrorRequestResultAdditional) Encode ¶ added in v0.10.4
func (s MirrorRequestResultAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MirrorRequestResultAdditional) MarshalJSON ¶ added in v0.10.4
func (s MirrorRequestResultAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MirrorRequestResultAdditional) UnmarshalJSON ¶ added in v0.10.4
func (s *MirrorRequestResultAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MirrorRequestStatus ¶ added in v0.10.4
type MirrorRequestStatus string
const ( MirrorRequestStatusPending MirrorRequestStatus = "pending" MirrorRequestStatusProcessing MirrorRequestStatus = "processing" MirrorRequestStatusSucceeded MirrorRequestStatus = "succeeded" MirrorRequestStatusFailed MirrorRequestStatus = "failed" )
func (MirrorRequestStatus) AllValues ¶ added in v0.10.4
func (MirrorRequestStatus) AllValues() []MirrorRequestStatus
AllValues returns all MirrorRequestStatus values.
func (*MirrorRequestStatus) Decode ¶ added in v0.10.4
func (s *MirrorRequestStatus) Decode(d *jx.Decoder) error
Decode decodes MirrorRequestStatus from json.
func (MirrorRequestStatus) Encode ¶ added in v0.10.4
func (s MirrorRequestStatus) Encode(e *jx.Encoder)
Encode encodes MirrorRequestStatus as json.
func (MirrorRequestStatus) MarshalJSON ¶ added in v0.10.4
func (s MirrorRequestStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (MirrorRequestStatus) MarshalText ¶ added in v0.10.4
func (s MirrorRequestStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*MirrorRequestStatus) UnmarshalJSON ¶ added in v0.10.4
func (s *MirrorRequestStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MirrorRequestStatus) UnmarshalText ¶ added in v0.10.4
func (s *MirrorRequestStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (MirrorRequestStatus) Validate ¶ added in v0.10.4
func (s MirrorRequestStatus) Validate() error
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 NativeMirrorPlacement ¶ added in v0.11.0
type NativeMirrorPlacement struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Attempts int64 `json:"attempts"`
ClusterSlug string `json:"clusterSlug"`
CreatedAt time.Time `json:"createdAt"`
CreationFailedAt OptDateTime `json:"creationFailedAt"`
DesiredState NativeMirrorPlacementDesiredState `json:"desiredState"`
LastError OptString `json:"lastError"`
NextRetryAt OptDateTime `json:"nextRetryAt"`
PlacementId string `json:"placementId"`
Stage NativeMirrorPlacementStage `json:"stage"`
Status NativeMirrorPlacementStatus `json:"status"`
AdditionalProps NativeMirrorPlacementAdditional
}
Ref: #/components/schemas/NativeMirrorPlacement
func (*NativeMirrorPlacement) Decode ¶ added in v0.11.0
func (s *NativeMirrorPlacement) Decode(d *jx.Decoder) error
Decode decodes NativeMirrorPlacement from json.
func (*NativeMirrorPlacement) Encode ¶ added in v0.11.0
func (s *NativeMirrorPlacement) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*NativeMirrorPlacement) GetAdditionalProps ¶ added in v0.11.0
func (s *NativeMirrorPlacement) GetAdditionalProps() NativeMirrorPlacementAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*NativeMirrorPlacement) GetAttempts ¶ added in v0.11.0
func (s *NativeMirrorPlacement) GetAttempts() int64
GetAttempts returns the value of Attempts.
func (*NativeMirrorPlacement) GetClusterSlug ¶ added in v0.11.0
func (s *NativeMirrorPlacement) GetClusterSlug() string
GetClusterSlug returns the value of ClusterSlug.
func (*NativeMirrorPlacement) GetCreatedAt ¶ added in v0.11.0
func (s *NativeMirrorPlacement) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*NativeMirrorPlacement) GetCreationFailedAt ¶ added in v0.11.0
func (s *NativeMirrorPlacement) GetCreationFailedAt() OptDateTime
GetCreationFailedAt returns the value of CreationFailedAt.
func (*NativeMirrorPlacement) GetDesiredState ¶ added in v0.11.0
func (s *NativeMirrorPlacement) GetDesiredState() NativeMirrorPlacementDesiredState
GetDesiredState returns the value of DesiredState.
func (*NativeMirrorPlacement) GetLastError ¶ added in v0.11.0
func (s *NativeMirrorPlacement) GetLastError() OptString
GetLastError returns the value of LastError.
func (*NativeMirrorPlacement) GetNextRetryAt ¶ added in v0.11.0
func (s *NativeMirrorPlacement) GetNextRetryAt() OptDateTime
GetNextRetryAt returns the value of NextRetryAt.
func (*NativeMirrorPlacement) GetPlacementId ¶ added in v0.11.0
func (s *NativeMirrorPlacement) GetPlacementId() string
GetPlacementId returns the value of PlacementId.
func (*NativeMirrorPlacement) GetSchema ¶ added in v0.11.0
func (s *NativeMirrorPlacement) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*NativeMirrorPlacement) GetStage ¶ added in v0.11.0
func (s *NativeMirrorPlacement) GetStage() NativeMirrorPlacementStage
GetStage returns the value of Stage.
func (*NativeMirrorPlacement) GetStatus ¶ added in v0.11.0
func (s *NativeMirrorPlacement) GetStatus() NativeMirrorPlacementStatus
GetStatus returns the value of Status.
func (*NativeMirrorPlacement) MarshalJSON ¶ added in v0.11.0
func (s *NativeMirrorPlacement) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NativeMirrorPlacement) SetAdditionalProps ¶ added in v0.11.0
func (s *NativeMirrorPlacement) SetAdditionalProps(val NativeMirrorPlacementAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*NativeMirrorPlacement) SetAttempts ¶ added in v0.11.0
func (s *NativeMirrorPlacement) SetAttempts(val int64)
SetAttempts sets the value of Attempts.
func (*NativeMirrorPlacement) SetClusterSlug ¶ added in v0.11.0
func (s *NativeMirrorPlacement) SetClusterSlug(val string)
SetClusterSlug sets the value of ClusterSlug.
func (*NativeMirrorPlacement) SetCreatedAt ¶ added in v0.11.0
func (s *NativeMirrorPlacement) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*NativeMirrorPlacement) SetCreationFailedAt ¶ added in v0.11.0
func (s *NativeMirrorPlacement) SetCreationFailedAt(val OptDateTime)
SetCreationFailedAt sets the value of CreationFailedAt.
func (*NativeMirrorPlacement) SetDesiredState ¶ added in v0.11.0
func (s *NativeMirrorPlacement) SetDesiredState(val NativeMirrorPlacementDesiredState)
SetDesiredState sets the value of DesiredState.
func (*NativeMirrorPlacement) SetLastError ¶ added in v0.11.0
func (s *NativeMirrorPlacement) SetLastError(val OptString)
SetLastError sets the value of LastError.
func (*NativeMirrorPlacement) SetNextRetryAt ¶ added in v0.11.0
func (s *NativeMirrorPlacement) SetNextRetryAt(val OptDateTime)
SetNextRetryAt sets the value of NextRetryAt.
func (*NativeMirrorPlacement) SetPlacementId ¶ added in v0.11.0
func (s *NativeMirrorPlacement) SetPlacementId(val string)
SetPlacementId sets the value of PlacementId.
func (*NativeMirrorPlacement) SetSchema ¶ added in v0.11.0
func (s *NativeMirrorPlacement) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*NativeMirrorPlacement) SetStage ¶ added in v0.11.0
func (s *NativeMirrorPlacement) SetStage(val NativeMirrorPlacementStage)
SetStage sets the value of Stage.
func (*NativeMirrorPlacement) SetStatus ¶ added in v0.11.0
func (s *NativeMirrorPlacement) SetStatus(val NativeMirrorPlacementStatus)
SetStatus sets the value of Status.
func (*NativeMirrorPlacement) UnmarshalJSON ¶ added in v0.11.0
func (s *NativeMirrorPlacement) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*NativeMirrorPlacement) Validate ¶ added in v0.11.0
func (s *NativeMirrorPlacement) Validate() error
type NativeMirrorPlacementAdditional ¶ added in v0.11.0
func (*NativeMirrorPlacementAdditional) Decode ¶ added in v0.11.0
func (s *NativeMirrorPlacementAdditional) Decode(d *jx.Decoder) error
Decode decodes NativeMirrorPlacementAdditional from json.
func (NativeMirrorPlacementAdditional) Encode ¶ added in v0.11.0
func (s NativeMirrorPlacementAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (NativeMirrorPlacementAdditional) MarshalJSON ¶ added in v0.11.0
func (s NativeMirrorPlacementAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NativeMirrorPlacementAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *NativeMirrorPlacementAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NativeMirrorPlacementDesiredState ¶ added in v0.11.0
type NativeMirrorPlacementDesiredState string
const ( NativeMirrorPlacementDesiredStateActive NativeMirrorPlacementDesiredState = "active" NativeMirrorPlacementDesiredStateDeleted NativeMirrorPlacementDesiredState = "deleted" )
func (NativeMirrorPlacementDesiredState) AllValues ¶ added in v0.11.0
func (NativeMirrorPlacementDesiredState) AllValues() []NativeMirrorPlacementDesiredState
AllValues returns all NativeMirrorPlacementDesiredState values.
func (*NativeMirrorPlacementDesiredState) Decode ¶ added in v0.11.0
func (s *NativeMirrorPlacementDesiredState) Decode(d *jx.Decoder) error
Decode decodes NativeMirrorPlacementDesiredState from json.
func (NativeMirrorPlacementDesiredState) Encode ¶ added in v0.11.0
func (s NativeMirrorPlacementDesiredState) Encode(e *jx.Encoder)
Encode encodes NativeMirrorPlacementDesiredState as json.
func (NativeMirrorPlacementDesiredState) MarshalJSON ¶ added in v0.11.0
func (s NativeMirrorPlacementDesiredState) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NativeMirrorPlacementDesiredState) MarshalText ¶ added in v0.11.0
func (s NativeMirrorPlacementDesiredState) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*NativeMirrorPlacementDesiredState) UnmarshalJSON ¶ added in v0.11.0
func (s *NativeMirrorPlacementDesiredState) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*NativeMirrorPlacementDesiredState) UnmarshalText ¶ added in v0.11.0
func (s *NativeMirrorPlacementDesiredState) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (NativeMirrorPlacementDesiredState) Validate ¶ added in v0.11.0
func (s NativeMirrorPlacementDesiredState) Validate() error
type NativeMirrorPlacementStage ¶ added in v0.11.0
type NativeMirrorPlacementStage string
const ( NativeMirrorPlacementStagePending NativeMirrorPlacementStage = "pending" NativeMirrorPlacementStageProvisioned NativeMirrorPlacementStage = "provisioned" NativeMirrorPlacementStageRegistered NativeMirrorPlacementStage = "registered" NativeMirrorPlacementStageSeeded NativeMirrorPlacementStage = "seeded" NativeMirrorPlacementStageAnnounced NativeMirrorPlacementStage = "announced" )
func (NativeMirrorPlacementStage) AllValues ¶ added in v0.11.0
func (NativeMirrorPlacementStage) AllValues() []NativeMirrorPlacementStage
AllValues returns all NativeMirrorPlacementStage values.
func (*NativeMirrorPlacementStage) Decode ¶ added in v0.11.0
func (s *NativeMirrorPlacementStage) Decode(d *jx.Decoder) error
Decode decodes NativeMirrorPlacementStage from json.
func (NativeMirrorPlacementStage) Encode ¶ added in v0.11.0
func (s NativeMirrorPlacementStage) Encode(e *jx.Encoder)
Encode encodes NativeMirrorPlacementStage as json.
func (NativeMirrorPlacementStage) MarshalJSON ¶ added in v0.11.0
func (s NativeMirrorPlacementStage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NativeMirrorPlacementStage) MarshalText ¶ added in v0.11.0
func (s NativeMirrorPlacementStage) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*NativeMirrorPlacementStage) UnmarshalJSON ¶ added in v0.11.0
func (s *NativeMirrorPlacementStage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*NativeMirrorPlacementStage) UnmarshalText ¶ added in v0.11.0
func (s *NativeMirrorPlacementStage) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (NativeMirrorPlacementStage) Validate ¶ added in v0.11.0
func (s NativeMirrorPlacementStage) Validate() error
type NativeMirrorPlacementStatus ¶ added in v0.11.0
type NativeMirrorPlacementStatus string
const ( NativeMirrorPlacementStatusProcessing NativeMirrorPlacementStatus = "processing" NativeMirrorPlacementStatusReady NativeMirrorPlacementStatus = "ready" NativeMirrorPlacementStatusFailed NativeMirrorPlacementStatus = "failed" NativeMirrorPlacementStatusSuspended NativeMirrorPlacementStatus = "suspended" )
func (NativeMirrorPlacementStatus) AllValues ¶ added in v0.11.0
func (NativeMirrorPlacementStatus) AllValues() []NativeMirrorPlacementStatus
AllValues returns all NativeMirrorPlacementStatus values.
func (*NativeMirrorPlacementStatus) Decode ¶ added in v0.11.0
func (s *NativeMirrorPlacementStatus) Decode(d *jx.Decoder) error
Decode decodes NativeMirrorPlacementStatus from json.
func (NativeMirrorPlacementStatus) Encode ¶ added in v0.11.0
func (s NativeMirrorPlacementStatus) Encode(e *jx.Encoder)
Encode encodes NativeMirrorPlacementStatus as json.
func (NativeMirrorPlacementStatus) MarshalJSON ¶ added in v0.11.0
func (s NativeMirrorPlacementStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NativeMirrorPlacementStatus) MarshalText ¶ added in v0.11.0
func (s NativeMirrorPlacementStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*NativeMirrorPlacementStatus) UnmarshalJSON ¶ added in v0.11.0
func (s *NativeMirrorPlacementStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*NativeMirrorPlacementStatus) UnmarshalText ¶ added in v0.11.0
func (s *NativeMirrorPlacementStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (NativeMirrorPlacementStatus) Validate ¶ added in v0.11.0
func (s NativeMirrorPlacementStatus) 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 ( AcceptInvitationOperation OperationName = "AcceptInvitation" AddOrgMemberOperation OperationName = "AddOrgMember" CancelDeletionOperation OperationName = "CancelDeletion" CompleteOnboardingOperation OperationName = "CompleteOnboarding" ConnectOrgCIBuildkiteCredentialOperation OperationName = "ConnectOrgCIBuildkiteCredential" ConnectOrgCIDepotOrganizationOperation OperationName = "ConnectOrgCIDepotOrganization" CreateBindingOperation OperationName = "CreateBinding" CreateMirrorRequestOperation OperationName = "CreateMirrorRequest" CreateNativeMirrorOperation OperationName = "CreateNativeMirror" CreateOrgOperation OperationName = "CreateOrg" CreateOrgInvitationOperation OperationName = "CreateOrgInvitation" CreatePluginInstallationOperation OperationName = "CreatePluginInstallation" CreateProjectOperation OperationName = "CreateProject" CreateRepoOperation OperationName = "CreateRepo" CreateRepoCIWebhookOperation OperationName = "CreateRepoCIWebhook" CreateServiceAccountOperation OperationName = "CreateServiceAccount" DeleteBindingOperation OperationName = "DeleteBinding" DeleteMeOperation OperationName = "DeleteMe" DeleteMirrorOperation OperationName = "DeleteMirror" DeleteNativeMirrorOperation OperationName = "DeleteNativeMirror" DeleteOrgOperation OperationName = "DeleteOrg" DeleteOrgCIBuildkiteClusterOperation OperationName = "DeleteOrgCIBuildkiteCluster" DeleteOrgCIBuildkiteCredentialOperation OperationName = "DeleteOrgCIBuildkiteCredential" DeletePluginInstallationOperation OperationName = "DeletePluginInstallation" DeleteProjectOperation OperationName = "DeleteProject" DeleteRepoOperation OperationName = "DeleteRepo" DeleteRepoCIWebhookOperation OperationName = "DeleteRepoCIWebhook" DeleteServiceAccountOperation OperationName = "DeleteServiceAccount" DetachMyHandleOperation OperationName = "DetachMyHandle" DisconnectOrgCIDepotOrganizationOperation OperationName = "DisconnectOrgCIDepotOrganization" GetAccountProfileOperation OperationName = "GetAccountProfile" GetBranchProtectionOperation OperationName = "GetBranchProtection" GetDeletionPreviewOperation OperationName = "GetDeletionPreview" GetMeOperation OperationName = "GetMe" GetMirrorOperation OperationName = "GetMirror" GetMirrorRequestOperation OperationName = "GetMirrorRequest" GetOnboardingStatusOperation OperationName = "GetOnboardingStatus" GetOrgOperation OperationName = "GetOrg" GetOrgPersonAccessOperation OperationName = "GetOrgPersonAccess" GetProjectOperation OperationName = "GetProject" GetRepoOperation OperationName = "GetRepo" GetRepoCIDeliveryOperation OperationName = "GetRepoCIDelivery" 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" ListNativeMirrorsOperation OperationName = "ListNativeMirrors" ListOIDCProvidersOperation OperationName = "ListOIDCProviders" ListOrgCIBuildkiteClustersOperation OperationName = "ListOrgCIBuildkiteClusters" ListOrgCIBuildkiteCredentialsOperation OperationName = "ListOrgCIBuildkiteCredentials" ListOrgCIDepotOrganizationsOperation OperationName = "ListOrgCIDepotOrganizations" ListOrgInvitationsOperation OperationName = "ListOrgInvitations" ListOrgMembersOperation OperationName = "ListOrgMembers" ListOrgPeopleOperation OperationName = "ListOrgPeople" ListOrgProjectsOperation OperationName = "ListOrgProjects" ListOrgsOperation OperationName = "ListOrgs" ListPluginInstallationsOperation OperationName = "ListPluginInstallations" ListProjectCollaboratorsOperation OperationName = "ListProjectCollaborators" ListProjectMembersOperation OperationName = "ListProjectMembers" ListProjectPeopleOperation OperationName = "ListProjectPeople" ListProjectReposOperation OperationName = "ListProjectRepos" ListProjectsOperation OperationName = "ListProjects" ListRepoCIBuildsOperation OperationName = "ListRepoCIBuilds" ListRepoCIDeliveriesOperation OperationName = "ListRepoCIDeliveries" ListRepoCIProvidersOperation OperationName = "ListRepoCIProviders" ListRepoCIWebhookAuditOperation OperationName = "ListRepoCIWebhookAudit" ListRepoCIWebhooksOperation OperationName = "ListRepoCIWebhooks" ListRepoCollaboratorsOperation OperationName = "ListRepoCollaborators" ListRepoGrantsOperation OperationName = "ListRepoGrants" ListRepoLanguageFacetsOperation OperationName = "ListRepoLanguageFacets" ListRepoOrgFacetsOperation OperationName = "ListRepoOrgFacets" ListRepoPeopleOperation OperationName = "ListRepoPeople" ListReposOperation OperationName = "ListRepos" ListServiceAccountGrantsOperation OperationName = "ListServiceAccountGrants" ListServiceAccountsOperation OperationName = "ListServiceAccounts" LookupRepoBySlugOperation OperationName = "LookupRepoBySlug" MintOrgCIGitHubActionsCredentialOperation OperationName = "MintOrgCIGitHubActionsCredential" PatchRepoCIWebhookOperation OperationName = "PatchRepoCIWebhook" PreviewInvitationOperation OperationName = "PreviewInvitation" RegisterOrgCIBuildkiteClusterOperation OperationName = "RegisterOrgCIBuildkiteCluster" RemoveOrgMemberOperation OperationName = "RemoveOrgMember" RemoveOrgMemberByMembershipIDOperation OperationName = "RemoveOrgMemberByMembershipID" RemovePluginInstallationRepositoryOperation OperationName = "RemovePluginInstallationRepository" ResolveHandleOperation OperationName = "ResolveHandle" ResolveMirrorPlacementsOperation OperationName = "ResolveMirrorPlacements" ResolveProjectOperation OperationName = "ResolveProject" ResolveRepoIDsOperation OperationName = "ResolveRepoIDs" ResolveReposOperation OperationName = "ResolveRepos" RevokeOrgInvitationOperation OperationName = "RevokeOrgInvitation" RevokeProjectAccessOperation OperationName = "RevokeProjectAccess" RevokeProjectAccessByProviderOperation OperationName = "RevokeProjectAccessByProvider" RevokeRepoAccessOperation OperationName = "RevokeRepoAccess" RevokeRepoAccessByProviderOperation OperationName = "RevokeRepoAccessByProvider" RevokeServiceAccountAccessOperation OperationName = "RevokeServiceAccountAccess" RotateOrgCIBuildkiteInboundSecretOperation OperationName = "RotateOrgCIBuildkiteInboundSecret" SetBranchProtectionOperation OperationName = "SetBranchProtection" SetPluginInstallationRepositoriesOperation OperationName = "SetPluginInstallationRepositories" SetRepoVisibilityOperation OperationName = "SetRepoVisibility" UpdateBranchProtectionOperation OperationName = "UpdateBranchProtection" UpdateOrgMemberRoleOperation OperationName = "UpdateOrgMemberRole" )
type OptAccountIdentity ¶ added in v0.11.4
type OptAccountIdentity struct {
Value AccountIdentity
Set bool
}
OptAccountIdentity is optional AccountIdentity.
func NewOptAccountIdentity ¶ added in v0.11.4
func NewOptAccountIdentity(v AccountIdentity) OptAccountIdentity
NewOptAccountIdentity returns new OptAccountIdentity with value set to v.
func (*OptAccountIdentity) Decode ¶ added in v0.11.4
func (o *OptAccountIdentity) Decode(d *jx.Decoder) error
Decode decodes AccountIdentity from json.
func (OptAccountIdentity) Encode ¶ added in v0.11.4
func (o OptAccountIdentity) Encode(e *jx.Encoder)
Encode encodes AccountIdentity as json.
func (OptAccountIdentity) Get ¶ added in v0.11.4
func (o OptAccountIdentity) Get() (v AccountIdentity, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAccountIdentity) IsSet ¶ added in v0.11.4
func (o OptAccountIdentity) IsSet() bool
IsSet returns true if OptAccountIdentity was set.
func (OptAccountIdentity) MarshalJSON ¶ added in v0.11.4
func (s OptAccountIdentity) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAccountIdentity) Or ¶ added in v0.11.4
func (o OptAccountIdentity) Or(d AccountIdentity) AccountIdentity
Or returns value if set, or given parameter if does not.
func (*OptAccountIdentity) Reset ¶ added in v0.11.4
func (o *OptAccountIdentity) Reset()
Reset unsets value.
func (*OptAccountIdentity) SetTo ¶ added in v0.11.4
func (o *OptAccountIdentity) SetTo(v AccountIdentity)
SetTo sets value to v.
func (*OptAccountIdentity) UnmarshalJSON ¶ added in v0.11.4
func (s *OptAccountIdentity) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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 OptCIDeliveryPayloadView ¶ added in v0.11.3
type OptCIDeliveryPayloadView struct {
Value CIDeliveryPayloadView
Set bool
}
OptCIDeliveryPayloadView is optional CIDeliveryPayloadView.
func NewOptCIDeliveryPayloadView ¶ added in v0.11.3
func NewOptCIDeliveryPayloadView(v CIDeliveryPayloadView) OptCIDeliveryPayloadView
NewOptCIDeliveryPayloadView returns new OptCIDeliveryPayloadView with value set to v.
func (*OptCIDeliveryPayloadView) Decode ¶ added in v0.11.3
func (o *OptCIDeliveryPayloadView) Decode(d *jx.Decoder) error
Decode decodes CIDeliveryPayloadView from json.
func (OptCIDeliveryPayloadView) Encode ¶ added in v0.11.3
func (o OptCIDeliveryPayloadView) Encode(e *jx.Encoder)
Encode encodes CIDeliveryPayloadView as json.
func (OptCIDeliveryPayloadView) Get ¶ added in v0.11.3
func (o OptCIDeliveryPayloadView) Get() (v CIDeliveryPayloadView, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCIDeliveryPayloadView) IsSet ¶ added in v0.11.3
func (o OptCIDeliveryPayloadView) IsSet() bool
IsSet returns true if OptCIDeliveryPayloadView was set.
func (OptCIDeliveryPayloadView) MarshalJSON ¶ added in v0.11.3
func (s OptCIDeliveryPayloadView) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCIDeliveryPayloadView) Or ¶ added in v0.11.3
func (o OptCIDeliveryPayloadView) Or(d CIDeliveryPayloadView) CIDeliveryPayloadView
Or returns value if set, or given parameter if does not.
func (*OptCIDeliveryPayloadView) Reset ¶ added in v0.11.3
func (o *OptCIDeliveryPayloadView) Reset()
Reset unsets value.
func (*OptCIDeliveryPayloadView) SetTo ¶ added in v0.11.3
func (o *OptCIDeliveryPayloadView) SetTo(v CIDeliveryPayloadView)
SetTo sets value to v.
func (*OptCIDeliveryPayloadView) UnmarshalJSON ¶ added in v0.11.3
func (s *OptCIDeliveryPayloadView) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCISetupBlock ¶ added in v0.11.0
type OptCISetupBlock struct {
Value CISetupBlock
Set bool
}
OptCISetupBlock is optional CISetupBlock.
func NewOptCISetupBlock ¶ added in v0.11.0
func NewOptCISetupBlock(v CISetupBlock) OptCISetupBlock
NewOptCISetupBlock returns new OptCISetupBlock with value set to v.
func (*OptCISetupBlock) Decode ¶ added in v0.11.0
func (o *OptCISetupBlock) Decode(d *jx.Decoder) error
Decode decodes CISetupBlock from json.
func (OptCISetupBlock) Encode ¶ added in v0.11.0
func (o OptCISetupBlock) Encode(e *jx.Encoder)
Encode encodes CISetupBlock as json.
func (OptCISetupBlock) Get ¶ added in v0.11.0
func (o OptCISetupBlock) Get() (v CISetupBlock, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCISetupBlock) IsSet ¶ added in v0.11.0
func (o OptCISetupBlock) IsSet() bool
IsSet returns true if OptCISetupBlock was set.
func (OptCISetupBlock) MarshalJSON ¶ added in v0.11.0
func (s OptCISetupBlock) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCISetupBlock) Or ¶ added in v0.11.0
func (o OptCISetupBlock) Or(d CISetupBlock) CISetupBlock
Or returns value if set, or given parameter if does not.
func (*OptCISetupBlock) Reset ¶ added in v0.11.0
func (o *OptCISetupBlock) Reset()
Reset unsets value.
func (*OptCISetupBlock) SetTo ¶ added in v0.11.0
func (o *OptCISetupBlock) SetTo(v CISetupBlock)
SetTo sets value to v.
func (*OptCISetupBlock) UnmarshalJSON ¶ added in v0.11.0
func (s *OptCISetupBlock) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCIWebhookAuditEventViewMetadata ¶ added in v0.11.0
type OptCIWebhookAuditEventViewMetadata struct {
Value CIWebhookAuditEventViewMetadata
Set bool
}
OptCIWebhookAuditEventViewMetadata is optional CIWebhookAuditEventViewMetadata.
func NewOptCIWebhookAuditEventViewMetadata ¶ added in v0.11.0
func NewOptCIWebhookAuditEventViewMetadata(v CIWebhookAuditEventViewMetadata) OptCIWebhookAuditEventViewMetadata
NewOptCIWebhookAuditEventViewMetadata returns new OptCIWebhookAuditEventViewMetadata with value set to v.
func (*OptCIWebhookAuditEventViewMetadata) Decode ¶ added in v0.11.0
func (o *OptCIWebhookAuditEventViewMetadata) Decode(d *jx.Decoder) error
Decode decodes CIWebhookAuditEventViewMetadata from json.
func (OptCIWebhookAuditEventViewMetadata) Encode ¶ added in v0.11.0
func (o OptCIWebhookAuditEventViewMetadata) Encode(e *jx.Encoder)
Encode encodes CIWebhookAuditEventViewMetadata as json.
func (OptCIWebhookAuditEventViewMetadata) Get ¶ added in v0.11.0
func (o OptCIWebhookAuditEventViewMetadata) Get() (v CIWebhookAuditEventViewMetadata, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCIWebhookAuditEventViewMetadata) IsSet ¶ added in v0.11.0
func (o OptCIWebhookAuditEventViewMetadata) IsSet() bool
IsSet returns true if OptCIWebhookAuditEventViewMetadata was set.
func (OptCIWebhookAuditEventViewMetadata) MarshalJSON ¶ added in v0.11.0
func (s OptCIWebhookAuditEventViewMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCIWebhookAuditEventViewMetadata) Or ¶ added in v0.11.0
func (o OptCIWebhookAuditEventViewMetadata) Or(d CIWebhookAuditEventViewMetadata) CIWebhookAuditEventViewMetadata
Or returns value if set, or given parameter if does not.
func (*OptCIWebhookAuditEventViewMetadata) Reset ¶ added in v0.11.0
func (o *OptCIWebhookAuditEventViewMetadata) Reset()
Reset unsets value.
func (*OptCIWebhookAuditEventViewMetadata) SetTo ¶ added in v0.11.0
func (o *OptCIWebhookAuditEventViewMetadata) SetTo(v CIWebhookAuditEventViewMetadata)
SetTo sets value to v.
func (*OptCIWebhookAuditEventViewMetadata) UnmarshalJSON ¶ added in v0.11.0
func (s *OptCIWebhookAuditEventViewMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreatePluginInstallationInputBodyRepositorySelection ¶ added in v0.11.4
type OptCreatePluginInstallationInputBodyRepositorySelection struct {
Value CreatePluginInstallationInputBodyRepositorySelection
Set bool
}
OptCreatePluginInstallationInputBodyRepositorySelection is optional CreatePluginInstallationInputBodyRepositorySelection.
func NewOptCreatePluginInstallationInputBodyRepositorySelection ¶ added in v0.11.4
func NewOptCreatePluginInstallationInputBodyRepositorySelection(v CreatePluginInstallationInputBodyRepositorySelection) OptCreatePluginInstallationInputBodyRepositorySelection
NewOptCreatePluginInstallationInputBodyRepositorySelection returns new OptCreatePluginInstallationInputBodyRepositorySelection with value set to v.
func (*OptCreatePluginInstallationInputBodyRepositorySelection) Decode ¶ added in v0.11.4
func (o *OptCreatePluginInstallationInputBodyRepositorySelection) Decode(d *jx.Decoder) error
Decode decodes CreatePluginInstallationInputBodyRepositorySelection from json.
func (OptCreatePluginInstallationInputBodyRepositorySelection) Encode ¶ added in v0.11.4
func (o OptCreatePluginInstallationInputBodyRepositorySelection) Encode(e *jx.Encoder)
Encode encodes CreatePluginInstallationInputBodyRepositorySelection as json.
func (OptCreatePluginInstallationInputBodyRepositorySelection) Get ¶ added in v0.11.4
func (o OptCreatePluginInstallationInputBodyRepositorySelection) Get() (v CreatePluginInstallationInputBodyRepositorySelection, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreatePluginInstallationInputBodyRepositorySelection) IsSet ¶ added in v0.11.4
func (o OptCreatePluginInstallationInputBodyRepositorySelection) IsSet() bool
IsSet returns true if OptCreatePluginInstallationInputBodyRepositorySelection was set.
func (OptCreatePluginInstallationInputBodyRepositorySelection) MarshalJSON ¶ added in v0.11.4
func (s OptCreatePluginInstallationInputBodyRepositorySelection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreatePluginInstallationInputBodyRepositorySelection) Or ¶ added in v0.11.4
func (o OptCreatePluginInstallationInputBodyRepositorySelection) Or(d CreatePluginInstallationInputBodyRepositorySelection) CreatePluginInstallationInputBodyRepositorySelection
Or returns value if set, or given parameter if does not.
func (*OptCreatePluginInstallationInputBodyRepositorySelection) Reset ¶ added in v0.11.4
func (o *OptCreatePluginInstallationInputBodyRepositorySelection) Reset()
Reset unsets value.
func (*OptCreatePluginInstallationInputBodyRepositorySelection) SetTo ¶ added in v0.11.4
func (o *OptCreatePluginInstallationInputBodyRepositorySelection) SetTo(v CreatePluginInstallationInputBodyRepositorySelection)
SetTo sets value to v.
func (*OptCreatePluginInstallationInputBodyRepositorySelection) UnmarshalJSON ¶ added in v0.11.4
func (s *OptCreatePluginInstallationInputBodyRepositorySelection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreateRepoCIWebhookInputBodyConfig ¶ added in v0.11.0
type OptCreateRepoCIWebhookInputBodyConfig struct {
Value CreateRepoCIWebhookInputBodyConfig
Set bool
}
OptCreateRepoCIWebhookInputBodyConfig is optional CreateRepoCIWebhookInputBodyConfig.
func NewOptCreateRepoCIWebhookInputBodyConfig ¶ added in v0.11.0
func NewOptCreateRepoCIWebhookInputBodyConfig(v CreateRepoCIWebhookInputBodyConfig) OptCreateRepoCIWebhookInputBodyConfig
NewOptCreateRepoCIWebhookInputBodyConfig returns new OptCreateRepoCIWebhookInputBodyConfig with value set to v.
func (*OptCreateRepoCIWebhookInputBodyConfig) Decode ¶ added in v0.11.0
func (o *OptCreateRepoCIWebhookInputBodyConfig) Decode(d *jx.Decoder) error
Decode decodes CreateRepoCIWebhookInputBodyConfig from json.
func (OptCreateRepoCIWebhookInputBodyConfig) Encode ¶ added in v0.11.0
func (o OptCreateRepoCIWebhookInputBodyConfig) Encode(e *jx.Encoder)
Encode encodes CreateRepoCIWebhookInputBodyConfig as json.
func (OptCreateRepoCIWebhookInputBodyConfig) Get ¶ added in v0.11.0
func (o OptCreateRepoCIWebhookInputBodyConfig) Get() (v CreateRepoCIWebhookInputBodyConfig, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreateRepoCIWebhookInputBodyConfig) IsSet ¶ added in v0.11.0
func (o OptCreateRepoCIWebhookInputBodyConfig) IsSet() bool
IsSet returns true if OptCreateRepoCIWebhookInputBodyConfig was set.
func (OptCreateRepoCIWebhookInputBodyConfig) MarshalJSON ¶ added in v0.11.0
func (s OptCreateRepoCIWebhookInputBodyConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreateRepoCIWebhookInputBodyConfig) Or ¶ added in v0.11.0
func (o OptCreateRepoCIWebhookInputBodyConfig) Or(d CreateRepoCIWebhookInputBodyConfig) CreateRepoCIWebhookInputBodyConfig
Or returns value if set, or given parameter if does not.
func (*OptCreateRepoCIWebhookInputBodyConfig) Reset ¶ added in v0.11.0
func (o *OptCreateRepoCIWebhookInputBodyConfig) Reset()
Reset unsets value.
func (*OptCreateRepoCIWebhookInputBodyConfig) SetTo ¶ added in v0.11.0
func (o *OptCreateRepoCIWebhookInputBodyConfig) SetTo(v CreateRepoCIWebhookInputBodyConfig)
SetTo sets value to v.
func (*OptCreateRepoCIWebhookInputBodyConfig) UnmarshalJSON ¶ added in v0.11.0
func (s *OptCreateRepoCIWebhookInputBodyConfig) UnmarshalJSON(data []byte) error
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 OptFloat64 ¶ added in v0.11.0
OptFloat64 is optional float64.
func NewOptFloat64 ¶ added in v0.11.0
func NewOptFloat64(v float64) OptFloat64
NewOptFloat64 returns new OptFloat64 with value set to v.
func (*OptFloat64) Decode ¶ added in v0.11.0
func (o *OptFloat64) Decode(d *jx.Decoder) error
Decode decodes float64 from json.
func (OptFloat64) Encode ¶ added in v0.11.0
func (o OptFloat64) Encode(e *jx.Encoder)
Encode encodes float64 as json.
func (OptFloat64) Get ¶ added in v0.11.0
func (o OptFloat64) Get() (v float64, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFloat64) IsSet ¶ added in v0.11.0
func (o OptFloat64) IsSet() bool
IsSet returns true if OptFloat64 was set.
func (OptFloat64) MarshalJSON ¶ added in v0.11.0
func (s OptFloat64) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFloat64) Or ¶ added in v0.11.0
func (o OptFloat64) Or(d float64) float64
Or returns value if set, or given parameter if does not.
func (*OptFloat64) SetTo ¶ added in v0.11.0
func (o *OptFloat64) SetTo(v float64)
SetTo sets value to v.
func (*OptFloat64) UnmarshalJSON ¶ added in v0.11.0
func (s *OptFloat64) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptForgeRepoIdentity ¶ added in v0.11.0
type OptForgeRepoIdentity struct {
Value ForgeRepoIdentity
Set bool
}
OptForgeRepoIdentity is optional ForgeRepoIdentity.
func NewOptForgeRepoIdentity ¶ added in v0.11.0
func NewOptForgeRepoIdentity(v ForgeRepoIdentity) OptForgeRepoIdentity
NewOptForgeRepoIdentity returns new OptForgeRepoIdentity with value set to v.
func (*OptForgeRepoIdentity) Decode ¶ added in v0.11.0
func (o *OptForgeRepoIdentity) Decode(d *jx.Decoder) error
Decode decodes ForgeRepoIdentity from json.
func (OptForgeRepoIdentity) Encode ¶ added in v0.11.0
func (o OptForgeRepoIdentity) Encode(e *jx.Encoder)
Encode encodes ForgeRepoIdentity as json.
func (OptForgeRepoIdentity) Get ¶ added in v0.11.0
func (o OptForgeRepoIdentity) Get() (v ForgeRepoIdentity, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptForgeRepoIdentity) IsSet ¶ added in v0.11.0
func (o OptForgeRepoIdentity) IsSet() bool
IsSet returns true if OptForgeRepoIdentity was set.
func (OptForgeRepoIdentity) MarshalJSON ¶ added in v0.11.0
func (s OptForgeRepoIdentity) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptForgeRepoIdentity) Or ¶ added in v0.11.0
func (o OptForgeRepoIdentity) Or(d ForgeRepoIdentity) ForgeRepoIdentity
Or returns value if set, or given parameter if does not.
func (*OptForgeRepoIdentity) Reset ¶ added in v0.11.0
func (o *OptForgeRepoIdentity) Reset()
Reset unsets value.
func (*OptForgeRepoIdentity) SetTo ¶ added in v0.11.0
func (o *OptForgeRepoIdentity) SetTo(v ForgeRepoIdentity)
SetTo sets value to v.
func (*OptForgeRepoIdentity) UnmarshalJSON ¶ added in v0.11.0
func (s *OptForgeRepoIdentity) 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 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 OptGrantAccessBodyGranteeType ¶ added in v0.11.3
type OptGrantAccessBodyGranteeType struct {
Value GrantAccessBodyGranteeType
Set bool
}
OptGrantAccessBodyGranteeType is optional GrantAccessBodyGranteeType.
func NewOptGrantAccessBodyGranteeType ¶ added in v0.11.3
func NewOptGrantAccessBodyGranteeType(v GrantAccessBodyGranteeType) OptGrantAccessBodyGranteeType
NewOptGrantAccessBodyGranteeType returns new OptGrantAccessBodyGranteeType with value set to v.
func (*OptGrantAccessBodyGranteeType) Decode ¶ added in v0.11.3
func (o *OptGrantAccessBodyGranteeType) Decode(d *jx.Decoder) error
Decode decodes GrantAccessBodyGranteeType from json.
func (OptGrantAccessBodyGranteeType) Encode ¶ added in v0.11.3
func (o OptGrantAccessBodyGranteeType) Encode(e *jx.Encoder)
Encode encodes GrantAccessBodyGranteeType as json.
func (OptGrantAccessBodyGranteeType) Get ¶ added in v0.11.3
func (o OptGrantAccessBodyGranteeType) Get() (v GrantAccessBodyGranteeType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGrantAccessBodyGranteeType) IsSet ¶ added in v0.11.3
func (o OptGrantAccessBodyGranteeType) IsSet() bool
IsSet returns true if OptGrantAccessBodyGranteeType was set.
func (OptGrantAccessBodyGranteeType) MarshalJSON ¶ added in v0.11.3
func (s OptGrantAccessBodyGranteeType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGrantAccessBodyGranteeType) Or ¶ added in v0.11.3
Or returns value if set, or given parameter if does not.
func (*OptGrantAccessBodyGranteeType) Reset ¶ added in v0.11.3
func (o *OptGrantAccessBodyGranteeType) Reset()
Reset unsets value.
func (*OptGrantAccessBodyGranteeType) SetTo ¶ added in v0.11.3
func (o *OptGrantAccessBodyGranteeType) SetTo(v GrantAccessBodyGranteeType)
SetTo sets value to v.
func (*OptGrantAccessBodyGranteeType) UnmarshalJSON ¶ added in v0.11.3
func (s *OptGrantAccessBodyGranteeType) 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 OptListOrgInvitationsStatus ¶ added in v0.11.3
type OptListOrgInvitationsStatus struct {
Value ListOrgInvitationsStatus
Set bool
}
OptListOrgInvitationsStatus is optional ListOrgInvitationsStatus.
func NewOptListOrgInvitationsStatus ¶ added in v0.11.3
func NewOptListOrgInvitationsStatus(v ListOrgInvitationsStatus) OptListOrgInvitationsStatus
NewOptListOrgInvitationsStatus returns new OptListOrgInvitationsStatus with value set to v.
func (OptListOrgInvitationsStatus) Get ¶ added in v0.11.3
func (o OptListOrgInvitationsStatus) Get() (v ListOrgInvitationsStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListOrgInvitationsStatus) IsSet ¶ added in v0.11.3
func (o OptListOrgInvitationsStatus) IsSet() bool
IsSet returns true if OptListOrgInvitationsStatus was set.
func (OptListOrgInvitationsStatus) Or ¶ added in v0.11.3
Or returns value if set, or given parameter if does not.
func (*OptListOrgInvitationsStatus) Reset ¶ added in v0.11.3
func (o *OptListOrgInvitationsStatus) Reset()
Reset unsets value.
func (*OptListOrgInvitationsStatus) SetTo ¶ added in v0.11.3
func (o *OptListOrgInvitationsStatus) SetTo(v ListOrgInvitationsStatus)
SetTo sets value to v.
type OptListOrgMembersOrder ¶ added in v0.11.4
type OptListOrgMembersOrder struct {
Value ListOrgMembersOrder
Set bool
}
OptListOrgMembersOrder is optional ListOrgMembersOrder.
func NewOptListOrgMembersOrder ¶ added in v0.11.4
func NewOptListOrgMembersOrder(v ListOrgMembersOrder) OptListOrgMembersOrder
NewOptListOrgMembersOrder returns new OptListOrgMembersOrder with value set to v.
func (OptListOrgMembersOrder) Get ¶ added in v0.11.4
func (o OptListOrgMembersOrder) Get() (v ListOrgMembersOrder, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListOrgMembersOrder) IsSet ¶ added in v0.11.4
func (o OptListOrgMembersOrder) IsSet() bool
IsSet returns true if OptListOrgMembersOrder was set.
func (OptListOrgMembersOrder) Or ¶ added in v0.11.4
func (o OptListOrgMembersOrder) Or(d ListOrgMembersOrder) ListOrgMembersOrder
Or returns value if set, or given parameter if does not.
func (*OptListOrgMembersOrder) Reset ¶ added in v0.11.4
func (o *OptListOrgMembersOrder) Reset()
Reset unsets value.
func (*OptListOrgMembersOrder) SetTo ¶ added in v0.11.4
func (o *OptListOrgMembersOrder) SetTo(v ListOrgMembersOrder)
SetTo sets value to v.
type OptListOrgMembersSort ¶ added in v0.11.4
type OptListOrgMembersSort struct {
Value ListOrgMembersSort
Set bool
}
OptListOrgMembersSort is optional ListOrgMembersSort.
func NewOptListOrgMembersSort ¶ added in v0.11.4
func NewOptListOrgMembersSort(v ListOrgMembersSort) OptListOrgMembersSort
NewOptListOrgMembersSort returns new OptListOrgMembersSort with value set to v.
func (OptListOrgMembersSort) Get ¶ added in v0.11.4
func (o OptListOrgMembersSort) Get() (v ListOrgMembersSort, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListOrgMembersSort) IsSet ¶ added in v0.11.4
func (o OptListOrgMembersSort) IsSet() bool
IsSet returns true if OptListOrgMembersSort was set.
func (OptListOrgMembersSort) Or ¶ added in v0.11.4
func (o OptListOrgMembersSort) Or(d ListOrgMembersSort) ListOrgMembersSort
Or returns value if set, or given parameter if does not.
func (*OptListOrgMembersSort) Reset ¶ added in v0.11.4
func (o *OptListOrgMembersSort) Reset()
Reset unsets value.
func (*OptListOrgMembersSort) SetTo ¶ added in v0.11.4
func (o *OptListOrgMembersSort) SetTo(v ListOrgMembersSort)
SetTo sets value to v.
type OptListOrgPeopleMembership ¶ added in v0.11.3
type OptListOrgPeopleMembership struct {
Value ListOrgPeopleMembership
Set bool
}
OptListOrgPeopleMembership is optional ListOrgPeopleMembership.
func NewOptListOrgPeopleMembership ¶ added in v0.11.3
func NewOptListOrgPeopleMembership(v ListOrgPeopleMembership) OptListOrgPeopleMembership
NewOptListOrgPeopleMembership returns new OptListOrgPeopleMembership with value set to v.
func (OptListOrgPeopleMembership) Get ¶ added in v0.11.3
func (o OptListOrgPeopleMembership) Get() (v ListOrgPeopleMembership, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListOrgPeopleMembership) IsSet ¶ added in v0.11.3
func (o OptListOrgPeopleMembership) IsSet() bool
IsSet returns true if OptListOrgPeopleMembership was set.
func (OptListOrgPeopleMembership) Or ¶ added in v0.11.3
Or returns value if set, or given parameter if does not.
func (*OptListOrgPeopleMembership) Reset ¶ added in v0.11.3
func (o *OptListOrgPeopleMembership) Reset()
Reset unsets value.
func (*OptListOrgPeopleMembership) SetTo ¶ added in v0.11.3
func (o *OptListOrgPeopleMembership) SetTo(v ListOrgPeopleMembership)
SetTo sets value to v.
type OptListOrgPeopleOrder ¶ added in v0.11.4
type OptListOrgPeopleOrder struct {
Value ListOrgPeopleOrder
Set bool
}
OptListOrgPeopleOrder is optional ListOrgPeopleOrder.
func NewOptListOrgPeopleOrder ¶ added in v0.11.4
func NewOptListOrgPeopleOrder(v ListOrgPeopleOrder) OptListOrgPeopleOrder
NewOptListOrgPeopleOrder returns new OptListOrgPeopleOrder with value set to v.
func (OptListOrgPeopleOrder) Get ¶ added in v0.11.4
func (o OptListOrgPeopleOrder) Get() (v ListOrgPeopleOrder, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListOrgPeopleOrder) IsSet ¶ added in v0.11.4
func (o OptListOrgPeopleOrder) IsSet() bool
IsSet returns true if OptListOrgPeopleOrder was set.
func (OptListOrgPeopleOrder) Or ¶ added in v0.11.4
func (o OptListOrgPeopleOrder) Or(d ListOrgPeopleOrder) ListOrgPeopleOrder
Or returns value if set, or given parameter if does not.
func (*OptListOrgPeopleOrder) Reset ¶ added in v0.11.4
func (o *OptListOrgPeopleOrder) Reset()
Reset unsets value.
func (*OptListOrgPeopleOrder) SetTo ¶ added in v0.11.4
func (o *OptListOrgPeopleOrder) SetTo(v ListOrgPeopleOrder)
SetTo sets value to v.
type OptListOrgPeopleRole ¶ added in v0.11.3
type OptListOrgPeopleRole struct {
Value ListOrgPeopleRole
Set bool
}
OptListOrgPeopleRole is optional ListOrgPeopleRole.
func NewOptListOrgPeopleRole ¶ added in v0.11.3
func NewOptListOrgPeopleRole(v ListOrgPeopleRole) OptListOrgPeopleRole
NewOptListOrgPeopleRole returns new OptListOrgPeopleRole with value set to v.
func (OptListOrgPeopleRole) Get ¶ added in v0.11.3
func (o OptListOrgPeopleRole) Get() (v ListOrgPeopleRole, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListOrgPeopleRole) IsSet ¶ added in v0.11.3
func (o OptListOrgPeopleRole) IsSet() bool
IsSet returns true if OptListOrgPeopleRole was set.
func (OptListOrgPeopleRole) Or ¶ added in v0.11.3
func (o OptListOrgPeopleRole) Or(d ListOrgPeopleRole) ListOrgPeopleRole
Or returns value if set, or given parameter if does not.
func (*OptListOrgPeopleRole) Reset ¶ added in v0.11.3
func (o *OptListOrgPeopleRole) Reset()
Reset unsets value.
func (*OptListOrgPeopleRole) SetTo ¶ added in v0.11.3
func (o *OptListOrgPeopleRole) SetTo(v ListOrgPeopleRole)
SetTo sets value to v.
type OptListOrgPeopleScope ¶ added in v0.11.3
type OptListOrgPeopleScope struct {
Value ListOrgPeopleScope
Set bool
}
OptListOrgPeopleScope is optional ListOrgPeopleScope.
func NewOptListOrgPeopleScope ¶ added in v0.11.3
func NewOptListOrgPeopleScope(v ListOrgPeopleScope) OptListOrgPeopleScope
NewOptListOrgPeopleScope returns new OptListOrgPeopleScope with value set to v.
func (OptListOrgPeopleScope) Get ¶ added in v0.11.3
func (o OptListOrgPeopleScope) Get() (v ListOrgPeopleScope, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListOrgPeopleScope) IsSet ¶ added in v0.11.3
func (o OptListOrgPeopleScope) IsSet() bool
IsSet returns true if OptListOrgPeopleScope was set.
func (OptListOrgPeopleScope) Or ¶ added in v0.11.3
func (o OptListOrgPeopleScope) Or(d ListOrgPeopleScope) ListOrgPeopleScope
Or returns value if set, or given parameter if does not.
func (*OptListOrgPeopleScope) Reset ¶ added in v0.11.3
func (o *OptListOrgPeopleScope) Reset()
Reset unsets value.
func (*OptListOrgPeopleScope) SetTo ¶ added in v0.11.3
func (o *OptListOrgPeopleScope) SetTo(v ListOrgPeopleScope)
SetTo sets value to v.
type OptListOrgPeopleSort ¶ added in v0.11.4
type OptListOrgPeopleSort struct {
Value ListOrgPeopleSort
Set bool
}
OptListOrgPeopleSort is optional ListOrgPeopleSort.
func NewOptListOrgPeopleSort ¶ added in v0.11.4
func NewOptListOrgPeopleSort(v ListOrgPeopleSort) OptListOrgPeopleSort
NewOptListOrgPeopleSort returns new OptListOrgPeopleSort with value set to v.
func (OptListOrgPeopleSort) Get ¶ added in v0.11.4
func (o OptListOrgPeopleSort) Get() (v ListOrgPeopleSort, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListOrgPeopleSort) IsSet ¶ added in v0.11.4
func (o OptListOrgPeopleSort) IsSet() bool
IsSet returns true if OptListOrgPeopleSort was set.
func (OptListOrgPeopleSort) Or ¶ added in v0.11.4
func (o OptListOrgPeopleSort) Or(d ListOrgPeopleSort) ListOrgPeopleSort
Or returns value if set, or given parameter if does not.
func (*OptListOrgPeopleSort) Reset ¶ added in v0.11.4
func (o *OptListOrgPeopleSort) Reset()
Reset unsets value.
func (*OptListOrgPeopleSort) SetTo ¶ added in v0.11.4
func (o *OptListOrgPeopleSort) SetTo(v ListOrgPeopleSort)
SetTo sets value to v.
type OptListOrgPeopleStatus ¶ added in v0.11.3
type OptListOrgPeopleStatus struct {
Value ListOrgPeopleStatus
Set bool
}
OptListOrgPeopleStatus is optional ListOrgPeopleStatus.
func NewOptListOrgPeopleStatus ¶ added in v0.11.3
func NewOptListOrgPeopleStatus(v ListOrgPeopleStatus) OptListOrgPeopleStatus
NewOptListOrgPeopleStatus returns new OptListOrgPeopleStatus with value set to v.
func (OptListOrgPeopleStatus) Get ¶ added in v0.11.3
func (o OptListOrgPeopleStatus) Get() (v ListOrgPeopleStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListOrgPeopleStatus) IsSet ¶ added in v0.11.3
func (o OptListOrgPeopleStatus) IsSet() bool
IsSet returns true if OptListOrgPeopleStatus was set.
func (OptListOrgPeopleStatus) Or ¶ added in v0.11.3
func (o OptListOrgPeopleStatus) Or(d ListOrgPeopleStatus) ListOrgPeopleStatus
Or returns value if set, or given parameter if does not.
func (*OptListOrgPeopleStatus) Reset ¶ added in v0.11.3
func (o *OptListOrgPeopleStatus) Reset()
Reset unsets value.
func (*OptListOrgPeopleStatus) SetTo ¶ added in v0.11.3
func (o *OptListOrgPeopleStatus) SetTo(v ListOrgPeopleStatus)
SetTo sets value to v.
type OptListProjectPeopleOrder ¶ added in v0.11.4
type OptListProjectPeopleOrder struct {
Value ListProjectPeopleOrder
Set bool
}
OptListProjectPeopleOrder is optional ListProjectPeopleOrder.
func NewOptListProjectPeopleOrder ¶ added in v0.11.4
func NewOptListProjectPeopleOrder(v ListProjectPeopleOrder) OptListProjectPeopleOrder
NewOptListProjectPeopleOrder returns new OptListProjectPeopleOrder with value set to v.
func (OptListProjectPeopleOrder) Get ¶ added in v0.11.4
func (o OptListProjectPeopleOrder) Get() (v ListProjectPeopleOrder, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListProjectPeopleOrder) IsSet ¶ added in v0.11.4
func (o OptListProjectPeopleOrder) IsSet() bool
IsSet returns true if OptListProjectPeopleOrder was set.
func (OptListProjectPeopleOrder) Or ¶ added in v0.11.4
Or returns value if set, or given parameter if does not.
func (*OptListProjectPeopleOrder) Reset ¶ added in v0.11.4
func (o *OptListProjectPeopleOrder) Reset()
Reset unsets value.
func (*OptListProjectPeopleOrder) SetTo ¶ added in v0.11.4
func (o *OptListProjectPeopleOrder) SetTo(v ListProjectPeopleOrder)
SetTo sets value to v.
type OptListProjectPeopleRole ¶ added in v0.11.3
type OptListProjectPeopleRole struct {
Value ListProjectPeopleRole
Set bool
}
OptListProjectPeopleRole is optional ListProjectPeopleRole.
func NewOptListProjectPeopleRole ¶ added in v0.11.3
func NewOptListProjectPeopleRole(v ListProjectPeopleRole) OptListProjectPeopleRole
NewOptListProjectPeopleRole returns new OptListProjectPeopleRole with value set to v.
func (OptListProjectPeopleRole) Get ¶ added in v0.11.3
func (o OptListProjectPeopleRole) Get() (v ListProjectPeopleRole, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListProjectPeopleRole) IsSet ¶ added in v0.11.3
func (o OptListProjectPeopleRole) IsSet() bool
IsSet returns true if OptListProjectPeopleRole was set.
func (OptListProjectPeopleRole) Or ¶ added in v0.11.3
func (o OptListProjectPeopleRole) Or(d ListProjectPeopleRole) ListProjectPeopleRole
Or returns value if set, or given parameter if does not.
func (*OptListProjectPeopleRole) Reset ¶ added in v0.11.3
func (o *OptListProjectPeopleRole) Reset()
Reset unsets value.
func (*OptListProjectPeopleRole) SetTo ¶ added in v0.11.3
func (o *OptListProjectPeopleRole) SetTo(v ListProjectPeopleRole)
SetTo sets value to v.
type OptListProjectPeopleSort ¶ added in v0.11.4
type OptListProjectPeopleSort struct {
Value ListProjectPeopleSort
Set bool
}
OptListProjectPeopleSort is optional ListProjectPeopleSort.
func NewOptListProjectPeopleSort ¶ added in v0.11.4
func NewOptListProjectPeopleSort(v ListProjectPeopleSort) OptListProjectPeopleSort
NewOptListProjectPeopleSort returns new OptListProjectPeopleSort with value set to v.
func (OptListProjectPeopleSort) Get ¶ added in v0.11.4
func (o OptListProjectPeopleSort) Get() (v ListProjectPeopleSort, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListProjectPeopleSort) IsSet ¶ added in v0.11.4
func (o OptListProjectPeopleSort) IsSet() bool
IsSet returns true if OptListProjectPeopleSort was set.
func (OptListProjectPeopleSort) Or ¶ added in v0.11.4
func (o OptListProjectPeopleSort) Or(d ListProjectPeopleSort) ListProjectPeopleSort
Or returns value if set, or given parameter if does not.
func (*OptListProjectPeopleSort) Reset ¶ added in v0.11.4
func (o *OptListProjectPeopleSort) Reset()
Reset unsets value.
func (*OptListProjectPeopleSort) SetTo ¶ added in v0.11.4
func (o *OptListProjectPeopleSort) SetTo(v ListProjectPeopleSort)
SetTo sets value to v.
type OptListProjectReposScope ¶ added in v0.11.4
type OptListProjectReposScope struct {
Value ListProjectReposScope
Set bool
}
OptListProjectReposScope is optional ListProjectReposScope.
func NewOptListProjectReposScope ¶ added in v0.11.4
func NewOptListProjectReposScope(v ListProjectReposScope) OptListProjectReposScope
NewOptListProjectReposScope returns new OptListProjectReposScope with value set to v.
func (OptListProjectReposScope) Get ¶ added in v0.11.4
func (o OptListProjectReposScope) Get() (v ListProjectReposScope, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListProjectReposScope) IsSet ¶ added in v0.11.4
func (o OptListProjectReposScope) IsSet() bool
IsSet returns true if OptListProjectReposScope was set.
func (OptListProjectReposScope) Or ¶ added in v0.11.4
func (o OptListProjectReposScope) Or(d ListProjectReposScope) ListProjectReposScope
Or returns value if set, or given parameter if does not.
func (*OptListProjectReposScope) Reset ¶ added in v0.11.4
func (o *OptListProjectReposScope) Reset()
Reset unsets value.
func (*OptListProjectReposScope) SetTo ¶ added in v0.11.4
func (o *OptListProjectReposScope) SetTo(v ListProjectReposScope)
SetTo sets value to v.
type OptListRepoCIDeliveriesDirection ¶ added in v0.11.3
type OptListRepoCIDeliveriesDirection struct {
Value ListRepoCIDeliveriesDirection
Set bool
}
OptListRepoCIDeliveriesDirection is optional ListRepoCIDeliveriesDirection.
func NewOptListRepoCIDeliveriesDirection ¶ added in v0.11.3
func NewOptListRepoCIDeliveriesDirection(v ListRepoCIDeliveriesDirection) OptListRepoCIDeliveriesDirection
NewOptListRepoCIDeliveriesDirection returns new OptListRepoCIDeliveriesDirection with value set to v.
func (OptListRepoCIDeliveriesDirection) Get ¶ added in v0.11.3
func (o OptListRepoCIDeliveriesDirection) Get() (v ListRepoCIDeliveriesDirection, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListRepoCIDeliveriesDirection) IsSet ¶ added in v0.11.3
func (o OptListRepoCIDeliveriesDirection) IsSet() bool
IsSet returns true if OptListRepoCIDeliveriesDirection was set.
func (OptListRepoCIDeliveriesDirection) Or ¶ added in v0.11.3
func (o OptListRepoCIDeliveriesDirection) Or(d ListRepoCIDeliveriesDirection) ListRepoCIDeliveriesDirection
Or returns value if set, or given parameter if does not.
func (*OptListRepoCIDeliveriesDirection) Reset ¶ added in v0.11.3
func (o *OptListRepoCIDeliveriesDirection) Reset()
Reset unsets value.
func (*OptListRepoCIDeliveriesDirection) SetTo ¶ added in v0.11.3
func (o *OptListRepoCIDeliveriesDirection) SetTo(v ListRepoCIDeliveriesDirection)
SetTo sets value to v.
type OptListRepoPeopleOrder ¶ added in v0.11.4
type OptListRepoPeopleOrder struct {
Value ListRepoPeopleOrder
Set bool
}
OptListRepoPeopleOrder is optional ListRepoPeopleOrder.
func NewOptListRepoPeopleOrder ¶ added in v0.11.4
func NewOptListRepoPeopleOrder(v ListRepoPeopleOrder) OptListRepoPeopleOrder
NewOptListRepoPeopleOrder returns new OptListRepoPeopleOrder with value set to v.
func (OptListRepoPeopleOrder) Get ¶ added in v0.11.4
func (o OptListRepoPeopleOrder) Get() (v ListRepoPeopleOrder, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListRepoPeopleOrder) IsSet ¶ added in v0.11.4
func (o OptListRepoPeopleOrder) IsSet() bool
IsSet returns true if OptListRepoPeopleOrder was set.
func (OptListRepoPeopleOrder) Or ¶ added in v0.11.4
func (o OptListRepoPeopleOrder) Or(d ListRepoPeopleOrder) ListRepoPeopleOrder
Or returns value if set, or given parameter if does not.
func (*OptListRepoPeopleOrder) Reset ¶ added in v0.11.4
func (o *OptListRepoPeopleOrder) Reset()
Reset unsets value.
func (*OptListRepoPeopleOrder) SetTo ¶ added in v0.11.4
func (o *OptListRepoPeopleOrder) SetTo(v ListRepoPeopleOrder)
SetTo sets value to v.
type OptListRepoPeopleRole ¶ added in v0.11.3
type OptListRepoPeopleRole struct {
Value ListRepoPeopleRole
Set bool
}
OptListRepoPeopleRole is optional ListRepoPeopleRole.
func NewOptListRepoPeopleRole ¶ added in v0.11.3
func NewOptListRepoPeopleRole(v ListRepoPeopleRole) OptListRepoPeopleRole
NewOptListRepoPeopleRole returns new OptListRepoPeopleRole with value set to v.
func (OptListRepoPeopleRole) Get ¶ added in v0.11.3
func (o OptListRepoPeopleRole) Get() (v ListRepoPeopleRole, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListRepoPeopleRole) IsSet ¶ added in v0.11.3
func (o OptListRepoPeopleRole) IsSet() bool
IsSet returns true if OptListRepoPeopleRole was set.
func (OptListRepoPeopleRole) Or ¶ added in v0.11.3
func (o OptListRepoPeopleRole) Or(d ListRepoPeopleRole) ListRepoPeopleRole
Or returns value if set, or given parameter if does not.
func (*OptListRepoPeopleRole) Reset ¶ added in v0.11.3
func (o *OptListRepoPeopleRole) Reset()
Reset unsets value.
func (*OptListRepoPeopleRole) SetTo ¶ added in v0.11.3
func (o *OptListRepoPeopleRole) SetTo(v ListRepoPeopleRole)
SetTo sets value to v.
type OptListRepoPeopleSort ¶ added in v0.11.4
type OptListRepoPeopleSort struct {
Value ListRepoPeopleSort
Set bool
}
OptListRepoPeopleSort is optional ListRepoPeopleSort.
func NewOptListRepoPeopleSort ¶ added in v0.11.4
func NewOptListRepoPeopleSort(v ListRepoPeopleSort) OptListRepoPeopleSort
NewOptListRepoPeopleSort returns new OptListRepoPeopleSort with value set to v.
func (OptListRepoPeopleSort) Get ¶ added in v0.11.4
func (o OptListRepoPeopleSort) Get() (v ListRepoPeopleSort, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListRepoPeopleSort) IsSet ¶ added in v0.11.4
func (o OptListRepoPeopleSort) IsSet() bool
IsSet returns true if OptListRepoPeopleSort was set.
func (OptListRepoPeopleSort) Or ¶ added in v0.11.4
func (o OptListRepoPeopleSort) Or(d ListRepoPeopleSort) ListRepoPeopleSort
Or returns value if set, or given parameter if does not.
func (*OptListRepoPeopleSort) Reset ¶ added in v0.11.4
func (o *OptListRepoPeopleSort) Reset()
Reset unsets value.
func (*OptListRepoPeopleSort) SetTo ¶ added in v0.11.4
func (o *OptListRepoPeopleSort) SetTo(v ListRepoPeopleSort)
SetTo sets value to v.
type OptListReposArchived ¶ added in v0.11.0
type OptListReposArchived struct {
Value ListReposArchived
Set bool
}
OptListReposArchived is optional ListReposArchived.
func NewOptListReposArchived ¶ added in v0.11.0
func NewOptListReposArchived(v ListReposArchived) OptListReposArchived
NewOptListReposArchived returns new OptListReposArchived with value set to v.
func (OptListReposArchived) Get ¶ added in v0.11.0
func (o OptListReposArchived) Get() (v ListReposArchived, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListReposArchived) IsSet ¶ added in v0.11.0
func (o OptListReposArchived) IsSet() bool
IsSet returns true if OptListReposArchived was set.
func (OptListReposArchived) Or ¶ added in v0.11.0
func (o OptListReposArchived) Or(d ListReposArchived) ListReposArchived
Or returns value if set, or given parameter if does not.
func (*OptListReposArchived) Reset ¶ added in v0.11.0
func (o *OptListReposArchived) Reset()
Reset unsets value.
func (*OptListReposArchived) SetTo ¶ added in v0.11.0
func (o *OptListReposArchived) SetTo(v ListReposArchived)
SetTo sets value to v.
type OptListReposHasCheckpoints ¶ added in v0.11.0
type OptListReposHasCheckpoints struct {
Value ListReposHasCheckpoints
Set bool
}
OptListReposHasCheckpoints is optional ListReposHasCheckpoints.
func NewOptListReposHasCheckpoints ¶ added in v0.11.0
func NewOptListReposHasCheckpoints(v ListReposHasCheckpoints) OptListReposHasCheckpoints
NewOptListReposHasCheckpoints returns new OptListReposHasCheckpoints with value set to v.
func (OptListReposHasCheckpoints) Get ¶ added in v0.11.0
func (o OptListReposHasCheckpoints) Get() (v ListReposHasCheckpoints, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListReposHasCheckpoints) IsSet ¶ added in v0.11.0
func (o OptListReposHasCheckpoints) IsSet() bool
IsSet returns true if OptListReposHasCheckpoints was set.
func (OptListReposHasCheckpoints) Or ¶ added in v0.11.0
Or returns value if set, or given parameter if does not.
func (*OptListReposHasCheckpoints) Reset ¶ added in v0.11.0
func (o *OptListReposHasCheckpoints) Reset()
Reset unsets value.
func (*OptListReposHasCheckpoints) SetTo ¶ added in v0.11.0
func (o *OptListReposHasCheckpoints) SetTo(v ListReposHasCheckpoints)
SetTo sets value to v.
type OptListReposOrder ¶ added in v0.11.0
type OptListReposOrder struct {
Value ListReposOrder
Set bool
}
OptListReposOrder is optional ListReposOrder.
func NewOptListReposOrder ¶ added in v0.11.0
func NewOptListReposOrder(v ListReposOrder) OptListReposOrder
NewOptListReposOrder returns new OptListReposOrder with value set to v.
func (OptListReposOrder) Get ¶ added in v0.11.0
func (o OptListReposOrder) Get() (v ListReposOrder, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListReposOrder) IsSet ¶ added in v0.11.0
func (o OptListReposOrder) IsSet() bool
IsSet returns true if OptListReposOrder was set.
func (OptListReposOrder) Or ¶ added in v0.11.0
func (o OptListReposOrder) Or(d ListReposOrder) ListReposOrder
Or returns value if set, or given parameter if does not.
func (*OptListReposOrder) Reset ¶ added in v0.11.0
func (o *OptListReposOrder) Reset()
Reset unsets value.
func (*OptListReposOrder) SetTo ¶ added in v0.11.0
func (o *OptListReposOrder) SetTo(v ListReposOrder)
SetTo sets value to v.
type OptListReposPermission ¶ added in v0.11.0
type OptListReposPermission struct {
Value ListReposPermission
Set bool
}
OptListReposPermission is optional ListReposPermission.
func NewOptListReposPermission ¶ added in v0.11.0
func NewOptListReposPermission(v ListReposPermission) OptListReposPermission
NewOptListReposPermission returns new OptListReposPermission with value set to v.
func (OptListReposPermission) Get ¶ added in v0.11.0
func (o OptListReposPermission) Get() (v ListReposPermission, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListReposPermission) IsSet ¶ added in v0.11.0
func (o OptListReposPermission) IsSet() bool
IsSet returns true if OptListReposPermission was set.
func (OptListReposPermission) Or ¶ added in v0.11.0
func (o OptListReposPermission) Or(d ListReposPermission) ListReposPermission
Or returns value if set, or given parameter if does not.
func (*OptListReposPermission) Reset ¶ added in v0.11.0
func (o *OptListReposPermission) Reset()
Reset unsets value.
func (*OptListReposPermission) SetTo ¶ added in v0.11.0
func (o *OptListReposPermission) SetTo(v ListReposPermission)
SetTo sets value to v.
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 OptListReposStatus ¶ added in v0.11.0
type OptListReposStatus struct {
Value ListReposStatus
Set bool
}
OptListReposStatus is optional ListReposStatus.
func NewOptListReposStatus ¶ added in v0.11.0
func NewOptListReposStatus(v ListReposStatus) OptListReposStatus
NewOptListReposStatus returns new OptListReposStatus with value set to v.
func (OptListReposStatus) Get ¶ added in v0.11.0
func (o OptListReposStatus) Get() (v ListReposStatus, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListReposStatus) IsSet ¶ added in v0.11.0
func (o OptListReposStatus) IsSet() bool
IsSet returns true if OptListReposStatus was set.
func (OptListReposStatus) Or ¶ added in v0.11.0
func (o OptListReposStatus) Or(d ListReposStatus) ListReposStatus
Or returns value if set, or given parameter if does not.
func (*OptListReposStatus) Reset ¶ added in v0.11.0
func (o *OptListReposStatus) Reset()
Reset unsets value.
func (*OptListReposStatus) SetTo ¶ added in v0.11.0
func (o *OptListReposStatus) SetTo(v ListReposStatus)
SetTo sets value to v.
type OptListReposVisibility ¶ added in v0.11.0
type OptListReposVisibility struct {
Value ListReposVisibility
Set bool
}
OptListReposVisibility is optional ListReposVisibility.
func NewOptListReposVisibility ¶ added in v0.11.0
func NewOptListReposVisibility(v ListReposVisibility) OptListReposVisibility
NewOptListReposVisibility returns new OptListReposVisibility with value set to v.
func (OptListReposVisibility) Get ¶ added in v0.11.0
func (o OptListReposVisibility) Get() (v ListReposVisibility, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptListReposVisibility) IsSet ¶ added in v0.11.0
func (o OptListReposVisibility) IsSet() bool
IsSet returns true if OptListReposVisibility was set.
func (OptListReposVisibility) Or ¶ added in v0.11.0
func (o OptListReposVisibility) Or(d ListReposVisibility) ListReposVisibility
Or returns value if set, or given parameter if does not.
func (*OptListReposVisibility) Reset ¶ added in v0.11.0
func (o *OptListReposVisibility) Reset()
Reset unsets value.
func (*OptListReposVisibility) SetTo ¶ added in v0.11.0
func (o *OptListReposVisibility) SetTo(v ListReposVisibility)
SetTo sets value to v.
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 OptMirrorRequestFailure ¶ added in v0.10.4
type OptMirrorRequestFailure struct {
Value MirrorRequestFailure
Set bool
}
OptMirrorRequestFailure is optional MirrorRequestFailure.
func NewOptMirrorRequestFailure ¶ added in v0.10.4
func NewOptMirrorRequestFailure(v MirrorRequestFailure) OptMirrorRequestFailure
NewOptMirrorRequestFailure returns new OptMirrorRequestFailure with value set to v.
func (*OptMirrorRequestFailure) Decode ¶ added in v0.10.4
func (o *OptMirrorRequestFailure) Decode(d *jx.Decoder) error
Decode decodes MirrorRequestFailure from json.
func (OptMirrorRequestFailure) Encode ¶ added in v0.10.4
func (o OptMirrorRequestFailure) Encode(e *jx.Encoder)
Encode encodes MirrorRequestFailure as json.
func (OptMirrorRequestFailure) Get ¶ added in v0.10.4
func (o OptMirrorRequestFailure) Get() (v MirrorRequestFailure, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMirrorRequestFailure) IsSet ¶ added in v0.10.4
func (o OptMirrorRequestFailure) IsSet() bool
IsSet returns true if OptMirrorRequestFailure was set.
func (OptMirrorRequestFailure) MarshalJSON ¶ added in v0.10.4
func (s OptMirrorRequestFailure) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMirrorRequestFailure) Or ¶ added in v0.10.4
func (o OptMirrorRequestFailure) Or(d MirrorRequestFailure) MirrorRequestFailure
Or returns value if set, or given parameter if does not.
func (*OptMirrorRequestFailure) Reset ¶ added in v0.10.4
func (o *OptMirrorRequestFailure) Reset()
Reset unsets value.
func (*OptMirrorRequestFailure) SetTo ¶ added in v0.10.4
func (o *OptMirrorRequestFailure) SetTo(v MirrorRequestFailure)
SetTo sets value to v.
func (*OptMirrorRequestFailure) UnmarshalJSON ¶ added in v0.10.4
func (s *OptMirrorRequestFailure) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMirrorRequestResult ¶ added in v0.10.4
type OptMirrorRequestResult struct {
Value MirrorRequestResult
Set bool
}
OptMirrorRequestResult is optional MirrorRequestResult.
func NewOptMirrorRequestResult ¶ added in v0.10.4
func NewOptMirrorRequestResult(v MirrorRequestResult) OptMirrorRequestResult
NewOptMirrorRequestResult returns new OptMirrorRequestResult with value set to v.
func (*OptMirrorRequestResult) Decode ¶ added in v0.10.4
func (o *OptMirrorRequestResult) Decode(d *jx.Decoder) error
Decode decodes MirrorRequestResult from json.
func (OptMirrorRequestResult) Encode ¶ added in v0.10.4
func (o OptMirrorRequestResult) Encode(e *jx.Encoder)
Encode encodes MirrorRequestResult as json.
func (OptMirrorRequestResult) Get ¶ added in v0.10.4
func (o OptMirrorRequestResult) Get() (v MirrorRequestResult, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMirrorRequestResult) IsSet ¶ added in v0.10.4
func (o OptMirrorRequestResult) IsSet() bool
IsSet returns true if OptMirrorRequestResult was set.
func (OptMirrorRequestResult) MarshalJSON ¶ added in v0.10.4
func (s OptMirrorRequestResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMirrorRequestResult) Or ¶ added in v0.10.4
func (o OptMirrorRequestResult) Or(d MirrorRequestResult) MirrorRequestResult
Or returns value if set, or given parameter if does not.
func (*OptMirrorRequestResult) Reset ¶ added in v0.10.4
func (o *OptMirrorRequestResult) Reset()
Reset unsets value.
func (*OptMirrorRequestResult) SetTo ¶ added in v0.10.4
func (o *OptMirrorRequestResult) SetTo(v MirrorRequestResult)
SetTo sets value to v.
func (*OptMirrorRequestResult) UnmarshalJSON ¶ added in v0.10.4
func (s *OptMirrorRequestResult) 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 OptOrgCapabilities ¶ added in v0.11.0
type OptOrgCapabilities struct {
Value OrgCapabilities
Set bool
}
OptOrgCapabilities is optional OrgCapabilities.
func NewOptOrgCapabilities ¶ added in v0.11.0
func NewOptOrgCapabilities(v OrgCapabilities) OptOrgCapabilities
NewOptOrgCapabilities returns new OptOrgCapabilities with value set to v.
func (*OptOrgCapabilities) Decode ¶ added in v0.11.0
func (o *OptOrgCapabilities) Decode(d *jx.Decoder) error
Decode decodes OrgCapabilities from json.
func (OptOrgCapabilities) Encode ¶ added in v0.11.0
func (o OptOrgCapabilities) Encode(e *jx.Encoder)
Encode encodes OrgCapabilities as json.
func (OptOrgCapabilities) Get ¶ added in v0.11.0
func (o OptOrgCapabilities) Get() (v OrgCapabilities, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptOrgCapabilities) IsSet ¶ added in v0.11.0
func (o OptOrgCapabilities) IsSet() bool
IsSet returns true if OptOrgCapabilities was set.
func (OptOrgCapabilities) MarshalJSON ¶ added in v0.11.0
func (s OptOrgCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptOrgCapabilities) Or ¶ added in v0.11.0
func (o OptOrgCapabilities) Or(d OrgCapabilities) OrgCapabilities
Or returns value if set, or given parameter if does not.
func (*OptOrgCapabilities) Reset ¶ added in v0.11.0
func (o *OptOrgCapabilities) Reset()
Reset unsets value.
func (*OptOrgCapabilities) SetTo ¶ added in v0.11.0
func (o *OptOrgCapabilities) SetTo(v OrgCapabilities)
SetTo sets value to v.
func (*OptOrgCapabilities) UnmarshalJSON ¶ added in v0.11.0
func (s *OptOrgCapabilities) UnmarshalJSON(data []byte) error
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 OptProjectCapabilities ¶ added in v0.11.0
type OptProjectCapabilities struct {
Value ProjectCapabilities
Set bool
}
OptProjectCapabilities is optional ProjectCapabilities.
func NewOptProjectCapabilities ¶ added in v0.11.0
func NewOptProjectCapabilities(v ProjectCapabilities) OptProjectCapabilities
NewOptProjectCapabilities returns new OptProjectCapabilities with value set to v.
func (*OptProjectCapabilities) Decode ¶ added in v0.11.0
func (o *OptProjectCapabilities) Decode(d *jx.Decoder) error
Decode decodes ProjectCapabilities from json.
func (OptProjectCapabilities) Encode ¶ added in v0.11.0
func (o OptProjectCapabilities) Encode(e *jx.Encoder)
Encode encodes ProjectCapabilities as json.
func (OptProjectCapabilities) Get ¶ added in v0.11.0
func (o OptProjectCapabilities) Get() (v ProjectCapabilities, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptProjectCapabilities) IsSet ¶ added in v0.11.0
func (o OptProjectCapabilities) IsSet() bool
IsSet returns true if OptProjectCapabilities was set.
func (OptProjectCapabilities) MarshalJSON ¶ added in v0.11.0
func (s OptProjectCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptProjectCapabilities) Or ¶ added in v0.11.0
func (o OptProjectCapabilities) Or(d ProjectCapabilities) ProjectCapabilities
Or returns value if set, or given parameter if does not.
func (*OptProjectCapabilities) Reset ¶ added in v0.11.0
func (o *OptProjectCapabilities) Reset()
Reset unsets value.
func (*OptProjectCapabilities) SetTo ¶ added in v0.11.0
func (o *OptProjectCapabilities) SetTo(v ProjectCapabilities)
SetTo sets value to v.
func (*OptProjectCapabilities) UnmarshalJSON ¶ added in v0.11.0
func (s *OptProjectCapabilities) 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 OptRepoCapabilities ¶ added in v0.11.0
type OptRepoCapabilities struct {
Value RepoCapabilities
Set bool
}
OptRepoCapabilities is optional RepoCapabilities.
func NewOptRepoCapabilities ¶ added in v0.11.0
func NewOptRepoCapabilities(v RepoCapabilities) OptRepoCapabilities
NewOptRepoCapabilities returns new OptRepoCapabilities with value set to v.
func (*OptRepoCapabilities) Decode ¶ added in v0.11.0
func (o *OptRepoCapabilities) Decode(d *jx.Decoder) error
Decode decodes RepoCapabilities from json.
func (OptRepoCapabilities) Encode ¶ added in v0.11.0
func (o OptRepoCapabilities) Encode(e *jx.Encoder)
Encode encodes RepoCapabilities as json.
func (OptRepoCapabilities) Get ¶ added in v0.11.0
func (o OptRepoCapabilities) Get() (v RepoCapabilities, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptRepoCapabilities) IsSet ¶ added in v0.11.0
func (o OptRepoCapabilities) IsSet() bool
IsSet returns true if OptRepoCapabilities was set.
func (OptRepoCapabilities) MarshalJSON ¶ added in v0.11.0
func (s OptRepoCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptRepoCapabilities) Or ¶ added in v0.11.0
func (o OptRepoCapabilities) Or(d RepoCapabilities) RepoCapabilities
Or returns value if set, or given parameter if does not.
func (*OptRepoCapabilities) Reset ¶ added in v0.11.0
func (o *OptRepoCapabilities) Reset()
Reset unsets value.
func (*OptRepoCapabilities) SetTo ¶ added in v0.11.0
func (o *OptRepoCapabilities) SetTo(v RepoCapabilities)
SetTo sets value to v.
func (*OptRepoCapabilities) UnmarshalJSON ¶ added in v0.11.0
func (s *OptRepoCapabilities) 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"`
Capabilities OptOrgCapabilities `json:"capabilities"`
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) GetCapabilities ¶ added in v0.11.0
func (s *Org) GetCapabilities() OptOrgCapabilities
GetCapabilities returns the value of Capabilities.
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) SetCapabilities ¶ added in v0.11.0
func (s *Org) SetCapabilities(val OptOrgCapabilities)
SetCapabilities sets the value of Capabilities.
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 OrgCIBuildkiteClusterView ¶ added in v0.11.0
type OrgCIBuildkiteClusterView struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
AuthPluginRef string `json:"auth_plugin_ref"`
BkClusterID string `json:"bk_cluster_id"`
BkOrganization string `json:"bk_organization"`
CreatedAt time.Time `json:"created_at"`
Label string `json:"label"`
Owner string `json:"owner"`
UpdatedAt time.Time `json:"updated_at"`
AdditionalProps OrgCIBuildkiteClusterViewAdditional
}
Ref: #/components/schemas/OrgCIBuildkiteClusterView
func (*OrgCIBuildkiteClusterView) Decode ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) Decode(d *jx.Decoder) error
Decode decodes OrgCIBuildkiteClusterView from json.
func (*OrgCIBuildkiteClusterView) Encode ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OrgCIBuildkiteClusterView) GetAdditionalProps ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) GetAdditionalProps() OrgCIBuildkiteClusterViewAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*OrgCIBuildkiteClusterView) GetAuthPluginRef ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) GetAuthPluginRef() string
GetAuthPluginRef returns the value of AuthPluginRef.
func (*OrgCIBuildkiteClusterView) GetBkClusterID ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) GetBkClusterID() string
GetBkClusterID returns the value of BkClusterID.
func (*OrgCIBuildkiteClusterView) GetBkOrganization ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) GetBkOrganization() string
GetBkOrganization returns the value of BkOrganization.
func (*OrgCIBuildkiteClusterView) GetCreatedAt ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*OrgCIBuildkiteClusterView) GetLabel ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) GetLabel() string
GetLabel returns the value of Label.
func (*OrgCIBuildkiteClusterView) GetOwner ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) GetOwner() string
GetOwner returns the value of Owner.
func (*OrgCIBuildkiteClusterView) GetSchema ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*OrgCIBuildkiteClusterView) GetUpdatedAt ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) GetUpdatedAt() time.Time
GetUpdatedAt returns the value of UpdatedAt.
func (*OrgCIBuildkiteClusterView) MarshalJSON ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgCIBuildkiteClusterView) SetAdditionalProps ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) SetAdditionalProps(val OrgCIBuildkiteClusterViewAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*OrgCIBuildkiteClusterView) SetAuthPluginRef ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) SetAuthPluginRef(val string)
SetAuthPluginRef sets the value of AuthPluginRef.
func (*OrgCIBuildkiteClusterView) SetBkClusterID ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) SetBkClusterID(val string)
SetBkClusterID sets the value of BkClusterID.
func (*OrgCIBuildkiteClusterView) SetBkOrganization ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) SetBkOrganization(val string)
SetBkOrganization sets the value of BkOrganization.
func (*OrgCIBuildkiteClusterView) SetCreatedAt ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*OrgCIBuildkiteClusterView) SetLabel ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) SetLabel(val string)
SetLabel sets the value of Label.
func (*OrgCIBuildkiteClusterView) SetOwner ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) SetOwner(val string)
SetOwner sets the value of Owner.
func (*OrgCIBuildkiteClusterView) SetSchema ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*OrgCIBuildkiteClusterView) SetUpdatedAt ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) SetUpdatedAt(val time.Time)
SetUpdatedAt sets the value of UpdatedAt.
func (*OrgCIBuildkiteClusterView) UnmarshalJSON ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterView) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgCIBuildkiteClusterViewAdditional ¶ added in v0.11.0
func (*OrgCIBuildkiteClusterViewAdditional) Decode ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterViewAdditional) Decode(d *jx.Decoder) error
Decode decodes OrgCIBuildkiteClusterViewAdditional from json.
func (OrgCIBuildkiteClusterViewAdditional) Encode ¶ added in v0.11.0
func (s OrgCIBuildkiteClusterViewAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OrgCIBuildkiteClusterViewAdditional) MarshalJSON ¶ added in v0.11.0
func (s OrgCIBuildkiteClusterViewAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgCIBuildkiteClusterViewAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *OrgCIBuildkiteClusterViewAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgCIBuildkiteCredentialView ¶ added in v0.11.0
type OrgCIBuildkiteCredentialView struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
BkOrganization string `json:"bk_organization"`
CipherVersion int64 `json:"cipher_version"`
CreatedAt time.Time `json:"created_at"`
InboundEndpointID OptString `json:"inbound_endpoint_id"`
InboundEndpointPath OptString `json:"inbound_endpoint_path"`
InboundEndpointURL OptString `json:"inbound_endpoint_url"`
InboundSecret OptString `json:"inbound_secret"`
InboundSecretIssuedAt OptDateTime `json:"inbound_secret_issued_at"`
InboundSecretSet bool `json:"inbound_secret_set"`
Owner string `json:"owner"`
TokenLen int64 `json:"token_len"`
UpdatedAt time.Time `json:"updated_at"`
VerifiedAt OptDateTime `json:"verified_at"`
AdditionalProps OrgCIBuildkiteCredentialViewAdditional
}
Ref: #/components/schemas/OrgCIBuildkiteCredentialView
func (*OrgCIBuildkiteCredentialView) Decode ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) Decode(d *jx.Decoder) error
Decode decodes OrgCIBuildkiteCredentialView from json.
func (*OrgCIBuildkiteCredentialView) Encode ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OrgCIBuildkiteCredentialView) GetAdditionalProps ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetAdditionalProps() OrgCIBuildkiteCredentialViewAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*OrgCIBuildkiteCredentialView) GetBkOrganization ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetBkOrganization() string
GetBkOrganization returns the value of BkOrganization.
func (*OrgCIBuildkiteCredentialView) GetCipherVersion ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetCipherVersion() int64
GetCipherVersion returns the value of CipherVersion.
func (*OrgCIBuildkiteCredentialView) GetCreatedAt ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*OrgCIBuildkiteCredentialView) GetInboundEndpointID ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetInboundEndpointID() OptString
GetInboundEndpointID returns the value of InboundEndpointID.
func (*OrgCIBuildkiteCredentialView) GetInboundEndpointPath ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetInboundEndpointPath() OptString
GetInboundEndpointPath returns the value of InboundEndpointPath.
func (*OrgCIBuildkiteCredentialView) GetInboundEndpointURL ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetInboundEndpointURL() OptString
GetInboundEndpointURL returns the value of InboundEndpointURL.
func (*OrgCIBuildkiteCredentialView) GetInboundSecret ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetInboundSecret() OptString
GetInboundSecret returns the value of InboundSecret.
func (*OrgCIBuildkiteCredentialView) GetInboundSecretIssuedAt ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetInboundSecretIssuedAt() OptDateTime
GetInboundSecretIssuedAt returns the value of InboundSecretIssuedAt.
func (*OrgCIBuildkiteCredentialView) GetInboundSecretSet ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetInboundSecretSet() bool
GetInboundSecretSet returns the value of InboundSecretSet.
func (*OrgCIBuildkiteCredentialView) GetOwner ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetOwner() string
GetOwner returns the value of Owner.
func (*OrgCIBuildkiteCredentialView) GetSchema ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*OrgCIBuildkiteCredentialView) GetTokenLen ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetTokenLen() int64
GetTokenLen returns the value of TokenLen.
func (*OrgCIBuildkiteCredentialView) GetUpdatedAt ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetUpdatedAt() time.Time
GetUpdatedAt returns the value of UpdatedAt.
func (*OrgCIBuildkiteCredentialView) GetVerifiedAt ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) GetVerifiedAt() OptDateTime
GetVerifiedAt returns the value of VerifiedAt.
func (*OrgCIBuildkiteCredentialView) MarshalJSON ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgCIBuildkiteCredentialView) SetAdditionalProps ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetAdditionalProps(val OrgCIBuildkiteCredentialViewAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*OrgCIBuildkiteCredentialView) SetBkOrganization ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetBkOrganization(val string)
SetBkOrganization sets the value of BkOrganization.
func (*OrgCIBuildkiteCredentialView) SetCipherVersion ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetCipherVersion(val int64)
SetCipherVersion sets the value of CipherVersion.
func (*OrgCIBuildkiteCredentialView) SetCreatedAt ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*OrgCIBuildkiteCredentialView) SetInboundEndpointID ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetInboundEndpointID(val OptString)
SetInboundEndpointID sets the value of InboundEndpointID.
func (*OrgCIBuildkiteCredentialView) SetInboundEndpointPath ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetInboundEndpointPath(val OptString)
SetInboundEndpointPath sets the value of InboundEndpointPath.
func (*OrgCIBuildkiteCredentialView) SetInboundEndpointURL ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetInboundEndpointURL(val OptString)
SetInboundEndpointURL sets the value of InboundEndpointURL.
func (*OrgCIBuildkiteCredentialView) SetInboundSecret ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetInboundSecret(val OptString)
SetInboundSecret sets the value of InboundSecret.
func (*OrgCIBuildkiteCredentialView) SetInboundSecretIssuedAt ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetInboundSecretIssuedAt(val OptDateTime)
SetInboundSecretIssuedAt sets the value of InboundSecretIssuedAt.
func (*OrgCIBuildkiteCredentialView) SetInboundSecretSet ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetInboundSecretSet(val bool)
SetInboundSecretSet sets the value of InboundSecretSet.
func (*OrgCIBuildkiteCredentialView) SetOwner ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetOwner(val string)
SetOwner sets the value of Owner.
func (*OrgCIBuildkiteCredentialView) SetSchema ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*OrgCIBuildkiteCredentialView) SetTokenLen ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetTokenLen(val int64)
SetTokenLen sets the value of TokenLen.
func (*OrgCIBuildkiteCredentialView) SetUpdatedAt ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetUpdatedAt(val time.Time)
SetUpdatedAt sets the value of UpdatedAt.
func (*OrgCIBuildkiteCredentialView) SetVerifiedAt ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) SetVerifiedAt(val OptDateTime)
SetVerifiedAt sets the value of VerifiedAt.
func (*OrgCIBuildkiteCredentialView) UnmarshalJSON ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialView) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgCIBuildkiteCredentialViewAdditional ¶ added in v0.11.0
func (*OrgCIBuildkiteCredentialViewAdditional) Decode ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialViewAdditional) Decode(d *jx.Decoder) error
Decode decodes OrgCIBuildkiteCredentialViewAdditional from json.
func (OrgCIBuildkiteCredentialViewAdditional) Encode ¶ added in v0.11.0
func (s OrgCIBuildkiteCredentialViewAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OrgCIBuildkiteCredentialViewAdditional) MarshalJSON ¶ added in v0.11.0
func (s OrgCIBuildkiteCredentialViewAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgCIBuildkiteCredentialViewAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *OrgCIBuildkiteCredentialViewAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgCIDepotConnectionView ¶ added in v0.11.3
type OrgCIDepotConnectionView struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Account string `json:"account"`
ConnectedAt OptDateTime `json:"connected_at"`
Owner string `json:"owner"`
Provider string `json:"provider"`
AdditionalProps OrgCIDepotConnectionViewAdditional
}
Ref: #/components/schemas/OrgCIDepotConnectionView
func (*OrgCIDepotConnectionView) Decode ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) Decode(d *jx.Decoder) error
Decode decodes OrgCIDepotConnectionView from json.
func (*OrgCIDepotConnectionView) Encode ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OrgCIDepotConnectionView) GetAccount ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) GetAccount() string
GetAccount returns the value of Account.
func (*OrgCIDepotConnectionView) GetAdditionalProps ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) GetAdditionalProps() OrgCIDepotConnectionViewAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*OrgCIDepotConnectionView) GetConnectedAt ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) GetConnectedAt() OptDateTime
GetConnectedAt returns the value of ConnectedAt.
func (*OrgCIDepotConnectionView) GetOwner ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) GetOwner() string
GetOwner returns the value of Owner.
func (*OrgCIDepotConnectionView) GetProvider ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) GetProvider() string
GetProvider returns the value of Provider.
func (*OrgCIDepotConnectionView) GetSchema ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*OrgCIDepotConnectionView) MarshalJSON ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgCIDepotConnectionView) SetAccount ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) SetAccount(val string)
SetAccount sets the value of Account.
func (*OrgCIDepotConnectionView) SetAdditionalProps ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) SetAdditionalProps(val OrgCIDepotConnectionViewAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*OrgCIDepotConnectionView) SetConnectedAt ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) SetConnectedAt(val OptDateTime)
SetConnectedAt sets the value of ConnectedAt.
func (*OrgCIDepotConnectionView) SetOwner ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) SetOwner(val string)
SetOwner sets the value of Owner.
func (*OrgCIDepotConnectionView) SetProvider ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) SetProvider(val string)
SetProvider sets the value of Provider.
func (*OrgCIDepotConnectionView) SetSchema ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*OrgCIDepotConnectionView) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgCIDepotConnectionView) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgCIDepotConnectionViewAdditional ¶ added in v0.11.3
func (*OrgCIDepotConnectionViewAdditional) Decode ¶ added in v0.11.3
func (s *OrgCIDepotConnectionViewAdditional) Decode(d *jx.Decoder) error
Decode decodes OrgCIDepotConnectionViewAdditional from json.
func (OrgCIDepotConnectionViewAdditional) Encode ¶ added in v0.11.3
func (s OrgCIDepotConnectionViewAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OrgCIDepotConnectionViewAdditional) MarshalJSON ¶ added in v0.11.3
func (s OrgCIDepotConnectionViewAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgCIDepotConnectionViewAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgCIDepotConnectionViewAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgCIGitHubActionsCredentialView ¶ added in v0.11.0
type OrgCIGitHubActionsCredentialView struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Account string `json:"account"`
HasAPIToken OptBool `json:"has_api_token"`
InboundEndpointID OptString `json:"inbound_endpoint_id"`
InboundEndpointPath OptString `json:"inbound_endpoint_path"`
InboundEndpointURL OptString `json:"inbound_endpoint_url"`
InboundSecret OptString `json:"inbound_secret"`
Owner string `json:"owner"`
Provider string `json:"provider"`
AdditionalProps OrgCIGitHubActionsCredentialViewAdditional
}
Ref: #/components/schemas/OrgCIGitHubActionsCredentialView
func (*OrgCIGitHubActionsCredentialView) Decode ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) Decode(d *jx.Decoder) error
Decode decodes OrgCIGitHubActionsCredentialView from json.
func (*OrgCIGitHubActionsCredentialView) Encode ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OrgCIGitHubActionsCredentialView) GetAccount ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) GetAccount() string
GetAccount returns the value of Account.
func (*OrgCIGitHubActionsCredentialView) GetAdditionalProps ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) GetAdditionalProps() OrgCIGitHubActionsCredentialViewAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*OrgCIGitHubActionsCredentialView) GetHasAPIToken ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) GetHasAPIToken() OptBool
GetHasAPIToken returns the value of HasAPIToken.
func (*OrgCIGitHubActionsCredentialView) GetInboundEndpointID ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) GetInboundEndpointID() OptString
GetInboundEndpointID returns the value of InboundEndpointID.
func (*OrgCIGitHubActionsCredentialView) GetInboundEndpointPath ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) GetInboundEndpointPath() OptString
GetInboundEndpointPath returns the value of InboundEndpointPath.
func (*OrgCIGitHubActionsCredentialView) GetInboundEndpointURL ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) GetInboundEndpointURL() OptString
GetInboundEndpointURL returns the value of InboundEndpointURL.
func (*OrgCIGitHubActionsCredentialView) GetInboundSecret ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) GetInboundSecret() OptString
GetInboundSecret returns the value of InboundSecret.
func (*OrgCIGitHubActionsCredentialView) GetOwner ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) GetOwner() string
GetOwner returns the value of Owner.
func (*OrgCIGitHubActionsCredentialView) GetProvider ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) GetProvider() string
GetProvider returns the value of Provider.
func (*OrgCIGitHubActionsCredentialView) GetSchema ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*OrgCIGitHubActionsCredentialView) MarshalJSON ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgCIGitHubActionsCredentialView) SetAccount ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) SetAccount(val string)
SetAccount sets the value of Account.
func (*OrgCIGitHubActionsCredentialView) SetAdditionalProps ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) SetAdditionalProps(val OrgCIGitHubActionsCredentialViewAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*OrgCIGitHubActionsCredentialView) SetHasAPIToken ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) SetHasAPIToken(val OptBool)
SetHasAPIToken sets the value of HasAPIToken.
func (*OrgCIGitHubActionsCredentialView) SetInboundEndpointID ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) SetInboundEndpointID(val OptString)
SetInboundEndpointID sets the value of InboundEndpointID.
func (*OrgCIGitHubActionsCredentialView) SetInboundEndpointPath ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) SetInboundEndpointPath(val OptString)
SetInboundEndpointPath sets the value of InboundEndpointPath.
func (*OrgCIGitHubActionsCredentialView) SetInboundEndpointURL ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) SetInboundEndpointURL(val OptString)
SetInboundEndpointURL sets the value of InboundEndpointURL.
func (*OrgCIGitHubActionsCredentialView) SetInboundSecret ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) SetInboundSecret(val OptString)
SetInboundSecret sets the value of InboundSecret.
func (*OrgCIGitHubActionsCredentialView) SetOwner ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) SetOwner(val string)
SetOwner sets the value of Owner.
func (*OrgCIGitHubActionsCredentialView) SetProvider ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) SetProvider(val string)
SetProvider sets the value of Provider.
func (*OrgCIGitHubActionsCredentialView) SetSchema ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*OrgCIGitHubActionsCredentialView) UnmarshalJSON ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialView) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgCIGitHubActionsCredentialViewAdditional ¶ added in v0.11.0
func (*OrgCIGitHubActionsCredentialViewAdditional) Decode ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialViewAdditional) Decode(d *jx.Decoder) error
Decode decodes OrgCIGitHubActionsCredentialViewAdditional from json.
func (OrgCIGitHubActionsCredentialViewAdditional) Encode ¶ added in v0.11.0
func (s OrgCIGitHubActionsCredentialViewAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OrgCIGitHubActionsCredentialViewAdditional) MarshalJSON ¶ added in v0.11.0
func (s OrgCIGitHubActionsCredentialViewAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgCIGitHubActionsCredentialViewAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *OrgCIGitHubActionsCredentialViewAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgCapabilities ¶ added in v0.11.0
type OrgCapabilities struct {
// Whether this surface permits the caller to change organization owners. Individual mutations still
// enforce all guards.
CanChangeOwners bool `json:"canChangeOwners"`
CanCreateProject bool `json:"canCreateProject"`
CanDelete bool `json:"canDelete"`
CanManageMembers bool `json:"canManageMembers"`
AdditionalProps OrgCapabilitiesAdditional
}
Ref: #/components/schemas/OrgCapabilities
func (*OrgCapabilities) Decode ¶ added in v0.11.0
func (s *OrgCapabilities) Decode(d *jx.Decoder) error
Decode decodes OrgCapabilities from json.
func (*OrgCapabilities) Encode ¶ added in v0.11.0
func (s *OrgCapabilities) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OrgCapabilities) GetAdditionalProps ¶ added in v0.11.0
func (s *OrgCapabilities) GetAdditionalProps() OrgCapabilitiesAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*OrgCapabilities) GetCanChangeOwners ¶ added in v0.11.3
func (s *OrgCapabilities) GetCanChangeOwners() bool
GetCanChangeOwners returns the value of CanChangeOwners.
func (*OrgCapabilities) GetCanCreateProject ¶ added in v0.11.0
func (s *OrgCapabilities) GetCanCreateProject() bool
GetCanCreateProject returns the value of CanCreateProject.
func (*OrgCapabilities) GetCanDelete ¶ added in v0.11.0
func (s *OrgCapabilities) GetCanDelete() bool
GetCanDelete returns the value of CanDelete.
func (*OrgCapabilities) GetCanManageMembers ¶ added in v0.11.0
func (s *OrgCapabilities) GetCanManageMembers() bool
GetCanManageMembers returns the value of CanManageMembers.
func (*OrgCapabilities) MarshalJSON ¶ added in v0.11.0
func (s *OrgCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgCapabilities) SetAdditionalProps ¶ added in v0.11.0
func (s *OrgCapabilities) SetAdditionalProps(val OrgCapabilitiesAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*OrgCapabilities) SetCanChangeOwners ¶ added in v0.11.3
func (s *OrgCapabilities) SetCanChangeOwners(val bool)
SetCanChangeOwners sets the value of CanChangeOwners.
func (*OrgCapabilities) SetCanCreateProject ¶ added in v0.11.0
func (s *OrgCapabilities) SetCanCreateProject(val bool)
SetCanCreateProject sets the value of CanCreateProject.
func (*OrgCapabilities) SetCanDelete ¶ added in v0.11.0
func (s *OrgCapabilities) SetCanDelete(val bool)
SetCanDelete sets the value of CanDelete.
func (*OrgCapabilities) SetCanManageMembers ¶ added in v0.11.0
func (s *OrgCapabilities) SetCanManageMembers(val bool)
SetCanManageMembers sets the value of CanManageMembers.
func (*OrgCapabilities) UnmarshalJSON ¶ added in v0.11.0
func (s *OrgCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgCapabilitiesAdditional ¶ added in v0.11.0
func (*OrgCapabilitiesAdditional) Decode ¶ added in v0.11.0
func (s *OrgCapabilitiesAdditional) Decode(d *jx.Decoder) error
Decode decodes OrgCapabilitiesAdditional from json.
func (OrgCapabilitiesAdditional) Encode ¶ added in v0.11.0
func (s OrgCapabilitiesAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OrgCapabilitiesAdditional) MarshalJSON ¶ added in v0.11.0
func (s OrgCapabilitiesAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgCapabilitiesAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *OrgCapabilitiesAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgMemberListItem ¶ added in v0.11.4
type OrgMemberListItem struct {
AccountId string `json:"accountId"`
// Public avatar URL.
AvatarUrl OptString `json:"avatarUrl"`
CreatedAt time.Time `json:"createdAt"`
// Account-level public display name.
DisplayName OptString `json:"displayName"`
Handle OptString `json:"handle"`
ID string `json:"id"`
OrgId string `json:"orgId"`
Provider OptString `json:"provider"`
Role string `json:"role"`
// Membership lifecycle status.
Status string `json:"status"`
WorkosOrgMembershipId OptString `json:"workosOrgMembershipId"`
AdditionalProps OrgMemberListItemAdditional
}
Ref: #/components/schemas/OrgMemberListItem
func (*OrgMemberListItem) Decode ¶ added in v0.11.4
func (s *OrgMemberListItem) Decode(d *jx.Decoder) error
Decode decodes OrgMemberListItem from json.
func (*OrgMemberListItem) Encode ¶ added in v0.11.4
func (s *OrgMemberListItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OrgMemberListItem) GetAccountId ¶ added in v0.11.4
func (s *OrgMemberListItem) GetAccountId() string
GetAccountId returns the value of AccountId.
func (*OrgMemberListItem) GetAdditionalProps ¶ added in v0.11.4
func (s *OrgMemberListItem) GetAdditionalProps() OrgMemberListItemAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*OrgMemberListItem) GetAvatarUrl ¶ added in v0.11.4
func (s *OrgMemberListItem) GetAvatarUrl() OptString
GetAvatarUrl returns the value of AvatarUrl.
func (*OrgMemberListItem) GetCreatedAt ¶ added in v0.11.4
func (s *OrgMemberListItem) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*OrgMemberListItem) GetDisplayName ¶ added in v0.11.4
func (s *OrgMemberListItem) GetDisplayName() OptString
GetDisplayName returns the value of DisplayName.
func (*OrgMemberListItem) GetHandle ¶ added in v0.11.4
func (s *OrgMemberListItem) GetHandle() OptString
GetHandle returns the value of Handle.
func (*OrgMemberListItem) GetID ¶ added in v0.11.4
func (s *OrgMemberListItem) GetID() string
GetID returns the value of ID.
func (*OrgMemberListItem) GetOrgId ¶ added in v0.11.4
func (s *OrgMemberListItem) GetOrgId() string
GetOrgId returns the value of OrgId.
func (*OrgMemberListItem) GetProvider ¶ added in v0.11.4
func (s *OrgMemberListItem) GetProvider() OptString
GetProvider returns the value of Provider.
func (*OrgMemberListItem) GetRole ¶ added in v0.11.4
func (s *OrgMemberListItem) GetRole() string
GetRole returns the value of Role.
func (*OrgMemberListItem) GetStatus ¶ added in v0.11.4
func (s *OrgMemberListItem) GetStatus() string
GetStatus returns the value of Status.
func (*OrgMemberListItem) GetWorkosOrgMembershipId ¶ added in v0.11.4
func (s *OrgMemberListItem) GetWorkosOrgMembershipId() OptString
GetWorkosOrgMembershipId returns the value of WorkosOrgMembershipId.
func (*OrgMemberListItem) MarshalJSON ¶ added in v0.11.4
func (s *OrgMemberListItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgMemberListItem) SetAccountId ¶ added in v0.11.4
func (s *OrgMemberListItem) SetAccountId(val string)
SetAccountId sets the value of AccountId.
func (*OrgMemberListItem) SetAdditionalProps ¶ added in v0.11.4
func (s *OrgMemberListItem) SetAdditionalProps(val OrgMemberListItemAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*OrgMemberListItem) SetAvatarUrl ¶ added in v0.11.4
func (s *OrgMemberListItem) SetAvatarUrl(val OptString)
SetAvatarUrl sets the value of AvatarUrl.
func (*OrgMemberListItem) SetCreatedAt ¶ added in v0.11.4
func (s *OrgMemberListItem) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*OrgMemberListItem) SetDisplayName ¶ added in v0.11.4
func (s *OrgMemberListItem) SetDisplayName(val OptString)
SetDisplayName sets the value of DisplayName.
func (*OrgMemberListItem) SetHandle ¶ added in v0.11.4
func (s *OrgMemberListItem) SetHandle(val OptString)
SetHandle sets the value of Handle.
func (*OrgMemberListItem) SetID ¶ added in v0.11.4
func (s *OrgMemberListItem) SetID(val string)
SetID sets the value of ID.
func (*OrgMemberListItem) SetOrgId ¶ added in v0.11.4
func (s *OrgMemberListItem) SetOrgId(val string)
SetOrgId sets the value of OrgId.
func (*OrgMemberListItem) SetProvider ¶ added in v0.11.4
func (s *OrgMemberListItem) SetProvider(val OptString)
SetProvider sets the value of Provider.
func (*OrgMemberListItem) SetRole ¶ added in v0.11.4
func (s *OrgMemberListItem) SetRole(val string)
SetRole sets the value of Role.
func (*OrgMemberListItem) SetStatus ¶ added in v0.11.4
func (s *OrgMemberListItem) SetStatus(val string)
SetStatus sets the value of Status.
func (*OrgMemberListItem) SetWorkosOrgMembershipId ¶ added in v0.11.4
func (s *OrgMemberListItem) SetWorkosOrgMembershipId(val OptString)
SetWorkosOrgMembershipId sets the value of WorkosOrgMembershipId.
func (*OrgMemberListItem) UnmarshalJSON ¶ added in v0.11.4
func (s *OrgMemberListItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgMemberListItemAdditional ¶ added in v0.11.4
func (*OrgMemberListItemAdditional) Decode ¶ added in v0.11.4
func (s *OrgMemberListItemAdditional) Decode(d *jx.Decoder) error
Decode decodes OrgMemberListItemAdditional from json.
func (OrgMemberListItemAdditional) Encode ¶ added in v0.11.4
func (s OrgMemberListItemAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OrgMemberListItemAdditional) MarshalJSON ¶ added in v0.11.4
func (s OrgMemberListItemAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgMemberListItemAdditional) UnmarshalJSON ¶ added in v0.11.4
func (s *OrgMemberListItemAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgPerson ¶ added in v0.11.3
type OrgPerson struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
AccountId string `json:"accountId"`
AvatarUrl OptString `json:"avatarUrl"`
DisplayName OptString `json:"displayName"`
Grants []OrgPersonGrant `json:"grants"`
Handle OptString `json:"handle"`
Membership OrgPersonMembership `json:"membership"`
Provider OptString `json:"provider"`
AdditionalProps OrgPersonAdditional
}
Ref: #/components/schemas/OrgPerson
func (*OrgPerson) GetAccountId ¶ added in v0.11.3
GetAccountId returns the value of AccountId.
func (*OrgPerson) GetAdditionalProps ¶ added in v0.11.3
func (s *OrgPerson) GetAdditionalProps() OrgPersonAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*OrgPerson) GetAvatarUrl ¶ added in v0.11.3
GetAvatarUrl returns the value of AvatarUrl.
func (*OrgPerson) GetDisplayName ¶ added in v0.11.4
GetDisplayName returns the value of DisplayName.
func (*OrgPerson) GetGrants ¶ added in v0.11.3
func (s *OrgPerson) GetGrants() []OrgPersonGrant
GetGrants returns the value of Grants.
func (*OrgPerson) GetMembership ¶ added in v0.11.3
func (s *OrgPerson) GetMembership() OrgPersonMembership
GetMembership returns the value of Membership.
func (*OrgPerson) GetProvider ¶ added in v0.11.3
GetProvider returns the value of Provider.
func (*OrgPerson) MarshalJSON ¶ added in v0.11.3
MarshalJSON implements stdjson.Marshaler.
func (*OrgPerson) SetAccountId ¶ added in v0.11.3
SetAccountId sets the value of AccountId.
func (*OrgPerson) SetAdditionalProps ¶ added in v0.11.3
func (s *OrgPerson) SetAdditionalProps(val OrgPersonAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*OrgPerson) SetAvatarUrl ¶ added in v0.11.3
SetAvatarUrl sets the value of AvatarUrl.
func (*OrgPerson) SetDisplayName ¶ added in v0.11.4
SetDisplayName sets the value of DisplayName.
func (*OrgPerson) SetGrants ¶ added in v0.11.3
func (s *OrgPerson) SetGrants(val []OrgPersonGrant)
SetGrants sets the value of Grants.
func (*OrgPerson) SetMembership ¶ added in v0.11.3
func (s *OrgPerson) SetMembership(val OrgPersonMembership)
SetMembership sets the value of Membership.
func (*OrgPerson) SetProvider ¶ added in v0.11.3
SetProvider sets the value of Provider.
func (*OrgPerson) UnmarshalJSON ¶ added in v0.11.3
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgPersonAdditional ¶ added in v0.11.3
func (*OrgPersonAdditional) Decode ¶ added in v0.11.3
func (s *OrgPersonAdditional) Decode(d *jx.Decoder) error
Decode decodes OrgPersonAdditional from json.
func (OrgPersonAdditional) Encode ¶ added in v0.11.3
func (s OrgPersonAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OrgPersonAdditional) MarshalJSON ¶ added in v0.11.3
func (s OrgPersonAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgPersonAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgPersonAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgPersonGrant ¶ added in v0.11.3
type OrgPersonGrant struct {
Capabilities OrgPersonGrantCapabilities `json:"capabilities"`
// Organization ID, project ID, or logical repo-group ID (not a placement ID).
ResourceId string `json:"resourceId"`
ResourceName string `json:"resourceName"`
ResourceType OrgPersonGrantResourceType `json:"resourceType"`
Role OrgPersonGrantRole `json:"role"`
// Origin at this resource level; inherited access is not included.
Source OrgPersonGrantSource `json:"source"`
AdditionalProps OrgPersonGrantAdditional
}
Ref: #/components/schemas/OrgPersonGrant
func (*OrgPersonGrant) Decode ¶ added in v0.11.3
func (s *OrgPersonGrant) Decode(d *jx.Decoder) error
Decode decodes OrgPersonGrant from json.
func (*OrgPersonGrant) Encode ¶ added in v0.11.3
func (s *OrgPersonGrant) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OrgPersonGrant) GetAdditionalProps ¶ added in v0.11.3
func (s *OrgPersonGrant) GetAdditionalProps() OrgPersonGrantAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*OrgPersonGrant) GetCapabilities ¶ added in v0.11.3
func (s *OrgPersonGrant) GetCapabilities() OrgPersonGrantCapabilities
GetCapabilities returns the value of Capabilities.
func (*OrgPersonGrant) GetResourceId ¶ added in v0.11.3
func (s *OrgPersonGrant) GetResourceId() string
GetResourceId returns the value of ResourceId.
func (*OrgPersonGrant) GetResourceName ¶ added in v0.11.3
func (s *OrgPersonGrant) GetResourceName() string
GetResourceName returns the value of ResourceName.
func (*OrgPersonGrant) GetResourceType ¶ added in v0.11.3
func (s *OrgPersonGrant) GetResourceType() OrgPersonGrantResourceType
GetResourceType returns the value of ResourceType.
func (*OrgPersonGrant) GetRole ¶ added in v0.11.3
func (s *OrgPersonGrant) GetRole() OrgPersonGrantRole
GetRole returns the value of Role.
func (*OrgPersonGrant) GetSource ¶ added in v0.11.3
func (s *OrgPersonGrant) GetSource() OrgPersonGrantSource
GetSource returns the value of Source.
func (*OrgPersonGrant) MarshalJSON ¶ added in v0.11.3
func (s *OrgPersonGrant) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgPersonGrant) SetAdditionalProps ¶ added in v0.11.3
func (s *OrgPersonGrant) SetAdditionalProps(val OrgPersonGrantAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*OrgPersonGrant) SetCapabilities ¶ added in v0.11.3
func (s *OrgPersonGrant) SetCapabilities(val OrgPersonGrantCapabilities)
SetCapabilities sets the value of Capabilities.
func (*OrgPersonGrant) SetResourceId ¶ added in v0.11.3
func (s *OrgPersonGrant) SetResourceId(val string)
SetResourceId sets the value of ResourceId.
func (*OrgPersonGrant) SetResourceName ¶ added in v0.11.3
func (s *OrgPersonGrant) SetResourceName(val string)
SetResourceName sets the value of ResourceName.
func (*OrgPersonGrant) SetResourceType ¶ added in v0.11.3
func (s *OrgPersonGrant) SetResourceType(val OrgPersonGrantResourceType)
SetResourceType sets the value of ResourceType.
func (*OrgPersonGrant) SetRole ¶ added in v0.11.3
func (s *OrgPersonGrant) SetRole(val OrgPersonGrantRole)
SetRole sets the value of Role.
func (*OrgPersonGrant) SetSource ¶ added in v0.11.3
func (s *OrgPersonGrant) SetSource(val OrgPersonGrantSource)
SetSource sets the value of Source.
func (*OrgPersonGrant) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgPersonGrant) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrgPersonGrant) Validate ¶ added in v0.11.3
func (s *OrgPersonGrant) Validate() error
type OrgPersonGrantAdditional ¶ added in v0.11.3
func (*OrgPersonGrantAdditional) Decode ¶ added in v0.11.3
func (s *OrgPersonGrantAdditional) Decode(d *jx.Decoder) error
Decode decodes OrgPersonGrantAdditional from json.
func (OrgPersonGrantAdditional) Encode ¶ added in v0.11.3
func (s OrgPersonGrantAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OrgPersonGrantAdditional) MarshalJSON ¶ added in v0.11.3
func (s OrgPersonGrantAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgPersonGrantAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgPersonGrantAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgPersonGrantCapabilities ¶ added in v0.11.3
type OrgPersonGrantCapabilities struct {
// Roles the caller may request. An empty array means read-only.
AllowedRoles []OrgPersonGrantCapabilitiesAllowedRolesItem `json:"allowedRoles"`
// ID for the existing role mutation: membership ID, project ID, or native primary repo placement ID.
// Present only when roles are editable.
TargetId OptString `json:"targetId"`
AdditionalProps OrgPersonGrantCapabilitiesAdditional
}
Ref: #/components/schemas/OrgPersonGrantCapabilities
func (*OrgPersonGrantCapabilities) Decode ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilities) Decode(d *jx.Decoder) error
Decode decodes OrgPersonGrantCapabilities from json.
func (*OrgPersonGrantCapabilities) Encode ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilities) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OrgPersonGrantCapabilities) GetAdditionalProps ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilities) GetAdditionalProps() OrgPersonGrantCapabilitiesAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*OrgPersonGrantCapabilities) GetAllowedRoles ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilities) GetAllowedRoles() []OrgPersonGrantCapabilitiesAllowedRolesItem
GetAllowedRoles returns the value of AllowedRoles.
func (*OrgPersonGrantCapabilities) GetTargetId ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilities) GetTargetId() OptString
GetTargetId returns the value of TargetId.
func (*OrgPersonGrantCapabilities) MarshalJSON ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgPersonGrantCapabilities) SetAdditionalProps ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilities) SetAdditionalProps(val OrgPersonGrantCapabilitiesAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*OrgPersonGrantCapabilities) SetAllowedRoles ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilities) SetAllowedRoles(val []OrgPersonGrantCapabilitiesAllowedRolesItem)
SetAllowedRoles sets the value of AllowedRoles.
func (*OrgPersonGrantCapabilities) SetTargetId ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilities) SetTargetId(val OptString)
SetTargetId sets the value of TargetId.
func (*OrgPersonGrantCapabilities) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrgPersonGrantCapabilities) Validate ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilities) Validate() error
type OrgPersonGrantCapabilitiesAdditional ¶ added in v0.11.3
func (*OrgPersonGrantCapabilitiesAdditional) Decode ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilitiesAdditional) Decode(d *jx.Decoder) error
Decode decodes OrgPersonGrantCapabilitiesAdditional from json.
func (OrgPersonGrantCapabilitiesAdditional) Encode ¶ added in v0.11.3
func (s OrgPersonGrantCapabilitiesAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OrgPersonGrantCapabilitiesAdditional) MarshalJSON ¶ added in v0.11.3
func (s OrgPersonGrantCapabilitiesAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgPersonGrantCapabilitiesAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilitiesAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgPersonGrantCapabilitiesAllowedRolesItem ¶ added in v0.11.3
type OrgPersonGrantCapabilitiesAllowedRolesItem string
const ( OrgPersonGrantCapabilitiesAllowedRolesItemOwner OrgPersonGrantCapabilitiesAllowedRolesItem = "owner" OrgPersonGrantCapabilitiesAllowedRolesItemAdmin OrgPersonGrantCapabilitiesAllowedRolesItem = "admin" OrgPersonGrantCapabilitiesAllowedRolesItemMember OrgPersonGrantCapabilitiesAllowedRolesItem = "member" OrgPersonGrantCapabilitiesAllowedRolesItemWriter OrgPersonGrantCapabilitiesAllowedRolesItem = "writer" OrgPersonGrantCapabilitiesAllowedRolesItemReader OrgPersonGrantCapabilitiesAllowedRolesItem = "reader" )
func (OrgPersonGrantCapabilitiesAllowedRolesItem) AllValues ¶ added in v0.11.3
func (OrgPersonGrantCapabilitiesAllowedRolesItem) AllValues() []OrgPersonGrantCapabilitiesAllowedRolesItem
AllValues returns all OrgPersonGrantCapabilitiesAllowedRolesItem values.
func (*OrgPersonGrantCapabilitiesAllowedRolesItem) Decode ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilitiesAllowedRolesItem) Decode(d *jx.Decoder) error
Decode decodes OrgPersonGrantCapabilitiesAllowedRolesItem from json.
func (OrgPersonGrantCapabilitiesAllowedRolesItem) Encode ¶ added in v0.11.3
func (s OrgPersonGrantCapabilitiesAllowedRolesItem) Encode(e *jx.Encoder)
Encode encodes OrgPersonGrantCapabilitiesAllowedRolesItem as json.
func (OrgPersonGrantCapabilitiesAllowedRolesItem) MarshalJSON ¶ added in v0.11.3
func (s OrgPersonGrantCapabilitiesAllowedRolesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OrgPersonGrantCapabilitiesAllowedRolesItem) MarshalText ¶ added in v0.11.3
func (s OrgPersonGrantCapabilitiesAllowedRolesItem) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OrgPersonGrantCapabilitiesAllowedRolesItem) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilitiesAllowedRolesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrgPersonGrantCapabilitiesAllowedRolesItem) UnmarshalText ¶ added in v0.11.3
func (s *OrgPersonGrantCapabilitiesAllowedRolesItem) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OrgPersonGrantCapabilitiesAllowedRolesItem) Validate ¶ added in v0.11.3
func (s OrgPersonGrantCapabilitiesAllowedRolesItem) Validate() error
type OrgPersonGrantResourceType ¶ added in v0.11.3
type OrgPersonGrantResourceType string
const ( OrgPersonGrantResourceTypeOrganization OrgPersonGrantResourceType = "organization" OrgPersonGrantResourceTypeProject OrgPersonGrantResourceType = "project" OrgPersonGrantResourceTypeRepository OrgPersonGrantResourceType = "repository" )
func (OrgPersonGrantResourceType) AllValues ¶ added in v0.11.3
func (OrgPersonGrantResourceType) AllValues() []OrgPersonGrantResourceType
AllValues returns all OrgPersonGrantResourceType values.
func (*OrgPersonGrantResourceType) Decode ¶ added in v0.11.3
func (s *OrgPersonGrantResourceType) Decode(d *jx.Decoder) error
Decode decodes OrgPersonGrantResourceType from json.
func (OrgPersonGrantResourceType) Encode ¶ added in v0.11.3
func (s OrgPersonGrantResourceType) Encode(e *jx.Encoder)
Encode encodes OrgPersonGrantResourceType as json.
func (OrgPersonGrantResourceType) MarshalJSON ¶ added in v0.11.3
func (s OrgPersonGrantResourceType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OrgPersonGrantResourceType) MarshalText ¶ added in v0.11.3
func (s OrgPersonGrantResourceType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OrgPersonGrantResourceType) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgPersonGrantResourceType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrgPersonGrantResourceType) UnmarshalText ¶ added in v0.11.3
func (s *OrgPersonGrantResourceType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OrgPersonGrantResourceType) Validate ¶ added in v0.11.3
func (s OrgPersonGrantResourceType) Validate() error
type OrgPersonGrantRole ¶ added in v0.11.3
type OrgPersonGrantRole string
const ( OrgPersonGrantRoleOwner OrgPersonGrantRole = "owner" OrgPersonGrantRoleAdmin OrgPersonGrantRole = "admin" OrgPersonGrantRoleMember OrgPersonGrantRole = "member" OrgPersonGrantRoleReader OrgPersonGrantRole = "reader" OrgPersonGrantRoleWriter OrgPersonGrantRole = "writer" OrgPersonGrantRoleMirrorSourceAdmin OrgPersonGrantRole = "mirror_source_admin" )
func (OrgPersonGrantRole) AllValues ¶ added in v0.11.3
func (OrgPersonGrantRole) AllValues() []OrgPersonGrantRole
AllValues returns all OrgPersonGrantRole values.
func (*OrgPersonGrantRole) Decode ¶ added in v0.11.3
func (s *OrgPersonGrantRole) Decode(d *jx.Decoder) error
Decode decodes OrgPersonGrantRole from json.
func (OrgPersonGrantRole) Encode ¶ added in v0.11.3
func (s OrgPersonGrantRole) Encode(e *jx.Encoder)
Encode encodes OrgPersonGrantRole as json.
func (OrgPersonGrantRole) MarshalJSON ¶ added in v0.11.3
func (s OrgPersonGrantRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OrgPersonGrantRole) MarshalText ¶ added in v0.11.3
func (s OrgPersonGrantRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OrgPersonGrantRole) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgPersonGrantRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrgPersonGrantRole) UnmarshalText ¶ added in v0.11.3
func (s *OrgPersonGrantRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OrgPersonGrantRole) Validate ¶ added in v0.11.3
func (s OrgPersonGrantRole) Validate() error
type OrgPersonGrantSource ¶ added in v0.11.3
type OrgPersonGrantSource string
Origin at this resource level; inherited access is not included.
const ( OrgPersonGrantSourceMembership OrgPersonGrantSource = "membership" OrgPersonGrantSourceDirect OrgPersonGrantSource = "direct" OrgPersonGrantSourceTeam OrgPersonGrantSource = "team" OrgPersonGrantSourceGithub OrgPersonGrantSource = "github" )
func (OrgPersonGrantSource) AllValues ¶ added in v0.11.3
func (OrgPersonGrantSource) AllValues() []OrgPersonGrantSource
AllValues returns all OrgPersonGrantSource values.
func (*OrgPersonGrantSource) Decode ¶ added in v0.11.3
func (s *OrgPersonGrantSource) Decode(d *jx.Decoder) error
Decode decodes OrgPersonGrantSource from json.
func (OrgPersonGrantSource) Encode ¶ added in v0.11.3
func (s OrgPersonGrantSource) Encode(e *jx.Encoder)
Encode encodes OrgPersonGrantSource as json.
func (OrgPersonGrantSource) MarshalJSON ¶ added in v0.11.3
func (s OrgPersonGrantSource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OrgPersonGrantSource) MarshalText ¶ added in v0.11.3
func (s OrgPersonGrantSource) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OrgPersonGrantSource) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgPersonGrantSource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrgPersonGrantSource) UnmarshalText ¶ added in v0.11.3
func (s *OrgPersonGrantSource) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OrgPersonGrantSource) Validate ¶ added in v0.11.3
func (s OrgPersonGrantSource) Validate() error
type OrgPersonHeaders ¶ added in v0.11.3
OrgPersonHeaders wraps OrgPerson with response headers.
func (*OrgPersonHeaders) GetCacheControl ¶ added in v0.11.3
func (s *OrgPersonHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*OrgPersonHeaders) GetResponse ¶ added in v0.11.3
func (s *OrgPersonHeaders) GetResponse() OrgPerson
GetResponse returns the value of Response.
func (*OrgPersonHeaders) SetCacheControl ¶ added in v0.11.3
func (s *OrgPersonHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*OrgPersonHeaders) SetResponse ¶ added in v0.11.3
func (s *OrgPersonHeaders) SetResponse(val OrgPerson)
SetResponse sets the value of Response.
func (*OrgPersonHeaders) Validate ¶ added in v0.11.3
func (s *OrgPersonHeaders) Validate() error
type OrgPersonMembership ¶ added in v0.11.3
type OrgPersonMembership struct {
CreatedAt time.Time `json:"createdAt"`
ID string `json:"id"`
Role string `json:"role"`
Status string `json:"status"`
AdditionalProps OrgPersonMembershipAdditional
}
Ref: #/components/schemas/OrgPersonMembership
func (*OrgPersonMembership) Decode ¶ added in v0.11.3
func (s *OrgPersonMembership) Decode(d *jx.Decoder) error
Decode decodes OrgPersonMembership from json.
func (*OrgPersonMembership) Encode ¶ added in v0.11.3
func (s *OrgPersonMembership) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OrgPersonMembership) GetAdditionalProps ¶ added in v0.11.3
func (s *OrgPersonMembership) GetAdditionalProps() OrgPersonMembershipAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*OrgPersonMembership) GetCreatedAt ¶ added in v0.11.3
func (s *OrgPersonMembership) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*OrgPersonMembership) GetID ¶ added in v0.11.3
func (s *OrgPersonMembership) GetID() string
GetID returns the value of ID.
func (*OrgPersonMembership) GetRole ¶ added in v0.11.3
func (s *OrgPersonMembership) GetRole() string
GetRole returns the value of Role.
func (*OrgPersonMembership) GetStatus ¶ added in v0.11.3
func (s *OrgPersonMembership) GetStatus() string
GetStatus returns the value of Status.
func (*OrgPersonMembership) MarshalJSON ¶ added in v0.11.3
func (s *OrgPersonMembership) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgPersonMembership) SetAdditionalProps ¶ added in v0.11.3
func (s *OrgPersonMembership) SetAdditionalProps(val OrgPersonMembershipAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*OrgPersonMembership) SetCreatedAt ¶ added in v0.11.3
func (s *OrgPersonMembership) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*OrgPersonMembership) SetID ¶ added in v0.11.3
func (s *OrgPersonMembership) SetID(val string)
SetID sets the value of ID.
func (*OrgPersonMembership) SetRole ¶ added in v0.11.3
func (s *OrgPersonMembership) SetRole(val string)
SetRole sets the value of Role.
func (*OrgPersonMembership) SetStatus ¶ added in v0.11.3
func (s *OrgPersonMembership) SetStatus(val string)
SetStatus sets the value of Status.
func (*OrgPersonMembership) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgPersonMembership) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgPersonMembershipAdditional ¶ added in v0.11.3
func (*OrgPersonMembershipAdditional) Decode ¶ added in v0.11.3
func (s *OrgPersonMembershipAdditional) Decode(d *jx.Decoder) error
Decode decodes OrgPersonMembershipAdditional from json.
func (OrgPersonMembershipAdditional) Encode ¶ added in v0.11.3
func (s OrgPersonMembershipAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OrgPersonMembershipAdditional) MarshalJSON ¶ added in v0.11.3
func (s OrgPersonMembershipAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgPersonMembershipAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgPersonMembershipAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OrgPersonSummary ¶ added in v0.11.3
type OrgPersonSummary struct {
// Recorded grant levels, not effective permissions.
AccessScopes []OrgPersonSummaryAccessScopesItem `json:"accessScopes"`
AccountId string `json:"accountId"`
AvatarUrl OptString `json:"avatarUrl"`
DisplayName OptString `json:"displayName"`
Handle OptString `json:"handle"`
Membership OrgPersonMembership `json:"membership"`
Provider OptString `json:"provider"`
AdditionalProps OrgPersonSummaryAdditional
}
Ref: #/components/schemas/OrgPersonSummary
func (*OrgPersonSummary) Decode ¶ added in v0.11.3
func (s *OrgPersonSummary) Decode(d *jx.Decoder) error
Decode decodes OrgPersonSummary from json.
func (*OrgPersonSummary) Encode ¶ added in v0.11.3
func (s *OrgPersonSummary) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OrgPersonSummary) GetAccessScopes ¶ added in v0.11.3
func (s *OrgPersonSummary) GetAccessScopes() []OrgPersonSummaryAccessScopesItem
GetAccessScopes returns the value of AccessScopes.
func (*OrgPersonSummary) GetAccountId ¶ added in v0.11.3
func (s *OrgPersonSummary) GetAccountId() string
GetAccountId returns the value of AccountId.
func (*OrgPersonSummary) GetAdditionalProps ¶ added in v0.11.3
func (s *OrgPersonSummary) GetAdditionalProps() OrgPersonSummaryAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*OrgPersonSummary) GetAvatarUrl ¶ added in v0.11.3
func (s *OrgPersonSummary) GetAvatarUrl() OptString
GetAvatarUrl returns the value of AvatarUrl.
func (*OrgPersonSummary) GetDisplayName ¶ added in v0.11.4
func (s *OrgPersonSummary) GetDisplayName() OptString
GetDisplayName returns the value of DisplayName.
func (*OrgPersonSummary) GetHandle ¶ added in v0.11.3
func (s *OrgPersonSummary) GetHandle() OptString
GetHandle returns the value of Handle.
func (*OrgPersonSummary) GetMembership ¶ added in v0.11.3
func (s *OrgPersonSummary) GetMembership() OrgPersonMembership
GetMembership returns the value of Membership.
func (*OrgPersonSummary) GetProvider ¶ added in v0.11.3
func (s *OrgPersonSummary) GetProvider() OptString
GetProvider returns the value of Provider.
func (*OrgPersonSummary) MarshalJSON ¶ added in v0.11.3
func (s *OrgPersonSummary) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgPersonSummary) SetAccessScopes ¶ added in v0.11.3
func (s *OrgPersonSummary) SetAccessScopes(val []OrgPersonSummaryAccessScopesItem)
SetAccessScopes sets the value of AccessScopes.
func (*OrgPersonSummary) SetAccountId ¶ added in v0.11.3
func (s *OrgPersonSummary) SetAccountId(val string)
SetAccountId sets the value of AccountId.
func (*OrgPersonSummary) SetAdditionalProps ¶ added in v0.11.3
func (s *OrgPersonSummary) SetAdditionalProps(val OrgPersonSummaryAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*OrgPersonSummary) SetAvatarUrl ¶ added in v0.11.3
func (s *OrgPersonSummary) SetAvatarUrl(val OptString)
SetAvatarUrl sets the value of AvatarUrl.
func (*OrgPersonSummary) SetDisplayName ¶ added in v0.11.4
func (s *OrgPersonSummary) SetDisplayName(val OptString)
SetDisplayName sets the value of DisplayName.
func (*OrgPersonSummary) SetHandle ¶ added in v0.11.3
func (s *OrgPersonSummary) SetHandle(val OptString)
SetHandle sets the value of Handle.
func (*OrgPersonSummary) SetMembership ¶ added in v0.11.3
func (s *OrgPersonSummary) SetMembership(val OrgPersonMembership)
SetMembership sets the value of Membership.
func (*OrgPersonSummary) SetProvider ¶ added in v0.11.3
func (s *OrgPersonSummary) SetProvider(val OptString)
SetProvider sets the value of Provider.
func (*OrgPersonSummary) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgPersonSummary) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrgPersonSummary) Validate ¶ added in v0.11.3
func (s *OrgPersonSummary) Validate() error
type OrgPersonSummaryAccessScopesItem ¶ added in v0.11.3
type OrgPersonSummaryAccessScopesItem string
const ( OrgPersonSummaryAccessScopesItemOrganization OrgPersonSummaryAccessScopesItem = "organization" OrgPersonSummaryAccessScopesItemProject OrgPersonSummaryAccessScopesItem = "project" OrgPersonSummaryAccessScopesItemRepository OrgPersonSummaryAccessScopesItem = "repository" )
func (OrgPersonSummaryAccessScopesItem) AllValues ¶ added in v0.11.3
func (OrgPersonSummaryAccessScopesItem) AllValues() []OrgPersonSummaryAccessScopesItem
AllValues returns all OrgPersonSummaryAccessScopesItem values.
func (*OrgPersonSummaryAccessScopesItem) Decode ¶ added in v0.11.3
func (s *OrgPersonSummaryAccessScopesItem) Decode(d *jx.Decoder) error
Decode decodes OrgPersonSummaryAccessScopesItem from json.
func (OrgPersonSummaryAccessScopesItem) Encode ¶ added in v0.11.3
func (s OrgPersonSummaryAccessScopesItem) Encode(e *jx.Encoder)
Encode encodes OrgPersonSummaryAccessScopesItem as json.
func (OrgPersonSummaryAccessScopesItem) MarshalJSON ¶ added in v0.11.3
func (s OrgPersonSummaryAccessScopesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OrgPersonSummaryAccessScopesItem) MarshalText ¶ added in v0.11.3
func (s OrgPersonSummaryAccessScopesItem) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*OrgPersonSummaryAccessScopesItem) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgPersonSummaryAccessScopesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OrgPersonSummaryAccessScopesItem) UnmarshalText ¶ added in v0.11.3
func (s *OrgPersonSummaryAccessScopesItem) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (OrgPersonSummaryAccessScopesItem) Validate ¶ added in v0.11.3
func (s OrgPersonSummaryAccessScopesItem) Validate() error
type OrgPersonSummaryAdditional ¶ added in v0.11.3
func (*OrgPersonSummaryAdditional) Decode ¶ added in v0.11.3
func (s *OrgPersonSummaryAdditional) Decode(d *jx.Decoder) error
Decode decodes OrgPersonSummaryAdditional from json.
func (OrgPersonSummaryAdditional) Encode ¶ added in v0.11.3
func (s OrgPersonSummaryAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OrgPersonSummaryAdditional) MarshalJSON ¶ added in v0.11.3
func (s OrgPersonSummaryAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OrgPersonSummaryAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *OrgPersonSummaryAdditional) 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"`
PublishChecks OptBool `json:"publish_checks"`
RefFilter OptString `json:"ref_filter"`
RepoWrite OptBool `json:"repo_write"`
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) GetPublishChecks ¶ added in v0.11.0
func (s *PatchRepoCIWebhookInputBody) GetPublishChecks() OptBool
GetPublishChecks returns the value of PublishChecks.
func (*PatchRepoCIWebhookInputBody) GetRefFilter ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) GetRefFilter() OptString
GetRefFilter returns the value of RefFilter.
func (*PatchRepoCIWebhookInputBody) GetRepoWrite ¶ added in v0.11.3
func (s *PatchRepoCIWebhookInputBody) GetRepoWrite() OptBool
GetRepoWrite returns the value of RepoWrite.
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) SetPublishChecks ¶ added in v0.11.0
func (s *PatchRepoCIWebhookInputBody) SetPublishChecks(val OptBool)
SetPublishChecks sets the value of PublishChecks.
func (*PatchRepoCIWebhookInputBody) SetRefFilter ¶ added in v0.9.0
func (s *PatchRepoCIWebhookInputBody) SetRefFilter(val OptString)
SetRefFilter sets the value of RefFilter.
func (*PatchRepoCIWebhookInputBody) SetRepoWrite ¶ added in v0.11.3
func (s *PatchRepoCIWebhookInputBody) SetRepoWrite(val OptBool)
SetRepoWrite sets the value of RepoWrite.
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 PluginInstallation ¶ added in v0.11.4
type PluginInstallation struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Provider account for this installation (ins-<ulid>).
Account string `json:"account"`
// Installation id (ins_<ULID>) the plugin stores.
InstallationID string `json:"installation_id"`
// Entire org that owns the installation, or the project's owning org.
OrgID OptString `json:"org_id"`
// Opaque output from the selected static plugin profile.
Profile PluginInstallationProfile `json:"profile"`
// Entire project the installation belongs to.
ProjectID OptString `json:"project_id"`
// All or selected; empty for an org installation.
RepositorySelection OptString `json:"repository_selection"`
AdditionalProps PluginInstallationAdditional
}
Ref: #/components/schemas/PluginInstallation
func (*PluginInstallation) Decode ¶ added in v0.11.4
func (s *PluginInstallation) Decode(d *jx.Decoder) error
Decode decodes PluginInstallation from json.
func (*PluginInstallation) Encode ¶ added in v0.11.4
func (s *PluginInstallation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PluginInstallation) GetAccount ¶ added in v0.11.4
func (s *PluginInstallation) GetAccount() string
GetAccount returns the value of Account.
func (*PluginInstallation) GetAdditionalProps ¶ added in v0.11.4
func (s *PluginInstallation) GetAdditionalProps() PluginInstallationAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*PluginInstallation) GetInstallationID ¶ added in v0.11.4
func (s *PluginInstallation) GetInstallationID() string
GetInstallationID returns the value of InstallationID.
func (*PluginInstallation) GetOrgID ¶ added in v0.11.4
func (s *PluginInstallation) GetOrgID() OptString
GetOrgID returns the value of OrgID.
func (*PluginInstallation) GetProfile ¶ added in v0.11.4
func (s *PluginInstallation) GetProfile() PluginInstallationProfile
GetProfile returns the value of Profile.
func (*PluginInstallation) GetProjectID ¶ added in v0.11.4
func (s *PluginInstallation) GetProjectID() OptString
GetProjectID returns the value of ProjectID.
func (*PluginInstallation) GetRepositorySelection ¶ added in v0.11.4
func (s *PluginInstallation) GetRepositorySelection() OptString
GetRepositorySelection returns the value of RepositorySelection.
func (*PluginInstallation) GetSchema ¶ added in v0.11.4
func (s *PluginInstallation) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*PluginInstallation) MarshalJSON ¶ added in v0.11.4
func (s *PluginInstallation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PluginInstallation) SetAccount ¶ added in v0.11.4
func (s *PluginInstallation) SetAccount(val string)
SetAccount sets the value of Account.
func (*PluginInstallation) SetAdditionalProps ¶ added in v0.11.4
func (s *PluginInstallation) SetAdditionalProps(val PluginInstallationAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*PluginInstallation) SetInstallationID ¶ added in v0.11.4
func (s *PluginInstallation) SetInstallationID(val string)
SetInstallationID sets the value of InstallationID.
func (*PluginInstallation) SetOrgID ¶ added in v0.11.4
func (s *PluginInstallation) SetOrgID(val OptString)
SetOrgID sets the value of OrgID.
func (*PluginInstallation) SetProfile ¶ added in v0.11.4
func (s *PluginInstallation) SetProfile(val PluginInstallationProfile)
SetProfile sets the value of Profile.
func (*PluginInstallation) SetProjectID ¶ added in v0.11.4
func (s *PluginInstallation) SetProjectID(val OptString)
SetProjectID sets the value of ProjectID.
func (*PluginInstallation) SetRepositorySelection ¶ added in v0.11.4
func (s *PluginInstallation) SetRepositorySelection(val OptString)
SetRepositorySelection sets the value of RepositorySelection.
func (*PluginInstallation) SetSchema ¶ added in v0.11.4
func (s *PluginInstallation) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*PluginInstallation) UnmarshalJSON ¶ added in v0.11.4
func (s *PluginInstallation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PluginInstallationAdditional ¶ added in v0.11.4
func (*PluginInstallationAdditional) Decode ¶ added in v0.11.4
func (s *PluginInstallationAdditional) Decode(d *jx.Decoder) error
Decode decodes PluginInstallationAdditional from json.
func (PluginInstallationAdditional) Encode ¶ added in v0.11.4
func (s PluginInstallationAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PluginInstallationAdditional) MarshalJSON ¶ added in v0.11.4
func (s PluginInstallationAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PluginInstallationAdditional) UnmarshalJSON ¶ added in v0.11.4
func (s *PluginInstallationAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PluginInstallationProfile ¶ added in v0.11.4
Opaque output from the selected static plugin profile.
func (*PluginInstallationProfile) Decode ¶ added in v0.11.4
func (s *PluginInstallationProfile) Decode(d *jx.Decoder) error
Decode decodes PluginInstallationProfile from json.
func (PluginInstallationProfile) Encode ¶ added in v0.11.4
func (s PluginInstallationProfile) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PluginInstallationProfile) MarshalJSON ¶ added in v0.11.4
func (s PluginInstallationProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PluginInstallationProfile) UnmarshalJSON ¶ added in v0.11.4
func (s *PluginInstallationProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PluginInstallationView ¶ added in v0.11.4
type PluginInstallationView struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Account string `json:"account"`
CreatedAt time.Time `json:"created_at"`
InstallationID string `json:"installation_id"`
OrgID OptString `json:"org_id"`
ProjectID OptString `json:"project_id"`
RepositorySelection OptString `json:"repository_selection"`
AdditionalProps PluginInstallationViewAdditional
}
Ref: #/components/schemas/PluginInstallationView
func (*PluginInstallationView) Decode ¶ added in v0.11.4
func (s *PluginInstallationView) Decode(d *jx.Decoder) error
Decode decodes PluginInstallationView from json.
func (*PluginInstallationView) Encode ¶ added in v0.11.4
func (s *PluginInstallationView) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PluginInstallationView) GetAccount ¶ added in v0.11.4
func (s *PluginInstallationView) GetAccount() string
GetAccount returns the value of Account.
func (*PluginInstallationView) GetAdditionalProps ¶ added in v0.11.4
func (s *PluginInstallationView) GetAdditionalProps() PluginInstallationViewAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*PluginInstallationView) GetCreatedAt ¶ added in v0.11.4
func (s *PluginInstallationView) GetCreatedAt() time.Time
GetCreatedAt returns the value of CreatedAt.
func (*PluginInstallationView) GetInstallationID ¶ added in v0.11.4
func (s *PluginInstallationView) GetInstallationID() string
GetInstallationID returns the value of InstallationID.
func (*PluginInstallationView) GetOrgID ¶ added in v0.11.4
func (s *PluginInstallationView) GetOrgID() OptString
GetOrgID returns the value of OrgID.
func (*PluginInstallationView) GetProjectID ¶ added in v0.11.4
func (s *PluginInstallationView) GetProjectID() OptString
GetProjectID returns the value of ProjectID.
func (*PluginInstallationView) GetRepositorySelection ¶ added in v0.11.4
func (s *PluginInstallationView) GetRepositorySelection() OptString
GetRepositorySelection returns the value of RepositorySelection.
func (*PluginInstallationView) GetSchema ¶ added in v0.11.4
func (s *PluginInstallationView) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*PluginInstallationView) MarshalJSON ¶ added in v0.11.4
func (s *PluginInstallationView) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PluginInstallationView) SetAccount ¶ added in v0.11.4
func (s *PluginInstallationView) SetAccount(val string)
SetAccount sets the value of Account.
func (*PluginInstallationView) SetAdditionalProps ¶ added in v0.11.4
func (s *PluginInstallationView) SetAdditionalProps(val PluginInstallationViewAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*PluginInstallationView) SetCreatedAt ¶ added in v0.11.4
func (s *PluginInstallationView) SetCreatedAt(val time.Time)
SetCreatedAt sets the value of CreatedAt.
func (*PluginInstallationView) SetInstallationID ¶ added in v0.11.4
func (s *PluginInstallationView) SetInstallationID(val string)
SetInstallationID sets the value of InstallationID.
func (*PluginInstallationView) SetOrgID ¶ added in v0.11.4
func (s *PluginInstallationView) SetOrgID(val OptString)
SetOrgID sets the value of OrgID.
func (*PluginInstallationView) SetProjectID ¶ added in v0.11.4
func (s *PluginInstallationView) SetProjectID(val OptString)
SetProjectID sets the value of ProjectID.
func (*PluginInstallationView) SetRepositorySelection ¶ added in v0.11.4
func (s *PluginInstallationView) SetRepositorySelection(val OptString)
SetRepositorySelection sets the value of RepositorySelection.
func (*PluginInstallationView) SetSchema ¶ added in v0.11.4
func (s *PluginInstallationView) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*PluginInstallationView) UnmarshalJSON ¶ added in v0.11.4
func (s *PluginInstallationView) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PluginInstallationViewAdditional ¶ added in v0.11.4
func (*PluginInstallationViewAdditional) Decode ¶ added in v0.11.4
func (s *PluginInstallationViewAdditional) Decode(d *jx.Decoder) error
Decode decodes PluginInstallationViewAdditional from json.
func (PluginInstallationViewAdditional) Encode ¶ added in v0.11.4
func (s PluginInstallationViewAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PluginInstallationViewAdditional) MarshalJSON ¶ added in v0.11.4
func (s PluginInstallationViewAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PluginInstallationViewAdditional) UnmarshalJSON ¶ added in v0.11.4
func (s *PluginInstallationViewAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PreviewInvitationInputBody ¶ added in v0.11.3
type PreviewInvitationInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Token string `json:"token"`
AdditionalProps PreviewInvitationInputBodyAdditional
}
Ref: #/components/schemas/PreviewInvitationInputBody
func (*PreviewInvitationInputBody) Decode ¶ added in v0.11.3
func (s *PreviewInvitationInputBody) Decode(d *jx.Decoder) error
Decode decodes PreviewInvitationInputBody from json.
func (*PreviewInvitationInputBody) Encode ¶ added in v0.11.3
func (s *PreviewInvitationInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PreviewInvitationInputBody) GetAdditionalProps ¶ added in v0.11.3
func (s *PreviewInvitationInputBody) GetAdditionalProps() PreviewInvitationInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*PreviewInvitationInputBody) GetSchema ¶ added in v0.11.3
func (s *PreviewInvitationInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*PreviewInvitationInputBody) GetToken ¶ added in v0.11.3
func (s *PreviewInvitationInputBody) GetToken() string
GetToken returns the value of Token.
func (*PreviewInvitationInputBody) MarshalJSON ¶ added in v0.11.3
func (s *PreviewInvitationInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PreviewInvitationInputBody) SetAdditionalProps ¶ added in v0.11.3
func (s *PreviewInvitationInputBody) SetAdditionalProps(val PreviewInvitationInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*PreviewInvitationInputBody) SetSchema ¶ added in v0.11.3
func (s *PreviewInvitationInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*PreviewInvitationInputBody) SetToken ¶ added in v0.11.3
func (s *PreviewInvitationInputBody) SetToken(val string)
SetToken sets the value of Token.
func (*PreviewInvitationInputBody) UnmarshalJSON ¶ added in v0.11.3
func (s *PreviewInvitationInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreviewInvitationInputBody) Validate ¶ added in v0.11.3
func (s *PreviewInvitationInputBody) Validate() error
type PreviewInvitationInputBodyAdditional ¶ added in v0.11.3
func (*PreviewInvitationInputBodyAdditional) Decode ¶ added in v0.11.3
func (s *PreviewInvitationInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes PreviewInvitationInputBodyAdditional from json.
func (PreviewInvitationInputBodyAdditional) Encode ¶ added in v0.11.3
func (s PreviewInvitationInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PreviewInvitationInputBodyAdditional) MarshalJSON ¶ added in v0.11.3
func (s PreviewInvitationInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PreviewInvitationInputBodyAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *PreviewInvitationInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PreviewInvitationOK ¶ added in v0.11.3
type PreviewInvitationOK struct {
InviterHandle string `json:"inviterHandle"`
OrgName string `json:"orgName"`
Role PreviewInvitationOKRole `json:"role"`
AdditionalProps PreviewInvitationOKAdditional
}
func (*PreviewInvitationOK) Decode ¶ added in v0.11.3
func (s *PreviewInvitationOK) Decode(d *jx.Decoder) error
Decode decodes PreviewInvitationOK from json.
func (*PreviewInvitationOK) Encode ¶ added in v0.11.3
func (s *PreviewInvitationOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*PreviewInvitationOK) GetAdditionalProps ¶ added in v0.11.3
func (s *PreviewInvitationOK) GetAdditionalProps() PreviewInvitationOKAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*PreviewInvitationOK) GetInviterHandle ¶ added in v0.11.3
func (s *PreviewInvitationOK) GetInviterHandle() string
GetInviterHandle returns the value of InviterHandle.
func (*PreviewInvitationOK) GetOrgName ¶ added in v0.11.3
func (s *PreviewInvitationOK) GetOrgName() string
GetOrgName returns the value of OrgName.
func (*PreviewInvitationOK) GetRole ¶ added in v0.11.3
func (s *PreviewInvitationOK) GetRole() PreviewInvitationOKRole
GetRole returns the value of Role.
func (*PreviewInvitationOK) MarshalJSON ¶ added in v0.11.3
func (s *PreviewInvitationOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PreviewInvitationOK) SetAdditionalProps ¶ added in v0.11.3
func (s *PreviewInvitationOK) SetAdditionalProps(val PreviewInvitationOKAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*PreviewInvitationOK) SetInviterHandle ¶ added in v0.11.3
func (s *PreviewInvitationOK) SetInviterHandle(val string)
SetInviterHandle sets the value of InviterHandle.
func (*PreviewInvitationOK) SetOrgName ¶ added in v0.11.3
func (s *PreviewInvitationOK) SetOrgName(val string)
SetOrgName sets the value of OrgName.
func (*PreviewInvitationOK) SetRole ¶ added in v0.11.3
func (s *PreviewInvitationOK) SetRole(val PreviewInvitationOKRole)
SetRole sets the value of Role.
func (*PreviewInvitationOK) UnmarshalJSON ¶ added in v0.11.3
func (s *PreviewInvitationOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreviewInvitationOK) Validate ¶ added in v0.11.3
func (s *PreviewInvitationOK) Validate() error
type PreviewInvitationOKAdditional ¶ added in v0.11.3
func (*PreviewInvitationOKAdditional) Decode ¶ added in v0.11.3
func (s *PreviewInvitationOKAdditional) Decode(d *jx.Decoder) error
Decode decodes PreviewInvitationOKAdditional from json.
func (PreviewInvitationOKAdditional) Encode ¶ added in v0.11.3
func (s PreviewInvitationOKAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PreviewInvitationOKAdditional) MarshalJSON ¶ added in v0.11.3
func (s PreviewInvitationOKAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PreviewInvitationOKAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *PreviewInvitationOKAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PreviewInvitationOKHeaders ¶ added in v0.11.3
type PreviewInvitationOKHeaders struct {
CacheControl OptString
Response PreviewInvitationOK
}
PreviewInvitationOKHeaders wraps PreviewInvitationOK with response headers.
func (*PreviewInvitationOKHeaders) GetCacheControl ¶ added in v0.11.3
func (s *PreviewInvitationOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*PreviewInvitationOKHeaders) GetResponse ¶ added in v0.11.3
func (s *PreviewInvitationOKHeaders) GetResponse() PreviewInvitationOK
GetResponse returns the value of Response.
func (*PreviewInvitationOKHeaders) SetCacheControl ¶ added in v0.11.3
func (s *PreviewInvitationOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*PreviewInvitationOKHeaders) SetResponse ¶ added in v0.11.3
func (s *PreviewInvitationOKHeaders) SetResponse(val PreviewInvitationOK)
SetResponse sets the value of Response.
func (*PreviewInvitationOKHeaders) Validate ¶ added in v0.11.3
func (s *PreviewInvitationOKHeaders) Validate() error
type PreviewInvitationOKRole ¶ added in v0.11.3
type PreviewInvitationOKRole string
const ( PreviewInvitationOKRoleOwner PreviewInvitationOKRole = "owner" PreviewInvitationOKRoleAdmin PreviewInvitationOKRole = "admin" PreviewInvitationOKRoleMember PreviewInvitationOKRole = "member" )
func (PreviewInvitationOKRole) AllValues ¶ added in v0.11.3
func (PreviewInvitationOKRole) AllValues() []PreviewInvitationOKRole
AllValues returns all PreviewInvitationOKRole values.
func (*PreviewInvitationOKRole) Decode ¶ added in v0.11.3
func (s *PreviewInvitationOKRole) Decode(d *jx.Decoder) error
Decode decodes PreviewInvitationOKRole from json.
func (PreviewInvitationOKRole) Encode ¶ added in v0.11.3
func (s PreviewInvitationOKRole) Encode(e *jx.Encoder)
Encode encodes PreviewInvitationOKRole as json.
func (PreviewInvitationOKRole) MarshalJSON ¶ added in v0.11.3
func (s PreviewInvitationOKRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (PreviewInvitationOKRole) MarshalText ¶ added in v0.11.3
func (s PreviewInvitationOKRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*PreviewInvitationOKRole) UnmarshalJSON ¶ added in v0.11.3
func (s *PreviewInvitationOKRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PreviewInvitationOKRole) UnmarshalText ¶ added in v0.11.3
func (s *PreviewInvitationOKRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (PreviewInvitationOKRole) Validate ¶ added in v0.11.3
func (s PreviewInvitationOKRole) Validate() error
type Project ¶
type Project struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Public entire-api base URL for the assigned cell. Empty when unassigned or routing is unavailable;
// do not fall back to another cell.
ApiUrl OptString `json:"apiUrl"`
Capabilities OptProjectCapabilities `json:"capabilities"`
CreatedAt time.Time `json:"createdAt"`
ID string `json:"id"`
Name string `json:"name"`
OwnerId string `json:"ownerId"`
OwnerName OptString `json:"ownerName"`
OwnerType ProjectOwnerType `json:"ownerType"`
// Stored processing cell ID, not a cluster slug. Empty when the project is unassigned.
PrimaryProcessingCell OptString `json:"primaryProcessingCell"`
Region string `json:"region"`
// Published logical repositories in paginated project listings. Omitted without project-wide view
// permission or when unavailable.
RepositoryCount OptInt64 `json:"repositoryCount"`
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) GetCapabilities ¶ added in v0.11.0
func (s *Project) GetCapabilities() OptProjectCapabilities
GetCapabilities returns the value of Capabilities.
func (*Project) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Project) GetOwnerId ¶
GetOwnerId returns the value of OwnerId.
func (*Project) GetOwnerName ¶ added in v0.11.0
GetOwnerName returns the value of OwnerName.
func (*Project) GetOwnerType ¶
func (s *Project) GetOwnerType() ProjectOwnerType
GetOwnerType returns the value of OwnerType.
func (*Project) GetPrimaryProcessingCell ¶ added in v0.11.3
GetPrimaryProcessingCell returns the value of PrimaryProcessingCell.
func (*Project) GetRepositoryCount ¶ added in v0.11.3
GetRepositoryCount returns the value of RepositoryCount.
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) SetCapabilities ¶ added in v0.11.0
func (s *Project) SetCapabilities(val OptProjectCapabilities)
SetCapabilities sets the value of Capabilities.
func (*Project) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Project) SetOwnerId ¶
SetOwnerId sets the value of OwnerId.
func (*Project) SetOwnerName ¶ added in v0.11.0
SetOwnerName sets the value of OwnerName.
func (*Project) SetOwnerType ¶
func (s *Project) SetOwnerType(val ProjectOwnerType)
SetOwnerType sets the value of OwnerType.
func (*Project) SetPrimaryProcessingCell ¶ added in v0.11.3
SetPrimaryProcessingCell sets the value of PrimaryProcessingCell.
func (*Project) SetRepositoryCount ¶ added in v0.11.3
SetRepositoryCount sets the value of RepositoryCount.
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 ProjectCapabilities ¶ added in v0.11.0
type ProjectCapabilities struct {
CanCreateRepository bool `json:"canCreateRepository"`
CanDelete bool `json:"canDelete"`
CanManageAccess bool `json:"canManageAccess"`
CanManageTrails bool `json:"canManageTrails"`
AdditionalProps ProjectCapabilitiesAdditional
}
Ref: #/components/schemas/ProjectCapabilities
func (*ProjectCapabilities) Decode ¶ added in v0.11.0
func (s *ProjectCapabilities) Decode(d *jx.Decoder) error
Decode decodes ProjectCapabilities from json.
func (*ProjectCapabilities) Encode ¶ added in v0.11.0
func (s *ProjectCapabilities) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProjectCapabilities) GetAdditionalProps ¶ added in v0.11.0
func (s *ProjectCapabilities) GetAdditionalProps() ProjectCapabilitiesAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ProjectCapabilities) GetCanCreateRepository ¶ added in v0.11.0
func (s *ProjectCapabilities) GetCanCreateRepository() bool
GetCanCreateRepository returns the value of CanCreateRepository.
func (*ProjectCapabilities) GetCanDelete ¶ added in v0.11.0
func (s *ProjectCapabilities) GetCanDelete() bool
GetCanDelete returns the value of CanDelete.
func (*ProjectCapabilities) GetCanManageAccess ¶ added in v0.11.0
func (s *ProjectCapabilities) GetCanManageAccess() bool
GetCanManageAccess returns the value of CanManageAccess.
func (*ProjectCapabilities) GetCanManageTrails ¶ added in v0.11.0
func (s *ProjectCapabilities) GetCanManageTrails() bool
GetCanManageTrails returns the value of CanManageTrails.
func (*ProjectCapabilities) MarshalJSON ¶ added in v0.11.0
func (s *ProjectCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectCapabilities) SetAdditionalProps ¶ added in v0.11.0
func (s *ProjectCapabilities) SetAdditionalProps(val ProjectCapabilitiesAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ProjectCapabilities) SetCanCreateRepository ¶ added in v0.11.0
func (s *ProjectCapabilities) SetCanCreateRepository(val bool)
SetCanCreateRepository sets the value of CanCreateRepository.
func (*ProjectCapabilities) SetCanDelete ¶ added in v0.11.0
func (s *ProjectCapabilities) SetCanDelete(val bool)
SetCanDelete sets the value of CanDelete.
func (*ProjectCapabilities) SetCanManageAccess ¶ added in v0.11.0
func (s *ProjectCapabilities) SetCanManageAccess(val bool)
SetCanManageAccess sets the value of CanManageAccess.
func (*ProjectCapabilities) SetCanManageTrails ¶ added in v0.11.0
func (s *ProjectCapabilities) SetCanManageTrails(val bool)
SetCanManageTrails sets the value of CanManageTrails.
func (*ProjectCapabilities) UnmarshalJSON ¶ added in v0.11.0
func (s *ProjectCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ProjectCapabilitiesAdditional ¶ added in v0.11.0
func (*ProjectCapabilitiesAdditional) Decode ¶ added in v0.11.0
func (s *ProjectCapabilitiesAdditional) Decode(d *jx.Decoder) error
Decode decodes ProjectCapabilitiesAdditional from json.
func (ProjectCapabilitiesAdditional) Encode ¶ added in v0.11.0
func (s ProjectCapabilitiesAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ProjectCapabilitiesAdditional) MarshalJSON ¶ added in v0.11.0
func (s ProjectCapabilitiesAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectCapabilitiesAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *ProjectCapabilitiesAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ProjectCollaborator ¶ added in v0.11.4
type ProjectCollaborator struct {
AccountId string `json:"accountId"`
AvatarUrl OptString `json:"avatarUrl"`
DisplayName OptString `json:"displayName"`
Handle OptString `json:"handle"`
AdditionalProps ProjectCollaboratorAdditional
}
Ref: #/components/schemas/ProjectCollaborator
func (*ProjectCollaborator) Decode ¶ added in v0.11.4
func (s *ProjectCollaborator) Decode(d *jx.Decoder) error
Decode decodes ProjectCollaborator from json.
func (*ProjectCollaborator) Encode ¶ added in v0.11.4
func (s *ProjectCollaborator) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProjectCollaborator) GetAccountId ¶ added in v0.11.4
func (s *ProjectCollaborator) GetAccountId() string
GetAccountId returns the value of AccountId.
func (*ProjectCollaborator) GetAdditionalProps ¶ added in v0.11.4
func (s *ProjectCollaborator) GetAdditionalProps() ProjectCollaboratorAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ProjectCollaborator) GetAvatarUrl ¶ added in v0.11.4
func (s *ProjectCollaborator) GetAvatarUrl() OptString
GetAvatarUrl returns the value of AvatarUrl.
func (*ProjectCollaborator) GetDisplayName ¶ added in v0.11.4
func (s *ProjectCollaborator) GetDisplayName() OptString
GetDisplayName returns the value of DisplayName.
func (*ProjectCollaborator) GetHandle ¶ added in v0.11.4
func (s *ProjectCollaborator) GetHandle() OptString
GetHandle returns the value of Handle.
func (*ProjectCollaborator) MarshalJSON ¶ added in v0.11.4
func (s *ProjectCollaborator) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectCollaborator) SetAccountId ¶ added in v0.11.4
func (s *ProjectCollaborator) SetAccountId(val string)
SetAccountId sets the value of AccountId.
func (*ProjectCollaborator) SetAdditionalProps ¶ added in v0.11.4
func (s *ProjectCollaborator) SetAdditionalProps(val ProjectCollaboratorAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ProjectCollaborator) SetAvatarUrl ¶ added in v0.11.4
func (s *ProjectCollaborator) SetAvatarUrl(val OptString)
SetAvatarUrl sets the value of AvatarUrl.
func (*ProjectCollaborator) SetDisplayName ¶ added in v0.11.4
func (s *ProjectCollaborator) SetDisplayName(val OptString)
SetDisplayName sets the value of DisplayName.
func (*ProjectCollaborator) SetHandle ¶ added in v0.11.4
func (s *ProjectCollaborator) SetHandle(val OptString)
SetHandle sets the value of Handle.
func (*ProjectCollaborator) UnmarshalJSON ¶ added in v0.11.4
func (s *ProjectCollaborator) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ProjectCollaboratorAdditional ¶ added in v0.11.4
func (*ProjectCollaboratorAdditional) Decode ¶ added in v0.11.4
func (s *ProjectCollaboratorAdditional) Decode(d *jx.Decoder) error
Decode decodes ProjectCollaboratorAdditional from json.
func (ProjectCollaboratorAdditional) Encode ¶ added in v0.11.4
func (s ProjectCollaboratorAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ProjectCollaboratorAdditional) MarshalJSON ¶ added in v0.11.4
func (s ProjectCollaboratorAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectCollaboratorAdditional) UnmarshalJSON ¶ added in v0.11.4
func (s *ProjectCollaboratorAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ProjectGrant ¶
type ProjectGrant struct {
// The account's public display name, when it has one. Absent for non-account grantees.
DisplayName OptString `json:"displayName"`
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) GetDisplayName ¶ added in v0.11.4
func (s *ProjectGrant) GetDisplayName() OptString
GetDisplayName returns the value of DisplayName.
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) SetDisplayName ¶ added in v0.11.4
func (s *ProjectGrant) SetDisplayName(val OptString)
SetDisplayName sets the value of DisplayName.
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 ProjectReference ¶ added in v0.11.3
type ProjectReference struct {
Host ProjectReferenceHost `json:"host"`
Project string `json:"project"`
AdditionalProps ProjectReferenceAdditional
}
Ref: #/components/schemas/ProjectReference
func (*ProjectReference) Decode ¶ added in v0.11.3
func (s *ProjectReference) Decode(d *jx.Decoder) error
Decode decodes ProjectReference from json.
func (*ProjectReference) Encode ¶ added in v0.11.3
func (s *ProjectReference) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ProjectReference) GetAdditionalProps ¶ added in v0.11.3
func (s *ProjectReference) GetAdditionalProps() ProjectReferenceAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ProjectReference) GetHost ¶ added in v0.11.3
func (s *ProjectReference) GetHost() ProjectReferenceHost
GetHost returns the value of Host.
func (*ProjectReference) GetProject ¶ added in v0.11.3
func (s *ProjectReference) GetProject() string
GetProject returns the value of Project.
func (*ProjectReference) MarshalJSON ¶ added in v0.11.3
func (s *ProjectReference) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectReference) SetAdditionalProps ¶ added in v0.11.3
func (s *ProjectReference) SetAdditionalProps(val ProjectReferenceAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ProjectReference) SetHost ¶ added in v0.11.3
func (s *ProjectReference) SetHost(val ProjectReferenceHost)
SetHost sets the value of Host.
func (*ProjectReference) SetProject ¶ added in v0.11.3
func (s *ProjectReference) SetProject(val string)
SetProject sets the value of Project.
func (*ProjectReference) UnmarshalJSON ¶ added in v0.11.3
func (s *ProjectReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ProjectReference) Validate ¶ added in v0.11.3
func (s *ProjectReference) Validate() error
type ProjectReferenceAdditional ¶ added in v0.11.3
func (*ProjectReferenceAdditional) Decode ¶ added in v0.11.3
func (s *ProjectReferenceAdditional) Decode(d *jx.Decoder) error
Decode decodes ProjectReferenceAdditional from json.
func (ProjectReferenceAdditional) Encode ¶ added in v0.11.3
func (s ProjectReferenceAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ProjectReferenceAdditional) MarshalJSON ¶ added in v0.11.3
func (s ProjectReferenceAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ProjectReferenceAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *ProjectReferenceAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ProjectReferenceHost ¶ added in v0.11.3
type ProjectReferenceHost string
const ( ProjectReferenceHostEt ProjectReferenceHost = "et" ProjectReferenceHostGh ProjectReferenceHost = "gh" )
func (ProjectReferenceHost) AllValues ¶ added in v0.11.3
func (ProjectReferenceHost) AllValues() []ProjectReferenceHost
AllValues returns all ProjectReferenceHost values.
func (*ProjectReferenceHost) Decode ¶ added in v0.11.3
func (s *ProjectReferenceHost) Decode(d *jx.Decoder) error
Decode decodes ProjectReferenceHost from json.
func (ProjectReferenceHost) Encode ¶ added in v0.11.3
func (s ProjectReferenceHost) Encode(e *jx.Encoder)
Encode encodes ProjectReferenceHost as json.
func (ProjectReferenceHost) MarshalJSON ¶ added in v0.11.3
func (s ProjectReferenceHost) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ProjectReferenceHost) MarshalText ¶ added in v0.11.3
func (s ProjectReferenceHost) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ProjectReferenceHost) UnmarshalJSON ¶ added in v0.11.3
func (s *ProjectReferenceHost) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ProjectReferenceHost) UnmarshalText ¶ added in v0.11.3
func (s *ProjectReferenceHost) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ProjectReferenceHost) Validate ¶ added in v0.11.3
func (s ProjectReferenceHost) Validate() error
type RegisterOrgCIBuildkiteClusterInputBody ¶ added in v0.11.0
type RegisterOrgCIBuildkiteClusterInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
AuthPluginRef OptString `json:"auth_plugin_ref"`
BkClusterID string `json:"bk_cluster_id"`
BkOrganization string `json:"bk_organization"`
Label OptString `json:"label"`
AdditionalProps RegisterOrgCIBuildkiteClusterInputBodyAdditional
}
Ref: #/components/schemas/RegisterOrgCIBuildkiteClusterInputBody
func (*RegisterOrgCIBuildkiteClusterInputBody) Decode ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) Decode(d *jx.Decoder) error
Decode decodes RegisterOrgCIBuildkiteClusterInputBody from json.
func (*RegisterOrgCIBuildkiteClusterInputBody) Encode ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RegisterOrgCIBuildkiteClusterInputBody) GetAdditionalProps ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) GetAdditionalProps() RegisterOrgCIBuildkiteClusterInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*RegisterOrgCIBuildkiteClusterInputBody) GetAuthPluginRef ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) GetAuthPluginRef() OptString
GetAuthPluginRef returns the value of AuthPluginRef.
func (*RegisterOrgCIBuildkiteClusterInputBody) GetBkClusterID ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) GetBkClusterID() string
GetBkClusterID returns the value of BkClusterID.
func (*RegisterOrgCIBuildkiteClusterInputBody) GetBkOrganization ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) GetBkOrganization() string
GetBkOrganization returns the value of BkOrganization.
func (*RegisterOrgCIBuildkiteClusterInputBody) GetLabel ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) GetLabel() OptString
GetLabel returns the value of Label.
func (*RegisterOrgCIBuildkiteClusterInputBody) GetSchema ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*RegisterOrgCIBuildkiteClusterInputBody) MarshalJSON ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RegisterOrgCIBuildkiteClusterInputBody) SetAdditionalProps ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) SetAdditionalProps(val RegisterOrgCIBuildkiteClusterInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*RegisterOrgCIBuildkiteClusterInputBody) SetAuthPluginRef ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) SetAuthPluginRef(val OptString)
SetAuthPluginRef sets the value of AuthPluginRef.
func (*RegisterOrgCIBuildkiteClusterInputBody) SetBkClusterID ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) SetBkClusterID(val string)
SetBkClusterID sets the value of BkClusterID.
func (*RegisterOrgCIBuildkiteClusterInputBody) SetBkOrganization ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) SetBkOrganization(val string)
SetBkOrganization sets the value of BkOrganization.
func (*RegisterOrgCIBuildkiteClusterInputBody) SetLabel ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) SetLabel(val OptString)
SetLabel sets the value of Label.
func (*RegisterOrgCIBuildkiteClusterInputBody) SetSchema ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*RegisterOrgCIBuildkiteClusterInputBody) UnmarshalJSON ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RegisterOrgCIBuildkiteClusterInputBody) Validate ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBody) Validate() error
type RegisterOrgCIBuildkiteClusterInputBodyAdditional ¶ added in v0.11.0
func (*RegisterOrgCIBuildkiteClusterInputBodyAdditional) Decode ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes RegisterOrgCIBuildkiteClusterInputBodyAdditional from json.
func (RegisterOrgCIBuildkiteClusterInputBodyAdditional) Encode ¶ added in v0.11.0
func (s RegisterOrgCIBuildkiteClusterInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RegisterOrgCIBuildkiteClusterInputBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s RegisterOrgCIBuildkiteClusterInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RegisterOrgCIBuildkiteClusterInputBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *RegisterOrgCIBuildkiteClusterInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RegisterOrgCIBuildkiteClusterParams ¶ added in v0.11.0
type RegisterOrgCIBuildkiteClusterParams struct {
OrgId string
}
RegisterOrgCIBuildkiteClusterParams is parameters of registerOrgCIBuildkiteCluster operation.
type RemoveOrgMemberByMembershipIDNoContent ¶ added in v0.11.4
type RemoveOrgMemberByMembershipIDNoContent struct{}
RemoveOrgMemberByMembershipIDNoContent is response for RemoveOrgMemberByMembershipID operation.
type RemoveOrgMemberByMembershipIDParams ¶ added in v0.11.4
RemoveOrgMemberByMembershipIDParams is parameters of removeOrgMemberByMembershipID operation.
type RemoveOrgMemberNoContent ¶
type RemoveOrgMemberNoContent struct{}
RemoveOrgMemberNoContent is response for RemoveOrgMember operation.
type RemoveOrgMemberParams ¶
RemoveOrgMemberParams is parameters of removeOrgMember operation.
type RemovePluginInstallationRepositoryNoContent ¶ added in v0.11.4
type RemovePluginInstallationRepositoryNoContent struct{}
RemovePluginInstallationRepositoryNoContent is response for RemovePluginInstallationRepository operation.
type RemovePluginInstallationRepositoryParams ¶ added in v0.11.4
type RemovePluginInstallationRepositoryParams struct {
// Plugin installation profile.
Plugin string
// Plugin installation id.
ID string
// Public repository id.
RepositoryID string
}
RemovePluginInstallationRepositoryParams is parameters of removePluginInstallationRepository operation.
type Repo ¶
type Repo struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Candidate OptRepoCandidate `json:"candidate"`
Capabilities OptRepoCapabilities `json:"capabilities"`
ClusterHost OptString `json:"clusterHost"`
ClusterSlug OptString `json:"clusterSlug"`
Foreign OptBool `json:"foreign"`
FullName OptString `json:"fullName"`
ID string `json:"id"`
Jurisdiction OptString `json:"jurisdiction"`
MirrorSuspended OptBool `json:"mirrorSuspended"`
MirrorSuspendedAt OptString `json:"mirrorSuspendedAt"`
Name string `json:"name"`
ObjectFormat OptString `json:"objectFormat"`
OwningProjectId string `json:"owningProjectId"`
Path OptString `json:"path"`
Placements []RepoPlacement `json:"placements"`
Primaries OptRepoPrimaries `json:"primaries"`
Provider OptString `json:"provider"`
ProvisionAttempts OptInt64 `json:"provisionAttempts"`
ProvisionReason OptString `json:"provisionReason"`
RepoGroupId OptString `json:"repoGroupId"`
// Provisioning lifecycle. A mirror is active from creation, before its initial clone completes.
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) GetCandidate ¶ added in v0.11.4
func (s *Repo) GetCandidate() OptRepoCandidate
GetCandidate returns the value of Candidate.
func (*Repo) GetCapabilities ¶ added in v0.11.0
func (s *Repo) GetCapabilities() OptRepoCapabilities
GetCapabilities returns the value of Capabilities.
func (*Repo) GetClusterHost ¶
GetClusterHost returns the value of ClusterHost.
func (*Repo) GetClusterSlug ¶ added in v0.11.0
GetClusterSlug returns the value of ClusterSlug.
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) GetJurisdiction ¶ added in v0.11.0
GetJurisdiction returns the value of Jurisdiction.
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) GetPlacements ¶ added in v0.11.3
func (s *Repo) GetPlacements() []RepoPlacement
GetPlacements returns the value of Placements.
func (*Repo) GetPrimaries ¶ added in v0.11.0
func (s *Repo) GetPrimaries() OptRepoPrimaries
GetPrimaries returns the value of Primaries.
func (*Repo) GetProvider ¶ added in v0.11.0
GetProvider returns the value of Provider.
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) SetCandidate ¶ added in v0.11.4
func (s *Repo) SetCandidate(val OptRepoCandidate)
SetCandidate sets the value of Candidate.
func (*Repo) SetCapabilities ¶ added in v0.11.0
func (s *Repo) SetCapabilities(val OptRepoCapabilities)
SetCapabilities sets the value of Capabilities.
func (*Repo) SetClusterHost ¶
SetClusterHost sets the value of ClusterHost.
func (*Repo) SetClusterSlug ¶ added in v0.11.0
SetClusterSlug sets the value of ClusterSlug.
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) SetJurisdiction ¶ added in v0.11.0
SetJurisdiction sets the value of Jurisdiction.
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) SetPlacements ¶ added in v0.11.3
func (s *Repo) SetPlacements(val []RepoPlacement)
SetPlacements sets the value of Placements.
func (*Repo) SetPrimaries ¶ added in v0.11.0
func (s *Repo) SetPrimaries(val OptRepoPrimaries)
SetPrimaries sets the value of Primaries.
func (*Repo) SetProvider ¶ added in v0.11.0
SetProvider sets the value of Provider.
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 RepoCapabilities ¶ added in v0.11.0
type RepoCapabilities struct {
CanManage bool `json:"canManage"`
CanPull bool `json:"canPull"`
CanPush bool `json:"canPush"`
AdditionalProps RepoCapabilitiesAdditional
}
Ref: #/components/schemas/RepoCapabilities
func (*RepoCapabilities) Decode ¶ added in v0.11.0
func (s *RepoCapabilities) Decode(d *jx.Decoder) error
Decode decodes RepoCapabilities from json.
func (*RepoCapabilities) Encode ¶ added in v0.11.0
func (s *RepoCapabilities) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RepoCapabilities) GetAdditionalProps ¶ added in v0.11.0
func (s *RepoCapabilities) GetAdditionalProps() RepoCapabilitiesAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*RepoCapabilities) GetCanManage ¶ added in v0.11.0
func (s *RepoCapabilities) GetCanManage() bool
GetCanManage returns the value of CanManage.
func (*RepoCapabilities) GetCanPull ¶ added in v0.11.0
func (s *RepoCapabilities) GetCanPull() bool
GetCanPull returns the value of CanPull.
func (*RepoCapabilities) GetCanPush ¶ added in v0.11.0
func (s *RepoCapabilities) GetCanPush() bool
GetCanPush returns the value of CanPush.
func (*RepoCapabilities) MarshalJSON ¶ added in v0.11.0
func (s *RepoCapabilities) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoCapabilities) SetAdditionalProps ¶ added in v0.11.0
func (s *RepoCapabilities) SetAdditionalProps(val RepoCapabilitiesAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*RepoCapabilities) SetCanManage ¶ added in v0.11.0
func (s *RepoCapabilities) SetCanManage(val bool)
SetCanManage sets the value of CanManage.
func (*RepoCapabilities) SetCanPull ¶ added in v0.11.0
func (s *RepoCapabilities) SetCanPull(val bool)
SetCanPull sets the value of CanPull.
func (*RepoCapabilities) SetCanPush ¶ added in v0.11.0
func (s *RepoCapabilities) SetCanPush(val bool)
SetCanPush sets the value of CanPush.
func (*RepoCapabilities) UnmarshalJSON ¶ added in v0.11.0
func (s *RepoCapabilities) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoCapabilitiesAdditional ¶ added in v0.11.0
func (*RepoCapabilitiesAdditional) Decode ¶ added in v0.11.0
func (s *RepoCapabilitiesAdditional) Decode(d *jx.Decoder) error
Decode decodes RepoCapabilitiesAdditional from json.
func (RepoCapabilitiesAdditional) Encode ¶ added in v0.11.0
func (s RepoCapabilitiesAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RepoCapabilitiesAdditional) MarshalJSON ¶ added in v0.11.0
func (s RepoCapabilitiesAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoCapabilitiesAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *RepoCapabilitiesAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoCollaborator ¶ added in v0.11.0
type RepoCollaborator struct {
AccountId string `json:"accountId"`
Handle OptString `json:"handle"`
// Display tier. Admin includes GitHub settings administrators and does not imply permission to
// manage grants.
Role RepoCollaboratorRole `json:"role"`
AdditionalProps RepoCollaboratorAdditional
}
Ref: #/components/schemas/RepoCollaborator
func (*RepoCollaborator) Decode ¶ added in v0.11.0
func (s *RepoCollaborator) Decode(d *jx.Decoder) error
Decode decodes RepoCollaborator from json.
func (*RepoCollaborator) Encode ¶ added in v0.11.0
func (s *RepoCollaborator) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RepoCollaborator) GetAccountId ¶ added in v0.11.0
func (s *RepoCollaborator) GetAccountId() string
GetAccountId returns the value of AccountId.
func (*RepoCollaborator) GetAdditionalProps ¶ added in v0.11.0
func (s *RepoCollaborator) GetAdditionalProps() RepoCollaboratorAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*RepoCollaborator) GetHandle ¶ added in v0.11.0
func (s *RepoCollaborator) GetHandle() OptString
GetHandle returns the value of Handle.
func (*RepoCollaborator) GetRole ¶ added in v0.11.0
func (s *RepoCollaborator) GetRole() RepoCollaboratorRole
GetRole returns the value of Role.
func (*RepoCollaborator) MarshalJSON ¶ added in v0.11.0
func (s *RepoCollaborator) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoCollaborator) SetAccountId ¶ added in v0.11.0
func (s *RepoCollaborator) SetAccountId(val string)
SetAccountId sets the value of AccountId.
func (*RepoCollaborator) SetAdditionalProps ¶ added in v0.11.0
func (s *RepoCollaborator) SetAdditionalProps(val RepoCollaboratorAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*RepoCollaborator) SetHandle ¶ added in v0.11.0
func (s *RepoCollaborator) SetHandle(val OptString)
SetHandle sets the value of Handle.
func (*RepoCollaborator) SetRole ¶ added in v0.11.0
func (s *RepoCollaborator) SetRole(val RepoCollaboratorRole)
SetRole sets the value of Role.
func (*RepoCollaborator) UnmarshalJSON ¶ added in v0.11.0
func (s *RepoCollaborator) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RepoCollaborator) Validate ¶ added in v0.11.3
func (s *RepoCollaborator) Validate() error
type RepoCollaboratorAdditional ¶ added in v0.11.0
func (*RepoCollaboratorAdditional) Decode ¶ added in v0.11.0
func (s *RepoCollaboratorAdditional) Decode(d *jx.Decoder) error
Decode decodes RepoCollaboratorAdditional from json.
func (RepoCollaboratorAdditional) Encode ¶ added in v0.11.0
func (s RepoCollaboratorAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RepoCollaboratorAdditional) MarshalJSON ¶ added in v0.11.0
func (s RepoCollaboratorAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoCollaboratorAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *RepoCollaboratorAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoCollaboratorRole ¶ added in v0.11.3
type RepoCollaboratorRole string
Display tier. Admin includes GitHub settings administrators and does not imply permission to manage grants.
const ( RepoCollaboratorRoleReader RepoCollaboratorRole = "reader" RepoCollaboratorRoleWriter RepoCollaboratorRole = "writer" RepoCollaboratorRoleAdmin RepoCollaboratorRole = "admin" )
func (RepoCollaboratorRole) AllValues ¶ added in v0.11.3
func (RepoCollaboratorRole) AllValues() []RepoCollaboratorRole
AllValues returns all RepoCollaboratorRole values.
func (*RepoCollaboratorRole) Decode ¶ added in v0.11.3
func (s *RepoCollaboratorRole) Decode(d *jx.Decoder) error
Decode decodes RepoCollaboratorRole from json.
func (RepoCollaboratorRole) Encode ¶ added in v0.11.3
func (s RepoCollaboratorRole) Encode(e *jx.Encoder)
Encode encodes RepoCollaboratorRole as json.
func (RepoCollaboratorRole) MarshalJSON ¶ added in v0.11.3
func (s RepoCollaboratorRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (RepoCollaboratorRole) MarshalText ¶ added in v0.11.3
func (s RepoCollaboratorRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*RepoCollaboratorRole) UnmarshalJSON ¶ added in v0.11.3
func (s *RepoCollaboratorRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RepoCollaboratorRole) UnmarshalText ¶ added in v0.11.3
func (s *RepoCollaboratorRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (RepoCollaboratorRole) Validate ¶ added in v0.11.3
func (s RepoCollaboratorRole) Validate() error
type RepoFacetPage ¶ added in v0.11.0
type RepoFacetPage struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Items []string `json:"items"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
AdditionalProps RepoFacetPageAdditional
}
Ref: #/components/schemas/RepoFacetPage
func (*RepoFacetPage) Decode ¶ added in v0.11.0
func (s *RepoFacetPage) Decode(d *jx.Decoder) error
Decode decodes RepoFacetPage from json.
func (*RepoFacetPage) Encode ¶ added in v0.11.0
func (s *RepoFacetPage) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RepoFacetPage) GetAdditionalProps ¶ added in v0.11.0
func (s *RepoFacetPage) GetAdditionalProps() RepoFacetPageAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*RepoFacetPage) GetItems ¶ added in v0.11.0
func (s *RepoFacetPage) GetItems() []string
GetItems returns the value of Items.
func (*RepoFacetPage) GetNextPageToken ¶ added in v0.11.0
func (s *RepoFacetPage) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*RepoFacetPage) GetSchema ¶ added in v0.11.0
func (s *RepoFacetPage) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*RepoFacetPage) MarshalJSON ¶ added in v0.11.0
func (s *RepoFacetPage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoFacetPage) SetAdditionalProps ¶ added in v0.11.0
func (s *RepoFacetPage) SetAdditionalProps(val RepoFacetPageAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*RepoFacetPage) SetItems ¶ added in v0.11.0
func (s *RepoFacetPage) SetItems(val []string)
SetItems sets the value of Items.
func (*RepoFacetPage) SetNextPageToken ¶ added in v0.11.0
func (s *RepoFacetPage) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*RepoFacetPage) SetSchema ¶ added in v0.11.0
func (s *RepoFacetPage) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*RepoFacetPage) UnmarshalJSON ¶ added in v0.11.0
func (s *RepoFacetPage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RepoFacetPage) Validate ¶ added in v0.11.0
func (s *RepoFacetPage) Validate() error
type RepoFacetPageAdditional ¶ added in v0.11.0
func (*RepoFacetPageAdditional) Decode ¶ added in v0.11.0
func (s *RepoFacetPageAdditional) Decode(d *jx.Decoder) error
Decode decodes RepoFacetPageAdditional from json.
func (RepoFacetPageAdditional) Encode ¶ added in v0.11.0
func (s RepoFacetPageAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RepoFacetPageAdditional) MarshalJSON ¶ added in v0.11.0
func (s RepoFacetPageAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoFacetPageAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *RepoFacetPageAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoGrant ¶ added in v0.7.8
type RepoGrant struct {
// The account's public display name, when it has one. Absent for non-account grantees.
DisplayName OptString `json:"displayName"`
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) GetDisplayName ¶ added in v0.11.4
GetDisplayName returns the value of DisplayName.
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) SetDisplayName ¶ added in v0.11.4
SetDisplayName sets the value of DisplayName.
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 RepoHeaders ¶ added in v0.11.4
RepoHeaders wraps Repo with response headers.
func (*RepoHeaders) GetResponse ¶ added in v0.11.4
func (s *RepoHeaders) GetResponse() Repo
GetResponse returns the value of Response.
func (*RepoHeaders) GetRetryAfter ¶ added in v0.11.4
func (s *RepoHeaders) GetRetryAfter() OptString
GetRetryAfter returns the value of RetryAfter.
func (*RepoHeaders) SetResponse ¶ added in v0.11.4
func (s *RepoHeaders) SetResponse(val Repo)
SetResponse sets the value of Response.
func (*RepoHeaders) SetRetryAfter ¶ added in v0.11.4
func (s *RepoHeaders) SetRetryAfter(val OptString)
SetRetryAfter sets the value of RetryAfter.
func (*RepoHeaders) Validate ¶ added in v0.11.4
func (s *RepoHeaders) Validate() error
type RepoIDResolution ¶ added in v0.11.0
type RepoIDResolution struct {
FullName OptString `json:"fullName"`
Provider OptString `json:"provider"`
RepoId string `json:"repoId"`
Status RepoIDResolutionStatus `json:"status"`
AdditionalProps RepoIDResolutionAdditional
}
Ref: #/components/schemas/RepoIDResolution
func (*RepoIDResolution) Decode ¶ added in v0.11.0
func (s *RepoIDResolution) Decode(d *jx.Decoder) error
Decode decodes RepoIDResolution from json.
func (*RepoIDResolution) Encode ¶ added in v0.11.0
func (s *RepoIDResolution) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RepoIDResolution) GetAdditionalProps ¶ added in v0.11.0
func (s *RepoIDResolution) GetAdditionalProps() RepoIDResolutionAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*RepoIDResolution) GetFullName ¶ added in v0.11.0
func (s *RepoIDResolution) GetFullName() OptString
GetFullName returns the value of FullName.
func (*RepoIDResolution) GetProvider ¶ added in v0.11.0
func (s *RepoIDResolution) GetProvider() OptString
GetProvider returns the value of Provider.
func (*RepoIDResolution) GetRepoId ¶ added in v0.11.0
func (s *RepoIDResolution) GetRepoId() string
GetRepoId returns the value of RepoId.
func (*RepoIDResolution) GetStatus ¶ added in v0.11.0
func (s *RepoIDResolution) GetStatus() RepoIDResolutionStatus
GetStatus returns the value of Status.
func (*RepoIDResolution) MarshalJSON ¶ added in v0.11.0
func (s *RepoIDResolution) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoIDResolution) SetAdditionalProps ¶ added in v0.11.0
func (s *RepoIDResolution) SetAdditionalProps(val RepoIDResolutionAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*RepoIDResolution) SetFullName ¶ added in v0.11.0
func (s *RepoIDResolution) SetFullName(val OptString)
SetFullName sets the value of FullName.
func (*RepoIDResolution) SetProvider ¶ added in v0.11.0
func (s *RepoIDResolution) SetProvider(val OptString)
SetProvider sets the value of Provider.
func (*RepoIDResolution) SetRepoId ¶ added in v0.11.0
func (s *RepoIDResolution) SetRepoId(val string)
SetRepoId sets the value of RepoId.
func (*RepoIDResolution) SetStatus ¶ added in v0.11.0
func (s *RepoIDResolution) SetStatus(val RepoIDResolutionStatus)
SetStatus sets the value of Status.
func (*RepoIDResolution) UnmarshalJSON ¶ added in v0.11.0
func (s *RepoIDResolution) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RepoIDResolution) Validate ¶ added in v0.11.0
func (s *RepoIDResolution) Validate() error
type RepoIDResolutionAdditional ¶ added in v0.11.0
func (*RepoIDResolutionAdditional) Decode ¶ added in v0.11.0
func (s *RepoIDResolutionAdditional) Decode(d *jx.Decoder) error
Decode decodes RepoIDResolutionAdditional from json.
func (RepoIDResolutionAdditional) Encode ¶ added in v0.11.0
func (s RepoIDResolutionAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RepoIDResolutionAdditional) MarshalJSON ¶ added in v0.11.0
func (s RepoIDResolutionAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoIDResolutionAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *RepoIDResolutionAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoIDResolutionStatus ¶ added in v0.11.0
type RepoIDResolutionStatus string
const ( RepoIDResolutionStatusResolved RepoIDResolutionStatus = "resolved" )
func (RepoIDResolutionStatus) AllValues ¶ added in v0.11.0
func (RepoIDResolutionStatus) AllValues() []RepoIDResolutionStatus
AllValues returns all RepoIDResolutionStatus values.
func (*RepoIDResolutionStatus) Decode ¶ added in v0.11.0
func (s *RepoIDResolutionStatus) Decode(d *jx.Decoder) error
Decode decodes RepoIDResolutionStatus from json.
func (RepoIDResolutionStatus) Encode ¶ added in v0.11.0
func (s RepoIDResolutionStatus) Encode(e *jx.Encoder)
Encode encodes RepoIDResolutionStatus as json.
func (RepoIDResolutionStatus) MarshalJSON ¶ added in v0.11.0
func (s RepoIDResolutionStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (RepoIDResolutionStatus) MarshalText ¶ added in v0.11.0
func (s RepoIDResolutionStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*RepoIDResolutionStatus) UnmarshalJSON ¶ added in v0.11.0
func (s *RepoIDResolutionStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RepoIDResolutionStatus) UnmarshalText ¶ added in v0.11.0
func (s *RepoIDResolutionStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (RepoIDResolutionStatus) Validate ¶ added in v0.11.0
func (s RepoIDResolutionStatus) Validate() error
type RepoIndexEntry ¶ added in v0.8.0
type RepoIndexEntry struct {
ActivityHotness OptFloat64 `json:"activityHotness"`
Archived OptBool `json:"archived"`
Candidate OptRepoCandidate `json:"candidate"`
// Deprecated: schema marks this property as deprecated.
Cell string `json:"cell"`
CheckpointCount OptInt64 `json:"checkpointCount"`
// Deprecated: schema marks this property as deprecated.
ClusterSlug string `json:"clusterSlug"`
Forks OptInt64 `json:"forks"`
FullName string `json:"full_name"`
ID string `json:"id"`
// Deprecated: schema marks this property as deprecated.
Jurisdiction string `json:"jurisdiction"`
Language OptString `json:"language"`
LastActivityAt OptDateTime `json:"lastActivityAt"`
LastPushedAt OptDateTime `json:"lastPushedAt"`
Name string `json:"name"`
OpenPrCount OptInt64 `json:"openPrCount"`
Org OptString `json:"org"`
Permission OptString `json:"permission"`
Placements []RepoPlacement `json:"placements"`
Primaries OptRepoPrimaries `json:"primaries"`
Provider OptString `json:"provider"`
PushedAt OptDateTime `json:"pushedAt"`
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) GetActivityHotness ¶ added in v0.11.0
func (s *RepoIndexEntry) GetActivityHotness() OptFloat64
GetActivityHotness returns the value of ActivityHotness.
func (*RepoIndexEntry) GetAdditionalProps ¶ added in v0.8.0
func (s *RepoIndexEntry) GetAdditionalProps() RepoIndexEntryAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*RepoIndexEntry) GetArchived ¶ added in v0.11.0
func (s *RepoIndexEntry) GetArchived() OptBool
GetArchived returns the value of Archived.
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) GetCheckpointCount ¶ added in v0.11.0
func (s *RepoIndexEntry) GetCheckpointCount() OptInt64
GetCheckpointCount returns the value of CheckpointCount.
func (*RepoIndexEntry) GetClusterSlug ¶ added in v0.8.0
func (s *RepoIndexEntry) GetClusterSlug() string
GetClusterSlug returns the value of ClusterSlug.
func (*RepoIndexEntry) GetForks ¶ added in v0.11.0
func (s *RepoIndexEntry) GetForks() OptInt64
GetForks returns the value of Forks.
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) GetLanguage ¶ added in v0.11.0
func (s *RepoIndexEntry) GetLanguage() OptString
GetLanguage returns the value of Language.
func (*RepoIndexEntry) GetLastActivityAt ¶ added in v0.11.0
func (s *RepoIndexEntry) GetLastActivityAt() OptDateTime
GetLastActivityAt returns the value of LastActivityAt.
func (*RepoIndexEntry) GetLastPushedAt ¶ added in v0.11.0
func (s *RepoIndexEntry) GetLastPushedAt() OptDateTime
GetLastPushedAt returns the value of LastPushedAt.
func (*RepoIndexEntry) GetName ¶ added in v0.8.0
func (s *RepoIndexEntry) GetName() string
GetName returns the value of Name.
func (*RepoIndexEntry) GetOpenPrCount ¶ added in v0.11.0
func (s *RepoIndexEntry) GetOpenPrCount() OptInt64
GetOpenPrCount returns the value of OpenPrCount.
func (*RepoIndexEntry) GetOrg ¶ added in v0.11.0
func (s *RepoIndexEntry) GetOrg() OptString
GetOrg returns the value of Org.
func (*RepoIndexEntry) GetPermission ¶ added in v0.11.0
func (s *RepoIndexEntry) GetPermission() OptString
GetPermission returns the value of Permission.
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) GetProvider ¶ added in v0.11.0
func (s *RepoIndexEntry) GetProvider() OptString
GetProvider returns the value of Provider.
func (*RepoIndexEntry) GetPushedAt ¶ added in v0.11.0
func (s *RepoIndexEntry) GetPushedAt() OptDateTime
GetPushedAt returns the value of PushedAt.
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) SetActivityHotness ¶ added in v0.11.0
func (s *RepoIndexEntry) SetActivityHotness(val OptFloat64)
SetActivityHotness sets the value of ActivityHotness.
func (*RepoIndexEntry) SetAdditionalProps ¶ added in v0.8.0
func (s *RepoIndexEntry) SetAdditionalProps(val RepoIndexEntryAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*RepoIndexEntry) SetArchived ¶ added in v0.11.0
func (s *RepoIndexEntry) SetArchived(val OptBool)
SetArchived sets the value of Archived.
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) SetCheckpointCount ¶ added in v0.11.0
func (s *RepoIndexEntry) SetCheckpointCount(val OptInt64)
SetCheckpointCount sets the value of CheckpointCount.
func (*RepoIndexEntry) SetClusterSlug ¶ added in v0.8.0
func (s *RepoIndexEntry) SetClusterSlug(val string)
SetClusterSlug sets the value of ClusterSlug.
func (*RepoIndexEntry) SetForks ¶ added in v0.11.0
func (s *RepoIndexEntry) SetForks(val OptInt64)
SetForks sets the value of Forks.
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) SetLanguage ¶ added in v0.11.0
func (s *RepoIndexEntry) SetLanguage(val OptString)
SetLanguage sets the value of Language.
func (*RepoIndexEntry) SetLastActivityAt ¶ added in v0.11.0
func (s *RepoIndexEntry) SetLastActivityAt(val OptDateTime)
SetLastActivityAt sets the value of LastActivityAt.
func (*RepoIndexEntry) SetLastPushedAt ¶ added in v0.11.0
func (s *RepoIndexEntry) SetLastPushedAt(val OptDateTime)
SetLastPushedAt sets the value of LastPushedAt.
func (*RepoIndexEntry) SetName ¶ added in v0.8.0
func (s *RepoIndexEntry) SetName(val string)
SetName sets the value of Name.
func (*RepoIndexEntry) SetOpenPrCount ¶ added in v0.11.0
func (s *RepoIndexEntry) SetOpenPrCount(val OptInt64)
SetOpenPrCount sets the value of OpenPrCount.
func (*RepoIndexEntry) SetOrg ¶ added in v0.11.0
func (s *RepoIndexEntry) SetOrg(val OptString)
SetOrg sets the value of Org.
func (*RepoIndexEntry) SetPermission ¶ added in v0.11.0
func (s *RepoIndexEntry) SetPermission(val OptString)
SetPermission sets the value of Permission.
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) SetProvider ¶ added in v0.11.0
func (s *RepoIndexEntry) SetProvider(val OptString)
SetProvider sets the value of Provider.
func (*RepoIndexEntry) SetPushedAt ¶ added in v0.11.0
func (s *RepoIndexEntry) SetPushedAt(val OptDateTime)
SetPushedAt sets the value of PushedAt.
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 {
ApiBaseUrl OptString `json:"apiBaseUrl"`
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) GetApiBaseUrl ¶ added in v0.11.3
func (s *RepoPlacement) GetApiBaseUrl() OptString
GetApiBaseUrl returns the value of ApiBaseUrl.
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) SetApiBaseUrl ¶ added in v0.11.3
func (s *RepoPlacement) SetApiBaseUrl(val OptString)
SetApiBaseUrl sets the value of ApiBaseUrl.
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 {
DataPrimary ForgeRepoIdentity `json:"data_primary"`
GitData string `json:"git_data"`
Processing string `json:"processing"`
ProcessingPrimary OptForgeRepoIdentity `json:"processing_primary"`
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) GetDataPrimary ¶ added in v0.11.0
func (s *RepoPrimaries) GetDataPrimary() ForgeRepoIdentity
GetDataPrimary returns the value of DataPrimary.
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) GetProcessingPrimary ¶ added in v0.11.0
func (s *RepoPrimaries) GetProcessingPrimary() OptForgeRepoIdentity
GetProcessingPrimary returns the value of ProcessingPrimary.
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) SetDataPrimary ¶ added in v0.11.0
func (s *RepoPrimaries) SetDataPrimary(val ForgeRepoIdentity)
SetDataPrimary sets the value of DataPrimary.
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) SetProcessingPrimary ¶ added in v0.11.0
func (s *RepoPrimaries) SetProcessingPrimary(val OptForgeRepoIdentity)
SetProcessingPrimary sets the value of ProcessingPrimary.
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 RepoReference ¶ added in v0.11.0
type RepoReference struct {
FullName string `json:"fullName"`
Provider string `json:"provider"`
AdditionalProps RepoReferenceAdditional
}
Ref: #/components/schemas/RepoReference
func (*RepoReference) Decode ¶ added in v0.11.0
func (s *RepoReference) Decode(d *jx.Decoder) error
Decode decodes RepoReference from json.
func (*RepoReference) Encode ¶ added in v0.11.0
func (s *RepoReference) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RepoReference) GetAdditionalProps ¶ added in v0.11.0
func (s *RepoReference) GetAdditionalProps() RepoReferenceAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*RepoReference) GetFullName ¶ added in v0.11.0
func (s *RepoReference) GetFullName() string
GetFullName returns the value of FullName.
func (*RepoReference) GetProvider ¶ added in v0.11.0
func (s *RepoReference) GetProvider() string
GetProvider returns the value of Provider.
func (*RepoReference) MarshalJSON ¶ added in v0.11.0
func (s *RepoReference) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoReference) SetAdditionalProps ¶ added in v0.11.0
func (s *RepoReference) SetAdditionalProps(val RepoReferenceAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*RepoReference) SetFullName ¶ added in v0.11.0
func (s *RepoReference) SetFullName(val string)
SetFullName sets the value of FullName.
func (*RepoReference) SetProvider ¶ added in v0.11.0
func (s *RepoReference) SetProvider(val string)
SetProvider sets the value of Provider.
func (*RepoReference) UnmarshalJSON ¶ added in v0.11.0
func (s *RepoReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RepoReference) Validate ¶ added in v0.11.0
func (s *RepoReference) Validate() error
type RepoReferenceAdditional ¶ added in v0.11.0
func (*RepoReferenceAdditional) Decode ¶ added in v0.11.0
func (s *RepoReferenceAdditional) Decode(d *jx.Decoder) error
Decode decodes RepoReferenceAdditional from json.
func (RepoReferenceAdditional) Encode ¶ added in v0.11.0
func (s RepoReferenceAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RepoReferenceAdditional) MarshalJSON ¶ added in v0.11.0
func (s RepoReferenceAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoReferenceAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *RepoReferenceAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoResolution ¶ added in v0.11.0
type RepoResolution struct {
Candidate OptRepoCandidate `json:"candidate"`
FullName OptString `json:"fullName"`
Placements []RepoPlacement `json:"placements"`
Primaries OptRepoPrimaries `json:"primaries"`
Provider string `json:"provider"`
RepoId OptString `json:"repoId"`
RequestedFullName string `json:"requestedFullName"`
Status RepoResolutionStatus `json:"status"`
AdditionalProps RepoResolutionAdditional
}
Ref: #/components/schemas/RepoResolution
func (*RepoResolution) Decode ¶ added in v0.11.0
func (s *RepoResolution) Decode(d *jx.Decoder) error
Decode decodes RepoResolution from json.
func (*RepoResolution) Encode ¶ added in v0.11.0
func (s *RepoResolution) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RepoResolution) GetAdditionalProps ¶ added in v0.11.0
func (s *RepoResolution) GetAdditionalProps() RepoResolutionAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*RepoResolution) GetCandidate ¶ added in v0.11.0
func (s *RepoResolution) GetCandidate() OptRepoCandidate
GetCandidate returns the value of Candidate.
func (*RepoResolution) GetFullName ¶ added in v0.11.0
func (s *RepoResolution) GetFullName() OptString
GetFullName returns the value of FullName.
func (*RepoResolution) GetPlacements ¶ added in v0.11.0
func (s *RepoResolution) GetPlacements() []RepoPlacement
GetPlacements returns the value of Placements.
func (*RepoResolution) GetPrimaries ¶ added in v0.11.0
func (s *RepoResolution) GetPrimaries() OptRepoPrimaries
GetPrimaries returns the value of Primaries.
func (*RepoResolution) GetProvider ¶ added in v0.11.0
func (s *RepoResolution) GetProvider() string
GetProvider returns the value of Provider.
func (*RepoResolution) GetRepoId ¶ added in v0.11.0
func (s *RepoResolution) GetRepoId() OptString
GetRepoId returns the value of RepoId.
func (*RepoResolution) GetRequestedFullName ¶ added in v0.11.0
func (s *RepoResolution) GetRequestedFullName() string
GetRequestedFullName returns the value of RequestedFullName.
func (*RepoResolution) GetStatus ¶ added in v0.11.0
func (s *RepoResolution) GetStatus() RepoResolutionStatus
GetStatus returns the value of Status.
func (*RepoResolution) MarshalJSON ¶ added in v0.11.0
func (s *RepoResolution) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoResolution) SetAdditionalProps ¶ added in v0.11.0
func (s *RepoResolution) SetAdditionalProps(val RepoResolutionAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*RepoResolution) SetCandidate ¶ added in v0.11.0
func (s *RepoResolution) SetCandidate(val OptRepoCandidate)
SetCandidate sets the value of Candidate.
func (*RepoResolution) SetFullName ¶ added in v0.11.0
func (s *RepoResolution) SetFullName(val OptString)
SetFullName sets the value of FullName.
func (*RepoResolution) SetPlacements ¶ added in v0.11.0
func (s *RepoResolution) SetPlacements(val []RepoPlacement)
SetPlacements sets the value of Placements.
func (*RepoResolution) SetPrimaries ¶ added in v0.11.0
func (s *RepoResolution) SetPrimaries(val OptRepoPrimaries)
SetPrimaries sets the value of Primaries.
func (*RepoResolution) SetProvider ¶ added in v0.11.0
func (s *RepoResolution) SetProvider(val string)
SetProvider sets the value of Provider.
func (*RepoResolution) SetRepoId ¶ added in v0.11.0
func (s *RepoResolution) SetRepoId(val OptString)
SetRepoId sets the value of RepoId.
func (*RepoResolution) SetRequestedFullName ¶ added in v0.11.0
func (s *RepoResolution) SetRequestedFullName(val string)
SetRequestedFullName sets the value of RequestedFullName.
func (*RepoResolution) SetStatus ¶ added in v0.11.0
func (s *RepoResolution) SetStatus(val RepoResolutionStatus)
SetStatus sets the value of Status.
func (*RepoResolution) UnmarshalJSON ¶ added in v0.11.0
func (s *RepoResolution) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RepoResolution) Validate ¶ added in v0.11.0
func (s *RepoResolution) Validate() error
type RepoResolutionAdditional ¶ added in v0.11.0
func (*RepoResolutionAdditional) Decode ¶ added in v0.11.0
func (s *RepoResolutionAdditional) Decode(d *jx.Decoder) error
Decode decodes RepoResolutionAdditional from json.
func (RepoResolutionAdditional) Encode ¶ added in v0.11.0
func (s RepoResolutionAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RepoResolutionAdditional) MarshalJSON ¶ added in v0.11.0
func (s RepoResolutionAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RepoResolutionAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *RepoResolutionAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RepoResolutionStatus ¶ added in v0.11.0
type RepoResolutionStatus string
const ( RepoResolutionStatusReady RepoResolutionStatus = "ready" RepoResolutionStatusProcessing RepoResolutionStatus = "processing" RepoResolutionStatusNoMirror RepoResolutionStatus = "no-mirror" )
func (RepoResolutionStatus) AllValues ¶ added in v0.11.0
func (RepoResolutionStatus) AllValues() []RepoResolutionStatus
AllValues returns all RepoResolutionStatus values.
func (*RepoResolutionStatus) Decode ¶ added in v0.11.0
func (s *RepoResolutionStatus) Decode(d *jx.Decoder) error
Decode decodes RepoResolutionStatus from json.
func (RepoResolutionStatus) Encode ¶ added in v0.11.0
func (s RepoResolutionStatus) Encode(e *jx.Encoder)
Encode encodes RepoResolutionStatus as json.
func (RepoResolutionStatus) MarshalJSON ¶ added in v0.11.0
func (s RepoResolutionStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (RepoResolutionStatus) MarshalText ¶ added in v0.11.0
func (s RepoResolutionStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*RepoResolutionStatus) UnmarshalJSON ¶ added in v0.11.0
func (s *RepoResolutionStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RepoResolutionStatus) UnmarshalText ¶ added in v0.11.0
func (s *RepoResolutionStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (RepoResolutionStatus) Validate ¶ added in v0.11.0
func (s RepoResolutionStatus) Validate() error
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 ResolveProjectHost ¶ added in v0.11.3
type ResolveProjectHost string
const ( ResolveProjectHostEt ResolveProjectHost = "et" ResolveProjectHostGh ResolveProjectHost = "gh" )
func (ResolveProjectHost) AllValues ¶ added in v0.11.3
func (ResolveProjectHost) AllValues() []ResolveProjectHost
AllValues returns all ResolveProjectHost values.
func (ResolveProjectHost) MarshalText ¶ added in v0.11.3
func (s ResolveProjectHost) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ResolveProjectHost) UnmarshalText ¶ added in v0.11.3
func (s *ResolveProjectHost) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ResolveProjectHost) Validate ¶ added in v0.11.3
func (s ResolveProjectHost) Validate() error
type ResolveProjectOutputBody ¶ added in v0.11.3
type ResolveProjectOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Project Project `json:"project"`
Reference ProjectReference `json:"reference"`
AdditionalProps ResolveProjectOutputBodyAdditional
}
Ref: #/components/schemas/ResolveProjectOutputBody
func (*ResolveProjectOutputBody) Decode ¶ added in v0.11.3
func (s *ResolveProjectOutputBody) Decode(d *jx.Decoder) error
Decode decodes ResolveProjectOutputBody from json.
func (*ResolveProjectOutputBody) Encode ¶ added in v0.11.3
func (s *ResolveProjectOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResolveProjectOutputBody) GetAdditionalProps ¶ added in v0.11.3
func (s *ResolveProjectOutputBody) GetAdditionalProps() ResolveProjectOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ResolveProjectOutputBody) GetProject ¶ added in v0.11.3
func (s *ResolveProjectOutputBody) GetProject() Project
GetProject returns the value of Project.
func (*ResolveProjectOutputBody) GetReference ¶ added in v0.11.3
func (s *ResolveProjectOutputBody) GetReference() ProjectReference
GetReference returns the value of Reference.
func (*ResolveProjectOutputBody) GetSchema ¶ added in v0.11.3
func (s *ResolveProjectOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ResolveProjectOutputBody) MarshalJSON ¶ added in v0.11.3
func (s *ResolveProjectOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolveProjectOutputBody) SetAdditionalProps ¶ added in v0.11.3
func (s *ResolveProjectOutputBody) SetAdditionalProps(val ResolveProjectOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ResolveProjectOutputBody) SetProject ¶ added in v0.11.3
func (s *ResolveProjectOutputBody) SetProject(val Project)
SetProject sets the value of Project.
func (*ResolveProjectOutputBody) SetReference ¶ added in v0.11.3
func (s *ResolveProjectOutputBody) SetReference(val ProjectReference)
SetReference sets the value of Reference.
func (*ResolveProjectOutputBody) SetSchema ¶ added in v0.11.3
func (s *ResolveProjectOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ResolveProjectOutputBody) UnmarshalJSON ¶ added in v0.11.3
func (s *ResolveProjectOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResolveProjectOutputBody) Validate ¶ added in v0.11.3
func (s *ResolveProjectOutputBody) Validate() error
type ResolveProjectOutputBodyAdditional ¶ added in v0.11.3
func (*ResolveProjectOutputBodyAdditional) Decode ¶ added in v0.11.3
func (s *ResolveProjectOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ResolveProjectOutputBodyAdditional from json.
func (ResolveProjectOutputBodyAdditional) Encode ¶ added in v0.11.3
func (s ResolveProjectOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ResolveProjectOutputBodyAdditional) MarshalJSON ¶ added in v0.11.3
func (s ResolveProjectOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolveProjectOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *ResolveProjectOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResolveProjectParams ¶ added in v0.11.3
type ResolveProjectParams struct {
Host ResolveProjectHost
Project string
}
ResolveProjectParams is parameters of resolveProject operation.
type ResolveRepoIDsInputBody ¶ added in v0.11.0
type ResolveRepoIDsInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
RepoIds []string `json:"repoIds"`
AdditionalProps ResolveRepoIDsInputBodyAdditional
}
Ref: #/components/schemas/ResolveRepoIDsInputBody
func (*ResolveRepoIDsInputBody) Decode ¶ added in v0.11.0
func (s *ResolveRepoIDsInputBody) Decode(d *jx.Decoder) error
Decode decodes ResolveRepoIDsInputBody from json.
func (*ResolveRepoIDsInputBody) Encode ¶ added in v0.11.0
func (s *ResolveRepoIDsInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResolveRepoIDsInputBody) GetAdditionalProps ¶ added in v0.11.0
func (s *ResolveRepoIDsInputBody) GetAdditionalProps() ResolveRepoIDsInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ResolveRepoIDsInputBody) GetRepoIds ¶ added in v0.11.0
func (s *ResolveRepoIDsInputBody) GetRepoIds() []string
GetRepoIds returns the value of RepoIds.
func (*ResolveRepoIDsInputBody) GetSchema ¶ added in v0.11.0
func (s *ResolveRepoIDsInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ResolveRepoIDsInputBody) MarshalJSON ¶ added in v0.11.0
func (s *ResolveRepoIDsInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolveRepoIDsInputBody) SetAdditionalProps ¶ added in v0.11.0
func (s *ResolveRepoIDsInputBody) SetAdditionalProps(val ResolveRepoIDsInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ResolveRepoIDsInputBody) SetRepoIds ¶ added in v0.11.0
func (s *ResolveRepoIDsInputBody) SetRepoIds(val []string)
SetRepoIds sets the value of RepoIds.
func (*ResolveRepoIDsInputBody) SetSchema ¶ added in v0.11.0
func (s *ResolveRepoIDsInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ResolveRepoIDsInputBody) UnmarshalJSON ¶ added in v0.11.0
func (s *ResolveRepoIDsInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResolveRepoIDsInputBody) Validate ¶ added in v0.11.0
func (s *ResolveRepoIDsInputBody) Validate() error
type ResolveRepoIDsInputBodyAdditional ¶ added in v0.11.0
func (*ResolveRepoIDsInputBodyAdditional) Decode ¶ added in v0.11.0
func (s *ResolveRepoIDsInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ResolveRepoIDsInputBodyAdditional from json.
func (ResolveRepoIDsInputBodyAdditional) Encode ¶ added in v0.11.0
func (s ResolveRepoIDsInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ResolveRepoIDsInputBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s ResolveRepoIDsInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolveRepoIDsInputBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *ResolveRepoIDsInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResolveRepoIDsResponse ¶ added in v0.11.0
type ResolveRepoIDsResponse struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Resolutions []RepoIDResolution `json:"resolutions"`
AdditionalProps ResolveRepoIDsResponseAdditional
}
Ref: #/components/schemas/ResolveRepoIDsResponse
func (*ResolveRepoIDsResponse) Decode ¶ added in v0.11.0
func (s *ResolveRepoIDsResponse) Decode(d *jx.Decoder) error
Decode decodes ResolveRepoIDsResponse from json.
func (*ResolveRepoIDsResponse) Encode ¶ added in v0.11.0
func (s *ResolveRepoIDsResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResolveRepoIDsResponse) GetAdditionalProps ¶ added in v0.11.0
func (s *ResolveRepoIDsResponse) GetAdditionalProps() ResolveRepoIDsResponseAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ResolveRepoIDsResponse) GetResolutions ¶ added in v0.11.0
func (s *ResolveRepoIDsResponse) GetResolutions() []RepoIDResolution
GetResolutions returns the value of Resolutions.
func (*ResolveRepoIDsResponse) GetSchema ¶ added in v0.11.0
func (s *ResolveRepoIDsResponse) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ResolveRepoIDsResponse) MarshalJSON ¶ added in v0.11.0
func (s *ResolveRepoIDsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolveRepoIDsResponse) SetAdditionalProps ¶ added in v0.11.0
func (s *ResolveRepoIDsResponse) SetAdditionalProps(val ResolveRepoIDsResponseAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ResolveRepoIDsResponse) SetResolutions ¶ added in v0.11.0
func (s *ResolveRepoIDsResponse) SetResolutions(val []RepoIDResolution)
SetResolutions sets the value of Resolutions.
func (*ResolveRepoIDsResponse) SetSchema ¶ added in v0.11.0
func (s *ResolveRepoIDsResponse) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ResolveRepoIDsResponse) UnmarshalJSON ¶ added in v0.11.0
func (s *ResolveRepoIDsResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResolveRepoIDsResponse) Validate ¶ added in v0.11.0
func (s *ResolveRepoIDsResponse) Validate() error
type ResolveRepoIDsResponseAdditional ¶ added in v0.11.0
func (*ResolveRepoIDsResponseAdditional) Decode ¶ added in v0.11.0
func (s *ResolveRepoIDsResponseAdditional) Decode(d *jx.Decoder) error
Decode decodes ResolveRepoIDsResponseAdditional from json.
func (ResolveRepoIDsResponseAdditional) Encode ¶ added in v0.11.0
func (s ResolveRepoIDsResponseAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ResolveRepoIDsResponseAdditional) MarshalJSON ¶ added in v0.11.0
func (s ResolveRepoIDsResponseAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolveRepoIDsResponseAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *ResolveRepoIDsResponseAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResolveReposInputBody ¶ added in v0.11.0
type ResolveReposInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
CommitToken OptString `json:"commitToken"`
// Retry stale permission denials for navigation. Defaults to false for list enrichment. Failed
// retries retain denials; a commitToken authorization revision takes precedence.
RecheckDeniedPermissions OptBool `json:"recheckDeniedPermissions"`
Repositories []RepoReference `json:"repositories"`
AdditionalProps ResolveReposInputBodyAdditional
}
Ref: #/components/schemas/ResolveReposInputBody
func (*ResolveReposInputBody) Decode ¶ added in v0.11.0
func (s *ResolveReposInputBody) Decode(d *jx.Decoder) error
Decode decodes ResolveReposInputBody from json.
func (*ResolveReposInputBody) Encode ¶ added in v0.11.0
func (s *ResolveReposInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResolveReposInputBody) GetAdditionalProps ¶ added in v0.11.0
func (s *ResolveReposInputBody) GetAdditionalProps() ResolveReposInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ResolveReposInputBody) GetCommitToken ¶ added in v0.11.3
func (s *ResolveReposInputBody) GetCommitToken() OptString
GetCommitToken returns the value of CommitToken.
func (*ResolveReposInputBody) GetRecheckDeniedPermissions ¶ added in v0.11.3
func (s *ResolveReposInputBody) GetRecheckDeniedPermissions() OptBool
GetRecheckDeniedPermissions returns the value of RecheckDeniedPermissions.
func (*ResolveReposInputBody) GetRepositories ¶ added in v0.11.0
func (s *ResolveReposInputBody) GetRepositories() []RepoReference
GetRepositories returns the value of Repositories.
func (*ResolveReposInputBody) GetSchema ¶ added in v0.11.0
func (s *ResolveReposInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ResolveReposInputBody) MarshalJSON ¶ added in v0.11.0
func (s *ResolveReposInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolveReposInputBody) SetAdditionalProps ¶ added in v0.11.0
func (s *ResolveReposInputBody) SetAdditionalProps(val ResolveReposInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ResolveReposInputBody) SetCommitToken ¶ added in v0.11.3
func (s *ResolveReposInputBody) SetCommitToken(val OptString)
SetCommitToken sets the value of CommitToken.
func (*ResolveReposInputBody) SetRecheckDeniedPermissions ¶ added in v0.11.3
func (s *ResolveReposInputBody) SetRecheckDeniedPermissions(val OptBool)
SetRecheckDeniedPermissions sets the value of RecheckDeniedPermissions.
func (*ResolveReposInputBody) SetRepositories ¶ added in v0.11.0
func (s *ResolveReposInputBody) SetRepositories(val []RepoReference)
SetRepositories sets the value of Repositories.
func (*ResolveReposInputBody) SetSchema ¶ added in v0.11.0
func (s *ResolveReposInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ResolveReposInputBody) UnmarshalJSON ¶ added in v0.11.0
func (s *ResolveReposInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResolveReposInputBody) Validate ¶ added in v0.11.0
func (s *ResolveReposInputBody) Validate() error
type ResolveReposInputBodyAdditional ¶ added in v0.11.0
func (*ResolveReposInputBodyAdditional) Decode ¶ added in v0.11.0
func (s *ResolveReposInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ResolveReposInputBodyAdditional from json.
func (ResolveReposInputBodyAdditional) Encode ¶ added in v0.11.0
func (s ResolveReposInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ResolveReposInputBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s ResolveReposInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolveReposInputBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *ResolveReposInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResolveReposResponse ¶ added in v0.11.0
type ResolveReposResponse struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Resolutions []RepoResolution `json:"resolutions"`
AdditionalProps ResolveReposResponseAdditional
}
Ref: #/components/schemas/ResolveReposResponse
func (*ResolveReposResponse) Decode ¶ added in v0.11.0
func (s *ResolveReposResponse) Decode(d *jx.Decoder) error
Decode decodes ResolveReposResponse from json.
func (*ResolveReposResponse) Encode ¶ added in v0.11.0
func (s *ResolveReposResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResolveReposResponse) GetAdditionalProps ¶ added in v0.11.0
func (s *ResolveReposResponse) GetAdditionalProps() ResolveReposResponseAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ResolveReposResponse) GetResolutions ¶ added in v0.11.0
func (s *ResolveReposResponse) GetResolutions() []RepoResolution
GetResolutions returns the value of Resolutions.
func (*ResolveReposResponse) GetSchema ¶ added in v0.11.0
func (s *ResolveReposResponse) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ResolveReposResponse) MarshalJSON ¶ added in v0.11.0
func (s *ResolveReposResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolveReposResponse) SetAdditionalProps ¶ added in v0.11.0
func (s *ResolveReposResponse) SetAdditionalProps(val ResolveReposResponseAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ResolveReposResponse) SetResolutions ¶ added in v0.11.0
func (s *ResolveReposResponse) SetResolutions(val []RepoResolution)
SetResolutions sets the value of Resolutions.
func (*ResolveReposResponse) SetSchema ¶ added in v0.11.0
func (s *ResolveReposResponse) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ResolveReposResponse) UnmarshalJSON ¶ added in v0.11.0
func (s *ResolveReposResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResolveReposResponse) Validate ¶ added in v0.11.0
func (s *ResolveReposResponse) Validate() error
type ResolveReposResponseAdditional ¶ added in v0.11.0
func (*ResolveReposResponseAdditional) Decode ¶ added in v0.11.0
func (s *ResolveReposResponseAdditional) Decode(d *jx.Decoder) error
Decode decodes ResolveReposResponseAdditional from json.
func (ResolveReposResponseAdditional) Encode ¶ added in v0.11.0
func (s ResolveReposResponseAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ResolveReposResponseAdditional) MarshalJSON ¶ added in v0.11.0
func (s ResolveReposResponseAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResolveReposResponseAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *ResolveReposResponseAdditional) 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 ResourcePeopleOutputBody ¶ added in v0.11.3
type ResourcePeopleOutputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
Items []ResourcePerson `json:"items"`
// Pass back to fetch the next page; empty when no more entries.
NextPageToken OptString `json:"nextPageToken"`
TotalCount int64 `json:"totalCount"`
AdditionalProps ResourcePeopleOutputBodyAdditional
}
Ref: #/components/schemas/ResourcePeopleOutputBody
func (*ResourcePeopleOutputBody) Decode ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) Decode(d *jx.Decoder) error
Decode decodes ResourcePeopleOutputBody from json.
func (*ResourcePeopleOutputBody) Encode ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourcePeopleOutputBody) GetAdditionalProps ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) GetAdditionalProps() ResourcePeopleOutputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ResourcePeopleOutputBody) GetItems ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) GetItems() []ResourcePerson
GetItems returns the value of Items.
func (*ResourcePeopleOutputBody) GetNextPageToken ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) GetNextPageToken() OptString
GetNextPageToken returns the value of NextPageToken.
func (*ResourcePeopleOutputBody) GetSchema ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*ResourcePeopleOutputBody) GetTotalCount ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) GetTotalCount() int64
GetTotalCount returns the value of TotalCount.
func (*ResourcePeopleOutputBody) MarshalJSON ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourcePeopleOutputBody) SetAdditionalProps ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) SetAdditionalProps(val ResourcePeopleOutputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ResourcePeopleOutputBody) SetItems ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) SetItems(val []ResourcePerson)
SetItems sets the value of Items.
func (*ResourcePeopleOutputBody) SetNextPageToken ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) SetNextPageToken(val OptString)
SetNextPageToken sets the value of NextPageToken.
func (*ResourcePeopleOutputBody) SetSchema ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*ResourcePeopleOutputBody) SetTotalCount ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) SetTotalCount(val int64)
SetTotalCount sets the value of TotalCount.
func (*ResourcePeopleOutputBody) UnmarshalJSON ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourcePeopleOutputBody) Validate ¶ added in v0.11.3
func (s *ResourcePeopleOutputBody) Validate() error
type ResourcePeopleOutputBodyAdditional ¶ added in v0.11.3
func (*ResourcePeopleOutputBodyAdditional) Decode ¶ added in v0.11.3
func (s *ResourcePeopleOutputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes ResourcePeopleOutputBodyAdditional from json.
func (ResourcePeopleOutputBodyAdditional) Encode ¶ added in v0.11.3
func (s ResourcePeopleOutputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ResourcePeopleOutputBodyAdditional) MarshalJSON ¶ added in v0.11.3
func (s ResourcePeopleOutputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourcePeopleOutputBodyAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *ResourcePeopleOutputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResourcePerson ¶ added in v0.11.3
type ResourcePerson struct {
AccountId string `json:"accountId"`
AvatarUrl OptString `json:"avatarUrl"`
DirectGrant ResourcePersonDirectGrant `json:"directGrant"`
DisplayName OptString `json:"displayName"`
Handle OptString `json:"handle"`
// Earliest known effective-access time for the selected project. Organization-derived dates use
// membership activation, not invitation creation. Omitted for repositories and access without a
// known timestamp.
JoinedAt OptDateTime `json:"joinedAt"`
Provider OptString `json:"provider"`
Role string `json:"role"`
Sources []ResourcePersonSource `json:"sources"`
AdditionalProps ResourcePersonAdditional
}
Ref: #/components/schemas/ResourcePerson
func (*ResourcePerson) Decode ¶ added in v0.11.3
func (s *ResourcePerson) Decode(d *jx.Decoder) error
Decode decodes ResourcePerson from json.
func (*ResourcePerson) Encode ¶ added in v0.11.3
func (s *ResourcePerson) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourcePerson) GetAccountId ¶ added in v0.11.3
func (s *ResourcePerson) GetAccountId() string
GetAccountId returns the value of AccountId.
func (*ResourcePerson) GetAdditionalProps ¶ added in v0.11.3
func (s *ResourcePerson) GetAdditionalProps() ResourcePersonAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ResourcePerson) GetAvatarUrl ¶ added in v0.11.3
func (s *ResourcePerson) GetAvatarUrl() OptString
GetAvatarUrl returns the value of AvatarUrl.
func (*ResourcePerson) GetDirectGrant ¶ added in v0.11.3
func (s *ResourcePerson) GetDirectGrant() ResourcePersonDirectGrant
GetDirectGrant returns the value of DirectGrant.
func (*ResourcePerson) GetDisplayName ¶ added in v0.11.4
func (s *ResourcePerson) GetDisplayName() OptString
GetDisplayName returns the value of DisplayName.
func (*ResourcePerson) GetHandle ¶ added in v0.11.3
func (s *ResourcePerson) GetHandle() OptString
GetHandle returns the value of Handle.
func (*ResourcePerson) GetJoinedAt ¶ added in v0.11.4
func (s *ResourcePerson) GetJoinedAt() OptDateTime
GetJoinedAt returns the value of JoinedAt.
func (*ResourcePerson) GetProvider ¶ added in v0.11.3
func (s *ResourcePerson) GetProvider() OptString
GetProvider returns the value of Provider.
func (*ResourcePerson) GetRole ¶ added in v0.11.3
func (s *ResourcePerson) GetRole() string
GetRole returns the value of Role.
func (*ResourcePerson) GetSources ¶ added in v0.11.3
func (s *ResourcePerson) GetSources() []ResourcePersonSource
GetSources returns the value of Sources.
func (*ResourcePerson) MarshalJSON ¶ added in v0.11.3
func (s *ResourcePerson) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourcePerson) SetAccountId ¶ added in v0.11.3
func (s *ResourcePerson) SetAccountId(val string)
SetAccountId sets the value of AccountId.
func (*ResourcePerson) SetAdditionalProps ¶ added in v0.11.3
func (s *ResourcePerson) SetAdditionalProps(val ResourcePersonAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ResourcePerson) SetAvatarUrl ¶ added in v0.11.3
func (s *ResourcePerson) SetAvatarUrl(val OptString)
SetAvatarUrl sets the value of AvatarUrl.
func (*ResourcePerson) SetDirectGrant ¶ added in v0.11.3
func (s *ResourcePerson) SetDirectGrant(val ResourcePersonDirectGrant)
SetDirectGrant sets the value of DirectGrant.
func (*ResourcePerson) SetDisplayName ¶ added in v0.11.4
func (s *ResourcePerson) SetDisplayName(val OptString)
SetDisplayName sets the value of DisplayName.
func (*ResourcePerson) SetHandle ¶ added in v0.11.3
func (s *ResourcePerson) SetHandle(val OptString)
SetHandle sets the value of Handle.
func (*ResourcePerson) SetJoinedAt ¶ added in v0.11.4
func (s *ResourcePerson) SetJoinedAt(val OptDateTime)
SetJoinedAt sets the value of JoinedAt.
func (*ResourcePerson) SetProvider ¶ added in v0.11.3
func (s *ResourcePerson) SetProvider(val OptString)
SetProvider sets the value of Provider.
func (*ResourcePerson) SetRole ¶ added in v0.11.3
func (s *ResourcePerson) SetRole(val string)
SetRole sets the value of Role.
func (*ResourcePerson) SetSources ¶ added in v0.11.3
func (s *ResourcePerson) SetSources(val []ResourcePersonSource)
SetSources sets the value of Sources.
func (*ResourcePerson) UnmarshalJSON ¶ added in v0.11.3
func (s *ResourcePerson) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourcePerson) Validate ¶ added in v0.11.3
func (s *ResourcePerson) Validate() error
type ResourcePersonAdditional ¶ added in v0.11.3
func (*ResourcePersonAdditional) Decode ¶ added in v0.11.3
func (s *ResourcePersonAdditional) Decode(d *jx.Decoder) error
Decode decodes ResourcePersonAdditional from json.
func (ResourcePersonAdditional) Encode ¶ added in v0.11.3
func (s ResourcePersonAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ResourcePersonAdditional) MarshalJSON ¶ added in v0.11.3
func (s ResourcePersonAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourcePersonAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *ResourcePersonAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResourcePersonDirectGrant ¶ added in v0.11.3
type ResourcePersonDirectGrant struct {
Role ResourcePersonDirectGrantRole `json:"role"`
Source ResourcePersonDirectGrantSource `json:"source"`
AdditionalProps ResourcePersonDirectGrantAdditional
}
Ref: #/components/schemas/ResourcePersonDirectGrant
func (*ResourcePersonDirectGrant) Decode ¶ added in v0.11.3
func (s *ResourcePersonDirectGrant) Decode(d *jx.Decoder) error
Decode decodes ResourcePersonDirectGrant from json.
func (*ResourcePersonDirectGrant) Encode ¶ added in v0.11.3
func (s *ResourcePersonDirectGrant) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourcePersonDirectGrant) GetAdditionalProps ¶ added in v0.11.3
func (s *ResourcePersonDirectGrant) GetAdditionalProps() ResourcePersonDirectGrantAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ResourcePersonDirectGrant) GetRole ¶ added in v0.11.3
func (s *ResourcePersonDirectGrant) GetRole() ResourcePersonDirectGrantRole
GetRole returns the value of Role.
func (*ResourcePersonDirectGrant) GetSource ¶ added in v0.11.3
func (s *ResourcePersonDirectGrant) GetSource() ResourcePersonDirectGrantSource
GetSource returns the value of Source.
func (*ResourcePersonDirectGrant) MarshalJSON ¶ added in v0.11.3
func (s *ResourcePersonDirectGrant) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourcePersonDirectGrant) SetAdditionalProps ¶ added in v0.11.3
func (s *ResourcePersonDirectGrant) SetAdditionalProps(val ResourcePersonDirectGrantAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ResourcePersonDirectGrant) SetRole ¶ added in v0.11.3
func (s *ResourcePersonDirectGrant) SetRole(val ResourcePersonDirectGrantRole)
SetRole sets the value of Role.
func (*ResourcePersonDirectGrant) SetSource ¶ added in v0.11.3
func (s *ResourcePersonDirectGrant) SetSource(val ResourcePersonDirectGrantSource)
SetSource sets the value of Source.
func (*ResourcePersonDirectGrant) UnmarshalJSON ¶ added in v0.11.3
func (s *ResourcePersonDirectGrant) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourcePersonDirectGrant) Validate ¶ added in v0.11.3
func (s *ResourcePersonDirectGrant) Validate() error
type ResourcePersonDirectGrantAdditional ¶ added in v0.11.3
func (*ResourcePersonDirectGrantAdditional) Decode ¶ added in v0.11.3
func (s *ResourcePersonDirectGrantAdditional) Decode(d *jx.Decoder) error
Decode decodes ResourcePersonDirectGrantAdditional from json.
func (ResourcePersonDirectGrantAdditional) Encode ¶ added in v0.11.3
func (s ResourcePersonDirectGrantAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ResourcePersonDirectGrantAdditional) MarshalJSON ¶ added in v0.11.3
func (s ResourcePersonDirectGrantAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourcePersonDirectGrantAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *ResourcePersonDirectGrantAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResourcePersonDirectGrantRole ¶ added in v0.11.3
type ResourcePersonDirectGrantRole string
const ( ResourcePersonDirectGrantRoleOwner ResourcePersonDirectGrantRole = "owner" ResourcePersonDirectGrantRoleAdmin ResourcePersonDirectGrantRole = "admin" ResourcePersonDirectGrantRoleMember ResourcePersonDirectGrantRole = "member" ResourcePersonDirectGrantRoleReader ResourcePersonDirectGrantRole = "reader" ResourcePersonDirectGrantRoleWriter ResourcePersonDirectGrantRole = "writer" ResourcePersonDirectGrantRoleMirrorSourceAdmin ResourcePersonDirectGrantRole = "mirror_source_admin" )
func (ResourcePersonDirectGrantRole) AllValues ¶ added in v0.11.3
func (ResourcePersonDirectGrantRole) AllValues() []ResourcePersonDirectGrantRole
AllValues returns all ResourcePersonDirectGrantRole values.
func (*ResourcePersonDirectGrantRole) Decode ¶ added in v0.11.3
func (s *ResourcePersonDirectGrantRole) Decode(d *jx.Decoder) error
Decode decodes ResourcePersonDirectGrantRole from json.
func (ResourcePersonDirectGrantRole) Encode ¶ added in v0.11.3
func (s ResourcePersonDirectGrantRole) Encode(e *jx.Encoder)
Encode encodes ResourcePersonDirectGrantRole as json.
func (ResourcePersonDirectGrantRole) MarshalJSON ¶ added in v0.11.3
func (s ResourcePersonDirectGrantRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ResourcePersonDirectGrantRole) MarshalText ¶ added in v0.11.3
func (s ResourcePersonDirectGrantRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ResourcePersonDirectGrantRole) UnmarshalJSON ¶ added in v0.11.3
func (s *ResourcePersonDirectGrantRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourcePersonDirectGrantRole) UnmarshalText ¶ added in v0.11.3
func (s *ResourcePersonDirectGrantRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ResourcePersonDirectGrantRole) Validate ¶ added in v0.11.3
func (s ResourcePersonDirectGrantRole) Validate() error
type ResourcePersonDirectGrantSource ¶ added in v0.11.3
type ResourcePersonDirectGrantSource string
const ( ResourcePersonDirectGrantSourceMembership ResourcePersonDirectGrantSource = "membership" ResourcePersonDirectGrantSourceDirect ResourcePersonDirectGrantSource = "direct" )
func (ResourcePersonDirectGrantSource) AllValues ¶ added in v0.11.3
func (ResourcePersonDirectGrantSource) AllValues() []ResourcePersonDirectGrantSource
AllValues returns all ResourcePersonDirectGrantSource values.
func (*ResourcePersonDirectGrantSource) Decode ¶ added in v0.11.3
func (s *ResourcePersonDirectGrantSource) Decode(d *jx.Decoder) error
Decode decodes ResourcePersonDirectGrantSource from json.
func (ResourcePersonDirectGrantSource) Encode ¶ added in v0.11.3
func (s ResourcePersonDirectGrantSource) Encode(e *jx.Encoder)
Encode encodes ResourcePersonDirectGrantSource as json.
func (ResourcePersonDirectGrantSource) MarshalJSON ¶ added in v0.11.3
func (s ResourcePersonDirectGrantSource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ResourcePersonDirectGrantSource) MarshalText ¶ added in v0.11.3
func (s ResourcePersonDirectGrantSource) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ResourcePersonDirectGrantSource) UnmarshalJSON ¶ added in v0.11.3
func (s *ResourcePersonDirectGrantSource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourcePersonDirectGrantSource) UnmarshalText ¶ added in v0.11.3
func (s *ResourcePersonDirectGrantSource) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ResourcePersonDirectGrantSource) Validate ¶ added in v0.11.3
func (s ResourcePersonDirectGrantSource) Validate() error
type ResourcePersonSource ¶ added in v0.11.3
type ResourcePersonSource struct {
Role ResourcePersonSourceRole `json:"role"`
Source ResourcePersonSourceSource `json:"source"`
AdditionalProps ResourcePersonSourceAdditional
}
Ref: #/components/schemas/ResourcePersonSource
func (*ResourcePersonSource) Decode ¶ added in v0.11.3
func (s *ResourcePersonSource) Decode(d *jx.Decoder) error
Decode decodes ResourcePersonSource from json.
func (*ResourcePersonSource) Encode ¶ added in v0.11.3
func (s *ResourcePersonSource) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ResourcePersonSource) GetAdditionalProps ¶ added in v0.11.3
func (s *ResourcePersonSource) GetAdditionalProps() ResourcePersonSourceAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ResourcePersonSource) GetRole ¶ added in v0.11.3
func (s *ResourcePersonSource) GetRole() ResourcePersonSourceRole
GetRole returns the value of Role.
func (*ResourcePersonSource) GetSource ¶ added in v0.11.3
func (s *ResourcePersonSource) GetSource() ResourcePersonSourceSource
GetSource returns the value of Source.
func (*ResourcePersonSource) MarshalJSON ¶ added in v0.11.3
func (s *ResourcePersonSource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourcePersonSource) SetAdditionalProps ¶ added in v0.11.3
func (s *ResourcePersonSource) SetAdditionalProps(val ResourcePersonSourceAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ResourcePersonSource) SetRole ¶ added in v0.11.3
func (s *ResourcePersonSource) SetRole(val ResourcePersonSourceRole)
SetRole sets the value of Role.
func (*ResourcePersonSource) SetSource ¶ added in v0.11.3
func (s *ResourcePersonSource) SetSource(val ResourcePersonSourceSource)
SetSource sets the value of Source.
func (*ResourcePersonSource) UnmarshalJSON ¶ added in v0.11.3
func (s *ResourcePersonSource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourcePersonSource) Validate ¶ added in v0.11.3
func (s *ResourcePersonSource) Validate() error
type ResourcePersonSourceAdditional ¶ added in v0.11.3
func (*ResourcePersonSourceAdditional) Decode ¶ added in v0.11.3
func (s *ResourcePersonSourceAdditional) Decode(d *jx.Decoder) error
Decode decodes ResourcePersonSourceAdditional from json.
func (ResourcePersonSourceAdditional) Encode ¶ added in v0.11.3
func (s ResourcePersonSourceAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ResourcePersonSourceAdditional) MarshalJSON ¶ added in v0.11.3
func (s ResourcePersonSourceAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ResourcePersonSourceAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *ResourcePersonSourceAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ResourcePersonSourceRole ¶ added in v0.11.3
type ResourcePersonSourceRole string
const ( ResourcePersonSourceRoleOwner ResourcePersonSourceRole = "owner" ResourcePersonSourceRoleAdmin ResourcePersonSourceRole = "admin" ResourcePersonSourceRoleMember ResourcePersonSourceRole = "member" ResourcePersonSourceRoleReader ResourcePersonSourceRole = "reader" ResourcePersonSourceRoleWriter ResourcePersonSourceRole = "writer" ResourcePersonSourceRoleMirrorSourceAdmin ResourcePersonSourceRole = "mirror_source_admin" )
func (ResourcePersonSourceRole) AllValues ¶ added in v0.11.3
func (ResourcePersonSourceRole) AllValues() []ResourcePersonSourceRole
AllValues returns all ResourcePersonSourceRole values.
func (*ResourcePersonSourceRole) Decode ¶ added in v0.11.3
func (s *ResourcePersonSourceRole) Decode(d *jx.Decoder) error
Decode decodes ResourcePersonSourceRole from json.
func (ResourcePersonSourceRole) Encode ¶ added in v0.11.3
func (s ResourcePersonSourceRole) Encode(e *jx.Encoder)
Encode encodes ResourcePersonSourceRole as json.
func (ResourcePersonSourceRole) MarshalJSON ¶ added in v0.11.3
func (s ResourcePersonSourceRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ResourcePersonSourceRole) MarshalText ¶ added in v0.11.3
func (s ResourcePersonSourceRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ResourcePersonSourceRole) UnmarshalJSON ¶ added in v0.11.3
func (s *ResourcePersonSourceRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourcePersonSourceRole) UnmarshalText ¶ added in v0.11.3
func (s *ResourcePersonSourceRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ResourcePersonSourceRole) Validate ¶ added in v0.11.3
func (s ResourcePersonSourceRole) Validate() error
type ResourcePersonSourceSource ¶ added in v0.11.3
type ResourcePersonSourceSource string
const ( ResourcePersonSourceSourceMembership ResourcePersonSourceSource = "membership" ResourcePersonSourceSourceDirect ResourcePersonSourceSource = "direct" ResourcePersonSourceSourceTeam ResourcePersonSourceSource = "team" ResourcePersonSourceSourceOrganization ResourcePersonSourceSource = "organization" ResourcePersonSourceSourceProject ResourcePersonSourceSource = "project" ResourcePersonSourceSourceOwner ResourcePersonSourceSource = "owner" ResourcePersonSourceSourceGithub ResourcePersonSourceSource = "github" )
func (ResourcePersonSourceSource) AllValues ¶ added in v0.11.3
func (ResourcePersonSourceSource) AllValues() []ResourcePersonSourceSource
AllValues returns all ResourcePersonSourceSource values.
func (*ResourcePersonSourceSource) Decode ¶ added in v0.11.3
func (s *ResourcePersonSourceSource) Decode(d *jx.Decoder) error
Decode decodes ResourcePersonSourceSource from json.
func (ResourcePersonSourceSource) Encode ¶ added in v0.11.3
func (s ResourcePersonSourceSource) Encode(e *jx.Encoder)
Encode encodes ResourcePersonSourceSource as json.
func (ResourcePersonSourceSource) MarshalJSON ¶ added in v0.11.3
func (s ResourcePersonSourceSource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ResourcePersonSourceSource) MarshalText ¶ added in v0.11.3
func (s ResourcePersonSourceSource) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ResourcePersonSourceSource) UnmarshalJSON ¶ added in v0.11.3
func (s *ResourcePersonSourceSource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ResourcePersonSourceSource) UnmarshalText ¶ added in v0.11.3
func (s *ResourcePersonSourceSource) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ResourcePersonSourceSource) Validate ¶ added in v0.11.3
func (s ResourcePersonSourceSource) Validate() error
type RevokeOrgInvitationNoContent ¶ added in v0.11.3
type RevokeOrgInvitationNoContent struct{}
RevokeOrgInvitationNoContent is response for RevokeOrgInvitation operation.
type RevokeOrgInvitationParams ¶ added in v0.11.3
RevokeOrgInvitationParams is parameters of revokeOrgInvitation operation.
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 RotateOrgCIBuildkiteInboundSecretParams ¶ added in v0.11.0
RotateOrgCIBuildkiteInboundSecretParams is parameters of rotateOrgCIBuildkiteInboundSecret operation.
type SecuritySource ¶
type SecuritySource interface {
// BearerAuth provides bearerAuth security value.
// Bearer access token.
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 SetBranchProtectionParams ¶ added in v0.11.0
type SetBranchProtectionParams struct {
RepoId string
}
SetBranchProtectionParams is parameters of setBranchProtection operation.
type SetPluginInstallationRepositoriesInputBody ¶ added in v0.11.4
type SetPluginInstallationRepositoriesInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Public repository ids (repo_<ULID>) when selected.
RepositoryIds []string `json:"repository_ids"`
// All repositories in the project, or only repository_ids.
RepositorySelection SetPluginInstallationRepositoriesInputBodyRepositorySelection `json:"repository_selection"`
AdditionalProps SetPluginInstallationRepositoriesInputBodyAdditional
}
Ref: #/components/schemas/SetPluginInstallationRepositoriesInputBody
func (*SetPluginInstallationRepositoriesInputBody) Decode ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBody) Decode(d *jx.Decoder) error
Decode decodes SetPluginInstallationRepositoriesInputBody from json.
func (*SetPluginInstallationRepositoriesInputBody) Encode ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SetPluginInstallationRepositoriesInputBody) GetAdditionalProps ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBody) GetAdditionalProps() SetPluginInstallationRepositoriesInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*SetPluginInstallationRepositoriesInputBody) GetRepositoryIds ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBody) GetRepositoryIds() []string
GetRepositoryIds returns the value of RepositoryIds.
func (*SetPluginInstallationRepositoriesInputBody) GetRepositorySelection ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBody) GetRepositorySelection() SetPluginInstallationRepositoriesInputBodyRepositorySelection
GetRepositorySelection returns the value of RepositorySelection.
func (*SetPluginInstallationRepositoriesInputBody) GetSchema ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*SetPluginInstallationRepositoriesInputBody) MarshalJSON ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SetPluginInstallationRepositoriesInputBody) SetAdditionalProps ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBody) SetAdditionalProps(val SetPluginInstallationRepositoriesInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*SetPluginInstallationRepositoriesInputBody) SetRepositoryIds ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBody) SetRepositoryIds(val []string)
SetRepositoryIds sets the value of RepositoryIds.
func (*SetPluginInstallationRepositoriesInputBody) SetRepositorySelection ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBody) SetRepositorySelection(val SetPluginInstallationRepositoriesInputBodyRepositorySelection)
SetRepositorySelection sets the value of RepositorySelection.
func (*SetPluginInstallationRepositoriesInputBody) SetSchema ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*SetPluginInstallationRepositoriesInputBody) UnmarshalJSON ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SetPluginInstallationRepositoriesInputBody) Validate ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBody) Validate() error
type SetPluginInstallationRepositoriesInputBodyAdditional ¶ added in v0.11.4
func (*SetPluginInstallationRepositoriesInputBodyAdditional) Decode ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes SetPluginInstallationRepositoriesInputBodyAdditional from json.
func (SetPluginInstallationRepositoriesInputBodyAdditional) Encode ¶ added in v0.11.4
func (s SetPluginInstallationRepositoriesInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (SetPluginInstallationRepositoriesInputBodyAdditional) MarshalJSON ¶ added in v0.11.4
func (s SetPluginInstallationRepositoriesInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SetPluginInstallationRepositoriesInputBodyAdditional) UnmarshalJSON ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SetPluginInstallationRepositoriesInputBodyRepositorySelection ¶ added in v0.11.4
type SetPluginInstallationRepositoriesInputBodyRepositorySelection string
All repositories in the project, or only repository_ids.
const ( SetPluginInstallationRepositoriesInputBodyRepositorySelectionAll SetPluginInstallationRepositoriesInputBodyRepositorySelection = "all" SetPluginInstallationRepositoriesInputBodyRepositorySelectionSelected SetPluginInstallationRepositoriesInputBodyRepositorySelection = "selected" )
func (SetPluginInstallationRepositoriesInputBodyRepositorySelection) AllValues ¶ added in v0.11.4
func (SetPluginInstallationRepositoriesInputBodyRepositorySelection) AllValues() []SetPluginInstallationRepositoriesInputBodyRepositorySelection
AllValues returns all SetPluginInstallationRepositoriesInputBodyRepositorySelection values.
func (*SetPluginInstallationRepositoriesInputBodyRepositorySelection) Decode ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBodyRepositorySelection) Decode(d *jx.Decoder) error
Decode decodes SetPluginInstallationRepositoriesInputBodyRepositorySelection from json.
func (SetPluginInstallationRepositoriesInputBodyRepositorySelection) Encode ¶ added in v0.11.4
func (s SetPluginInstallationRepositoriesInputBodyRepositorySelection) Encode(e *jx.Encoder)
Encode encodes SetPluginInstallationRepositoriesInputBodyRepositorySelection as json.
func (SetPluginInstallationRepositoriesInputBodyRepositorySelection) MarshalJSON ¶ added in v0.11.4
func (s SetPluginInstallationRepositoriesInputBodyRepositorySelection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (SetPluginInstallationRepositoriesInputBodyRepositorySelection) MarshalText ¶ added in v0.11.4
func (s SetPluginInstallationRepositoriesInputBodyRepositorySelection) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*SetPluginInstallationRepositoriesInputBodyRepositorySelection) UnmarshalJSON ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBodyRepositorySelection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SetPluginInstallationRepositoriesInputBodyRepositorySelection) UnmarshalText ¶ added in v0.11.4
func (s *SetPluginInstallationRepositoriesInputBodyRepositorySelection) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (SetPluginInstallationRepositoriesInputBodyRepositorySelection) Validate ¶ added in v0.11.4
func (s SetPluginInstallationRepositoriesInputBodyRepositorySelection) Validate() error
type SetPluginInstallationRepositoriesParams ¶ added in v0.11.4
type SetPluginInstallationRepositoriesParams struct {
// Plugin installation profile.
Plugin string
// Installation (ins_<ULID>).
ID string
}
SetPluginInstallationRepositoriesParams is parameters of setPluginInstallationRepositories operation.
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/mirror-requests.
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 UpdateBranchProtectionInputBody ¶ added in v0.11.0
type UpdateBranchProtectionInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Rules to add or edit by ref: an existing rule keeps its position; omit serverSideMergeOnly to keep
// its level.
AddRules []BranchRuleUpdate `json:"addRules"`
// Patterns to remove; absent entries are ignored.
RemoveRefs []string `json:"removeRefs"`
AdditionalProps UpdateBranchProtectionInputBodyAdditional
}
Ref: #/components/schemas/UpdateBranchProtectionInputBody
func (*UpdateBranchProtectionInputBody) Decode ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBody) Decode(d *jx.Decoder) error
Decode decodes UpdateBranchProtectionInputBody from json.
func (*UpdateBranchProtectionInputBody) Encode ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateBranchProtectionInputBody) GetAddRules ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBody) GetAddRules() []BranchRuleUpdate
GetAddRules returns the value of AddRules.
func (*UpdateBranchProtectionInputBody) GetAdditionalProps ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBody) GetAdditionalProps() UpdateBranchProtectionInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*UpdateBranchProtectionInputBody) GetRemoveRefs ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBody) GetRemoveRefs() []string
GetRemoveRefs returns the value of RemoveRefs.
func (*UpdateBranchProtectionInputBody) GetSchema ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*UpdateBranchProtectionInputBody) MarshalJSON ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateBranchProtectionInputBody) SetAddRules ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBody) SetAddRules(val []BranchRuleUpdate)
SetAddRules sets the value of AddRules.
func (*UpdateBranchProtectionInputBody) SetAdditionalProps ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBody) SetAdditionalProps(val UpdateBranchProtectionInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*UpdateBranchProtectionInputBody) SetRemoveRefs ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBody) SetRemoveRefs(val []string)
SetRemoveRefs sets the value of RemoveRefs.
func (*UpdateBranchProtectionInputBody) SetSchema ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*UpdateBranchProtectionInputBody) UnmarshalJSON ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateBranchProtectionInputBody) Validate ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBody) Validate() error
type UpdateBranchProtectionInputBodyAdditional ¶ added in v0.11.0
func (*UpdateBranchProtectionInputBodyAdditional) Decode ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes UpdateBranchProtectionInputBodyAdditional from json.
func (UpdateBranchProtectionInputBodyAdditional) Encode ¶ added in v0.11.0
func (s UpdateBranchProtectionInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (UpdateBranchProtectionInputBodyAdditional) MarshalJSON ¶ added in v0.11.0
func (s UpdateBranchProtectionInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateBranchProtectionInputBodyAdditional) UnmarshalJSON ¶ added in v0.11.0
func (s *UpdateBranchProtectionInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateBranchProtectionParams ¶ added in v0.11.0
type UpdateBranchProtectionParams struct {
RepoId string
}
UpdateBranchProtectionParams is parameters of updateBranchProtection operation.
type UpdateOrgMemberRoleInputBody ¶ added in v0.11.3
type UpdateOrgMemberRoleInputBody struct {
// A URL to the JSON Schema for this object.
Schema OptURI `json:"$schema"`
// Replacement organization role.
Role UpdateOrgMemberRoleInputBodyRole `json:"role"`
AdditionalProps UpdateOrgMemberRoleInputBodyAdditional
}
Ref: #/components/schemas/UpdateOrgMemberRoleInputBody
func (*UpdateOrgMemberRoleInputBody) Decode ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBody) Decode(d *jx.Decoder) error
Decode decodes UpdateOrgMemberRoleInputBody from json.
func (*UpdateOrgMemberRoleInputBody) Encode ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBody) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UpdateOrgMemberRoleInputBody) GetAdditionalProps ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBody) GetAdditionalProps() UpdateOrgMemberRoleInputBodyAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*UpdateOrgMemberRoleInputBody) GetRole ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBody) GetRole() UpdateOrgMemberRoleInputBodyRole
GetRole returns the value of Role.
func (*UpdateOrgMemberRoleInputBody) GetSchema ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBody) GetSchema() OptURI
GetSchema returns the value of Schema.
func (*UpdateOrgMemberRoleInputBody) MarshalJSON ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBody) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrgMemberRoleInputBody) SetAdditionalProps ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBody) SetAdditionalProps(val UpdateOrgMemberRoleInputBodyAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*UpdateOrgMemberRoleInputBody) SetRole ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBody) SetRole(val UpdateOrgMemberRoleInputBodyRole)
SetRole sets the value of Role.
func (*UpdateOrgMemberRoleInputBody) SetSchema ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBody) SetSchema(val OptURI)
SetSchema sets the value of Schema.
func (*UpdateOrgMemberRoleInputBody) UnmarshalJSON ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBody) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateOrgMemberRoleInputBody) Validate ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBody) Validate() error
type UpdateOrgMemberRoleInputBodyAdditional ¶ added in v0.11.3
func (*UpdateOrgMemberRoleInputBodyAdditional) Decode ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBodyAdditional) Decode(d *jx.Decoder) error
Decode decodes UpdateOrgMemberRoleInputBodyAdditional from json.
func (UpdateOrgMemberRoleInputBodyAdditional) Encode ¶ added in v0.11.3
func (s UpdateOrgMemberRoleInputBodyAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (UpdateOrgMemberRoleInputBodyAdditional) MarshalJSON ¶ added in v0.11.3
func (s UpdateOrgMemberRoleInputBodyAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UpdateOrgMemberRoleInputBodyAdditional) UnmarshalJSON ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBodyAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UpdateOrgMemberRoleInputBodyRole ¶ added in v0.11.3
type UpdateOrgMemberRoleInputBodyRole string
Replacement organization role.
const ( UpdateOrgMemberRoleInputBodyRoleOwner UpdateOrgMemberRoleInputBodyRole = "owner" UpdateOrgMemberRoleInputBodyRoleAdmin UpdateOrgMemberRoleInputBodyRole = "admin" UpdateOrgMemberRoleInputBodyRoleMember UpdateOrgMemberRoleInputBodyRole = "member" )
func (UpdateOrgMemberRoleInputBodyRole) AllValues ¶ added in v0.11.3
func (UpdateOrgMemberRoleInputBodyRole) AllValues() []UpdateOrgMemberRoleInputBodyRole
AllValues returns all UpdateOrgMemberRoleInputBodyRole values.
func (*UpdateOrgMemberRoleInputBodyRole) Decode ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBodyRole) Decode(d *jx.Decoder) error
Decode decodes UpdateOrgMemberRoleInputBodyRole from json.
func (UpdateOrgMemberRoleInputBodyRole) Encode ¶ added in v0.11.3
func (s UpdateOrgMemberRoleInputBodyRole) Encode(e *jx.Encoder)
Encode encodes UpdateOrgMemberRoleInputBodyRole as json.
func (UpdateOrgMemberRoleInputBodyRole) MarshalJSON ¶ added in v0.11.3
func (s UpdateOrgMemberRoleInputBodyRole) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (UpdateOrgMemberRoleInputBodyRole) MarshalText ¶ added in v0.11.3
func (s UpdateOrgMemberRoleInputBodyRole) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*UpdateOrgMemberRoleInputBodyRole) UnmarshalJSON ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBodyRole) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UpdateOrgMemberRoleInputBodyRole) UnmarshalText ¶ added in v0.11.3
func (s *UpdateOrgMemberRoleInputBodyRole) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (UpdateOrgMemberRoleInputBodyRole) Validate ¶ added in v0.11.3
func (s UpdateOrgMemberRoleInputBodyRole) Validate() error
type UpdateOrgMemberRoleParams ¶ added in v0.11.3
UpdateOrgMemberRoleParams is parameters of updateOrgMemberRole operation.
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.