coreapi

package
v0.11.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 28 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIError

func APIError(err error) string

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

func GetRolesForBearerAuth(operation string) []string

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

func GetRolesForSessionAuth(operation string) []string

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

func StripSecurityWrapping(err error) error

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.

func WithServerURL

func WithServerURL(ctx context.Context, u *url.URL) context.Context

WithServerURL sets context key to override server URL.

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

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

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

type AcceptInvitationInputBodyAdditional map[string]jx.Raw

func (*AcceptInvitationInputBodyAdditional) Decode added in v0.11.3

Decode decodes AcceptInvitationInputBodyAdditional from json.

func (AcceptInvitationInputBodyAdditional) Encode added in v0.11.3

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

type AcceptInvitationOKAdditional map[string]jx.Raw

func (*AcceptInvitationOKAdditional) Decode added in v0.11.3

Decode decodes AcceptInvitationOKAdditional from json.

func (AcceptInvitationOKAdditional) Encode added in v0.11.3

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

type AcceptedInvitationAdditional map[string]jx.Raw

func (*AcceptedInvitationAdditional) Decode added in v0.11.3

Decode decodes AcceptedInvitationAdditional from json.

func (AcceptedInvitationAdditional) Encode added in v0.11.3

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

type AccountIdentityAdditional map[string]jx.Raw

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

type AccountProfileAdditional map[string]jx.Raw

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

type AccountProfileHandleAdditional map[string]jx.Raw

func (*AccountProfileHandleAdditional) Decode added in v0.11.4

Decode decodes AccountProfileHandleAdditional from json.

func (AccountProfileHandleAdditional) Encode added in v0.11.4

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

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

GetAdditionalProps returns the value of AdditionalProps.

func (*AccountProfileOrganization) GetID added in v0.11.4

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

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

type AccountProfileOrganizationAdditional map[string]jx.Raw

func (*AccountProfileOrganizationAdditional) Decode added in v0.11.4

Decode decodes AccountProfileOrganizationAdditional from json.

func (AccountProfileOrganizationAdditional) Encode added in v0.11.4

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

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

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

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

type AddOrgMemberInputBodyAdditional map[string]jx.Raw

func (*AddOrgMemberInputBodyAdditional) Decode added in v0.7.6

Decode decodes AddOrgMemberInputBodyAdditional from json.

func (AddOrgMemberInputBodyAdditional) Encode added in v0.7.6

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

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) GetID

func (s *AuditEvent) GetID() string

GetID returns the value of ID.

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) SetID

func (s *AuditEvent) SetID(val string)

SetID sets the value of ID.

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

type AuditEventAdditional map[string]jx.Raw

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

type AuditEventMetadata map[string]jx.Raw

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

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

type AvailableMirrorAdditional map[string]jx.Raw

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

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

type BearerAuth struct {
	Token string
	Roles []string
}

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) Decode

func (s *Binding) Decode(d *jx.Decoder) error

Decode decodes Binding from json.

func (*Binding) Encode

func (s *Binding) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Binding) GetAccountId

func (s *Binding) GetAccountId() string

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

func (s *Binding) GetAttributeFilter() jx.Raw

GetAttributeFilter returns the value of AttributeFilter.

func (*Binding) GetCreatedAt

func (s *Binding) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Binding) GetID

func (s *Binding) GetID() string

GetID returns the value of ID.

func (*Binding) GetProviderId

func (s *Binding) GetProviderId() string

GetProviderId returns the value of ProviderId.

func (*Binding) GetSchema

func (s *Binding) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*Binding) MarshalJSON

func (s *Binding) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Binding) SetAccountId

func (s *Binding) SetAccountId(val string)

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

func (s *Binding) SetAttributeFilter(val jx.Raw)

SetAttributeFilter sets the value of AttributeFilter.

func (*Binding) SetCreatedAt

func (s *Binding) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Binding) SetID

func (s *Binding) SetID(val string)

SetID sets the value of ID.

func (*Binding) SetProviderId

func (s *Binding) SetProviderId(val string)

SetProviderId sets the value of ProviderId.

func (*Binding) SetSchema

func (s *Binding) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*Binding) UnmarshalJSON

func (s *Binding) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type BindingAdditional added in v0.7.6

type BindingAdditional map[string]jx.Raw

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

type BranchProtectionAdditional map[string]jx.Raw

func (*BranchProtectionAdditional) Decode added in v0.11.0

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

type BranchRuleAdditional map[string]jx.Raw

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

type BranchRuleUpdateAdditional map[string]jx.Raw

func (*BranchRuleUpdateAdditional) Decode added in v0.11.3

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

type CIBuildViewAdditional map[string]jx.Raw

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

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

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

type CIDeliveryDetailViewAdditional map[string]jx.Raw

func (*CIDeliveryDetailViewAdditional) Decode added in v0.11.3

Decode decodes CIDeliveryDetailViewAdditional from json.

func (CIDeliveryDetailViewAdditional) Encode added in v0.11.3

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

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

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

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

type CIDeliveryPayloadViewAdditional map[string]jx.Raw

func (*CIDeliveryPayloadViewAdditional) Decode added in v0.11.3

Decode decodes CIDeliveryPayloadViewAdditional from json.

func (CIDeliveryPayloadViewAdditional) Encode added in v0.11.3

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

type CIDeliveryPayloadViewRequestHeaders map[string]string

Stored request headers; an allowlist, signatures truncated.

func (*CIDeliveryPayloadViewRequestHeaders) Decode added in v0.11.3

Decode decodes CIDeliveryPayloadViewRequestHeaders from json.

func (CIDeliveryPayloadViewRequestHeaders) Encode added in v0.11.3

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

type CIDeliveryViewAdditional map[string]jx.Raw

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) Decode added in v0.11.0

func (s *CIJobView) Decode(d *jx.Decoder) error

Decode decodes CIJobView from json.

func (*CIJobView) Encode added in v0.11.0

func (s *CIJobView) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

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

func (s *CIJobView) GetBkJobID() string

GetBkJobID returns the value of BkJobID.

func (*CIJobView) GetExitStatus added in v0.11.0

func (s *CIJobView) GetExitStatus() OptInt64

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) GetName added in v0.11.0

func (s *CIJobView) GetName() string

GetName returns the value of Name.

func (*CIJobView) GetStartedAt added in v0.11.0

func (s *CIJobView) GetStartedAt() OptDateTime

GetStartedAt returns the value of StartedAt.

func (*CIJobView) GetState added in v0.11.0

func (s *CIJobView) GetState() string

GetState returns the value of State.

func (*CIJobView) GetStepKey added in v0.11.0

func (s *CIJobView) GetStepKey() string

GetStepKey returns the value of StepKey.

func (*CIJobView) GetType added in v0.11.0

func (s *CIJobView) GetType() string

GetType returns the value of Type.

func (*CIJobView) MarshalJSON added in v0.11.0

func (s *CIJobView) MarshalJSON() ([]byte, error)

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

func (s *CIJobView) SetBkJobID(val string)

SetBkJobID sets the value of BkJobID.

func (*CIJobView) SetExitStatus added in v0.11.0

func (s *CIJobView) SetExitStatus(val OptInt64)

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) SetName added in v0.11.0

func (s *CIJobView) SetName(val string)

SetName sets the value of Name.

func (*CIJobView) SetStartedAt added in v0.11.0

func (s *CIJobView) SetStartedAt(val OptDateTime)

SetStartedAt sets the value of StartedAt.

func (*CIJobView) SetState added in v0.11.0

func (s *CIJobView) SetState(val string)

SetState sets the value of State.

func (*CIJobView) SetStepKey added in v0.11.0

func (s *CIJobView) SetStepKey(val string)

SetStepKey sets the value of StepKey.

func (*CIJobView) SetType added in v0.11.0

func (s *CIJobView) SetType(val string)

SetType sets the value of Type.

func (*CIJobView) UnmarshalJSON added in v0.11.0

func (s *CIJobView) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CIJobViewAdditional added in v0.11.0

type CIJobViewAdditional map[string]jx.Raw

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

type CIProviderDescriptorAdditional map[string]jx.Raw

func (*CIProviderDescriptorAdditional) Decode added in v0.11.0

Decode decodes CIProviderDescriptorAdditional from json.

func (CIProviderDescriptorAdditional) Encode added in v0.11.0

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

type CIProviderFieldAdditional map[string]jx.Raw

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

type CIProviderModeAdditional map[string]jx.Raw

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

type CIProviderOptionAdditional map[string]jx.Raw

func (*CIProviderOptionAdditional) Decode added in v0.11.0

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

type CISetupBlockAdditional map[string]jx.Raw

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

type CIWebhookAuditActorAdditional map[string]jx.Raw

func (*CIWebhookAuditActorAdditional) Decode added in v0.11.0

Decode decodes CIWebhookAuditActorAdditional from json.

func (CIWebhookAuditActorAdditional) Encode added in v0.11.0

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

GetActor returns the value of Actor.

func (*CIWebhookAuditEventView) GetAdditionalProps added in v0.11.0

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

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

SetActor sets the value of Actor.

func (*CIWebhookAuditEventView) SetAdditionalProps added in v0.11.0

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

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

type CIWebhookAuditEventViewAdditional map[string]jx.Raw

func (*CIWebhookAuditEventViewAdditional) Decode added in v0.11.0

Decode decodes CIWebhookAuditEventViewAdditional from json.

func (CIWebhookAuditEventViewAdditional) Encode added in v0.11.0

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

type CIWebhookAuditEventViewMetadata map[string]jx.Raw

Event detail as recorded, e.g. bk_organization/bk_pipeline.

func (*CIWebhookAuditEventViewMetadata) Decode added in v0.11.0

Decode decodes CIWebhookAuditEventViewMetadata from json.

func (CIWebhookAuditEventViewMetadata) Encode added in v0.11.0

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

type CIWebhookViewAdditional map[string]jx.Raw

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

func New() (*Client, error)

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

func NewForCluster(ctx context.Context, clusterHost string) (*Client, error)

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

func NewWithBearer(coreBaseURL, token string) (*Client, error)

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

func (c *Client) CancelDeletion(ctx context.Context) error

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

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

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

func (c *Client) CoreOrigin() string

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

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

CreateOrgInvitation invokes createOrgInvitation operation.

Invite an address into an organization.

POST /orgs/{orgId}/invitations

func (*Client) CreatePluginInstallation added in v0.11.4

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

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

func (c *Client) DeleteMe(ctx context.Context) error

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

func (c *Client) GetMirror(ctx context.Context, params GetMirrorParams) (*Mirror, error)

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

func (c *Client) GetOrg(ctx context.Context, params GetOrgParams) (*Org, error)

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

func (c *Client) GetProject(ctx context.Context, params GetProjectParams) (*Project, error)

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

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

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

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

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

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

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

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

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

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

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

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) Decode added in v0.7.8

func (s *Cluster) Decode(d *jx.Decoder) error

Decode decodes Cluster from json.

func (*Cluster) Encode added in v0.7.8

func (s *Cluster) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Cluster) GetAdditionalProps added in v0.7.8

func (s *Cluster) GetAdditionalProps() ClusterAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*Cluster) GetApiUrl added in v0.7.8

func (s *Cluster) GetApiUrl() OptString

GetApiUrl returns the value of ApiUrl.

func (*Cluster) GetIsDefault added in v0.7.8

func (s *Cluster) GetIsDefault() bool

GetIsDefault returns the value of IsDefault.

func (*Cluster) GetJurisdiction added in v0.7.8

func (s *Cluster) GetJurisdiction() string

GetJurisdiction returns the value of Jurisdiction.

func (*Cluster) GetPublicUrl added in v0.7.8

func (s *Cluster) GetPublicUrl() string

GetPublicUrl returns the value of PublicUrl.

func (*Cluster) GetSlug added in v0.7.8

func (s *Cluster) GetSlug() string

GetSlug returns the value of Slug.

func (*Cluster) MarshalJSON added in v0.7.8

func (s *Cluster) MarshalJSON() ([]byte, error)

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) SetApiUrl added in v0.7.8

func (s *Cluster) SetApiUrl(val OptString)

SetApiUrl sets the value of ApiUrl.

func (*Cluster) SetIsDefault added in v0.7.8

func (s *Cluster) SetIsDefault(val bool)

SetIsDefault sets the value of IsDefault.

func (*Cluster) SetJurisdiction added in v0.7.8

func (s *Cluster) SetJurisdiction(val string)

SetJurisdiction sets the value of Jurisdiction.

func (*Cluster) SetPublicUrl added in v0.7.8

func (s *Cluster) SetPublicUrl(val string)

SetPublicUrl sets the value of PublicUrl.

func (*Cluster) SetSlug added in v0.7.8

func (s *Cluster) SetSlug(val string)

SetSlug sets the value of Slug.

func (*Cluster) UnmarshalJSON added in v0.7.8

func (s *Cluster) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ClusterAdditional added in v0.7.8

type ClusterAdditional map[string]jx.Raw

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

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

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

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

type CompleteOnboardingOutputBodyAdditional map[string]jx.Raw

func (*CompleteOnboardingOutputBodyAdditional) Decode added in v0.9.0

Decode decodes CompleteOnboardingOutputBodyAdditional from json.

func (CompleteOnboardingOutputBodyAdditional) Encode added in v0.9.0

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

Decode decodes ConnectOrgCIBuildkiteCredentialInputBody from json.

func (*ConnectOrgCIBuildkiteCredentialInputBody) Encode added in v0.11.0

Encode implements json.Marshaler.

func (*ConnectOrgCIBuildkiteCredentialInputBody) GetAdditionalProps added in v0.11.0

GetAdditionalProps returns the value of AdditionalProps.

func (*ConnectOrgCIBuildkiteCredentialInputBody) GetBkAPIToken added in v0.11.0

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

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

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

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

type ConnectOrgCIBuildkiteCredentialInputBodyAdditional added in v0.11.0

type ConnectOrgCIBuildkiteCredentialInputBodyAdditional map[string]jx.Raw

func (*ConnectOrgCIBuildkiteCredentialInputBodyAdditional) Decode added in v0.11.0

Decode decodes ConnectOrgCIBuildkiteCredentialInputBodyAdditional from json.

func (ConnectOrgCIBuildkiteCredentialInputBodyAdditional) Encode added in v0.11.0

Encode implements json.Marshaler.

func (ConnectOrgCIBuildkiteCredentialInputBodyAdditional) MarshalJSON added in v0.11.0

MarshalJSON implements stdjson.Marshaler.

func (*ConnectOrgCIBuildkiteCredentialInputBodyAdditional) UnmarshalJSON added in v0.11.0

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

Decode decodes ConnectOrgCIDepotOrganizationInputBody from json.

func (*ConnectOrgCIDepotOrganizationInputBody) Encode added in v0.11.3

Encode implements json.Marshaler.

func (*ConnectOrgCIDepotOrganizationInputBody) GetAccount added in v0.11.3

GetAccount returns the value of Account.

func (*ConnectOrgCIDepotOrganizationInputBody) GetAdditionalProps added in v0.11.3

GetAdditionalProps returns the value of AdditionalProps.

func (*ConnectOrgCIDepotOrganizationInputBody) GetSchema added in v0.11.3

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

SetAccount sets the value of Account.

func (*ConnectOrgCIDepotOrganizationInputBody) SetAdditionalProps added in v0.11.3

SetAdditionalProps sets the value of AdditionalProps.

func (*ConnectOrgCIDepotOrganizationInputBody) SetSchema added in v0.11.3

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

type ConnectOrgCIDepotOrganizationInputBodyAdditional added in v0.11.3

type ConnectOrgCIDepotOrganizationInputBodyAdditional map[string]jx.Raw

func (*ConnectOrgCIDepotOrganizationInputBodyAdditional) Decode added in v0.11.3

Decode decodes ConnectOrgCIDepotOrganizationInputBodyAdditional from json.

func (ConnectOrgCIDepotOrganizationInputBodyAdditional) Encode added in v0.11.3

Encode implements json.Marshaler.

func (ConnectOrgCIDepotOrganizationInputBodyAdditional) MarshalJSON added in v0.11.3

MarshalJSON implements stdjson.Marshaler.

func (*ConnectOrgCIDepotOrganizationInputBodyAdditional) UnmarshalJSON added in v0.11.3

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

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

type CreateBindingInputBodyAdditional map[string]jx.Raw

func (*CreateBindingInputBodyAdditional) Decode added in v0.7.6

Decode decodes CreateBindingInputBodyAdditional from json.

func (CreateBindingInputBodyAdditional) Encode added in v0.7.6

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

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

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

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

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

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

type CreateMirrorRequestInputBodyAdditional map[string]jx.Raw

func (*CreateMirrorRequestInputBodyAdditional) Decode added in v0.10.4

Decode decodes CreateMirrorRequestInputBodyAdditional from json.

func (CreateMirrorRequestInputBodyAdditional) Encode added in v0.10.4

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

AllValues returns all CreateMirrorRequestInputBodyProvider values.

func (*CreateMirrorRequestInputBodyProvider) Decode added in v0.10.4

Decode decodes CreateMirrorRequestInputBodyProvider from json.

func (CreateMirrorRequestInputBodyProvider) Encode added in v0.10.4

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

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

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

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

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

type CreateNativeMirrorInputBodyAdditional map[string]jx.Raw

func (*CreateNativeMirrorInputBodyAdditional) Decode added in v0.11.0

Decode decodes CreateNativeMirrorInputBodyAdditional from json.

func (CreateNativeMirrorInputBodyAdditional) Encode added in v0.11.0

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

type CreateOrgInputBodyAdditional map[string]jx.Raw

func (*CreateOrgInputBodyAdditional) Decode added in v0.7.6

Decode decodes CreateOrgInputBodyAdditional from json.

func (CreateOrgInputBodyAdditional) Encode added in v0.7.6

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

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

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

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

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

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

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

type CreateOrgInvitationInputBodyAdditional map[string]jx.Raw

func (*CreateOrgInvitationInputBodyAdditional) Decode added in v0.11.3

Decode decodes CreateOrgInvitationInputBodyAdditional from json.

func (CreateOrgInvitationInputBodyAdditional) Encode added in v0.11.3

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

AllValues returns all CreateOrgInvitationInputBodyRole values.

func (*CreateOrgInvitationInputBodyRole) Decode added in v0.11.3

Decode decodes CreateOrgInvitationInputBodyRole from json.

func (CreateOrgInvitationInputBodyRole) Encode added in v0.11.3

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

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

Decode decodes CreatePluginInstallationInputBody from json.

func (*CreatePluginInstallationInputBody) Encode added in v0.11.4

Encode implements json.Marshaler.

func (*CreatePluginInstallationInputBody) GetAdditionalProps added in v0.11.4

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

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

GetRepositorySelection returns the value of RepositorySelection.

func (*CreatePluginInstallationInputBody) GetSchema added in v0.11.4

GetSchema returns the value of Schema.

func (*CreatePluginInstallationInputBody) GetState added in v0.11.4

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

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

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

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

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

type CreatePluginInstallationInputBodyAdditional added in v0.11.4

type CreatePluginInstallationInputBodyAdditional map[string]jx.Raw

func (*CreatePluginInstallationInputBodyAdditional) Decode added in v0.11.4

Decode decodes CreatePluginInstallationInputBodyAdditional from json.

func (CreatePluginInstallationInputBodyAdditional) Encode added in v0.11.4

Encode implements json.Marshaler.

func (CreatePluginInstallationInputBodyAdditional) MarshalJSON added in v0.11.4

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

AllValues returns all CreatePluginInstallationInputBodyRepositorySelection values.

func (*CreatePluginInstallationInputBodyRepositorySelection) Decode added in v0.11.4

Decode decodes CreatePluginInstallationInputBodyRepositorySelection from json.

func (CreatePluginInstallationInputBodyRepositorySelection) Encode added in v0.11.4

Encode encodes CreatePluginInstallationInputBodyRepositorySelection as json.

func (CreatePluginInstallationInputBodyRepositorySelection) MarshalJSON added in v0.11.4

MarshalJSON implements stdjson.Marshaler.

func (CreatePluginInstallationInputBodyRepositorySelection) MarshalText added in v0.11.4

MarshalText implements encoding.TextMarshaler.

func (*CreatePluginInstallationInputBodyRepositorySelection) UnmarshalJSON added in v0.11.4

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreatePluginInstallationInputBodyRepositorySelection) UnmarshalText added in v0.11.4

UnmarshalText implements encoding.TextUnmarshaler.

func (CreatePluginInstallationInputBodyRepositorySelection) Validate added in v0.11.4

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

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

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

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

type CreateProjectInputBodyAdditional map[string]jx.Raw

func (*CreateProjectInputBodyAdditional) Decode added in v0.7.6

Decode decodes CreateProjectInputBodyAdditional from json.

func (CreateProjectInputBodyAdditional) Encode added in v0.7.6

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

AllValues returns all CreateProjectInputBodyOwnerType values.

func (*CreateProjectInputBodyOwnerType) Decode

Decode decodes CreateProjectInputBodyOwnerType from json.

func (CreateProjectInputBodyOwnerType) Encode

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

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

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

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

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

type CreateRepoCIWebhookBodyAdditional map[string]jx.Raw

func (*CreateRepoCIWebhookBodyAdditional) Decode added in v0.11.0

Decode decodes CreateRepoCIWebhookBodyAdditional from json.

func (CreateRepoCIWebhookBodyAdditional) Encode added in v0.11.0

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

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

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

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

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

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

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

type CreateRepoCIWebhookInputBodyAdditional map[string]jx.Raw

func (*CreateRepoCIWebhookInputBodyAdditional) Decode added in v0.9.0

Decode decodes CreateRepoCIWebhookInputBodyAdditional from json.

func (CreateRepoCIWebhookInputBodyAdditional) Encode added in v0.9.0

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

type CreateRepoCIWebhookInputBodyConfig map[string]string

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

Decode decodes CreateRepoCIWebhookInputBodyConfig from json.

func (CreateRepoCIWebhookInputBodyConfig) Encode added in v0.11.0

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

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

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

type CreateRepoInputBodyAdditional map[string]jx.Raw

func (*CreateRepoInputBodyAdditional) Decode added in v0.7.6

Decode decodes CreateRepoInputBodyAdditional from json.

func (CreateRepoInputBodyAdditional) Encode added in v0.7.6

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

AllValues returns all CreateRepoInputBodyObjectFormat values.

func (*CreateRepoInputBodyObjectFormat) Decode

Decode decodes CreateRepoInputBodyObjectFormat from json.

func (CreateRepoInputBodyObjectFormat) Encode

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

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

Decode decodes CreateServiceAccountInputBody from json.

func (*CreateServiceAccountInputBody) Encode

Encode implements json.Marshaler.

func (*CreateServiceAccountInputBody) GetAdditionalProps added in v0.7.6

GetAdditionalProps returns the value of AdditionalProps.

func (*CreateServiceAccountInputBody) GetName

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

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

type CreateServiceAccountInputBodyAdditional map[string]jx.Raw

func (*CreateServiceAccountInputBodyAdditional) Decode added in v0.7.6

Decode decodes CreateServiceAccountInputBodyAdditional from json.

func (CreateServiceAccountInputBodyAdditional) Encode added in v0.7.6

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

type CreatedOrgAdditional map[string]jx.Raw

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

type CreatedProjectAdditional map[string]jx.Raw

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

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

type CreatedRepoAdditional map[string]jx.Raw

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

type DeleteBindingParams struct {
	AccountId string
	BindingId string
}

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

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

type DeleteNativeMirrorParams struct {
	RepoId      string
	ClusterSlug string
}

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

type DeleteOrgCIBuildkiteClusterParams struct {
	OrgId       string
	BkOrg       string
	BkClusterId string
}

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

type DeleteOrgCIBuildkiteCredentialParams struct {
	OrgId string
	BkOrg string
}

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

type DeletionBlockerAdditional map[string]jx.Raw

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

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

type DeletionGrantAdditional map[string]jx.Raw

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

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

type DeletionMembershipAdditional map[string]jx.Raw

func (*DeletionMembershipAdditional) Decode added in v0.9.0

Decode decodes DeletionMembershipAdditional from json.

func (DeletionMembershipAdditional) Encode added in v0.9.0

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

type DeletionRepoAdditional map[string]jx.Raw

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

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

type DisconnectOrgCIDepotOrganizationParams struct {
	OrgId   string
	Account string
}

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

type ErrorDetailAdditional map[string]jx.Raw

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

type ErrorModelAdditional map[string]jx.Raw

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

type ForgeRepoIdentityAdditional map[string]jx.Raw

func (*ForgeRepoIdentityAdditional) Decode added in v0.11.0

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

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

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

GetWillDelete returns the value of WillDelete.

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

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 (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

type GetDeletionPreviewOutputBodyAdditional map[string]jx.Raw

func (*GetDeletionPreviewOutputBodyAdditional) Decode added in v0.9.0

Decode decodes GetDeletionPreviewOutputBodyAdditional from json.

func (GetDeletionPreviewOutputBodyAdditional) Encode added in v0.9.0

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"`
	RegionalUnavailable OptMeRegionalUnavailable `json:"regionalUnavailable"`
	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

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

type GetMeOutputBodyAdditional map[string]jx.Raw

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

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

type GetMirrorRequestParams struct {
	RequestId uuid.UUID
}

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

Decode decodes GetOnboardingStatusOutputBody from json.

func (*GetOnboardingStatusOutputBody) Encode added in v0.9.0

Encode implements json.Marshaler.

func (*GetOnboardingStatusOutputBody) GetAdditionalProps added in v0.9.0

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

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

type GetOnboardingStatusOutputBodyAdditional map[string]jx.Raw

func (*GetOnboardingStatusOutputBodyAdditional) Decode added in v0.9.0

Decode decodes GetOnboardingStatusOutputBodyAdditional from json.

func (GetOnboardingStatusOutputBodyAdditional) Encode added in v0.9.0

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

type GetOrgPersonAccessParams struct {
	OrgId     string
	AccountId string
}

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

type GetRepoCIDeliveryParams struct {
	RepoId string
	ID     string
}

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

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

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

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

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

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

type GetRepoVisibilityOutputBodyAdditional map[string]jx.Raw

func (*GetRepoVisibilityOutputBodyAdditional) Decode added in v0.7.8

Decode decodes GetRepoVisibilityOutputBodyAdditional from json.

func (GetRepoVisibilityOutputBodyAdditional) Encode added in v0.7.8

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

AllValues returns all GetRepoVisibilityOutputBodyVisibility values.

func (*GetRepoVisibilityOutputBodyVisibility) Decode added in v0.7.8

Decode decodes GetRepoVisibilityOutputBodyVisibility from json.

func (GetRepoVisibilityOutputBodyVisibility) Encode added in v0.7.8

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

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

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

type GetTopologyOutputBodyAdditional map[string]jx.Raw

func (*GetTopologyOutputBodyAdditional) Decode added in v0.9.0

Decode decodes GetTopologyOutputBodyAdditional from json.

func (GetTopologyOutputBodyAdditional) Encode added in v0.9.0

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

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

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

type GetVersionOutputBodyAdditional map[string]jx.Raw

func (*GetVersionOutputBodyAdditional) Decode added in v0.7.7

Decode decodes GetVersionOutputBodyAdditional from json.

func (GetVersionOutputBodyAdditional) Encode added in v0.7.7

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

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

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

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

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

AllValues returns all GitHubInstallationAccountType values.

func (*GitHubInstallationAccountType) Decode added in v0.11.3

Decode decodes GitHubInstallationAccountType from json.

func (GitHubInstallationAccountType) Encode added in v0.11.3

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

type GitHubInstallationAdditional map[string]jx.Raw

func (*GitHubInstallationAdditional) Decode added in v0.11.3

Decode decodes GitHubInstallationAdditional from json.

func (GitHubInstallationAdditional) Encode added in v0.11.3

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

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

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

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

type GitHubInstallationsAdditional map[string]jx.Raw

func (*GitHubInstallationsAdditional) Decode added in v0.11.3

Decode decodes GitHubInstallationsAdditional from json.

func (GitHubInstallationsAdditional) Encode added in v0.11.3

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"
	GitHubInstallationsStatusUnavailable GitHubInstallationsStatus = "unavailable"
)

func (GitHubInstallationsStatus) AllValues added in v0.11.3

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

type GrantAccessBodyAdditional map[string]jx.Raw

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

AllValues returns all GrantAccessBodyGranteeType values.

func (*GrantAccessBodyGranteeType) Decode added in v0.11.3

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

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

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

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

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

type GrantProjectAccessOutputBodyAdditional map[string]jx.Raw

func (*GrantProjectAccessOutputBodyAdditional) Decode added in v0.7.6

Decode decodes GrantProjectAccessOutputBodyAdditional from json.

func (GrantProjectAccessOutputBodyAdditional) Encode added in v0.7.6

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

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

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

type GrantRepoAccessOutputBodyAdditional map[string]jx.Raw

func (*GrantRepoAccessOutputBodyAdditional) Decode added in v0.7.6

Decode decodes GrantRepoAccessOutputBodyAdditional from json.

func (GrantRepoAccessOutputBodyAdditional) Encode added in v0.7.6

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

Decode decodes GrantServiceAccountAccessInputBody from json.

func (*GrantServiceAccountAccessInputBody) Encode

Encode implements json.Marshaler.

func (*GrantServiceAccountAccessInputBody) GetAdditionalProps added in v0.7.6

GetAdditionalProps returns the value of AdditionalProps.

func (*GrantServiceAccountAccessInputBody) GetResourceId

func (s *GrantServiceAccountAccessInputBody) GetResourceId() string

GetResourceId returns the value of ResourceId.

func (*GrantServiceAccountAccessInputBody) GetResourceType

GetResourceType returns the value of ResourceType.

func (*GrantServiceAccountAccessInputBody) GetRole

GetRole returns the value of Role.

func (*GrantServiceAccountAccessInputBody) GetSchema

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

SetAdditionalProps sets the value of AdditionalProps.

func (*GrantServiceAccountAccessInputBody) SetResourceId

func (s *GrantServiceAccountAccessInputBody) SetResourceId(val string)

SetResourceId sets the value of ResourceId.

func (*GrantServiceAccountAccessInputBody) SetResourceType

SetResourceType sets the value of ResourceType.

func (*GrantServiceAccountAccessInputBody) SetRole

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

type GrantServiceAccountAccessInputBodyAdditional added in v0.7.6

type GrantServiceAccountAccessInputBodyAdditional map[string]jx.Raw

func (*GrantServiceAccountAccessInputBodyAdditional) Decode added in v0.7.6

Decode decodes GrantServiceAccountAccessInputBodyAdditional from json.

func (GrantServiceAccountAccessInputBodyAdditional) Encode added in v0.7.6

Encode implements json.Marshaler.

func (GrantServiceAccountAccessInputBodyAdditional) MarshalJSON added in v0.7.6

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

AllValues returns all GrantServiceAccountAccessInputBodyResourceType values.

func (*GrantServiceAccountAccessInputBodyResourceType) Decode

Decode decodes GrantServiceAccountAccessInputBodyResourceType from json.

func (GrantServiceAccountAccessInputBodyResourceType) Encode

Encode encodes GrantServiceAccountAccessInputBodyResourceType as json.

func (GrantServiceAccountAccessInputBodyResourceType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (GrantServiceAccountAccessInputBodyResourceType) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*GrantServiceAccountAccessInputBodyResourceType) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GrantServiceAccountAccessInputBodyResourceType) UnmarshalText

UnmarshalText implements encoding.TextUnmarshaler.

func (GrantServiceAccountAccessInputBodyResourceType) Validate

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

AllValues returns all GrantServiceAccountAccessInputBodyRole values.

func (*GrantServiceAccountAccessInputBodyRole) Decode added in v0.7.8

Decode decodes GrantServiceAccountAccessInputBodyRole from json.

func (GrantServiceAccountAccessInputBodyRole) Encode added in v0.7.8

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

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

Decode decodes GrantServiceAccountAccessOutputBody from json.

func (*GrantServiceAccountAccessOutputBody) Encode

Encode implements json.Marshaler.

func (*GrantServiceAccountAccessOutputBody) GetAdditionalProps added in v0.7.6

GetAdditionalProps returns the value of AdditionalProps.

func (*GrantServiceAccountAccessOutputBody) GetSchema

GetSchema returns the value of Schema.

func (*GrantServiceAccountAccessOutputBody) GetStatus

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

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

type GrantServiceAccountAccessOutputBodyAdditional map[string]jx.Raw

func (*GrantServiceAccountAccessOutputBodyAdditional) Decode added in v0.7.6

Decode decodes GrantServiceAccountAccessOutputBodyAdditional from json.

func (GrantServiceAccountAccessOutputBodyAdditional) Encode added in v0.7.6

Encode implements json.Marshaler.

func (GrantServiceAccountAccessOutputBodyAdditional) MarshalJSON added in v0.7.6

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

type InvitationAdditional map[string]jx.Raw

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

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

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

type ListAuditEventsOutputBodyAdditional map[string]jx.Raw

func (*ListAuditEventsOutputBodyAdditional) Decode added in v0.7.6

Decode decodes ListAuditEventsOutputBodyAdditional from json.

func (ListAuditEventsOutputBodyAdditional) Encode added in v0.7.6

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

Decode decodes ListAvailableMirrorsOutputBody from json.

func (*ListAvailableMirrorsOutputBody) Encode added in v0.7.8

Encode implements json.Marshaler.

func (*ListAvailableMirrorsOutputBody) GetAdditionalProps added in v0.7.8

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

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

type ListAvailableMirrorsOutputBodyAdditional map[string]jx.Raw

func (*ListAvailableMirrorsOutputBodyAdditional) Decode added in v0.7.8

Decode decodes ListAvailableMirrorsOutputBodyAdditional from json.

func (ListAvailableMirrorsOutputBodyAdditional) Encode added in v0.7.8

Encode implements json.Marshaler.

func (ListAvailableMirrorsOutputBodyAdditional) MarshalJSON added in v0.7.8

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

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

type ListBindingsOutputBodyAdditional map[string]jx.Raw

func (*ListBindingsOutputBodyAdditional) Decode added in v0.7.6

Decode decodes ListBindingsOutputBodyAdditional from json.

func (ListBindingsOutputBodyAdditional) Encode added in v0.7.6

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

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

type ListClustersOutputBodyAdditional map[string]jx.Raw

func (*ListClustersOutputBodyAdditional) Decode added in v0.7.8

Decode decodes ListClustersOutputBodyAdditional from json.

func (ListClustersOutputBodyAdditional) Encode added in v0.7.8

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

Decode decodes ListMirrorCollaboratorsOutputBody from json.

func (*ListMirrorCollaboratorsOutputBody) Encode added in v0.7.7

Encode implements json.Marshaler.

func (*ListMirrorCollaboratorsOutputBody) GetAdditionalProps added in v0.7.7

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

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

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

type ListMirrorCollaboratorsOutputBodyAdditional added in v0.7.7

type ListMirrorCollaboratorsOutputBodyAdditional map[string]jx.Raw

func (*ListMirrorCollaboratorsOutputBodyAdditional) Decode added in v0.7.7

Decode decodes ListMirrorCollaboratorsOutputBodyAdditional from json.

func (ListMirrorCollaboratorsOutputBodyAdditional) Encode added in v0.7.7

Encode implements json.Marshaler.

func (ListMirrorCollaboratorsOutputBodyAdditional) MarshalJSON added in v0.7.7

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

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

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

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

type ListMirrorsOutputBodyAdditional map[string]jx.Raw

func (*ListMirrorsOutputBodyAdditional) Decode added in v0.7.6

Decode decodes ListMirrorsOutputBodyAdditional from json.

func (ListMirrorsOutputBodyAdditional) Encode added in v0.7.6

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

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

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

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

type ListNativeMirrorsOutputBodyAdditional map[string]jx.Raw

func (*ListNativeMirrorsOutputBodyAdditional) Decode added in v0.11.0

Decode decodes ListNativeMirrorsOutputBodyAdditional from json.

func (ListNativeMirrorsOutputBodyAdditional) Encode added in v0.11.0

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

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

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

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

type ListOIDCProvidersOutputBodyAdditional map[string]jx.Raw

func (*ListOIDCProvidersOutputBodyAdditional) Decode added in v0.7.6

Decode decodes ListOIDCProvidersOutputBodyAdditional from json.

func (ListOIDCProvidersOutputBodyAdditional) Encode added in v0.7.6

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

Decode decodes ListOrgCIBuildkiteClustersOutputBody from json.

func (*ListOrgCIBuildkiteClustersOutputBody) Encode added in v0.11.0

Encode implements json.Marshaler.

func (*ListOrgCIBuildkiteClustersOutputBody) GetAdditionalProps added in v0.11.0

GetAdditionalProps returns the value of AdditionalProps.

func (*ListOrgCIBuildkiteClustersOutputBody) GetClusters added in v0.11.0

GetClusters returns the value of Clusters.

func (*ListOrgCIBuildkiteClustersOutputBody) GetSchema added in v0.11.0

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

SetAdditionalProps sets the value of AdditionalProps.

func (*ListOrgCIBuildkiteClustersOutputBody) SetClusters added in v0.11.0

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

type ListOrgCIBuildkiteClustersOutputBodyAdditional added in v0.11.0

type ListOrgCIBuildkiteClustersOutputBodyAdditional map[string]jx.Raw

func (*ListOrgCIBuildkiteClustersOutputBodyAdditional) Decode added in v0.11.0

Decode decodes ListOrgCIBuildkiteClustersOutputBodyAdditional from json.

func (ListOrgCIBuildkiteClustersOutputBodyAdditional) Encode added in v0.11.0

Encode implements json.Marshaler.

func (ListOrgCIBuildkiteClustersOutputBodyAdditional) MarshalJSON added in v0.11.0

MarshalJSON implements stdjson.Marshaler.

func (*ListOrgCIBuildkiteClustersOutputBodyAdditional) UnmarshalJSON added in v0.11.0

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

Decode decodes ListOrgCIBuildkiteCredentialsOutputBody from json.

func (*ListOrgCIBuildkiteCredentialsOutputBody) Encode added in v0.11.0

Encode implements json.Marshaler.

func (*ListOrgCIBuildkiteCredentialsOutputBody) GetAdditionalProps added in v0.11.0

GetAdditionalProps returns the value of AdditionalProps.

func (*ListOrgCIBuildkiteCredentialsOutputBody) GetCredentials added in v0.11.0

GetCredentials returns the value of Credentials.

func (*ListOrgCIBuildkiteCredentialsOutputBody) GetSchema added in v0.11.0

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

SetAdditionalProps sets the value of AdditionalProps.

func (*ListOrgCIBuildkiteCredentialsOutputBody) SetCredentials added in v0.11.0

SetCredentials sets the value of Credentials.

func (*ListOrgCIBuildkiteCredentialsOutputBody) SetSchema added in v0.11.0

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

type ListOrgCIBuildkiteCredentialsOutputBodyAdditional added in v0.11.0

type ListOrgCIBuildkiteCredentialsOutputBodyAdditional map[string]jx.Raw

func (*ListOrgCIBuildkiteCredentialsOutputBodyAdditional) Decode added in v0.11.0

Decode decodes ListOrgCIBuildkiteCredentialsOutputBodyAdditional from json.

func (ListOrgCIBuildkiteCredentialsOutputBodyAdditional) Encode added in v0.11.0

Encode implements json.Marshaler.

func (ListOrgCIBuildkiteCredentialsOutputBodyAdditional) MarshalJSON added in v0.11.0

MarshalJSON implements stdjson.Marshaler.

func (*ListOrgCIBuildkiteCredentialsOutputBodyAdditional) UnmarshalJSON added in v0.11.0

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

Decode decodes ListOrgCIDepotOrganizationsOutputBody from json.

func (*ListOrgCIDepotOrganizationsOutputBody) Encode added in v0.11.3

Encode implements json.Marshaler.

func (*ListOrgCIDepotOrganizationsOutputBody) GetAdditionalProps added in v0.11.3

GetAdditionalProps returns the value of AdditionalProps.

func (*ListOrgCIDepotOrganizationsOutputBody) GetConnections added in v0.11.3

GetConnections returns the value of Connections.

func (*ListOrgCIDepotOrganizationsOutputBody) GetSchema added in v0.11.3

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

SetAdditionalProps sets the value of AdditionalProps.

func (*ListOrgCIDepotOrganizationsOutputBody) SetConnections added in v0.11.3

SetConnections sets the value of Connections.

func (*ListOrgCIDepotOrganizationsOutputBody) SetSchema added in v0.11.3

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

type ListOrgCIDepotOrganizationsOutputBodyAdditional added in v0.11.3

type ListOrgCIDepotOrganizationsOutputBodyAdditional map[string]jx.Raw

func (*ListOrgCIDepotOrganizationsOutputBodyAdditional) Decode added in v0.11.3

Decode decodes ListOrgCIDepotOrganizationsOutputBodyAdditional from json.

func (ListOrgCIDepotOrganizationsOutputBodyAdditional) Encode added in v0.11.3

Encode implements json.Marshaler.

func (ListOrgCIDepotOrganizationsOutputBodyAdditional) MarshalJSON added in v0.11.3

MarshalJSON implements stdjson.Marshaler.

func (*ListOrgCIDepotOrganizationsOutputBodyAdditional) UnmarshalJSON added in v0.11.3

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

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

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

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

type ListOrgInvitationsOutputBodyAdditional map[string]jx.Raw

func (*ListOrgInvitationsOutputBodyAdditional) Decode added in v0.11.3

Decode decodes ListOrgInvitationsOutputBodyAdditional from json.

func (ListOrgInvitationsOutputBodyAdditional) Encode added in v0.11.3

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

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

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

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

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

type ListOrgMembersOutputBodyAdditional map[string]jx.Raw

func (*ListOrgMembersOutputBodyAdditional) Decode added in v0.7.6

Decode decodes ListOrgMembersOutputBodyAdditional from json.

func (ListOrgMembersOutputBodyAdditional) Encode added in v0.7.6

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

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

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

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

type ListOrgPeopleOutputBodyAdditional map[string]jx.Raw

func (*ListOrgPeopleOutputBodyAdditional) Decode added in v0.11.3

Decode decodes ListOrgPeopleOutputBodyAdditional from json.

func (ListOrgPeopleOutputBodyAdditional) Encode added in v0.11.3

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

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

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

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

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

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

type ListOrgProjectsOutputBodyAdditional map[string]jx.Raw

func (*ListOrgProjectsOutputBodyAdditional) Decode added in v0.7.6

Decode decodes ListOrgProjectsOutputBodyAdditional from json.

func (ListOrgProjectsOutputBodyAdditional) Encode added in v0.7.6

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

type ListOrgsOutputBodyAdditional map[string]jx.Raw

func (*ListOrgsOutputBodyAdditional) Decode added in v0.7.6

Decode decodes ListOrgsOutputBodyAdditional from json.

func (ListOrgsOutputBodyAdditional) Encode added in v0.7.6

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

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

Decode decodes ListPluginInstallationsOutputBody from json.

func (*ListPluginInstallationsOutputBody) Encode added in v0.11.4

Encode implements json.Marshaler.

func (*ListPluginInstallationsOutputBody) GetAdditionalProps added in v0.11.4

GetAdditionalProps returns the value of AdditionalProps.

func (*ListPluginInstallationsOutputBody) GetItems added in v0.11.4

GetItems returns the value of Items.

func (*ListPluginInstallationsOutputBody) GetSchema added in v0.11.4

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

SetAdditionalProps sets the value of AdditionalProps.

func (*ListPluginInstallationsOutputBody) SetItems added in v0.11.4

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

type ListPluginInstallationsOutputBodyAdditional added in v0.11.4

type ListPluginInstallationsOutputBodyAdditional map[string]jx.Raw

func (*ListPluginInstallationsOutputBodyAdditional) Decode added in v0.11.4

Decode decodes ListPluginInstallationsOutputBodyAdditional from json.

func (ListPluginInstallationsOutputBodyAdditional) Encode added in v0.11.4

Encode implements json.Marshaler.

func (ListPluginInstallationsOutputBodyAdditional) MarshalJSON added in v0.11.4

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

Decode decodes ListProjectCollaboratorsOutputBody from json.

func (*ListProjectCollaboratorsOutputBody) Encode added in v0.11.4

Encode implements json.Marshaler.

func (*ListProjectCollaboratorsOutputBody) GetAdditionalProps added in v0.11.4

GetAdditionalProps returns the value of AdditionalProps.

func (*ListProjectCollaboratorsOutputBody) GetCollaborators added in v0.11.4

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

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

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

type ListProjectCollaboratorsOutputBodyAdditional added in v0.11.4

type ListProjectCollaboratorsOutputBodyAdditional map[string]jx.Raw

func (*ListProjectCollaboratorsOutputBodyAdditional) Decode added in v0.11.4

Decode decodes ListProjectCollaboratorsOutputBodyAdditional from json.

func (ListProjectCollaboratorsOutputBodyAdditional) Encode added in v0.11.4

Encode implements json.Marshaler.

func (ListProjectCollaboratorsOutputBodyAdditional) MarshalJSON added in v0.11.4

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

GetCacheControl returns the value of CacheControl.

func (*ListProjectCollaboratorsOutputBodyHeaders) GetResponse added in v0.11.4

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

SetResponse sets the value of Response.

func (*ListProjectCollaboratorsOutputBodyHeaders) Validate added in v0.11.4

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

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

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

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

type ListProjectMembersOutputBodyAdditional map[string]jx.Raw

func (*ListProjectMembersOutputBodyAdditional) Decode added in v0.7.6

Decode decodes ListProjectMembersOutputBodyAdditional from json.

func (ListProjectMembersOutputBodyAdditional) Encode added in v0.7.6

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

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

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

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

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

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

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

type ListProjectReposOutputBodyAdditional map[string]jx.Raw

func (*ListProjectReposOutputBodyAdditional) Decode added in v0.7.6

Decode decodes ListProjectReposOutputBodyAdditional from json.

func (ListProjectReposOutputBodyAdditional) Encode added in v0.7.6

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

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

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

type ListProjectsOutputBodyAdditional map[string]jx.Raw

func (*ListProjectsOutputBodyAdditional) Decode added in v0.7.6

Decode decodes ListProjectsOutputBodyAdditional from json.

func (ListProjectsOutputBodyAdditional) Encode added in v0.7.6

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

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

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

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

type ListRepoCIBuildsOutputBodyAdditional map[string]jx.Raw

func (*ListRepoCIBuildsOutputBodyAdditional) Decode added in v0.11.0

Decode decodes ListRepoCIBuildsOutputBodyAdditional from json.

func (ListRepoCIBuildsOutputBodyAdditional) Encode added in v0.11.0

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

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

Decode decodes ListRepoCIDeliveriesOutputBody from json.

func (*ListRepoCIDeliveriesOutputBody) Encode added in v0.11.3

Encode implements json.Marshaler.

func (*ListRepoCIDeliveriesOutputBody) GetAdditionalProps added in v0.11.3

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

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

type ListRepoCIDeliveriesOutputBodyAdditional map[string]jx.Raw

func (*ListRepoCIDeliveriesOutputBodyAdditional) Decode added in v0.11.3

Decode decodes ListRepoCIDeliveriesOutputBodyAdditional from json.

func (ListRepoCIDeliveriesOutputBodyAdditional) Encode added in v0.11.3

Encode implements json.Marshaler.

func (ListRepoCIDeliveriesOutputBodyAdditional) MarshalJSON added in v0.11.3

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

Decode decodes ListRepoCIProvidersOutputBody from json.

func (*ListRepoCIProvidersOutputBody) Encode added in v0.11.0

Encode implements json.Marshaler.

func (*ListRepoCIProvidersOutputBody) GetAdditionalProps added in v0.11.0

GetAdditionalProps returns the value of AdditionalProps.

func (*ListRepoCIProvidersOutputBody) GetProviders added in v0.11.0

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

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

type ListRepoCIProvidersOutputBodyAdditional map[string]jx.Raw

func (*ListRepoCIProvidersOutputBodyAdditional) Decode added in v0.11.0

Decode decodes ListRepoCIProvidersOutputBodyAdditional from json.

func (ListRepoCIProvidersOutputBodyAdditional) Encode added in v0.11.0

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

Decode decodes ListRepoCIWebhookAuditOutputBody from json.

func (*ListRepoCIWebhookAuditOutputBody) Encode added in v0.11.0

Encode implements json.Marshaler.

func (*ListRepoCIWebhookAuditOutputBody) GetAdditionalProps added in v0.11.0

GetAdditionalProps returns the value of AdditionalProps.

func (*ListRepoCIWebhookAuditOutputBody) GetEvents added in v0.11.0

GetEvents returns the value of Events.

func (*ListRepoCIWebhookAuditOutputBody) GetSchema added in v0.11.0

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

SetAdditionalProps sets the value of AdditionalProps.

func (*ListRepoCIWebhookAuditOutputBody) SetEvents added in v0.11.0

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

type ListRepoCIWebhookAuditOutputBodyAdditional added in v0.11.0

type ListRepoCIWebhookAuditOutputBodyAdditional map[string]jx.Raw

func (*ListRepoCIWebhookAuditOutputBodyAdditional) Decode added in v0.11.0

Decode decodes ListRepoCIWebhookAuditOutputBodyAdditional from json.

func (ListRepoCIWebhookAuditOutputBodyAdditional) Encode added in v0.11.0

Encode implements json.Marshaler.

func (ListRepoCIWebhookAuditOutputBodyAdditional) MarshalJSON added in v0.11.0

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

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

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

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

type ListRepoCIWebhooksOutputBodyAdditional map[string]jx.Raw

func (*ListRepoCIWebhooksOutputBodyAdditional) Decode added in v0.9.0

Decode decodes ListRepoCIWebhooksOutputBodyAdditional from json.

func (ListRepoCIWebhooksOutputBodyAdditional) Encode added in v0.9.0

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

Decode decodes ListRepoCollaboratorsOutputBody from json.

func (*ListRepoCollaboratorsOutputBody) Encode added in v0.11.0

Encode implements json.Marshaler.

func (*ListRepoCollaboratorsOutputBody) GetAdditionalProps added in v0.11.0

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

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

type ListRepoCollaboratorsOutputBodyAdditional map[string]jx.Raw

func (*ListRepoCollaboratorsOutputBodyAdditional) Decode added in v0.11.0

Decode decodes ListRepoCollaboratorsOutputBodyAdditional from json.

func (ListRepoCollaboratorsOutputBodyAdditional) Encode added in v0.11.0

Encode implements json.Marshaler.

func (ListRepoCollaboratorsOutputBodyAdditional) MarshalJSON added in v0.11.0

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

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

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

type ListRepoGrantsOutputBodyAdditional map[string]jx.Raw

func (*ListRepoGrantsOutputBodyAdditional) Decode added in v0.7.8

Decode decodes ListRepoGrantsOutputBodyAdditional from json.

func (ListRepoGrantsOutputBodyAdditional) Encode added in v0.7.8

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

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

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

type ListReposOutputBodyAdditional map[string]jx.Raw

func (*ListReposOutputBodyAdditional) Decode added in v0.8.0

Decode decodes ListReposOutputBodyAdditional from json.

func (ListReposOutputBodyAdditional) Encode added in v0.8.0

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

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

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

Decode decodes ListServiceAccountGrantsOutputBody from json.

func (*ListServiceAccountGrantsOutputBody) Encode

Encode implements json.Marshaler.

func (*ListServiceAccountGrantsOutputBody) GetAdditionalProps added in v0.7.6

GetAdditionalProps returns the value of AdditionalProps.

func (*ListServiceAccountGrantsOutputBody) GetGrants

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

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

SetAdditionalProps sets the value of AdditionalProps.

func (*ListServiceAccountGrantsOutputBody) SetGrants

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

type ListServiceAccountGrantsOutputBodyAdditional added in v0.7.6

type ListServiceAccountGrantsOutputBodyAdditional map[string]jx.Raw

func (*ListServiceAccountGrantsOutputBodyAdditional) Decode added in v0.7.6

Decode decodes ListServiceAccountGrantsOutputBodyAdditional from json.

func (ListServiceAccountGrantsOutputBodyAdditional) Encode added in v0.7.6

Encode implements json.Marshaler.

func (ListServiceAccountGrantsOutputBodyAdditional) MarshalJSON added in v0.7.6

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

Decode decodes ListServiceAccountsOutputBody from json.

func (*ListServiceAccountsOutputBody) Encode

Encode implements json.Marshaler.

func (*ListServiceAccountsOutputBody) GetAdditionalProps added in v0.7.6

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

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

type ListServiceAccountsOutputBodyAdditional map[string]jx.Raw

func (*ListServiceAccountsOutputBodyAdditional) Decode added in v0.7.6

Decode decodes ListServiceAccountsOutputBodyAdditional from json.

func (ListServiceAccountsOutputBodyAdditional) Encode added in v0.7.6

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

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

type LookupBySlugOutputBodyAdditional map[string]jx.Raw

func (*LookupBySlugOutputBodyAdditional) Decode added in v0.8.0

Decode decodes LookupBySlugOutputBodyAdditional from json.

func (LookupBySlugOutputBodyAdditional) Encode added in v0.8.0

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) Decode

func (s *MeAuth) Decode(d *jx.Decoder) error

Decode decodes MeAuth from json.

func (*MeAuth) Encode

func (s *MeAuth) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MeAuth) GetAdditionalProps added in v0.7.6

func (s *MeAuth) GetAdditionalProps() MeAuthAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*MeAuth) GetProvider

func (s *MeAuth) GetProvider() string

GetProvider returns the value of Provider.

func (*MeAuth) GetProviderUserId

func (s *MeAuth) GetProviderUserId() string

GetProviderUserId returns the value of ProviderUserId.

func (*MeAuth) MarshalJSON

func (s *MeAuth) MarshalJSON() ([]byte, error)

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

func (s *MeAuth) SetProvider(val string)

SetProvider sets the value of Provider.

func (*MeAuth) SetProviderUserId

func (s *MeAuth) SetProviderUserId(val string)

SetProviderUserId sets the value of ProviderUserId.

func (*MeAuth) UnmarshalJSON

func (s *MeAuth) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type MeAuthAdditional added in v0.7.6

type MeAuthAdditional map[string]jx.Raw

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

type MeDeletionAdditional map[string]jx.Raw

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) Decode

func (s *MeGlobal) Decode(d *jx.Decoder) error

Decode decodes MeGlobal from json.

func (*MeGlobal) Encode

func (s *MeGlobal) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MeGlobal) GetAccountId

func (s *MeGlobal) GetAccountId() string

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

func (s *MeGlobal) GetAvatarUrl() OptString

GetAvatarUrl returns the value of AvatarUrl.

func (*MeGlobal) GetCreatedAt added in v0.9.0

func (s *MeGlobal) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*MeGlobal) GetDisplayName added in v0.11.4

func (s *MeGlobal) GetDisplayName() OptString

GetDisplayName returns the value of DisplayName.

func (*MeGlobal) GetHandle

func (s *MeGlobal) GetHandle() OptString

GetHandle returns the value of Handle.

func (*MeGlobal) GetHandles

func (s *MeGlobal) GetHandles() []MeIdentityHandle

GetHandles returns the value of Handles.

func (*MeGlobal) GetHomeJurisdiction

func (s *MeGlobal) GetHomeJurisdiction() OptString

GetHomeJurisdiction returns the value of HomeJurisdiction.

func (*MeGlobal) MarshalJSON

func (s *MeGlobal) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MeGlobal) SetAccountId

func (s *MeGlobal) SetAccountId(val string)

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

func (s *MeGlobal) SetAvatarUrl(val OptString)

SetAvatarUrl sets the value of AvatarUrl.

func (*MeGlobal) SetCreatedAt added in v0.9.0

func (s *MeGlobal) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*MeGlobal) SetDisplayName added in v0.11.4

func (s *MeGlobal) SetDisplayName(val OptString)

SetDisplayName sets the value of DisplayName.

func (*MeGlobal) SetHandle

func (s *MeGlobal) SetHandle(val OptString)

SetHandle sets the value of Handle.

func (*MeGlobal) SetHandles

func (s *MeGlobal) SetHandles(val []MeIdentityHandle)

SetHandles sets the value of Handles.

func (*MeGlobal) SetHomeJurisdiction

func (s *MeGlobal) SetHomeJurisdiction(val OptString)

SetHomeJurisdiction sets the value of HomeJurisdiction.

func (*MeGlobal) UnmarshalJSON

func (s *MeGlobal) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*MeGlobal) Validate

func (s *MeGlobal) Validate() error

type MeGlobalAdditional added in v0.7.6

type MeGlobalAdditional map[string]jx.Raw

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

type MeIdentityHandleAdditional map[string]jx.Raw

func (*MeIdentityHandleAdditional) Decode added in v0.7.6

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

type MeRegionalAdditional map[string]jx.Raw

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 {
	// Always 'foreign_jurisdiction'. Discriminator for client-side state machines.
	Error MeRegionalUnavailableError `json:"error"`
	// Origin of the account's home core — its OIDC issuer, e.g. 'https://us.auth.entire.io'. Not a
	// browser link and not the console.
	HomeCoreUrl string `json:"homeCoreUrl"`
	// The account's home jurisdiction (e.g. 'us', 'eu').
	Jurisdiction string `json:"jurisdiction"`
	// Human-readable copy ready to surface in a UI.
	Message         string `json:"message"`
	AdditionalProps MeRegionalUnavailableAdditional
}

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

GetAdditionalProps returns the value of AdditionalProps.

func (*MeRegionalUnavailable) GetError

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

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

type MeRegionalUnavailableAdditional map[string]jx.Raw

func (*MeRegionalUnavailableAdditional) Decode added in v0.7.6

Decode decodes MeRegionalUnavailableAdditional from json.

func (MeRegionalUnavailableAdditional) Encode added in v0.7.6

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 (
	MeRegionalUnavailableErrorForeignJurisdiction MeRegionalUnavailableError = "foreign_jurisdiction"
)

func (MeRegionalUnavailableError) AllValues

AllValues returns all MeRegionalUnavailableError values.

func (*MeRegionalUnavailableError) Decode

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) GetID

func (s *Membership) GetID() string

GetID returns the value of ID.

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) SetID

func (s *Membership) SetID(val string)

SetID sets the value of ID.

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

type MembershipAdditional map[string]jx.Raw

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

Decode decodes MintOrgCIGitHubActionsCredentialInputBody from json.

func (*MintOrgCIGitHubActionsCredentialInputBody) Encode added in v0.11.0

Encode implements json.Marshaler.

func (*MintOrgCIGitHubActionsCredentialInputBody) GetAPIToken added in v0.11.0

GetAPIToken returns the value of APIToken.

func (*MintOrgCIGitHubActionsCredentialInputBody) GetAccount added in v0.11.0

GetAccount returns the value of Account.

func (*MintOrgCIGitHubActionsCredentialInputBody) GetAdditionalProps added in v0.11.0

GetAdditionalProps returns the value of AdditionalProps.

func (*MintOrgCIGitHubActionsCredentialInputBody) GetSchema added in v0.11.0

GetSchema returns the value of Schema.

func (*MintOrgCIGitHubActionsCredentialInputBody) MarshalJSON added in v0.11.0

MarshalJSON implements stdjson.Marshaler.

func (*MintOrgCIGitHubActionsCredentialInputBody) SetAPIToken added in v0.11.0

SetAPIToken sets the value of APIToken.

func (*MintOrgCIGitHubActionsCredentialInputBody) SetAccount added in v0.11.0

SetAccount sets the value of Account.

func (*MintOrgCIGitHubActionsCredentialInputBody) SetAdditionalProps added in v0.11.0

SetAdditionalProps sets the value of AdditionalProps.

func (*MintOrgCIGitHubActionsCredentialInputBody) SetSchema added in v0.11.0

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

type MintOrgCIGitHubActionsCredentialInputBodyAdditional added in v0.11.0

type MintOrgCIGitHubActionsCredentialInputBodyAdditional map[string]jx.Raw

func (*MintOrgCIGitHubActionsCredentialInputBodyAdditional) Decode added in v0.11.0

Decode decodes MintOrgCIGitHubActionsCredentialInputBodyAdditional from json.

func (MintOrgCIGitHubActionsCredentialInputBodyAdditional) Encode added in v0.11.0

Encode implements json.Marshaler.

func (MintOrgCIGitHubActionsCredentialInputBodyAdditional) MarshalJSON added in v0.11.0

MarshalJSON implements stdjson.Marshaler.

func (*MintOrgCIGitHubActionsCredentialInputBodyAdditional) UnmarshalJSON added in v0.11.0

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) Decode

func (s *Mirror) Decode(d *jx.Decoder) error

Decode decodes Mirror from json.

func (*Mirror) Encode

func (s *Mirror) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Mirror) GetAdditionalProps added in v0.7.6

func (s *Mirror) GetAdditionalProps() MirrorAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*Mirror) GetCell added in v0.7.8

func (s *Mirror) GetCell() OptString

GetCell returns the value of Cell.

func (*Mirror) GetClusterHost

func (s *Mirror) GetClusterHost() string

GetClusterHost returns the value of ClusterHost.

func (*Mirror) GetCreatedAt

func (s *Mirror) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Mirror) GetIsArchived

func (s *Mirror) GetIsArchived() OptBool

GetIsArchived returns the value of IsArchived.

func (*Mirror) GetIsPrivate

func (s *Mirror) GetIsPrivate() OptBool

GetIsPrivate returns the value of IsPrivate.

func (*Mirror) GetIsProcessingPrimary added in v0.11.3

func (s *Mirror) GetIsProcessingPrimary() OptBool

GetIsProcessingPrimary returns the value of IsProcessingPrimary.

func (*Mirror) GetJurisdiction

func (s *Mirror) GetJurisdiction() OptString

GetJurisdiction returns the value of Jurisdiction.

func (*Mirror) GetMirrorId

func (s *Mirror) GetMirrorId() string

GetMirrorId returns the value of MirrorId.

func (*Mirror) GetOwner

func (s *Mirror) GetOwner() string

GetOwner returns the value of Owner.

func (*Mirror) GetProvider

func (s *Mirror) GetProvider() string

GetProvider returns the value of Provider.

func (*Mirror) GetRepo

func (s *Mirror) GetRepo() string

GetRepo returns the value of Repo.

func (*Mirror) GetSchema

func (s *Mirror) GetSchema() OptURI

GetSchema returns the value of Schema.

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

func (s *Mirror) MarshalJSON() ([]byte, error)

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) SetCell added in v0.7.8

func (s *Mirror) SetCell(val OptString)

SetCell sets the value of Cell.

func (*Mirror) SetClusterHost

func (s *Mirror) SetClusterHost(val string)

SetClusterHost sets the value of ClusterHost.

func (*Mirror) SetCreatedAt

func (s *Mirror) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Mirror) SetIsArchived

func (s *Mirror) SetIsArchived(val OptBool)

SetIsArchived sets the value of IsArchived.

func (*Mirror) SetIsPrivate

func (s *Mirror) SetIsPrivate(val OptBool)

SetIsPrivate sets the value of IsPrivate.

func (*Mirror) SetIsProcessingPrimary added in v0.11.3

func (s *Mirror) SetIsProcessingPrimary(val OptBool)

SetIsProcessingPrimary sets the value of IsProcessingPrimary.

func (*Mirror) SetJurisdiction

func (s *Mirror) SetJurisdiction(val OptString)

SetJurisdiction sets the value of Jurisdiction.

func (*Mirror) SetMirrorId

func (s *Mirror) SetMirrorId(val string)

SetMirrorId sets the value of MirrorId.

func (*Mirror) SetOwner

func (s *Mirror) SetOwner(val string)

SetOwner sets the value of Owner.

func (*Mirror) SetProvider

func (s *Mirror) SetProvider(val string)

SetProvider sets the value of Provider.

func (*Mirror) SetRepo

func (s *Mirror) SetRepo(val string)

SetRepo sets the value of Repo.

func (*Mirror) SetSchema

func (s *Mirror) SetSchema(val OptURI)

SetSchema sets the value of Schema.

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

func (s *Mirror) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Mirror) Validate added in v0.7.8

func (s *Mirror) Validate() error

type MirrorAdditional added in v0.7.6

type MirrorAdditional map[string]jx.Raw

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

type MirrorCollaboratorAdditional map[string]jx.Raw

func (*MirrorCollaboratorAdditional) Decode added in v0.7.7

Decode decodes MirrorCollaboratorAdditional from json.

func (MirrorCollaboratorAdditional) Encode added in v0.7.7

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

type MirrorRequestAdditional map[string]jx.Raw

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

type MirrorRequestFailureAdditional map[string]jx.Raw

func (*MirrorRequestFailureAdditional) Decode added in v0.10.4

Decode decodes MirrorRequestFailureAdditional from json.

func (MirrorRequestFailureAdditional) Encode added in v0.10.4

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

type MirrorRequestResultAdditional map[string]jx.Raw

func (*MirrorRequestResultAdditional) Decode added in v0.10.4

Decode decodes MirrorRequestResultAdditional from json.

func (MirrorRequestResultAdditional) Encode added in v0.10.4

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

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

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

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

GetStage returns the value of Stage.

func (*NativeMirrorPlacement) GetStatus added in v0.11.0

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

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

SetStage sets the value of Stage.

func (*NativeMirrorPlacement) SetStatus added in v0.11.0

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

type NativeMirrorPlacementAdditional map[string]jx.Raw

func (*NativeMirrorPlacementAdditional) Decode added in v0.11.0

Decode decodes NativeMirrorPlacementAdditional from json.

func (NativeMirrorPlacementAdditional) Encode added in v0.11.0

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

AllValues returns all NativeMirrorPlacementDesiredState values.

func (*NativeMirrorPlacementDesiredState) Decode added in v0.11.0

Decode decodes NativeMirrorPlacementDesiredState from json.

func (NativeMirrorPlacementDesiredState) Encode added in v0.11.0

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

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

AllValues returns all NativeMirrorPlacementStage values.

func (*NativeMirrorPlacementStage) Decode added in v0.11.0

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

AllValues returns all NativeMirrorPlacementStatus values.

func (*NativeMirrorPlacementStatus) Decode added in v0.11.0

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) GetID

func (s *OIDCProvider) GetID() string

GetID returns the value of ID.

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) SetID

func (s *OIDCProvider) SetID(val string)

SetID sets the value of ID.

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

type OIDCProviderAdditional map[string]jx.Raw

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

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

Decode decodes AddOrgMemberInputBodyRole from json.

func (OptAddOrgMemberInputBodyRole) Encode

Encode encodes AddOrgMemberInputBodyRole as json.

func (OptAddOrgMemberInputBodyRole) Get

Get returns value and boolean that denotes whether value was set.

func (OptAddOrgMemberInputBodyRole) IsSet

IsSet returns true if OptAddOrgMemberInputBodyRole was set.

func (OptAddOrgMemberInputBodyRole) MarshalJSON

func (s OptAddOrgMemberInputBodyRole) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAddOrgMemberInputBodyRole) Or

Or returns value if set, or given parameter if does not.

func (*OptAddOrgMemberInputBodyRole) Reset

func (o *OptAddOrgMemberInputBodyRole) Reset()

Reset unsets value.

func (*OptAddOrgMemberInputBodyRole) SetTo

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

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

Or returns value if set, or given parameter if does not.

func (*OptAuditEventMetadata) Reset

func (o *OptAuditEventMetadata) Reset()

Reset unsets value.

func (*OptAuditEventMetadata) SetTo

SetTo sets value to v.

func (*OptAuditEventMetadata) UnmarshalJSON

func (s *OptAuditEventMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBool

type OptBool struct {
	Value bool
	Set   bool
}

OptBool is optional bool.

func NewOptBool

func NewOptBool(v bool) OptBool

NewOptBool returns new OptBool with value set to v.

func (*OptBool) Decode

func (o *OptBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptBool) Encode

func (o OptBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptBool) Get

func (o OptBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBool) IsSet

func (o OptBool) IsSet() bool

IsSet returns true if OptBool was set.

func (OptBool) MarshalJSON

func (s OptBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBool) Or

func (o OptBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptBool) Reset

func (o *OptBool) Reset()

Reset unsets value.

func (*OptBool) SetTo

func (o *OptBool) SetTo(v bool)

SetTo sets value to v.

func (*OptBool) UnmarshalJSON

func (s *OptBool) UnmarshalJSON(data []byte) error

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

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

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

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

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

Decode decodes CIWebhookAuditEventViewMetadata from json.

func (OptCIWebhookAuditEventViewMetadata) Encode added in v0.11.0

Encode encodes CIWebhookAuditEventViewMetadata as json.

func (OptCIWebhookAuditEventViewMetadata) Get added in v0.11.0

Get returns value and boolean that denotes whether value was set.

func (OptCIWebhookAuditEventViewMetadata) IsSet added in v0.11.0

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

Or returns value if set, or given parameter if does not.

func (*OptCIWebhookAuditEventViewMetadata) Reset added in v0.11.0

Reset unsets value.

func (*OptCIWebhookAuditEventViewMetadata) SetTo added in v0.11.0

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

NewOptCreatePluginInstallationInputBodyRepositorySelection returns new OptCreatePluginInstallationInputBodyRepositorySelection with value set to v.

func (*OptCreatePluginInstallationInputBodyRepositorySelection) Decode added in v0.11.4

Decode decodes CreatePluginInstallationInputBodyRepositorySelection from json.

func (OptCreatePluginInstallationInputBodyRepositorySelection) Encode added in v0.11.4

Encode encodes CreatePluginInstallationInputBodyRepositorySelection as json.

func (OptCreatePluginInstallationInputBodyRepositorySelection) Get added in v0.11.4

Get returns value and boolean that denotes whether value was set.

func (OptCreatePluginInstallationInputBodyRepositorySelection) IsSet added in v0.11.4

IsSet returns true if OptCreatePluginInstallationInputBodyRepositorySelection was set.

func (OptCreatePluginInstallationInputBodyRepositorySelection) MarshalJSON added in v0.11.4

MarshalJSON implements stdjson.Marshaler.

func (OptCreatePluginInstallationInputBodyRepositorySelection) Or added in v0.11.4

Or returns value if set, or given parameter if does not.

func (*OptCreatePluginInstallationInputBodyRepositorySelection) Reset added in v0.11.4

Reset unsets value.

func (*OptCreatePluginInstallationInputBodyRepositorySelection) SetTo added in v0.11.4

SetTo sets value to v.

func (*OptCreatePluginInstallationInputBodyRepositorySelection) UnmarshalJSON added in v0.11.4

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

Decode decodes CreateRepoCIWebhookInputBodyConfig from json.

func (OptCreateRepoCIWebhookInputBodyConfig) Encode added in v0.11.0

Encode encodes CreateRepoCIWebhookInputBodyConfig as json.

func (OptCreateRepoCIWebhookInputBodyConfig) Get added in v0.11.0

Get returns value and boolean that denotes whether value was set.

func (OptCreateRepoCIWebhookInputBodyConfig) IsSet added in v0.11.0

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

Or returns value if set, or given parameter if does not.

func (*OptCreateRepoCIWebhookInputBodyConfig) Reset added in v0.11.0

Reset unsets value.

func (*OptCreateRepoCIWebhookInputBodyConfig) SetTo added in v0.11.0

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

Decode decodes CreateRepoInputBodyObjectFormat from json.

func (OptCreateRepoInputBodyObjectFormat) Encode

Encode encodes CreateRepoInputBodyObjectFormat as json.

func (OptCreateRepoInputBodyObjectFormat) Get

Get returns value and boolean that denotes whether value was set.

func (OptCreateRepoInputBodyObjectFormat) IsSet

IsSet returns true if OptCreateRepoInputBodyObjectFormat was set.

func (OptCreateRepoInputBodyObjectFormat) MarshalJSON

func (s OptCreateRepoInputBodyObjectFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCreateRepoInputBodyObjectFormat) Or

Or returns value if set, or given parameter if does not.

func (*OptCreateRepoInputBodyObjectFormat) Reset

Reset unsets value.

func (*OptCreateRepoInputBodyObjectFormat) SetTo

SetTo sets value to v.

func (*OptCreateRepoInputBodyObjectFormat) UnmarshalJSON

func (s *OptCreateRepoInputBodyObjectFormat) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDateTime

type OptDateTime struct {
	Value time.Time
	Set   bool
}

OptDateTime is optional time.Time.

func NewOptDateTime

func NewOptDateTime(v time.Time) OptDateTime

NewOptDateTime returns new OptDateTime with value set to v.

func (*OptDateTime) Decode

func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptDateTime) Encode

func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

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) Reset

func (o *OptDateTime) Reset()

Reset unsets value.

func (*OptDateTime) SetTo

func (o *OptDateTime) SetTo(v time.Time)

SetTo sets value to v.

func (*OptDateTime) UnmarshalJSON

func (s *OptDateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFloat64 added in v0.11.0

type OptFloat64 struct {
	Value float64
	Set   bool
}

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) Reset added in v0.11.0

func (o *OptFloat64) Reset()

Reset unsets value.

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

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

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

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

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

Or returns value if set, or given parameter if does not.

func (*OptGetMeOutputBodyMode) Reset

func (o *OptGetMeOutputBodyMode) Reset()

Reset unsets value.

func (*OptGetMeOutputBodyMode) SetTo

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

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

Get returns value and boolean that denotes whether value was set.

func (OptGetVersionOutputBodyMode) IsSet added in v0.7.7

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

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

Decode decodes GrantAccessBodyGranteeType from json.

func (OptGrantAccessBodyGranteeType) Encode added in v0.11.3

Encode encodes GrantAccessBodyGranteeType as json.

func (OptGrantAccessBodyGranteeType) Get added in v0.11.3

Get returns value and boolean that denotes whether value was set.

func (OptGrantAccessBodyGranteeType) IsSet added in v0.11.3

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

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

type OptInt32 struct {
	Value int32
	Set   bool
}

OptInt32 is optional int32.

func NewOptInt32 added in v0.7.8

func NewOptInt32(v int32) OptInt32

NewOptInt32 returns new OptInt32 with value set to v.

func (OptInt32) Get added in v0.7.8

func (o OptInt32) Get() (v int32, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt32) IsSet added in v0.7.8

func (o OptInt32) IsSet() bool

IsSet returns true if OptInt32 was set.

func (OptInt32) Or added in v0.7.8

func (o OptInt32) Or(d int32) int32

Or returns value if set, or given parameter if does not.

func (*OptInt32) Reset added in v0.7.8

func (o *OptInt32) Reset()

Reset unsets value.

func (*OptInt32) SetTo added in v0.7.8

func (o *OptInt32) SetTo(v int32)

SetTo sets value to v.

type OptInt64

type OptInt64 struct {
	Value int64
	Set   bool
}

OptInt64 is optional int64.

func NewOptInt64

func NewOptInt64(v int64) OptInt64

NewOptInt64 returns new OptInt64 with value set to v.

func (*OptInt64) Decode

func (o *OptInt64) Decode(d *jx.Decoder) error

Decode decodes int64 from json.

func (OptInt64) Encode

func (o OptInt64) Encode(e *jx.Encoder)

Encode encodes int64 as json.

func (OptInt64) Get

func (o OptInt64) Get() (v int64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt64) IsSet

func (o OptInt64) IsSet() bool

IsSet returns true if OptInt64 was set.

func (OptInt64) MarshalJSON

func (s OptInt64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt64) Or

func (o OptInt64) Or(d int64) int64

Or returns value if set, or given parameter if does not.

func (*OptInt64) Reset

func (o *OptInt64) Reset()

Reset unsets value.

func (*OptInt64) SetTo

func (o *OptInt64) SetTo(v int64)

SetTo sets value to v.

func (*OptInt64) UnmarshalJSON

func (s *OptInt64) UnmarshalJSON(data []byte) error

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

Get returns value and boolean that denotes whether value was set.

func (OptListOrgInvitationsStatus) IsSet added in v0.11.3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Get returns value and boolean that denotes whether value was set.

func (OptListRepoCIDeliveriesDirection) IsSet added in v0.11.3

IsSet returns true if OptListRepoCIDeliveriesDirection was set.

func (OptListRepoCIDeliveriesDirection) Or added in v0.11.3

Or returns value if set, or given parameter if does not.

func (*OptListRepoCIDeliveriesDirection) Reset added in v0.11.3

Reset unsets value.

func (*OptListRepoCIDeliveriesDirection) SetTo added in v0.11.3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Or returns value if set, or given parameter if does not.

func (*OptMeDeletion) Reset added in v0.9.0

func (o *OptMeDeletion) Reset()

Reset unsets value.

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

Or returns value if set, or given parameter if does not.

func (*OptMeRegional) Reset

func (o *OptMeRegional) Reset()

Reset unsets value.

func (*OptMeRegional) SetTo

func (o *OptMeRegional) SetTo(v MeRegional)

SetTo sets value to v.

func (*OptMeRegional) UnmarshalJSON

func (s *OptMeRegional) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMeRegionalUnavailable

type OptMeRegionalUnavailable struct {
	Value MeRegionalUnavailable
	Set   bool
}

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

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

Or returns value if set, or given parameter if does not.

func (*OptMeRegionalUnavailable) Reset

func (o *OptMeRegionalUnavailable) Reset()

Reset unsets value.

func (*OptMeRegionalUnavailable) SetTo

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

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

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

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

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

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

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

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

type OptOrg struct {
	Value Org
	Set   bool
}

OptOrg is optional Org.

func NewOptOrg added in v0.7.8

func NewOptOrg(v Org) OptOrg

NewOptOrg returns new OptOrg with value set to v.

func (*OptOrg) Decode added in v0.7.8

func (o *OptOrg) Decode(d *jx.Decoder) error

Decode decodes Org from json.

func (OptOrg) Encode added in v0.7.8

func (o OptOrg) Encode(e *jx.Encoder)

Encode encodes Org as json.

func (OptOrg) Get added in v0.7.8

func (o OptOrg) Get() (v Org, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptOrg) IsSet added in v0.7.8

func (o OptOrg) IsSet() bool

IsSet returns true if OptOrg was set.

func (OptOrg) MarshalJSON added in v0.7.8

func (s OptOrg) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptOrg) Or added in v0.7.8

func (o OptOrg) Or(d Org) Org

Or returns value if set, or given parameter if does not.

func (*OptOrg) Reset added in v0.7.8

func (o *OptOrg) Reset()

Reset unsets value.

func (*OptOrg) SetTo added in v0.7.8

func (o *OptOrg) SetTo(v Org)

SetTo sets value to v.

func (*OptOrg) UnmarshalJSON added in v0.7.8

func (s *OptOrg) UnmarshalJSON(data []byte) error

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

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

type OptProject struct {
	Value Project
	Set   bool
}

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) Reset

func (o *OptProject) Reset()

Reset unsets value.

func (*OptProject) SetTo

func (o *OptProject) SetTo(v Project)

SetTo sets value to v.

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

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

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

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

type OptRepo struct {
	Value Repo
	Set   bool
}

OptRepo is optional Repo.

func NewOptRepo added in v0.7.8

func NewOptRepo(v Repo) OptRepo

NewOptRepo returns new OptRepo with value set to v.

func (*OptRepo) Decode added in v0.7.8

func (o *OptRepo) Decode(d *jx.Decoder) error

Decode decodes Repo from json.

func (OptRepo) Encode added in v0.7.8

func (o OptRepo) Encode(e *jx.Encoder)

Encode encodes Repo as json.

func (OptRepo) Get added in v0.7.8

func (o OptRepo) Get() (v Repo, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptRepo) IsSet added in v0.7.8

func (o OptRepo) IsSet() bool

IsSet returns true if OptRepo was set.

func (OptRepo) MarshalJSON added in v0.7.8

func (s OptRepo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRepo) Or added in v0.7.8

func (o OptRepo) Or(d Repo) Repo

Or returns value if set, or given parameter if does not.

func (*OptRepo) Reset added in v0.7.8

func (o *OptRepo) Reset()

Reset unsets value.

func (*OptRepo) SetTo added in v0.7.8

func (o *OptRepo) SetTo(v Repo)

SetTo sets value to v.

func (*OptRepo) UnmarshalJSON added in v0.7.8

func (s *OptRepo) UnmarshalJSON(data []byte) error

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

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

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

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

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

type OptString struct {
	Value string
	Set   bool
}

OptString is optional string.

func NewOptString

func NewOptString(v string) OptString

NewOptString returns new OptString with value set to v.

func (*OptString) Decode

func (o *OptString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptString) Encode

func (o OptString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptString) Get

func (o OptString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptString) IsSet

func (o OptString) IsSet() bool

IsSet returns true if OptString was set.

func (OptString) MarshalJSON

func (s OptString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptString) Or

func (o OptString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptString) Reset

func (o *OptString) Reset()

Reset unsets value.

func (*OptString) SetTo

func (o *OptString) SetTo(v string)

SetTo sets value to v.

func (*OptString) UnmarshalJSON

func (s *OptString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptURI

type OptURI struct {
	Value url.URL
	Set   bool
}

OptURI is optional url.URL.

func NewOptURI

func NewOptURI(v url.URL) OptURI

NewOptURI returns new OptURI with value set to v.

func (*OptURI) Decode

func (o *OptURI) Decode(d *jx.Decoder) error

Decode decodes url.URL from json.

func (OptURI) Encode

func (o OptURI) Encode(e *jx.Encoder)

Encode encodes url.URL as json.

func (OptURI) Get

func (o OptURI) Get() (v url.URL, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptURI) IsSet

func (o OptURI) IsSet() bool

IsSet returns true if OptURI was set.

func (OptURI) MarshalJSON

func (s OptURI) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptURI) Or

func (o OptURI) Or(d url.URL) url.URL

Or returns value if set, or given parameter if does not.

func (*OptURI) Reset

func (o *OptURI) Reset()

Reset unsets value.

func (*OptURI) SetTo

func (o *OptURI) SetTo(v url.URL)

SetTo sets value to v.

func (*OptURI) UnmarshalJSON

func (s *OptURI) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ClientOption
}

Option is config option.

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) Decode

func (s *Org) Decode(d *jx.Decoder) error

Decode decodes Org from json.

func (*Org) Encode

func (s *Org) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

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

func (s *Org) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Org) GetID

func (s *Org) GetID() string

GetID returns the value of ID.

func (*Org) GetName

func (s *Org) GetName() string

GetName returns the value of Name.

func (*Org) GetRegion

func (s *Org) GetRegion() string

GetRegion returns the value of Region.

func (*Org) GetSchema

func (s *Org) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*Org) GetWorkosOrganizationId

func (s *Org) GetWorkosOrganizationId() OptString

GetWorkosOrganizationId returns the value of WorkosOrganizationId.

func (*Org) MarshalJSON

func (s *Org) MarshalJSON() ([]byte, error)

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

func (s *Org) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Org) SetID

func (s *Org) SetID(val string)

SetID sets the value of ID.

func (*Org) SetName

func (s *Org) SetName(val string)

SetName sets the value of Name.

func (*Org) SetRegion

func (s *Org) SetRegion(val string)

SetRegion sets the value of Region.

func (*Org) SetSchema

func (s *Org) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*Org) SetWorkosOrganizationId

func (s *Org) SetWorkosOrganizationId(val OptString)

SetWorkosOrganizationId sets the value of WorkosOrganizationId.

func (*Org) UnmarshalJSON

func (s *Org) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OrgAdditional added in v0.7.6

type OrgAdditional map[string]jx.Raw

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

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

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

type OrgCIBuildkiteClusterViewAdditional map[string]jx.Raw

func (*OrgCIBuildkiteClusterViewAdditional) Decode added in v0.11.0

Decode decodes OrgCIBuildkiteClusterViewAdditional from json.

func (OrgCIBuildkiteClusterViewAdditional) Encode added in v0.11.0

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

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

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

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

type OrgCIBuildkiteCredentialViewAdditional map[string]jx.Raw

func (*OrgCIBuildkiteCredentialViewAdditional) Decode added in v0.11.0

Decode decodes OrgCIBuildkiteCredentialViewAdditional from json.

func (OrgCIBuildkiteCredentialViewAdditional) Encode added in v0.11.0

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

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

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

type OrgCIDepotConnectionViewAdditional map[string]jx.Raw

func (*OrgCIDepotConnectionViewAdditional) Decode added in v0.11.3

Decode decodes OrgCIDepotConnectionViewAdditional from json.

func (OrgCIDepotConnectionViewAdditional) Encode added in v0.11.3

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

Decode decodes OrgCIGitHubActionsCredentialView from json.

func (*OrgCIGitHubActionsCredentialView) Encode added in v0.11.0

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

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

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

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

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

type OrgCIGitHubActionsCredentialViewAdditional map[string]jx.Raw

func (*OrgCIGitHubActionsCredentialViewAdditional) Decode added in v0.11.0

Decode decodes OrgCIGitHubActionsCredentialViewAdditional from json.

func (OrgCIGitHubActionsCredentialViewAdditional) Encode added in v0.11.0

Encode implements json.Marshaler.

func (OrgCIGitHubActionsCredentialViewAdditional) MarshalJSON added in v0.11.0

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

type OrgCapabilitiesAdditional map[string]jx.Raw

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

type OrgMemberListItemAdditional map[string]jx.Raw

func (*OrgMemberListItemAdditional) Decode added in v0.11.4

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) Decode added in v0.11.3

func (s *OrgPerson) Decode(d *jx.Decoder) error

Decode decodes OrgPerson from json.

func (*OrgPerson) Encode added in v0.11.3

func (s *OrgPerson) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*OrgPerson) GetAccountId added in v0.11.3

func (s *OrgPerson) GetAccountId() string

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

func (s *OrgPerson) GetAvatarUrl() OptString

GetAvatarUrl returns the value of AvatarUrl.

func (*OrgPerson) GetDisplayName added in v0.11.4

func (s *OrgPerson) GetDisplayName() OptString

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) GetHandle added in v0.11.3

func (s *OrgPerson) GetHandle() OptString

GetHandle returns the value of Handle.

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

func (s *OrgPerson) GetProvider() OptString

GetProvider returns the value of Provider.

func (*OrgPerson) GetSchema added in v0.11.3

func (s *OrgPerson) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*OrgPerson) MarshalJSON added in v0.11.3

func (s *OrgPerson) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*OrgPerson) SetAccountId added in v0.11.3

func (s *OrgPerson) SetAccountId(val string)

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

func (s *OrgPerson) SetAvatarUrl(val OptString)

SetAvatarUrl sets the value of AvatarUrl.

func (*OrgPerson) SetDisplayName added in v0.11.4

func (s *OrgPerson) SetDisplayName(val OptString)

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) SetHandle added in v0.11.3

func (s *OrgPerson) SetHandle(val OptString)

SetHandle sets the value of Handle.

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

func (s *OrgPerson) SetProvider(val OptString)

SetProvider sets the value of Provider.

func (*OrgPerson) SetSchema added in v0.11.3

func (s *OrgPerson) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*OrgPerson) UnmarshalJSON added in v0.11.3

func (s *OrgPerson) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*OrgPerson) Validate added in v0.11.3

func (s *OrgPerson) Validate() error

type OrgPersonAdditional added in v0.11.3

type OrgPersonAdditional map[string]jx.Raw

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

type OrgPersonGrantAdditional map[string]jx.Raw

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

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

GetAdditionalProps returns the value of AdditionalProps.

func (*OrgPersonGrantCapabilities) GetAllowedRoles added in v0.11.3

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

SetAdditionalProps sets the value of AdditionalProps.

func (*OrgPersonGrantCapabilities) SetAllowedRoles added in v0.11.3

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

type OrgPersonGrantCapabilitiesAdditional map[string]jx.Raw

func (*OrgPersonGrantCapabilitiesAdditional) Decode added in v0.11.3

Decode decodes OrgPersonGrantCapabilitiesAdditional from json.

func (OrgPersonGrantCapabilitiesAdditional) Encode added in v0.11.3

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

AllValues returns all OrgPersonGrantCapabilitiesAllowedRolesItem values.

func (*OrgPersonGrantCapabilitiesAllowedRolesItem) Decode added in v0.11.3

Decode decodes OrgPersonGrantCapabilitiesAllowedRolesItem from json.

func (OrgPersonGrantCapabilitiesAllowedRolesItem) Encode added in v0.11.3

Encode encodes OrgPersonGrantCapabilitiesAllowedRolesItem as json.

func (OrgPersonGrantCapabilitiesAllowedRolesItem) MarshalJSON added in v0.11.3

MarshalJSON implements stdjson.Marshaler.

func (OrgPersonGrantCapabilitiesAllowedRolesItem) MarshalText added in v0.11.3

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

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

AllValues returns all OrgPersonGrantResourceType values.

func (*OrgPersonGrantResourceType) Decode added in v0.11.3

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

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

type OrgPersonHeaders struct {
	CacheControl OptString
	Response     OrgPerson
}

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

type OrgPersonMembershipAdditional map[string]jx.Raw

func (*OrgPersonMembershipAdditional) Decode added in v0.11.3

Decode decodes OrgPersonMembershipAdditional from json.

func (OrgPersonMembershipAdditional) Encode added in v0.11.3

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

AllValues returns all OrgPersonSummaryAccessScopesItem values.

func (*OrgPersonSummaryAccessScopesItem) Decode added in v0.11.3

Decode decodes OrgPersonSummaryAccessScopesItem from json.

func (OrgPersonSummaryAccessScopesItem) Encode added in v0.11.3

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

type OrgPersonSummaryAdditional added in v0.11.3

type OrgPersonSummaryAdditional map[string]jx.Raw

func (*OrgPersonSummaryAdditional) Decode added in v0.11.3

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

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

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

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

type PatchRepoCIWebhookInputBodyAdditional map[string]jx.Raw

func (*PatchRepoCIWebhookInputBodyAdditional) Decode added in v0.9.0

Decode decodes PatchRepoCIWebhookInputBodyAdditional from json.

func (PatchRepoCIWebhookInputBodyAdditional) Encode added in v0.9.0

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

type PatchRepoCIWebhookParams struct {
	RepoId string
	ID     string
}

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

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

type PluginInstallationAdditional map[string]jx.Raw

func (*PluginInstallationAdditional) Decode added in v0.11.4

Decode decodes PluginInstallationAdditional from json.

func (PluginInstallationAdditional) Encode added in v0.11.4

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

type PluginInstallationProfile map[string]jx.Raw

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

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

type PluginInstallationViewAdditional map[string]jx.Raw

func (*PluginInstallationViewAdditional) Decode added in v0.11.4

Decode decodes PluginInstallationViewAdditional from json.

func (PluginInstallationViewAdditional) Encode added in v0.11.4

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

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

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

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

type PreviewInvitationInputBodyAdditional map[string]jx.Raw

func (*PreviewInvitationInputBodyAdditional) Decode added in v0.11.3

Decode decodes PreviewInvitationInputBodyAdditional from json.

func (PreviewInvitationInputBodyAdditional) Encode added in v0.11.3

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

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

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

type PreviewInvitationOKAdditional map[string]jx.Raw

func (*PreviewInvitationOKAdditional) Decode added in v0.11.3

Decode decodes PreviewInvitationOKAdditional from json.

func (PreviewInvitationOKAdditional) Encode added in v0.11.3

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

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

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) Decode

func (s *Project) Decode(d *jx.Decoder) error

Decode decodes Project from json.

func (*Project) Encode

func (s *Project) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Project) GetAdditionalProps added in v0.7.6

func (s *Project) GetAdditionalProps() ProjectAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*Project) GetApiUrl added in v0.11.3

func (s *Project) GetApiUrl() OptString

GetApiUrl returns the value of ApiUrl.

func (*Project) GetCapabilities added in v0.11.0

func (s *Project) GetCapabilities() OptProjectCapabilities

GetCapabilities returns the value of Capabilities.

func (*Project) GetCreatedAt

func (s *Project) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Project) GetID

func (s *Project) GetID() string

GetID returns the value of ID.

func (*Project) GetName

func (s *Project) GetName() string

GetName returns the value of Name.

func (*Project) GetOwnerId

func (s *Project) GetOwnerId() string

GetOwnerId returns the value of OwnerId.

func (*Project) GetOwnerName added in v0.11.0

func (s *Project) GetOwnerName() OptString

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

func (s *Project) GetPrimaryProcessingCell() OptString

GetPrimaryProcessingCell returns the value of PrimaryProcessingCell.

func (*Project) GetRegion

func (s *Project) GetRegion() string

GetRegion returns the value of Region.

func (*Project) GetRepositoryCount added in v0.11.3

func (s *Project) GetRepositoryCount() OptInt64

GetRepositoryCount returns the value of RepositoryCount.

func (*Project) GetSchema

func (s *Project) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*Project) MarshalJSON

func (s *Project) MarshalJSON() ([]byte, error)

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) SetApiUrl added in v0.11.3

func (s *Project) SetApiUrl(val OptString)

SetApiUrl sets the value of ApiUrl.

func (*Project) SetCapabilities added in v0.11.0

func (s *Project) SetCapabilities(val OptProjectCapabilities)

SetCapabilities sets the value of Capabilities.

func (*Project) SetCreatedAt

func (s *Project) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Project) SetID

func (s *Project) SetID(val string)

SetID sets the value of ID.

func (*Project) SetName

func (s *Project) SetName(val string)

SetName sets the value of Name.

func (*Project) SetOwnerId

func (s *Project) SetOwnerId(val string)

SetOwnerId sets the value of OwnerId.

func (*Project) SetOwnerName added in v0.11.0

func (s *Project) SetOwnerName(val OptString)

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

func (s *Project) SetPrimaryProcessingCell(val OptString)

SetPrimaryProcessingCell sets the value of PrimaryProcessingCell.

func (*Project) SetRegion

func (s *Project) SetRegion(val string)

SetRegion sets the value of Region.

func (*Project) SetRepositoryCount added in v0.11.3

func (s *Project) SetRepositoryCount(val OptInt64)

SetRepositoryCount sets the value of RepositoryCount.

func (*Project) SetSchema

func (s *Project) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*Project) UnmarshalJSON

func (s *Project) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Project) Validate

func (s *Project) Validate() error

type ProjectAdditional added in v0.7.6

type ProjectAdditional map[string]jx.Raw

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

type ProjectCapabilitiesAdditional map[string]jx.Raw

func (*ProjectCapabilitiesAdditional) Decode added in v0.11.0

Decode decodes ProjectCapabilitiesAdditional from json.

func (ProjectCapabilitiesAdditional) Encode added in v0.11.0

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

type ProjectCollaboratorAdditional map[string]jx.Raw

func (*ProjectCollaboratorAdditional) Decode added in v0.11.4

Decode decodes ProjectCollaboratorAdditional from json.

func (ProjectCollaboratorAdditional) Encode added in v0.11.4

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

type ProjectGrantAdditional map[string]jx.Raw

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

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

type ProjectReferenceAdditional map[string]jx.Raw

func (*ProjectReferenceAdditional) Decode added in v0.11.3

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

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

Decode decodes RegisterOrgCIBuildkiteClusterInputBody from json.

func (*RegisterOrgCIBuildkiteClusterInputBody) Encode added in v0.11.0

Encode implements json.Marshaler.

func (*RegisterOrgCIBuildkiteClusterInputBody) GetAdditionalProps added in v0.11.0

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

GetLabel returns the value of Label.

func (*RegisterOrgCIBuildkiteClusterInputBody) GetSchema added in v0.11.0

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

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

SetLabel sets the value of Label.

func (*RegisterOrgCIBuildkiteClusterInputBody) SetSchema added in v0.11.0

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

type RegisterOrgCIBuildkiteClusterInputBodyAdditional added in v0.11.0

type RegisterOrgCIBuildkiteClusterInputBodyAdditional map[string]jx.Raw

func (*RegisterOrgCIBuildkiteClusterInputBodyAdditional) Decode added in v0.11.0

Decode decodes RegisterOrgCIBuildkiteClusterInputBodyAdditional from json.

func (RegisterOrgCIBuildkiteClusterInputBodyAdditional) Encode added in v0.11.0

Encode implements json.Marshaler.

func (RegisterOrgCIBuildkiteClusterInputBodyAdditional) MarshalJSON added in v0.11.0

MarshalJSON implements stdjson.Marshaler.

func (*RegisterOrgCIBuildkiteClusterInputBodyAdditional) UnmarshalJSON added in v0.11.0

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

type RemoveOrgMemberByMembershipIDParams struct {
	OrgId        string
	MembershipId string
}

RemoveOrgMemberByMembershipIDParams is parameters of removeOrgMemberByMembershipID operation.

type RemoveOrgMemberNoContent

type RemoveOrgMemberNoContent struct{}

RemoveOrgMemberNoContent is response for RemoveOrgMember operation.

type RemoveOrgMemberParams

type RemoveOrgMemberParams struct {
	OrgId          string
	Provider       string
	ProviderUserId string
}

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) Decode

func (s *Repo) Decode(d *jx.Decoder) error

Decode decodes Repo from json.

func (*Repo) Encode

func (s *Repo) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

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

func (s *Repo) GetClusterHost() OptString

GetClusterHost returns the value of ClusterHost.

func (*Repo) GetClusterSlug added in v0.11.0

func (s *Repo) GetClusterSlug() OptString

GetClusterSlug returns the value of ClusterSlug.

func (*Repo) GetForeign

func (s *Repo) GetForeign() OptBool

GetForeign returns the value of Foreign.

func (*Repo) GetFullName added in v0.9.0

func (s *Repo) GetFullName() OptString

GetFullName returns the value of FullName.

func (*Repo) GetID

func (s *Repo) GetID() string

GetID returns the value of ID.

func (*Repo) GetJurisdiction added in v0.11.0

func (s *Repo) GetJurisdiction() OptString

GetJurisdiction returns the value of Jurisdiction.

func (*Repo) GetMirrorSuspended added in v0.7.7

func (s *Repo) GetMirrorSuspended() OptBool

GetMirrorSuspended returns the value of MirrorSuspended.

func (*Repo) GetMirrorSuspendedAt added in v0.7.7

func (s *Repo) GetMirrorSuspendedAt() OptString

GetMirrorSuspendedAt returns the value of MirrorSuspendedAt.

func (*Repo) GetName

func (s *Repo) GetName() string

GetName returns the value of Name.

func (*Repo) GetObjectFormat

func (s *Repo) GetObjectFormat() OptString

GetObjectFormat returns the value of ObjectFormat.

func (*Repo) GetOwningProjectId

func (s *Repo) GetOwningProjectId() string

GetOwningProjectId returns the value of OwningProjectId.

func (*Repo) GetPath

func (s *Repo) GetPath() OptString

GetPath returns the value of Path.

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

func (s *Repo) GetProvider() OptString

GetProvider returns the value of Provider.

func (*Repo) GetProvisionAttempts

func (s *Repo) GetProvisionAttempts() OptInt64

GetProvisionAttempts returns the value of ProvisionAttempts.

func (*Repo) GetProvisionReason

func (s *Repo) GetProvisionReason() OptString

GetProvisionReason returns the value of ProvisionReason.

func (*Repo) GetRepoGroupId added in v0.9.0

func (s *Repo) GetRepoGroupId() OptString

GetRepoGroupId returns the value of RepoGroupId.

func (*Repo) GetSchema

func (s *Repo) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*Repo) GetState

func (s *Repo) GetState() OptString

GetState returns the value of State.

func (*Repo) GetVisibility added in v0.7.8

func (s *Repo) GetVisibility() OptString

GetVisibility returns the value of Visibility.

func (*Repo) MarshalJSON

func (s *Repo) MarshalJSON() ([]byte, error)

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

func (s *Repo) SetClusterHost(val OptString)

SetClusterHost sets the value of ClusterHost.

func (*Repo) SetClusterSlug added in v0.11.0

func (s *Repo) SetClusterSlug(val OptString)

SetClusterSlug sets the value of ClusterSlug.

func (*Repo) SetForeign

func (s *Repo) SetForeign(val OptBool)

SetForeign sets the value of Foreign.

func (*Repo) SetFullName added in v0.9.0

func (s *Repo) SetFullName(val OptString)

SetFullName sets the value of FullName.

func (*Repo) SetID

func (s *Repo) SetID(val string)

SetID sets the value of ID.

func (*Repo) SetJurisdiction added in v0.11.0

func (s *Repo) SetJurisdiction(val OptString)

SetJurisdiction sets the value of Jurisdiction.

func (*Repo) SetMirrorSuspended added in v0.7.7

func (s *Repo) SetMirrorSuspended(val OptBool)

SetMirrorSuspended sets the value of MirrorSuspended.

func (*Repo) SetMirrorSuspendedAt added in v0.7.7

func (s *Repo) SetMirrorSuspendedAt(val OptString)

SetMirrorSuspendedAt sets the value of MirrorSuspendedAt.

func (*Repo) SetName

func (s *Repo) SetName(val string)

SetName sets the value of Name.

func (*Repo) SetObjectFormat

func (s *Repo) SetObjectFormat(val OptString)

SetObjectFormat sets the value of ObjectFormat.

func (*Repo) SetOwningProjectId

func (s *Repo) SetOwningProjectId(val string)

SetOwningProjectId sets the value of OwningProjectId.

func (*Repo) SetPath

func (s *Repo) SetPath(val OptString)

SetPath sets the value of Path.

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

func (s *Repo) SetProvider(val OptString)

SetProvider sets the value of Provider.

func (*Repo) SetProvisionAttempts

func (s *Repo) SetProvisionAttempts(val OptInt64)

SetProvisionAttempts sets the value of ProvisionAttempts.

func (*Repo) SetProvisionReason

func (s *Repo) SetProvisionReason(val OptString)

SetProvisionReason sets the value of ProvisionReason.

func (*Repo) SetRepoGroupId added in v0.9.0

func (s *Repo) SetRepoGroupId(val OptString)

SetRepoGroupId sets the value of RepoGroupId.

func (*Repo) SetSchema

func (s *Repo) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*Repo) SetState

func (s *Repo) SetState(val OptString)

SetState sets the value of State.

func (*Repo) SetVisibility added in v0.7.8

func (s *Repo) SetVisibility(val OptString)

SetVisibility sets the value of Visibility.

func (*Repo) UnmarshalJSON

func (s *Repo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Repo) Validate

func (s *Repo) Validate() error

type RepoAdditional added in v0.7.6

type RepoAdditional map[string]jx.Raw

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

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

type RepoCandidateAdditional map[string]jx.Raw

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

type RepoCapabilitiesAdditional map[string]jx.Raw

func (*RepoCapabilitiesAdditional) Decode added in v0.11.0

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

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

type RepoCollaboratorAdditional map[string]jx.Raw

func (*RepoCollaboratorAdditional) Decode added in v0.11.0

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

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

type RepoFacetPageAdditional map[string]jx.Raw

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) Decode added in v0.7.8

func (s *RepoGrant) Decode(d *jx.Decoder) error

Decode decodes RepoGrant from json.

func (*RepoGrant) Encode added in v0.7.8

func (s *RepoGrant) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

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

func (s *RepoGrant) GetDisplayName() OptString

GetDisplayName returns the value of DisplayName.

func (*RepoGrant) GetGranteeId added in v0.7.8

func (s *RepoGrant) GetGranteeId() string

GetGranteeId returns the value of GranteeId.

func (*RepoGrant) GetGranteeName added in v0.7.8

func (s *RepoGrant) GetGranteeName() OptString

GetGranteeName returns the value of GranteeName.

func (*RepoGrant) GetGranteeType added in v0.7.8

func (s *RepoGrant) GetGranteeType() string

GetGranteeType returns the value of GranteeType.

func (*RepoGrant) GetRole added in v0.7.8

func (s *RepoGrant) GetRole() string

GetRole returns the value of Role.

func (*RepoGrant) GetSource added in v0.7.8

func (s *RepoGrant) GetSource() string

GetSource returns the value of Source.

func (*RepoGrant) MarshalJSON added in v0.7.8

func (s *RepoGrant) MarshalJSON() ([]byte, error)

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

func (s *RepoGrant) SetDisplayName(val OptString)

SetDisplayName sets the value of DisplayName.

func (*RepoGrant) SetGranteeId added in v0.7.8

func (s *RepoGrant) SetGranteeId(val string)

SetGranteeId sets the value of GranteeId.

func (*RepoGrant) SetGranteeName added in v0.7.8

func (s *RepoGrant) SetGranteeName(val OptString)

SetGranteeName sets the value of GranteeName.

func (*RepoGrant) SetGranteeType added in v0.7.8

func (s *RepoGrant) SetGranteeType(val string)

SetGranteeType sets the value of GranteeType.

func (*RepoGrant) SetRole added in v0.7.8

func (s *RepoGrant) SetRole(val string)

SetRole sets the value of Role.

func (*RepoGrant) SetSource added in v0.7.8

func (s *RepoGrant) SetSource(val string)

SetSource sets the value of Source.

func (*RepoGrant) UnmarshalJSON added in v0.7.8

func (s *RepoGrant) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RepoGrantAdditional added in v0.7.8

type RepoGrantAdditional map[string]jx.Raw

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

type RepoHeaders struct {
	RetryAfter OptString
	Response   Repo
}

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

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

type RepoIDResolutionAdditional map[string]jx.Raw

func (*RepoIDResolutionAdditional) Decode added in v0.11.0

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"
	RepoIDResolutionStatusUnavailable RepoIDResolutionStatus = "unavailable"
)

func (RepoIDResolutionStatus) AllValues added in v0.11.0

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

type RepoIndexEntryAdditional map[string]jx.Raw

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

type RepoPlacementAdditional map[string]jx.Raw

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

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

type RepoPrimariesAdditional map[string]jx.Raw

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

type RepoReferenceAdditional map[string]jx.Raw

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

type RepoResolutionAdditional map[string]jx.Raw

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"
	RepoResolutionStatusUnavailable RepoResolutionStatus = "unavailable"
)

func (RepoResolutionStatus) AllValues added in v0.11.0

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

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

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

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

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

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

type ResolvePlacementsOutputBodyAdditional map[string]jx.Raw

func (*ResolvePlacementsOutputBodyAdditional) Decode added in v0.9.0

Decode decodes ResolvePlacementsOutputBodyAdditional from json.

func (ResolvePlacementsOutputBodyAdditional) Encode added in v0.9.0

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

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

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

type ResolveProjectOutputBodyAdditional map[string]jx.Raw

func (*ResolveProjectOutputBodyAdditional) Decode added in v0.11.3

Decode decodes ResolveProjectOutputBodyAdditional from json.

func (ResolveProjectOutputBodyAdditional) Encode added in v0.11.3

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

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

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

type ResolveRepoIDsInputBodyAdditional map[string]jx.Raw

func (*ResolveRepoIDsInputBodyAdditional) Decode added in v0.11.0

Decode decodes ResolveRepoIDsInputBodyAdditional from json.

func (ResolveRepoIDsInputBodyAdditional) Encode added in v0.11.0

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

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

type ResolveRepoIDsResponseAdditional map[string]jx.Raw

func (*ResolveRepoIDsResponseAdditional) Decode added in v0.11.0

Decode decodes ResolveRepoIDsResponseAdditional from json.

func (ResolveRepoIDsResponseAdditional) Encode added in v0.11.0

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

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

type ResolveReposInputBodyAdditional map[string]jx.Raw

func (*ResolveReposInputBodyAdditional) Decode added in v0.11.0

Decode decodes ResolveReposInputBodyAdditional from json.

func (ResolveReposInputBodyAdditional) Encode added in v0.11.0

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

type ResolveReposResponseAdditional map[string]jx.Raw

func (*ResolveReposResponseAdditional) Decode added in v0.11.0

Decode decodes ResolveReposResponseAdditional from json.

func (ResolveReposResponseAdditional) Encode added in v0.11.0

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

type ResolvedIdentityAdditional map[string]jx.Raw

func (*ResolvedIdentityAdditional) Decode added in v0.7.6

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

type ResolvedPlacementAdditional map[string]jx.Raw

func (*ResolvedPlacementAdditional) Decode added in v0.9.0

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

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

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

type ResourcePeopleOutputBodyAdditional map[string]jx.Raw

func (*ResourcePeopleOutputBodyAdditional) Decode added in v0.11.3

Decode decodes ResourcePeopleOutputBodyAdditional from json.

func (ResourcePeopleOutputBodyAdditional) Encode added in v0.11.3

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

type ResourcePersonAdditional map[string]jx.Raw

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

GetAdditionalProps returns the value of AdditionalProps.

func (*ResourcePersonDirectGrant) GetRole added in v0.11.3

GetRole returns the value of Role.

func (*ResourcePersonDirectGrant) GetSource added in v0.11.3

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

SetAdditionalProps sets the value of AdditionalProps.

func (*ResourcePersonDirectGrant) SetRole added in v0.11.3

SetRole sets the value of Role.

func (*ResourcePersonDirectGrant) SetSource added in v0.11.3

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

type ResourcePersonDirectGrantAdditional map[string]jx.Raw

func (*ResourcePersonDirectGrantAdditional) Decode added in v0.11.3

Decode decodes ResourcePersonDirectGrantAdditional from json.

func (ResourcePersonDirectGrantAdditional) Encode added in v0.11.3

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

AllValues returns all ResourcePersonDirectGrantRole values.

func (*ResourcePersonDirectGrantRole) Decode added in v0.11.3

Decode decodes ResourcePersonDirectGrantRole from json.

func (ResourcePersonDirectGrantRole) Encode added in v0.11.3

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

AllValues returns all ResourcePersonDirectGrantSource values.

func (*ResourcePersonDirectGrantSource) Decode added in v0.11.3

Decode decodes ResourcePersonDirectGrantSource from json.

func (ResourcePersonDirectGrantSource) Encode added in v0.11.3

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

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

GetRole returns the value of Role.

func (*ResourcePersonSource) GetSource added in v0.11.3

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

SetRole sets the value of Role.

func (*ResourcePersonSource) SetSource added in v0.11.3

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

type ResourcePersonSourceAdditional map[string]jx.Raw

func (*ResourcePersonSourceAdditional) Decode added in v0.11.3

Decode decodes ResourcePersonSourceAdditional from json.

func (ResourcePersonSourceAdditional) Encode added in v0.11.3

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

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

AllValues returns all ResourcePersonSourceSource values.

func (*ResourcePersonSourceSource) Decode added in v0.11.3

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

type RevokeOrgInvitationParams struct {
	OrgId string
	ID    string
}

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

type RevokeProjectAccessParams struct {
	ProjectId   string
	GranteeType string
	GranteeId   string
}

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

type RevokeRepoAccessParams struct {
	RepoId      string
	GranteeType string
	GranteeId   string
}

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

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

type RotateOrgCIBuildkiteInboundSecretParams added in v0.11.0

type RotateOrgCIBuildkiteInboundSecretParams struct {
	OrgId string
	BkOrg string
}

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

type ServiceAccountAdditional map[string]jx.Raw

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

type ServiceAccountGrantAdditional map[string]jx.Raw

func (*ServiceAccountGrantAdditional) Decode added in v0.7.6

Decode decodes ServiceAccountGrantAdditional from json.

func (ServiceAccountGrantAdditional) Encode added in v0.7.6

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

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

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

type ServiceAccountWithGrantsAdditional map[string]jx.Raw

func (*ServiceAccountWithGrantsAdditional) Decode added in v0.7.6

Decode decodes ServiceAccountWithGrantsAdditional from json.

func (ServiceAccountWithGrantsAdditional) Encode added in v0.7.6

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

type SessionAuth struct {
	APIKey string
	Roles  []string
}

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

Decode decodes SetPluginInstallationRepositoriesInputBody from json.

func (*SetPluginInstallationRepositoriesInputBody) Encode added in v0.11.4

Encode implements json.Marshaler.

func (*SetPluginInstallationRepositoriesInputBody) GetAdditionalProps added in v0.11.4

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

GetRepositorySelection returns the value of RepositorySelection.

func (*SetPluginInstallationRepositoriesInputBody) GetSchema added in v0.11.4

GetSchema returns the value of Schema.

func (*SetPluginInstallationRepositoriesInputBody) MarshalJSON added in v0.11.4

MarshalJSON implements stdjson.Marshaler.

func (*SetPluginInstallationRepositoriesInputBody) SetAdditionalProps added in v0.11.4

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

SetRepositorySelection sets the value of RepositorySelection.

func (*SetPluginInstallationRepositoriesInputBody) SetSchema added in v0.11.4

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

type SetPluginInstallationRepositoriesInputBodyAdditional added in v0.11.4

type SetPluginInstallationRepositoriesInputBodyAdditional map[string]jx.Raw

func (*SetPluginInstallationRepositoriesInputBodyAdditional) Decode added in v0.11.4

Decode decodes SetPluginInstallationRepositoriesInputBodyAdditional from json.

func (SetPluginInstallationRepositoriesInputBodyAdditional) Encode added in v0.11.4

Encode implements json.Marshaler.

func (SetPluginInstallationRepositoriesInputBodyAdditional) MarshalJSON added in v0.11.4

MarshalJSON implements stdjson.Marshaler.

func (*SetPluginInstallationRepositoriesInputBodyAdditional) UnmarshalJSON added in v0.11.4

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

AllValues returns all SetPluginInstallationRepositoriesInputBodyRepositorySelection values.

func (*SetPluginInstallationRepositoriesInputBodyRepositorySelection) Decode added in v0.11.4

Decode decodes SetPluginInstallationRepositoriesInputBodyRepositorySelection from json.

func (SetPluginInstallationRepositoriesInputBodyRepositorySelection) Encode added in v0.11.4

Encode encodes SetPluginInstallationRepositoriesInputBodyRepositorySelection as json.

func (SetPluginInstallationRepositoriesInputBodyRepositorySelection) MarshalJSON added in v0.11.4

MarshalJSON implements stdjson.Marshaler.

func (SetPluginInstallationRepositoriesInputBodyRepositorySelection) MarshalText added in v0.11.4

MarshalText implements encoding.TextMarshaler.

func (*SetPluginInstallationRepositoriesInputBodyRepositorySelection) UnmarshalJSON added in v0.11.4

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SetPluginInstallationRepositoriesInputBodyRepositorySelection) UnmarshalText added in v0.11.4

UnmarshalText implements encoding.TextUnmarshaler.

func (SetPluginInstallationRepositoriesInputBodyRepositorySelection) Validate added in v0.11.4

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

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

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

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

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

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

type SetRepoVisibilityInputBodyAdditional map[string]jx.Raw

func (*SetRepoVisibilityInputBodyAdditional) Decode added in v0.7.8

Decode decodes SetRepoVisibilityInputBodyAdditional from json.

func (SetRepoVisibilityInputBodyAdditional) Encode added in v0.7.8

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

AllValues returns all SetRepoVisibilityInputBodyVisibility values.

func (*SetRepoVisibilityInputBodyVisibility) Decode added in v0.7.8

Decode decodes SetRepoVisibilityInputBodyVisibility from json.

func (SetRepoVisibilityInputBodyVisibility) Encode added in v0.7.8

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

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

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

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

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

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

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

type SetRepoVisibilityOutputBodyAdditional map[string]jx.Raw

func (*SetRepoVisibilityOutputBodyAdditional) Decode added in v0.7.8

Decode decodes SetRepoVisibilityOutputBodyAdditional from json.

func (SetRepoVisibilityOutputBodyAdditional) Encode added in v0.7.8

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

AllValues returns all SetRepoVisibilityOutputBodyVisibility values.

func (*SetRepoVisibilityOutputBodyVisibility) Decode added in v0.7.8

Decode decodes SetRepoVisibilityOutputBodyVisibility from json.

func (SetRepoVisibilityOutputBodyVisibility) Encode added in v0.7.8

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

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

type TopologyClusterAdditional map[string]jx.Raw

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

type TopologyJurisdictionAdditional map[string]jx.Raw

func (*TopologyJurisdictionAdditional) Decode added in v0.9.0

Decode decodes TopologyJurisdictionAdditional from json.

func (TopologyJurisdictionAdditional) Encode added in v0.9.0

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

type TopologyRegionAdditional map[string]jx.Raw

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

Decode decodes UpdateBranchProtectionInputBody from json.

func (*UpdateBranchProtectionInputBody) Encode added in v0.11.0

Encode implements json.Marshaler.

func (*UpdateBranchProtectionInputBody) GetAddRules added in v0.11.0

GetAddRules returns the value of AddRules.

func (*UpdateBranchProtectionInputBody) GetAdditionalProps added in v0.11.0

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

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

type UpdateBranchProtectionInputBodyAdditional map[string]jx.Raw

func (*UpdateBranchProtectionInputBodyAdditional) Decode added in v0.11.0

Decode decodes UpdateBranchProtectionInputBodyAdditional from json.

func (UpdateBranchProtectionInputBodyAdditional) Encode added in v0.11.0

Encode implements json.Marshaler.

func (UpdateBranchProtectionInputBodyAdditional) MarshalJSON added in v0.11.0

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

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

GetAdditionalProps returns the value of AdditionalProps.

func (*UpdateOrgMemberRoleInputBody) GetRole added in v0.11.3

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

SetAdditionalProps sets the value of AdditionalProps.

func (*UpdateOrgMemberRoleInputBody) SetRole added in v0.11.3

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

type UpdateOrgMemberRoleInputBodyAdditional map[string]jx.Raw

func (*UpdateOrgMemberRoleInputBodyAdditional) Decode added in v0.11.3

Decode decodes UpdateOrgMemberRoleInputBodyAdditional from json.

func (UpdateOrgMemberRoleInputBodyAdditional) Encode added in v0.11.3

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

AllValues returns all UpdateOrgMemberRoleInputBodyRole values.

func (*UpdateOrgMemberRoleInputBodyRole) Decode added in v0.11.3

Decode decodes UpdateOrgMemberRoleInputBodyRole from json.

func (UpdateOrgMemberRoleInputBodyRole) Encode added in v0.11.3

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

type UpdateOrgMemberRoleParams added in v0.11.3

type UpdateOrgMemberRoleParams struct {
	OrgId        string
	MembershipId string
}

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

type WillDeleteStructAdditional map[string]jx.Raw

func (*WillDeleteStructAdditional) Decode added in v0.9.0

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

type WillUnlinkStructAdditional map[string]jx.Raw

func (*WillUnlinkStructAdditional) Decode added in v0.9.0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL