coreapi

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 27 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 \
    -o internal/coreapi/spec/core.openapi.json
go generate ./internal/coreapi/...

The hand-written authenticated constructor and error helpers live in client.go alongside the generated code.

The trailing `gofmt -s -w .` is load-bearing: ogen emits empty role slices as `[]string{}`, but `lint:gofmt` enforces the simplified form (`gofmt -l -s`), which collapses them to `{}`. Running the simplify pass here keeps a bare `go generate` idempotent and CI-clean instead of leaving churn that lint rejects.

Index

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 WithServerURL

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

WithServerURL sets context key to override server URL.

Types

type AddOrgMemberInputBody

type AddOrgMemberInputBody struct {
	// A URL to the JSON Schema for this object.
	Schema         OptURI `json:"$schema"`
	Provider       string `json:"provider"`
	ProviderUserId string `json:"providerUserId"`
	// Role at the org; defaults to member.
	Role            OptAddOrgMemberInputBodyRole `json:"role"`
	AdditionalProps AddOrgMemberInputBodyAdditional
}

Ref: #/components/schemas/AddOrgMemberInputBody

func (*AddOrgMemberInputBody) Decode

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

Decode decodes AddOrgMemberInputBody from json.

func (*AddOrgMemberInputBody) Encode

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

Encode implements json.Marshaler.

func (*AddOrgMemberInputBody) GetAdditionalProps added in v0.7.6

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 BatchLookupInputBody

type BatchLookupInputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI      `json:"$schema"`
	Refs            []LookupRef `json:"refs"`
	AdditionalProps BatchLookupInputBodyAdditional
}

Ref: #/components/schemas/BatchLookupInputBody

func (*BatchLookupInputBody) Decode

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

Decode decodes BatchLookupInputBody from json.

func (*BatchLookupInputBody) Encode

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

Encode implements json.Marshaler.

func (*BatchLookupInputBody) GetAdditionalProps added in v0.7.6

func (s *BatchLookupInputBody) GetAdditionalProps() BatchLookupInputBodyAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*BatchLookupInputBody) GetRefs

func (s *BatchLookupInputBody) GetRefs() []LookupRef

GetRefs returns the value of Refs.

func (*BatchLookupInputBody) GetSchema

func (s *BatchLookupInputBody) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*BatchLookupInputBody) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BatchLookupInputBody) SetAdditionalProps added in v0.7.6

func (s *BatchLookupInputBody) SetAdditionalProps(val BatchLookupInputBodyAdditional)

SetAdditionalProps sets the value of AdditionalProps.

func (*BatchLookupInputBody) SetRefs

func (s *BatchLookupInputBody) SetRefs(val []LookupRef)

SetRefs sets the value of Refs.

func (*BatchLookupInputBody) SetSchema

func (s *BatchLookupInputBody) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*BatchLookupInputBody) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BatchLookupInputBody) Validate

func (s *BatchLookupInputBody) Validate() error

type BatchLookupInputBodyAdditional added in v0.7.6

type BatchLookupInputBodyAdditional map[string]jx.Raw

func (*BatchLookupInputBodyAdditional) Decode added in v0.7.6

Decode decodes BatchLookupInputBodyAdditional from json.

func (BatchLookupInputBodyAdditional) Encode added in v0.7.6

Encode implements json.Marshaler.

func (BatchLookupInputBodyAdditional) MarshalJSON added in v0.7.6

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

MarshalJSON implements stdjson.Marshaler.

func (*BatchLookupInputBodyAdditional) UnmarshalJSON added in v0.7.6

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BatchLookupOutputBody

type BatchLookupOutputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI            `json:"$schema"`
	Refs            []LookupRefResult `json:"refs"`
	AdditionalProps BatchLookupOutputBodyAdditional
}

Ref: #/components/schemas/BatchLookupOutputBody

func (*BatchLookupOutputBody) Decode

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

Decode decodes BatchLookupOutputBody from json.

func (*BatchLookupOutputBody) Encode

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

Encode implements json.Marshaler.

func (*BatchLookupOutputBody) GetAdditionalProps added in v0.7.6

GetAdditionalProps returns the value of AdditionalProps.

func (*BatchLookupOutputBody) GetRefs

func (s *BatchLookupOutputBody) GetRefs() []LookupRefResult

GetRefs returns the value of Refs.

func (*BatchLookupOutputBody) GetSchema

func (s *BatchLookupOutputBody) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*BatchLookupOutputBody) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*BatchLookupOutputBody) SetAdditionalProps added in v0.7.6

func (s *BatchLookupOutputBody) SetAdditionalProps(val BatchLookupOutputBodyAdditional)

SetAdditionalProps sets the value of AdditionalProps.

func (*BatchLookupOutputBody) SetRefs

func (s *BatchLookupOutputBody) SetRefs(val []LookupRefResult)

SetRefs sets the value of Refs.

func (*BatchLookupOutputBody) SetSchema

func (s *BatchLookupOutputBody) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*BatchLookupOutputBody) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BatchLookupOutputBody) Validate

func (s *BatchLookupOutputBody) Validate() error

type BatchLookupOutputBodyAdditional added in v0.7.6

type BatchLookupOutputBodyAdditional map[string]jx.Raw

func (*BatchLookupOutputBodyAdditional) Decode added in v0.7.6

Decode decodes BatchLookupOutputBodyAdditional from json.

func (BatchLookupOutputBodyAdditional) Encode added in v0.7.6

Encode implements json.Marshaler.

func (BatchLookupOutputBodyAdditional) MarshalJSON added in v0.7.6

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

MarshalJSON implements stdjson.Marshaler.

func (*BatchLookupOutputBodyAdditional) UnmarshalJSON added in v0.7.6

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

UnmarshalJSON implements stdjson.Unmarshaler.

type BearerAuth

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 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 use <ctx>` retargets the control plane onto that login server; with no active context this errors with the `entire login` hint. The Core API is served at <host>/api/v1. The bearer is resolved lazily per request, re-minting silently from the stored refresh token.

For a resource whose home jurisdiction is another region, the client's transport follows the home core's 421 redirect and exchanges the login token for one that core accepts (see newCrossJurisHTTPClient).

func NewClient

func NewClient(serverURL string, sec SecuritySource, opts ...ClientOption) (*Client, error)

NewClient initializes new Client defined by OAS.

func 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) AddOrgMember

func (c *Client) AddOrgMember(ctx context.Context, request *AddOrgMemberInputBody, params AddOrgMemberParams) (*Membership, error)

AddOrgMember invokes addOrgMember operation.

Add a member to an organization.

POST /orgs/{orgId}/members

func (*Client) BatchLookup

func (c *Client) BatchLookup(ctx context.Context, request *BatchLookupInputBody) (*BatchLookupOutputBody, error)

BatchLookup invokes batchLookup operation.

Batch-resolve (type, id) refs to enriched records.

POST /lookup

func (*Client) CreateBinding

func (c *Client) CreateBinding(ctx context.Context, request *CreateBindingInputBody, params CreateBindingParams) (*Binding, error)

CreateBinding invokes createBinding operation.

Create OIDC binding.

POST /service-accounts/{accountId}/bindings

func (*Client) CreateMirror

func (c *Client) CreateMirror(ctx context.Context, request *CreateMirrorInputBody) (*CreatedMirror, error)

CreateMirror invokes createMirror operation.

Create GitHub mirror.

POST /mirrors

func (*Client) CreateOrg

func (c *Client) CreateOrg(ctx context.Context, request *CreateOrgInputBody) (*Org, error)

CreateOrg invokes createOrg operation.

Create organization.

POST /orgs

func (*Client) CreateProject

func (c *Client) CreateProject(ctx context.Context, request *CreateProjectInputBody) (*Project, error)

CreateProject invokes createProject operation.

Create project.

POST /projects

func (*Client) CreateRepo

func (c *Client) CreateRepo(ctx context.Context, request *CreateRepoInputBody) (*Repo, error)

CreateRepo invokes createRepo operation.

Create repository.

POST /repos

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

func (c *Client) DeleteRepo(ctx context.Context, params DeleteRepoParams) error

DeleteRepo invokes deleteRepo operation.

Delete repository.

DELETE /repos/{repoId}

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

func (c *Client) GetPermissions(ctx context.Context, params GetPermissionsParams) (*GetPermissionsOutputBody, error)

GetPermissions invokes getPermissions operation.

List the caller's permissions on a single resource.

GET /access/{resourceType}/{resourceId}

func (*Client) GetRepo

func (c *Client) GetRepo(ctx context.Context, params GetRepoParams) (*Repo, error)

GetRepo invokes getRepo operation.

Get repository.

GET /repos/{repoId}

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) 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) GrantMirrorCollaborator added in v0.7.7

func (c *Client) GrantMirrorCollaborator(ctx context.Context, request *GrantMirrorCollaboratorInputBody) (*GrantedMirrorCollaborator, error)

GrantMirrorCollaborator invokes grantMirrorCollaborator operation.

Grant a user reader/writer access to a mirror (live GitHub-admin gated).

POST /mirrors/collaborators

func (*Client) GrantProjectAccess

GrantProjectAccess invokes grantProjectAccess operation.

Grant project access to an identity.

POST /projects/{projectId}/grants

func (*Client) GrantRepoAccess

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) (*ListAuditEventsOutputBody, error)

ListAuditEvents invokes listAuditEvents operation.

List the calling account's recent audit events.

GET /audit

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) ListMirrorCollaborators added in v0.7.7

func (c *Client) ListMirrorCollaborators(ctx context.Context, params ListMirrorCollaboratorsParams) (*ListMirrorCollaboratorsOutputBody, error)

ListMirrorCollaborators invokes listMirrorCollaborators operation.

List the principals with access to a mirror (live GitHub-admin gated).

GET /mirrors/collaborators

func (*Client) ListMirrors

func (c *Client) ListMirrors(ctx context.Context, params ListMirrorsParams) (*ListMirrorsOutputBody, error)

ListMirrors invokes listMirrors operation.

List mirrors visible to the caller.

GET /mirrors

func (*Client) ListOIDCProviders

func (c *Client) ListOIDCProviders(ctx context.Context) (*ListOIDCProvidersOutputBody, error)

ListOIDCProviders invokes listOIDCProviders operation.

List federated OIDC identity providers.

GET /oidc-providers

func (*Client) ListOrgMembers

func (c *Client) ListOrgMembers(ctx context.Context, params ListOrgMembersParams) (*ListOrgMembersOutputBody, error)

ListOrgMembers invokes listOrgMembers operation.

List members of an organization.

GET /orgs/{orgId}/members

func (*Client) ListOrgProjects

func (c *Client) ListOrgProjects(ctx context.Context, params ListOrgProjectsParams) (*ListOrgProjectsOutputBody, error)

ListOrgProjects invokes listOrgProjects operation.

List projects owned by an organization.

GET /orgs/{orgId}/projects

func (*Client) ListOrgs

func (c *Client) ListOrgs(ctx context.Context) (*ListOrgsOutputBody, error)

ListOrgs invokes listOrgs operation.

List organizations the caller can see.

GET /orgs

func (*Client) ListProjectMembers

func (c *Client) ListProjectMembers(ctx context.Context, params ListProjectMembersParams) (*ListProjectMembersOutputBody, error)

ListProjectMembers invokes listProjectMembers operation.

List project members and their roles.

GET /projects/{projectId}/members

func (*Client) ListProjectRepos

func (c *Client) ListProjectRepos(ctx context.Context, params ListProjectReposParams) (*ListProjectReposOutputBody, error)

ListProjectRepos invokes listProjectRepos operation.

List repositories in a project.

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

func (c *Client) LookupResources(ctx context.Context, params LookupResourcesParams) (*LookupResourcesOutputBody, error)

LookupResources invokes lookupResources operation.

List resources of a type the caller can access.

GET /access/{resourceType}

func (*Client) RemoveOrgMember

func (c *Client) RemoveOrgMember(ctx context.Context, params RemoveOrgMemberParams) error

RemoveOrgMember invokes removeOrgMember operation.

Remove a member from an organization.

DELETE /orgs/{orgId}/members/{provider}/{providerUserId}

func (*Client) ResolveHandle

func (c *Client) ResolveHandle(ctx context.Context, params ResolveHandleParams) (*ResolvedIdentity, error)

ResolveHandle invokes resolveHandle operation.

Resolve account by external provider handle.

GET /identity/handles/{provider}/{handle}

func (*Client) RevokeMirrorCollaborator added in v0.7.7

func (c *Client) RevokeMirrorCollaborator(ctx context.Context, params RevokeMirrorCollaboratorParams) error

RevokeMirrorCollaborator invokes revokeMirrorCollaborator operation.

Revoke a user's access to a mirror (live GitHub-admin gated).

DELETE /mirrors/collaborators

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

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 CreateBindingInputBody

type CreateBindingInputBody struct {
	// A URL to the JSON Schema for this object.
	Schema OptURI `json:"$schema"`
	// Exact-match key/value map; empty filter matches any token.
	AttributeFilter jx.Raw `json:"attributeFilter"`
	ProviderId      string `json:"providerId"`
	AdditionalProps CreateBindingInputBodyAdditional
}

Ref: #/components/schemas/CreateBindingInputBody

func (*CreateBindingInputBody) Decode

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

Decode decodes CreateBindingInputBody from json.

func (*CreateBindingInputBody) Encode

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

Encode implements json.Marshaler.

func (*CreateBindingInputBody) GetAdditionalProps added in v0.7.6

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 CreateMirrorInputBody

type CreateMirrorInputBody struct {
	// A URL to the JSON Schema for this object.
	Schema OptURI `json:"$schema"`
	// DNS host of the destination cluster.
	ClusterHost     string                        `json:"clusterHost"`
	Owner           string                        `json:"owner"`
	Provider        CreateMirrorInputBodyProvider `json:"provider"`
	Repo            string                        `json:"repo"`
	AdditionalProps CreateMirrorInputBodyAdditional
}

Ref: #/components/schemas/CreateMirrorInputBody

func (*CreateMirrorInputBody) Decode

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

Decode decodes CreateMirrorInputBody from json.

func (*CreateMirrorInputBody) Encode

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

Encode implements json.Marshaler.

func (*CreateMirrorInputBody) GetAdditionalProps added in v0.7.6

GetAdditionalProps returns the value of AdditionalProps.

func (*CreateMirrorInputBody) GetClusterHost

func (s *CreateMirrorInputBody) GetClusterHost() string

GetClusterHost returns the value of ClusterHost.

func (*CreateMirrorInputBody) GetOwner

func (s *CreateMirrorInputBody) GetOwner() string

GetOwner returns the value of Owner.

func (*CreateMirrorInputBody) GetProvider

GetProvider returns the value of Provider.

func (*CreateMirrorInputBody) GetRepo

func (s *CreateMirrorInputBody) GetRepo() string

GetRepo returns the value of Repo.

func (*CreateMirrorInputBody) GetSchema

func (s *CreateMirrorInputBody) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*CreateMirrorInputBody) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateMirrorInputBody) SetAdditionalProps added in v0.7.6

func (s *CreateMirrorInputBody) SetAdditionalProps(val CreateMirrorInputBodyAdditional)

SetAdditionalProps sets the value of AdditionalProps.

func (*CreateMirrorInputBody) SetClusterHost

func (s *CreateMirrorInputBody) SetClusterHost(val string)

SetClusterHost sets the value of ClusterHost.

func (*CreateMirrorInputBody) SetOwner

func (s *CreateMirrorInputBody) SetOwner(val string)

SetOwner sets the value of Owner.

func (*CreateMirrorInputBody) SetProvider

SetProvider sets the value of Provider.

func (*CreateMirrorInputBody) SetRepo

func (s *CreateMirrorInputBody) SetRepo(val string)

SetRepo sets the value of Repo.

func (*CreateMirrorInputBody) SetSchema

func (s *CreateMirrorInputBody) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*CreateMirrorInputBody) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateMirrorInputBody) Validate

func (s *CreateMirrorInputBody) Validate() error

type CreateMirrorInputBodyAdditional added in v0.7.6

type CreateMirrorInputBodyAdditional map[string]jx.Raw

func (*CreateMirrorInputBodyAdditional) Decode added in v0.7.6

Decode decodes CreateMirrorInputBodyAdditional from json.

func (CreateMirrorInputBodyAdditional) Encode added in v0.7.6

Encode implements json.Marshaler.

func (CreateMirrorInputBodyAdditional) MarshalJSON added in v0.7.6

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateMirrorInputBodyAdditional) UnmarshalJSON added in v0.7.6

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateMirrorInputBodyProvider

type CreateMirrorInputBodyProvider string
const (
	CreateMirrorInputBodyProviderGithub CreateMirrorInputBodyProvider = "github"
)

func (CreateMirrorInputBodyProvider) AllValues

AllValues returns all CreateMirrorInputBodyProvider values.

func (*CreateMirrorInputBodyProvider) Decode

Decode decodes CreateMirrorInputBodyProvider from json.

func (CreateMirrorInputBodyProvider) Encode

Encode encodes CreateMirrorInputBodyProvider as json.

func (CreateMirrorInputBodyProvider) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (CreateMirrorInputBodyProvider) MarshalText

func (s CreateMirrorInputBodyProvider) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*CreateMirrorInputBodyProvider) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateMirrorInputBodyProvider) UnmarshalText

func (s *CreateMirrorInputBodyProvider) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (CreateMirrorInputBodyProvider) Validate

func (s CreateMirrorInputBodyProvider) Validate() error

type CreateOrgInputBody

type CreateOrgInputBody struct {
	// A URL to the JSON Schema for this object.
	Schema OptURI `json:"$schema"`
	// Display name.
	Name string `json:"name"`
	// Jurisdiction slug; defaults to the server's home jurisdiction.
	Region          OptString `json:"region"`
	AdditionalProps CreateOrgInputBodyAdditional
}

Ref: #/components/schemas/CreateOrgInputBody

func (*CreateOrgInputBody) Decode

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

Decode decodes CreateOrgInputBody from json.

func (*CreateOrgInputBody) Encode

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

Encode implements json.Marshaler.

func (*CreateOrgInputBody) GetAdditionalProps added in v0.7.6

func (s *CreateOrgInputBody) GetAdditionalProps() CreateOrgInputBodyAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*CreateOrgInputBody) GetName

func (s *CreateOrgInputBody) GetName() string

GetName returns the value of Name.

func (*CreateOrgInputBody) GetRegion

func (s *CreateOrgInputBody) GetRegion() OptString

GetRegion returns the value of Region.

func (*CreateOrgInputBody) GetSchema

func (s *CreateOrgInputBody) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*CreateOrgInputBody) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreateOrgInputBody) SetAdditionalProps added in v0.7.6

func (s *CreateOrgInputBody) SetAdditionalProps(val CreateOrgInputBodyAdditional)

SetAdditionalProps sets the value of AdditionalProps.

func (*CreateOrgInputBody) SetName

func (s *CreateOrgInputBody) SetName(val string)

SetName sets the value of Name.

func (*CreateOrgInputBody) SetRegion

func (s *CreateOrgInputBody) SetRegion(val OptString)

SetRegion sets the value of Region.

func (*CreateOrgInputBody) SetSchema

func (s *CreateOrgInputBody) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*CreateOrgInputBody) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CreateOrgInputBody) Validate

func (s *CreateOrgInputBody) Validate() error

type CreateOrgInputBodyAdditional added in v0.7.6

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

type CreateRepoInputBody struct {
	// A URL to the JSON Schema for this object.
	Schema OptURI `json:"$schema"`
	// Public host of the cluster to pin the repo to (e.g. royalcanin.partial.to); empty lands on the
	// jurisdiction default.
	ClusterHost OptString `json:"clusterHost"`
	Name        string    `json:"name"`
	// Hash format; defaults to sha1.
	ObjectFormat    OptCreateRepoInputBodyObjectFormat `json:"objectFormat"`
	ProjectId       string                             `json:"projectId"`
	AdditionalProps CreateRepoInputBodyAdditional
}

Ref: #/components/schemas/CreateRepoInputBody

func (*CreateRepoInputBody) Decode

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

Decode decodes CreateRepoInputBody from json.

func (*CreateRepoInputBody) Encode

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

Encode implements json.Marshaler.

func (*CreateRepoInputBody) GetAdditionalProps added in v0.7.6

func (s *CreateRepoInputBody) GetAdditionalProps() CreateRepoInputBodyAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*CreateRepoInputBody) GetClusterHost

func (s *CreateRepoInputBody) GetClusterHost() OptString

GetClusterHost returns the value of ClusterHost.

func (*CreateRepoInputBody) GetName

func (s *CreateRepoInputBody) GetName() string

GetName returns the value of Name.

func (*CreateRepoInputBody) GetObjectFormat

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 CreatedMirror

type CreatedMirror struct {
	// A URL to the JSON Schema for this object.
	Schema OptURI `json:"$schema"`
	// True on fresh creation; false when an existing mirror was returned.
	Created bool `json:"created"`
	// True when the upstream has no refs to clone.
	Empty           bool   `json:"empty"`
	MirrorId        string `json:"mirrorId"`
	MirrorUrl       string `json:"mirrorUrl"`
	PublicUrl       string `json:"publicUrl"`
	AdditionalProps CreatedMirrorAdditional
}

Ref: #/components/schemas/CreatedMirror

func (*CreatedMirror) Decode

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

Decode decodes CreatedMirror from json.

func (*CreatedMirror) Encode

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

Encode implements json.Marshaler.

func (*CreatedMirror) GetAdditionalProps added in v0.7.6

func (s *CreatedMirror) GetAdditionalProps() CreatedMirrorAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*CreatedMirror) GetCreated

func (s *CreatedMirror) GetCreated() bool

GetCreated returns the value of Created.

func (*CreatedMirror) GetEmpty added in v0.7.4

func (s *CreatedMirror) GetEmpty() bool

GetEmpty returns the value of Empty.

func (*CreatedMirror) GetMirrorId

func (s *CreatedMirror) GetMirrorId() string

GetMirrorId returns the value of MirrorId.

func (*CreatedMirror) GetMirrorUrl

func (s *CreatedMirror) GetMirrorUrl() string

GetMirrorUrl returns the value of MirrorUrl.

func (*CreatedMirror) GetPublicUrl

func (s *CreatedMirror) GetPublicUrl() string

GetPublicUrl returns the value of PublicUrl.

func (*CreatedMirror) GetSchema

func (s *CreatedMirror) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*CreatedMirror) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*CreatedMirror) SetAdditionalProps added in v0.7.6

func (s *CreatedMirror) SetAdditionalProps(val CreatedMirrorAdditional)

SetAdditionalProps sets the value of AdditionalProps.

func (*CreatedMirror) SetCreated

func (s *CreatedMirror) SetCreated(val bool)

SetCreated sets the value of Created.

func (*CreatedMirror) SetEmpty added in v0.7.4

func (s *CreatedMirror) SetEmpty(val bool)

SetEmpty sets the value of Empty.

func (*CreatedMirror) SetMirrorId

func (s *CreatedMirror) SetMirrorId(val string)

SetMirrorId sets the value of MirrorId.

func (*CreatedMirror) SetMirrorUrl

func (s *CreatedMirror) SetMirrorUrl(val string)

SetMirrorUrl sets the value of MirrorUrl.

func (*CreatedMirror) SetPublicUrl

func (s *CreatedMirror) SetPublicUrl(val string)

SetPublicUrl sets the value of PublicUrl.

func (*CreatedMirror) SetSchema

func (s *CreatedMirror) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*CreatedMirror) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type CreatedMirrorAdditional added in v0.7.6

type CreatedMirrorAdditional map[string]jx.Raw

func (*CreatedMirrorAdditional) Decode added in v0.7.6

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

Decode decodes CreatedMirrorAdditional from json.

func (CreatedMirrorAdditional) Encode added in v0.7.6

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

Encode implements json.Marshaler.

func (CreatedMirrorAdditional) MarshalJSON added in v0.7.6

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

MarshalJSON implements stdjson.Marshaler.

func (*CreatedMirrorAdditional) UnmarshalJSON added in v0.7.6

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

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteBindingNoContent

type DeleteBindingNoContent struct{}

DeleteBindingNoContent is response for DeleteBinding operation.

type DeleteBindingParams

type DeleteBindingParams struct {
	AccountId string
	BindingId string
}

DeleteBindingParams is parameters of deleteBinding 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 DeleteRepoNoContent

type DeleteRepoNoContent struct{}

DeleteRepoNoContent is response for DeleteRepo operation.

type DeleteRepoParams

type DeleteRepoParams struct {
	RepoId string
}

DeleteRepoParams is parameters of deleteRepo operation.

type DeleteServiceAccountNoContent

type DeleteServiceAccountNoContent struct{}

DeleteServiceAccountNoContent is response for DeleteServiceAccount operation.

type DeleteServiceAccountParams

type DeleteServiceAccountParams struct {
	AccountId string
}

DeleteServiceAccountParams is parameters of deleteServiceAccount operation.

type 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 GetMeOutputBody

type GetMeOutputBody struct {
	// A URL to the JSON Schema for this object.
	Schema              OptURI                   `json:"$schema"`
	Auth                MeAuth                   `json:"auth"`
	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) 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) 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 (
	GetMeOutputBodyModeStandalone GetMeOutputBodyMode = "standalone"
	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 GetPermissionsOutputBody

type GetPermissionsOutputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI                             `json:"$schema"`
	Explain         OptGetPermissionsOutputBodyExplain `json:"explain"`
	Permissions     []string                           `json:"permissions"`
	ResourceId      string                             `json:"resourceId"`
	ResourceType    string                             `json:"resourceType"`
	AdditionalProps GetPermissionsOutputBodyAdditional
}

Ref: #/components/schemas/GetPermissionsOutputBody

func (*GetPermissionsOutputBody) Decode

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

Decode decodes GetPermissionsOutputBody from json.

func (*GetPermissionsOutputBody) Encode

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

Encode implements json.Marshaler.

func (*GetPermissionsOutputBody) GetAdditionalProps added in v0.7.6

GetAdditionalProps returns the value of AdditionalProps.

func (*GetPermissionsOutputBody) GetExplain

GetExplain returns the value of Explain.

func (*GetPermissionsOutputBody) GetPermissions

func (s *GetPermissionsOutputBody) GetPermissions() []string

GetPermissions returns the value of Permissions.

func (*GetPermissionsOutputBody) GetResourceId

func (s *GetPermissionsOutputBody) GetResourceId() string

GetResourceId returns the value of ResourceId.

func (*GetPermissionsOutputBody) GetResourceType

func (s *GetPermissionsOutputBody) GetResourceType() string

GetResourceType returns the value of ResourceType.

func (*GetPermissionsOutputBody) GetSchema

func (s *GetPermissionsOutputBody) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*GetPermissionsOutputBody) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetPermissionsOutputBody) SetAdditionalProps added in v0.7.6

SetAdditionalProps sets the value of AdditionalProps.

func (*GetPermissionsOutputBody) SetExplain

SetExplain sets the value of Explain.

func (*GetPermissionsOutputBody) SetPermissions

func (s *GetPermissionsOutputBody) SetPermissions(val []string)

SetPermissions sets the value of Permissions.

func (*GetPermissionsOutputBody) SetResourceId

func (s *GetPermissionsOutputBody) SetResourceId(val string)

SetResourceId sets the value of ResourceId.

func (*GetPermissionsOutputBody) SetResourceType

func (s *GetPermissionsOutputBody) SetResourceType(val string)

SetResourceType sets the value of ResourceType.

func (*GetPermissionsOutputBody) SetSchema

func (s *GetPermissionsOutputBody) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*GetPermissionsOutputBody) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetPermissionsOutputBodyAdditional added in v0.7.6

type GetPermissionsOutputBodyAdditional map[string]jx.Raw

func (*GetPermissionsOutputBodyAdditional) Decode added in v0.7.6

Decode decodes GetPermissionsOutputBodyAdditional from json.

func (GetPermissionsOutputBodyAdditional) Encode added in v0.7.6

Encode implements json.Marshaler.

func (GetPermissionsOutputBodyAdditional) MarshalJSON added in v0.7.6

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

MarshalJSON implements stdjson.Marshaler.

func (*GetPermissionsOutputBodyAdditional) UnmarshalJSON added in v0.7.6

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetPermissionsOutputBodyExplain

type GetPermissionsOutputBodyExplain map[string]jx.Raw

func (*GetPermissionsOutputBodyExplain) Decode

Decode decodes GetPermissionsOutputBodyExplain from json.

func (GetPermissionsOutputBodyExplain) Encode

Encode implements json.Marshaler.

func (GetPermissionsOutputBodyExplain) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GetPermissionsOutputBodyExplain) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GetPermissionsParams

type GetPermissionsParams struct {
	ResourceType string
	ResourceId   string
	// If set, return the SpiceDB trace for this permission instead of the permission list.
	Explain OptString `json:",omitempty,omitzero"`
}

GetPermissionsParams is parameters of getPermissions operation.

type GetRepoParams

type GetRepoParams struct {
	RepoId string
}

GetRepoParams is parameters of getRepo operation.

type GetServiceAccountParams

type GetServiceAccountParams struct {
	AccountId string
}

GetServiceAccountParams is parameters of getServiceAccount operation.

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 (
	GetVersionOutputBodyModeStandalone GetVersionOutputBodyMode = "standalone"
	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 GrantMirrorCollaboratorInputBody added in v0.7.7

type GrantMirrorCollaboratorInputBody struct {
	// A URL to the JSON Schema for this object.
	Schema OptURI `json:"$schema"`
	// Public host of the cluster serving the mirror.
	ClusterHost string `json:"clusterHost"`
	// Qualified grantee handle, e.g. github:alice.
	Handle   string                                   `json:"handle"`
	Owner    string                                   `json:"owner"`
	Provider GrantMirrorCollaboratorInputBodyProvider `json:"provider"`
	Repo     string                                   `json:"repo"`
	// Grant level: reader (pull) or writer (pull+push).
	Role            GrantMirrorCollaboratorInputBodyRole `json:"role"`
	AdditionalProps GrantMirrorCollaboratorInputBodyAdditional
}

Ref: #/components/schemas/GrantMirrorCollaboratorInputBody

func (*GrantMirrorCollaboratorInputBody) Decode added in v0.7.7

Decode decodes GrantMirrorCollaboratorInputBody from json.

func (*GrantMirrorCollaboratorInputBody) Encode added in v0.7.7

Encode implements json.Marshaler.

func (*GrantMirrorCollaboratorInputBody) GetAdditionalProps added in v0.7.7

GetAdditionalProps returns the value of AdditionalProps.

func (*GrantMirrorCollaboratorInputBody) GetClusterHost added in v0.7.7

func (s *GrantMirrorCollaboratorInputBody) GetClusterHost() string

GetClusterHost returns the value of ClusterHost.

func (*GrantMirrorCollaboratorInputBody) GetHandle added in v0.7.7

GetHandle returns the value of Handle.

func (*GrantMirrorCollaboratorInputBody) GetOwner added in v0.7.7

GetOwner returns the value of Owner.

func (*GrantMirrorCollaboratorInputBody) GetProvider added in v0.7.7

GetProvider returns the value of Provider.

func (*GrantMirrorCollaboratorInputBody) GetRepo added in v0.7.7

GetRepo returns the value of Repo.

func (*GrantMirrorCollaboratorInputBody) GetRole added in v0.7.7

GetRole returns the value of Role.

func (*GrantMirrorCollaboratorInputBody) GetSchema added in v0.7.7

GetSchema returns the value of Schema.

func (*GrantMirrorCollaboratorInputBody) MarshalJSON added in v0.7.7

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

MarshalJSON implements stdjson.Marshaler.

func (*GrantMirrorCollaboratorInputBody) SetAdditionalProps added in v0.7.7

SetAdditionalProps sets the value of AdditionalProps.

func (*GrantMirrorCollaboratorInputBody) SetClusterHost added in v0.7.7

func (s *GrantMirrorCollaboratorInputBody) SetClusterHost(val string)

SetClusterHost sets the value of ClusterHost.

func (*GrantMirrorCollaboratorInputBody) SetHandle added in v0.7.7

func (s *GrantMirrorCollaboratorInputBody) SetHandle(val string)

SetHandle sets the value of Handle.

func (*GrantMirrorCollaboratorInputBody) SetOwner added in v0.7.7

func (s *GrantMirrorCollaboratorInputBody) SetOwner(val string)

SetOwner sets the value of Owner.

func (*GrantMirrorCollaboratorInputBody) SetProvider added in v0.7.7

SetProvider sets the value of Provider.

func (*GrantMirrorCollaboratorInputBody) SetRepo added in v0.7.7

func (s *GrantMirrorCollaboratorInputBody) SetRepo(val string)

SetRepo sets the value of Repo.

func (*GrantMirrorCollaboratorInputBody) SetRole added in v0.7.7

SetRole sets the value of Role.

func (*GrantMirrorCollaboratorInputBody) SetSchema added in v0.7.7

func (s *GrantMirrorCollaboratorInputBody) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*GrantMirrorCollaboratorInputBody) UnmarshalJSON added in v0.7.7

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GrantMirrorCollaboratorInputBody) Validate added in v0.7.7

type GrantMirrorCollaboratorInputBodyAdditional added in v0.7.7

type GrantMirrorCollaboratorInputBodyAdditional map[string]jx.Raw

func (*GrantMirrorCollaboratorInputBodyAdditional) Decode added in v0.7.7

Decode decodes GrantMirrorCollaboratorInputBodyAdditional from json.

func (GrantMirrorCollaboratorInputBodyAdditional) Encode added in v0.7.7

Encode implements json.Marshaler.

func (GrantMirrorCollaboratorInputBodyAdditional) MarshalJSON added in v0.7.7

MarshalJSON implements stdjson.Marshaler.

func (*GrantMirrorCollaboratorInputBodyAdditional) UnmarshalJSON added in v0.7.7

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GrantMirrorCollaboratorInputBodyProvider added in v0.7.7

type GrantMirrorCollaboratorInputBodyProvider string
const (
	GrantMirrorCollaboratorInputBodyProviderGithub GrantMirrorCollaboratorInputBodyProvider = "github"
)

func (GrantMirrorCollaboratorInputBodyProvider) AllValues added in v0.7.7

AllValues returns all GrantMirrorCollaboratorInputBodyProvider values.

func (*GrantMirrorCollaboratorInputBodyProvider) Decode added in v0.7.7

Decode decodes GrantMirrorCollaboratorInputBodyProvider from json.

func (GrantMirrorCollaboratorInputBodyProvider) Encode added in v0.7.7

Encode encodes GrantMirrorCollaboratorInputBodyProvider as json.

func (GrantMirrorCollaboratorInputBodyProvider) MarshalJSON added in v0.7.7

MarshalJSON implements stdjson.Marshaler.

func (GrantMirrorCollaboratorInputBodyProvider) MarshalText added in v0.7.7

MarshalText implements encoding.TextMarshaler.

func (*GrantMirrorCollaboratorInputBodyProvider) UnmarshalJSON added in v0.7.7

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GrantMirrorCollaboratorInputBodyProvider) UnmarshalText added in v0.7.7

func (s *GrantMirrorCollaboratorInputBodyProvider) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GrantMirrorCollaboratorInputBodyProvider) Validate added in v0.7.7

type GrantMirrorCollaboratorInputBodyRole added in v0.7.7

type GrantMirrorCollaboratorInputBodyRole string

Grant level: reader (pull) or writer (pull+push).

const (
	GrantMirrorCollaboratorInputBodyRoleReader GrantMirrorCollaboratorInputBodyRole = "reader"
	GrantMirrorCollaboratorInputBodyRoleWriter GrantMirrorCollaboratorInputBodyRole = "writer"
)

func (GrantMirrorCollaboratorInputBodyRole) AllValues added in v0.7.7

AllValues returns all GrantMirrorCollaboratorInputBodyRole values.

func (*GrantMirrorCollaboratorInputBodyRole) Decode added in v0.7.7

Decode decodes GrantMirrorCollaboratorInputBodyRole from json.

func (GrantMirrorCollaboratorInputBodyRole) Encode added in v0.7.7

Encode encodes GrantMirrorCollaboratorInputBodyRole as json.

func (GrantMirrorCollaboratorInputBodyRole) MarshalJSON added in v0.7.7

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

MarshalJSON implements stdjson.Marshaler.

func (GrantMirrorCollaboratorInputBodyRole) MarshalText added in v0.7.7

func (s GrantMirrorCollaboratorInputBodyRole) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GrantMirrorCollaboratorInputBodyRole) UnmarshalJSON added in v0.7.7

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GrantMirrorCollaboratorInputBodyRole) UnmarshalText added in v0.7.7

func (s *GrantMirrorCollaboratorInputBodyRole) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GrantMirrorCollaboratorInputBodyRole) Validate added in v0.7.7

type GrantProjectAccessInputBody

type GrantProjectAccessInputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI                                    `json:"$schema"`
	GranteeType     OptGrantProjectAccessInputBodyGranteeType `json:"granteeType"`
	Provider        string                                    `json:"provider"`
	ProviderUserId  string                                    `json:"providerUserId"`
	Role            string                                    `json:"role"`
	AdditionalProps GrantProjectAccessInputBodyAdditional
}

Ref: #/components/schemas/GrantProjectAccessInputBody

func (*GrantProjectAccessInputBody) Decode

Decode decodes GrantProjectAccessInputBody from json.

func (*GrantProjectAccessInputBody) Encode

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

Encode implements json.Marshaler.

func (*GrantProjectAccessInputBody) GetAdditionalProps added in v0.7.6

GetAdditionalProps returns the value of AdditionalProps.

func (*GrantProjectAccessInputBody) GetGranteeType

GetGranteeType returns the value of GranteeType.

func (*GrantProjectAccessInputBody) GetProvider

func (s *GrantProjectAccessInputBody) GetProvider() string

GetProvider returns the value of Provider.

func (*GrantProjectAccessInputBody) GetProviderUserId

func (s *GrantProjectAccessInputBody) GetProviderUserId() string

GetProviderUserId returns the value of ProviderUserId.

func (*GrantProjectAccessInputBody) GetRole

func (s *GrantProjectAccessInputBody) GetRole() string

GetRole returns the value of Role.

func (*GrantProjectAccessInputBody) GetSchema

func (s *GrantProjectAccessInputBody) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*GrantProjectAccessInputBody) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GrantProjectAccessInputBody) SetAdditionalProps added in v0.7.6

SetAdditionalProps sets the value of AdditionalProps.

func (*GrantProjectAccessInputBody) SetGranteeType

SetGranteeType sets the value of GranteeType.

func (*GrantProjectAccessInputBody) SetProvider

func (s *GrantProjectAccessInputBody) SetProvider(val string)

SetProvider sets the value of Provider.

func (*GrantProjectAccessInputBody) SetProviderUserId

func (s *GrantProjectAccessInputBody) SetProviderUserId(val string)

SetProviderUserId sets the value of ProviderUserId.

func (*GrantProjectAccessInputBody) SetRole

func (s *GrantProjectAccessInputBody) SetRole(val string)

SetRole sets the value of Role.

func (*GrantProjectAccessInputBody) SetSchema

func (s *GrantProjectAccessInputBody) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*GrantProjectAccessInputBody) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GrantProjectAccessInputBody) Validate

func (s *GrantProjectAccessInputBody) Validate() error

type GrantProjectAccessInputBodyAdditional added in v0.7.6

type GrantProjectAccessInputBodyAdditional map[string]jx.Raw

func (*GrantProjectAccessInputBodyAdditional) Decode added in v0.7.6

Decode decodes GrantProjectAccessInputBodyAdditional from json.

func (GrantProjectAccessInputBodyAdditional) Encode added in v0.7.6

Encode implements json.Marshaler.

func (GrantProjectAccessInputBodyAdditional) MarshalJSON added in v0.7.6

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

MarshalJSON implements stdjson.Marshaler.

func (*GrantProjectAccessInputBodyAdditional) UnmarshalJSON added in v0.7.6

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GrantProjectAccessInputBodyGranteeType

type GrantProjectAccessInputBodyGranteeType string
const (
	GrantProjectAccessInputBodyGranteeTypeAccount GrantProjectAccessInputBodyGranteeType = "account"
	GrantProjectAccessInputBodyGranteeTypeOrg     GrantProjectAccessInputBodyGranteeType = "org"
	GrantProjectAccessInputBodyGranteeTypeTeam    GrantProjectAccessInputBodyGranteeType = "team"
)

func (GrantProjectAccessInputBodyGranteeType) AllValues

AllValues returns all GrantProjectAccessInputBodyGranteeType values.

func (*GrantProjectAccessInputBodyGranteeType) Decode

Decode decodes GrantProjectAccessInputBodyGranteeType from json.

func (GrantProjectAccessInputBodyGranteeType) Encode

Encode encodes GrantProjectAccessInputBodyGranteeType as json.

func (GrantProjectAccessInputBodyGranteeType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (GrantProjectAccessInputBodyGranteeType) MarshalText

func (s GrantProjectAccessInputBodyGranteeType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GrantProjectAccessInputBodyGranteeType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GrantProjectAccessInputBodyGranteeType) UnmarshalText

func (s *GrantProjectAccessInputBodyGranteeType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GrantProjectAccessInputBodyGranteeType) Validate

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 GrantRepoAccessInputBody

type GrantRepoAccessInputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI                                 `json:"$schema"`
	GranteeType     OptGrantRepoAccessInputBodyGranteeType `json:"granteeType"`
	Provider        string                                 `json:"provider"`
	ProviderUserId  string                                 `json:"providerUserId"`
	Role            string                                 `json:"role"`
	AdditionalProps GrantRepoAccessInputBodyAdditional
}

Ref: #/components/schemas/GrantRepoAccessInputBody

func (*GrantRepoAccessInputBody) Decode

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

Decode decodes GrantRepoAccessInputBody from json.

func (*GrantRepoAccessInputBody) Encode

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

Encode implements json.Marshaler.

func (*GrantRepoAccessInputBody) GetAdditionalProps added in v0.7.6

GetAdditionalProps returns the value of AdditionalProps.

func (*GrantRepoAccessInputBody) GetGranteeType

GetGranteeType returns the value of GranteeType.

func (*GrantRepoAccessInputBody) GetProvider

func (s *GrantRepoAccessInputBody) GetProvider() string

GetProvider returns the value of Provider.

func (*GrantRepoAccessInputBody) GetProviderUserId

func (s *GrantRepoAccessInputBody) GetProviderUserId() string

GetProviderUserId returns the value of ProviderUserId.

func (*GrantRepoAccessInputBody) GetRole

func (s *GrantRepoAccessInputBody) GetRole() string

GetRole returns the value of Role.

func (*GrantRepoAccessInputBody) GetSchema

func (s *GrantRepoAccessInputBody) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*GrantRepoAccessInputBody) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*GrantRepoAccessInputBody) SetAdditionalProps added in v0.7.6

SetAdditionalProps sets the value of AdditionalProps.

func (*GrantRepoAccessInputBody) SetGranteeType

SetGranteeType sets the value of GranteeType.

func (*GrantRepoAccessInputBody) SetProvider

func (s *GrantRepoAccessInputBody) SetProvider(val string)

SetProvider sets the value of Provider.

func (*GrantRepoAccessInputBody) SetProviderUserId

func (s *GrantRepoAccessInputBody) SetProviderUserId(val string)

SetProviderUserId sets the value of ProviderUserId.

func (*GrantRepoAccessInputBody) SetRole

func (s *GrantRepoAccessInputBody) SetRole(val string)

SetRole sets the value of Role.

func (*GrantRepoAccessInputBody) SetSchema

func (s *GrantRepoAccessInputBody) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*GrantRepoAccessInputBody) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GrantRepoAccessInputBody) Validate

func (s *GrantRepoAccessInputBody) Validate() error

type GrantRepoAccessInputBodyAdditional added in v0.7.6

type GrantRepoAccessInputBodyAdditional map[string]jx.Raw

func (*GrantRepoAccessInputBodyAdditional) Decode added in v0.7.6

Decode decodes GrantRepoAccessInputBodyAdditional from json.

func (GrantRepoAccessInputBodyAdditional) Encode added in v0.7.6

Encode implements json.Marshaler.

func (GrantRepoAccessInputBodyAdditional) MarshalJSON added in v0.7.6

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

MarshalJSON implements stdjson.Marshaler.

func (*GrantRepoAccessInputBodyAdditional) UnmarshalJSON added in v0.7.6

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GrantRepoAccessInputBodyGranteeType

type GrantRepoAccessInputBodyGranteeType string
const (
	GrantRepoAccessInputBodyGranteeTypeAccount GrantRepoAccessInputBodyGranteeType = "account"
	GrantRepoAccessInputBodyGranteeTypeOrg     GrantRepoAccessInputBodyGranteeType = "org"
	GrantRepoAccessInputBodyGranteeTypeTeam    GrantRepoAccessInputBodyGranteeType = "team"
)

func (GrantRepoAccessInputBodyGranteeType) AllValues

AllValues returns all GrantRepoAccessInputBodyGranteeType values.

func (*GrantRepoAccessInputBodyGranteeType) Decode

Decode decodes GrantRepoAccessInputBodyGranteeType from json.

func (GrantRepoAccessInputBodyGranteeType) Encode

Encode encodes GrantRepoAccessInputBodyGranteeType as json.

func (GrantRepoAccessInputBodyGranteeType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (GrantRepoAccessInputBodyGranteeType) MarshalText

func (s GrantRepoAccessInputBodyGranteeType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*GrantRepoAccessInputBodyGranteeType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GrantRepoAccessInputBodyGranteeType) UnmarshalText

func (s *GrantRepoAccessInputBodyGranteeType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (GrantRepoAccessInputBodyGranteeType) Validate

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            string                                         `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 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 GrantedMirrorCollaborator added in v0.7.7

type GrantedMirrorCollaborator struct {
	// A URL to the JSON Schema for this object.
	Schema OptURI `json:"$schema"`
	// Entire account the grant was written for.
	AccountId       string `json:"accountId"`
	Role            string `json:"role"`
	AdditionalProps GrantedMirrorCollaboratorAdditional
}

Ref: #/components/schemas/GrantedMirrorCollaborator

func (*GrantedMirrorCollaborator) Decode added in v0.7.7

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

Decode decodes GrantedMirrorCollaborator from json.

func (*GrantedMirrorCollaborator) Encode added in v0.7.7

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

Encode implements json.Marshaler.

func (*GrantedMirrorCollaborator) GetAccountId added in v0.7.7

func (s *GrantedMirrorCollaborator) GetAccountId() string

GetAccountId returns the value of AccountId.

func (*GrantedMirrorCollaborator) GetAdditionalProps added in v0.7.7

GetAdditionalProps returns the value of AdditionalProps.

func (*GrantedMirrorCollaborator) GetRole added in v0.7.7

func (s *GrantedMirrorCollaborator) GetRole() string

GetRole returns the value of Role.

func (*GrantedMirrorCollaborator) GetSchema added in v0.7.7

func (s *GrantedMirrorCollaborator) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*GrantedMirrorCollaborator) MarshalJSON added in v0.7.7

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

MarshalJSON implements stdjson.Marshaler.

func (*GrantedMirrorCollaborator) SetAccountId added in v0.7.7

func (s *GrantedMirrorCollaborator) SetAccountId(val string)

SetAccountId sets the value of AccountId.

func (*GrantedMirrorCollaborator) SetAdditionalProps added in v0.7.7

SetAdditionalProps sets the value of AdditionalProps.

func (*GrantedMirrorCollaborator) SetRole added in v0.7.7

func (s *GrantedMirrorCollaborator) SetRole(val string)

SetRole sets the value of Role.

func (*GrantedMirrorCollaborator) SetSchema added in v0.7.7

func (s *GrantedMirrorCollaborator) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*GrantedMirrorCollaborator) UnmarshalJSON added in v0.7.7

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

UnmarshalJSON implements stdjson.Unmarshaler.

type GrantedMirrorCollaboratorAdditional added in v0.7.7

type GrantedMirrorCollaboratorAdditional map[string]jx.Raw

func (*GrantedMirrorCollaboratorAdditional) Decode added in v0.7.7

Decode decodes GrantedMirrorCollaboratorAdditional from json.

func (GrantedMirrorCollaboratorAdditional) Encode added in v0.7.7

Encode implements json.Marshaler.

func (GrantedMirrorCollaboratorAdditional) MarshalJSON added in v0.7.7

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

MarshalJSON implements stdjson.Marshaler.

func (*GrantedMirrorCollaboratorAdditional) UnmarshalJSON added in v0.7.7

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

UnmarshalJSON implements stdjson.Unmarshaler.

type Invoker

type Invoker interface {
	// AddOrgMember invokes addOrgMember operation.
	//
	// Add a member to an organization.
	//
	// POST /orgs/{orgId}/members
	AddOrgMember(ctx context.Context, request *AddOrgMemberInputBody, params AddOrgMemberParams) (*Membership, error)
	// BatchLookup invokes batchLookup operation.
	//
	// Batch-resolve (type, id) refs to enriched records.
	//
	// POST /lookup
	BatchLookup(ctx context.Context, request *BatchLookupInputBody) (*BatchLookupOutputBody, error)
	// CreateBinding invokes createBinding operation.
	//
	// Create OIDC binding.
	//
	// POST /service-accounts/{accountId}/bindings
	CreateBinding(ctx context.Context, request *CreateBindingInputBody, params CreateBindingParams) (*Binding, error)
	// CreateMirror invokes createMirror operation.
	//
	// Create GitHub mirror.
	//
	// POST /mirrors
	CreateMirror(ctx context.Context, request *CreateMirrorInputBody) (*CreatedMirror, error)
	// CreateOrg invokes createOrg operation.
	//
	// Create organization.
	//
	// POST /orgs
	CreateOrg(ctx context.Context, request *CreateOrgInputBody) (*Org, error)
	// CreateProject invokes createProject operation.
	//
	// Create project.
	//
	// POST /projects
	CreateProject(ctx context.Context, request *CreateProjectInputBody) (*Project, error)
	// CreateRepo invokes createRepo operation.
	//
	// Create repository.
	//
	// POST /repos
	CreateRepo(ctx context.Context, request *CreateRepoInputBody) (*Repo, error)
	// 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
	// DeleteMirror invokes deleteMirror operation.
	//
	// Delete a mirror by upstream coords + cluster host.
	//
	// DELETE /mirrors
	DeleteMirror(ctx context.Context, params DeleteMirrorParams) error
	// DeleteRepo invokes deleteRepo operation.
	//
	// Delete repository.
	//
	// DELETE /repos/{repoId}
	DeleteRepo(ctx context.Context, params DeleteRepoParams) error
	// DeleteServiceAccount invokes deleteServiceAccount operation.
	//
	// Delete service account.
	//
	// DELETE /service-accounts/{accountId}
	DeleteServiceAccount(ctx context.Context, params DeleteServiceAccountParams) 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)
	// GetPermissions invokes getPermissions operation.
	//
	// List the caller's permissions on a single resource.
	//
	// GET /access/{resourceType}/{resourceId}
	GetPermissions(ctx context.Context, params GetPermissionsParams) (*GetPermissionsOutputBody, error)
	// GetRepo invokes getRepo operation.
	//
	// Get repository.
	//
	// GET /repos/{repoId}
	GetRepo(ctx context.Context, params GetRepoParams) (*Repo, error)
	// GetServiceAccount invokes getServiceAccount operation.
	//
	// Get service account.
	//
	// GET /service-accounts/{accountId}
	GetServiceAccount(ctx context.Context, params GetServiceAccountParams) (*ServiceAccount, error)
	// GetVersion invokes getVersion operation.
	//
	// Get the server version and mode.
	//
	// GET /version
	GetVersion(ctx context.Context) (*GetVersionOutputBody, error)
	// GrantMirrorCollaborator invokes grantMirrorCollaborator operation.
	//
	// Grant a user reader/writer access to a mirror (live GitHub-admin gated).
	//
	// POST /mirrors/collaborators
	GrantMirrorCollaborator(ctx context.Context, request *GrantMirrorCollaboratorInputBody) (*GrantedMirrorCollaborator, error)
	// GrantProjectAccess invokes grantProjectAccess operation.
	//
	// Grant project access to an identity.
	//
	// POST /projects/{projectId}/grants
	GrantProjectAccess(ctx context.Context, request *GrantProjectAccessInputBody, params GrantProjectAccessParams) (*GrantProjectAccessOutputBody, error)
	// GrantRepoAccess invokes grantRepoAccess operation.
	//
	// Grant repo access to an identity.
	//
	// POST /repos/{repoId}/grants
	GrantRepoAccess(ctx context.Context, request *GrantRepoAccessInputBody, params GrantRepoAccessParams) (*GrantRepoAccessOutputBody, error)
	// GrantServiceAccountAccess invokes grantServiceAccountAccess operation.
	//
	// Grant service account access on a repo or project.
	//
	// POST /service-accounts/{accountId}/grants
	GrantServiceAccountAccess(ctx context.Context, request *GrantServiceAccountAccessInputBody, params GrantServiceAccountAccessParams) (*GrantServiceAccountAccessOutputBody, error)
	// ListAuditEvents invokes listAuditEvents operation.
	//
	// List the calling account's recent audit events.
	//
	// GET /audit
	ListAuditEvents(ctx context.Context) (*ListAuditEventsOutputBody, error)
	// ListBindings invokes listBindings operation.
	//
	// List OIDC bindings.
	//
	// GET /service-accounts/{accountId}/bindings
	ListBindings(ctx context.Context, params ListBindingsParams) (*ListBindingsOutputBody, error)
	// ListMirrorCollaborators invokes listMirrorCollaborators operation.
	//
	// List the principals with access to a mirror (live GitHub-admin gated).
	//
	// GET /mirrors/collaborators
	ListMirrorCollaborators(ctx context.Context, params ListMirrorCollaboratorsParams) (*ListMirrorCollaboratorsOutputBody, error)
	// ListMirrors invokes listMirrors operation.
	//
	// List mirrors visible to the caller.
	//
	// GET /mirrors
	ListMirrors(ctx context.Context, params ListMirrorsParams) (*ListMirrorsOutputBody, error)
	// ListOIDCProviders invokes listOIDCProviders operation.
	//
	// List federated OIDC identity providers.
	//
	// GET /oidc-providers
	ListOIDCProviders(ctx context.Context) (*ListOIDCProvidersOutputBody, error)
	// ListOrgMembers invokes listOrgMembers operation.
	//
	// List members of an organization.
	//
	// GET /orgs/{orgId}/members
	ListOrgMembers(ctx context.Context, params ListOrgMembersParams) (*ListOrgMembersOutputBody, error)
	// ListOrgProjects invokes listOrgProjects operation.
	//
	// List projects owned by an organization.
	//
	// GET /orgs/{orgId}/projects
	ListOrgProjects(ctx context.Context, params ListOrgProjectsParams) (*ListOrgProjectsOutputBody, error)
	// ListOrgs invokes listOrgs operation.
	//
	// List organizations the caller can see.
	//
	// GET /orgs
	ListOrgs(ctx context.Context) (*ListOrgsOutputBody, error)
	// ListProjectMembers invokes listProjectMembers operation.
	//
	// List project members and their roles.
	//
	// GET /projects/{projectId}/members
	ListProjectMembers(ctx context.Context, params ListProjectMembersParams) (*ListProjectMembersOutputBody, error)
	// ListProjectRepos invokes listProjectRepos operation.
	//
	// List repositories in a project.
	//
	// 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)
	// 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)
	// LookupResources invokes lookupResources operation.
	//
	// List resources of a type the caller can access.
	//
	// GET /access/{resourceType}
	LookupResources(ctx context.Context, params LookupResourcesParams) (*LookupResourcesOutputBody, error)
	// RemoveOrgMember invokes removeOrgMember operation.
	//
	// Remove a member from an organization.
	//
	// DELETE /orgs/{orgId}/members/{provider}/{providerUserId}
	RemoveOrgMember(ctx context.Context, params RemoveOrgMemberParams) error
	// ResolveHandle invokes resolveHandle operation.
	//
	// Resolve account by external provider handle.
	//
	// GET /identity/handles/{provider}/{handle}
	ResolveHandle(ctx context.Context, params ResolveHandleParams) (*ResolvedIdentity, error)
	// RevokeMirrorCollaborator invokes revokeMirrorCollaborator operation.
	//
	// Revoke a user's access to a mirror (live GitHub-admin gated).
	//
	// DELETE /mirrors/collaborators
	RevokeMirrorCollaborator(ctx context.Context, params RevokeMirrorCollaboratorParams) 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
	// RevokeServiceAccountAccess invokes revokeServiceAccountAccess operation.
	//
	// Revoke service account access.
	//
	// DELETE /service-accounts/{accountId}/grants/{resourceType}/{resourceId}
	RevokeServiceAccountAccess(ctx context.Context, params RevokeServiceAccountAccessParams) 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"`
	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) 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) 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 ListBindingsOutputBody

type ListBindingsOutputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI    `json:"$schema"`
	Bindings        []Binding `json:"bindings"`
	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) 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) 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 {
	AccountId string
}

ListBindingsParams is parameters of listBindings operation.

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"`
	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) 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) 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 {
	// Optional: restrict to mirrors on this cluster (public host, e.g. royalcanin.partial.to).
	Cluster OptString `json:",omitempty,omitzero"`
	// Optional: restrict to mirrors of this upstream provider (e.g. "github").
	Provider OptString `json:",omitempty,omitzero"`
	// Optional: restrict to mirrors with this upstream owner login.
	Owner OptString `json:",omitempty,omitzero"`
}

ListMirrorsParams is parameters of listMirrors operation.

type ListOIDCProvidersOutputBody

type ListOIDCProvidersOutputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI         `json:"$schema"`
	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) 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) 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 ListOrgMembersOutputBody

type ListOrgMembersOutputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI       `json:"$schema"`
	Members         []Membership `json:"members"`
	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() []Membership

GetMembers returns the value of Members.

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 []Membership)

SetMembers sets the value of Members.

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 {
	OrgId string
}

ListOrgMembersParams is parameters of listOrgMembers operation.

type ListOrgProjectsOutputBody

type ListOrgProjectsOutputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI    `json:"$schema"`
	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) 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) 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 {
	OrgId string
}

ListOrgProjectsParams is parameters of listOrgProjects operation.

type ListOrgsOutputBody

type ListOrgsOutputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI `json:"$schema"`
	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) 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) 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.

func (*ListOrgsOutputBody) Validate

func (s *ListOrgsOutputBody) Validate() error

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 ListProjectMembersOutputBody

type ListProjectMembersOutputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI         `json:"$schema"`
	Members         []ProjectGrant `json:"members"`
	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) 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) 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 {
	ProjectId string
}

ListProjectMembersParams is parameters of listProjectMembers operation.

type ListProjectReposOutputBody

type ListProjectReposOutputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI `json:"$schema"`
	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) 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) 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 {
	ProjectId string
}

ListProjectReposParams is parameters of listProjectRepos operation.

type ListProjectsOutputBody

type ListProjectsOutputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI     `json:"$schema"`
	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) 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) 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 {
	// Optional: exact-match project name.
	Name OptString `json:",omitempty,omitzero"`
}

ListProjectsParams is parameters of listProjects operation.

type ListServiceAccountGrantsOutputBody

type ListServiceAccountGrantsOutputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI                `json:"$schema"`
	Grants          []ServiceAccountGrant `json:"grants"`
	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) 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) 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 {
	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"`
	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) 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) 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 {
	OrgId string
}

ListServiceAccountsParams is parameters of listServiceAccounts operation.

type LookupRef

type LookupRef struct {
	ID string `json:"id"`
	// Resource type slug; "org", "project", "repo" are enriched, unknown types pass through.
	Type            string `json:"type"`
	AdditionalProps LookupRefAdditional
}

Ref: #/components/schemas/LookupRef

func (*LookupRef) Decode

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

Decode decodes LookupRef from json.

func (*LookupRef) Encode

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

Encode implements json.Marshaler.

func (*LookupRef) GetAdditionalProps added in v0.7.6

func (s *LookupRef) GetAdditionalProps() LookupRefAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*LookupRef) GetID

func (s *LookupRef) GetID() string

GetID returns the value of ID.

func (*LookupRef) GetType

func (s *LookupRef) GetType() string

GetType returns the value of Type.

func (*LookupRef) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*LookupRef) SetAdditionalProps added in v0.7.6

func (s *LookupRef) SetAdditionalProps(val LookupRefAdditional)

SetAdditionalProps sets the value of AdditionalProps.

func (*LookupRef) SetID

func (s *LookupRef) SetID(val string)

SetID sets the value of ID.

func (*LookupRef) SetType

func (s *LookupRef) SetType(val string)

SetType sets the value of Type.

func (*LookupRef) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LookupRef) Validate

func (s *LookupRef) Validate() error

type LookupRefAdditional added in v0.7.6

type LookupRefAdditional map[string]jx.Raw

func (*LookupRefAdditional) Decode added in v0.7.6

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

Decode decodes LookupRefAdditional from json.

func (LookupRefAdditional) Encode added in v0.7.6

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

Encode implements json.Marshaler.

func (LookupRefAdditional) MarshalJSON added in v0.7.6

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

MarshalJSON implements stdjson.Marshaler.

func (*LookupRefAdditional) UnmarshalJSON added in v0.7.6

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

UnmarshalJSON implements stdjson.Unmarshaler.

type LookupRefResult

type LookupRefResult struct {
	ID              string                      `json:"id"`
	Name            OptString                   `json:"name"`
	OwnerId         OptString                   `json:"ownerId"`
	OwnerType       OptLookupRefResultOwnerType `json:"ownerType"`
	ProjectId       OptString                   `json:"projectId"`
	Type            string                      `json:"type"`
	URL             OptString                   `json:"url"`
	AdditionalProps LookupRefResultAdditional
}

Ref: #/components/schemas/LookupRefResult

func (*LookupRefResult) Decode

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

Decode decodes LookupRefResult from json.

func (*LookupRefResult) Encode

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

Encode implements json.Marshaler.

func (*LookupRefResult) GetAdditionalProps added in v0.7.6

func (s *LookupRefResult) GetAdditionalProps() LookupRefResultAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*LookupRefResult) GetID

func (s *LookupRefResult) GetID() string

GetID returns the value of ID.

func (*LookupRefResult) GetName

func (s *LookupRefResult) GetName() OptString

GetName returns the value of Name.

func (*LookupRefResult) GetOwnerId

func (s *LookupRefResult) GetOwnerId() OptString

GetOwnerId returns the value of OwnerId.

func (*LookupRefResult) GetOwnerType

func (s *LookupRefResult) GetOwnerType() OptLookupRefResultOwnerType

GetOwnerType returns the value of OwnerType.

func (*LookupRefResult) GetProjectId

func (s *LookupRefResult) GetProjectId() OptString

GetProjectId returns the value of ProjectId.

func (*LookupRefResult) GetType

func (s *LookupRefResult) GetType() string

GetType returns the value of Type.

func (*LookupRefResult) GetURL

func (s *LookupRefResult) GetURL() OptString

GetURL returns the value of URL.

func (*LookupRefResult) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*LookupRefResult) SetAdditionalProps added in v0.7.6

func (s *LookupRefResult) SetAdditionalProps(val LookupRefResultAdditional)

SetAdditionalProps sets the value of AdditionalProps.

func (*LookupRefResult) SetID

func (s *LookupRefResult) SetID(val string)

SetID sets the value of ID.

func (*LookupRefResult) SetName

func (s *LookupRefResult) SetName(val OptString)

SetName sets the value of Name.

func (*LookupRefResult) SetOwnerId

func (s *LookupRefResult) SetOwnerId(val OptString)

SetOwnerId sets the value of OwnerId.

func (*LookupRefResult) SetOwnerType

func (s *LookupRefResult) SetOwnerType(val OptLookupRefResultOwnerType)

SetOwnerType sets the value of OwnerType.

func (*LookupRefResult) SetProjectId

func (s *LookupRefResult) SetProjectId(val OptString)

SetProjectId sets the value of ProjectId.

func (*LookupRefResult) SetType

func (s *LookupRefResult) SetType(val string)

SetType sets the value of Type.

func (*LookupRefResult) SetURL

func (s *LookupRefResult) SetURL(val OptString)

SetURL sets the value of URL.

func (*LookupRefResult) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LookupRefResult) Validate

func (s *LookupRefResult) Validate() error

type LookupRefResultAdditional added in v0.7.6

type LookupRefResultAdditional map[string]jx.Raw

func (*LookupRefResultAdditional) Decode added in v0.7.6

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

Decode decodes LookupRefResultAdditional from json.

func (LookupRefResultAdditional) Encode added in v0.7.6

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

Encode implements json.Marshaler.

func (LookupRefResultAdditional) MarshalJSON added in v0.7.6

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

MarshalJSON implements stdjson.Marshaler.

func (*LookupRefResultAdditional) UnmarshalJSON added in v0.7.6

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

UnmarshalJSON implements stdjson.Unmarshaler.

type LookupRefResultOwnerType

type LookupRefResultOwnerType string
const (
	LookupRefResultOwnerTypeOrg     LookupRefResultOwnerType = "org"
	LookupRefResultOwnerTypeAccount LookupRefResultOwnerType = "account"
)

func (LookupRefResultOwnerType) AllValues

AllValues returns all LookupRefResultOwnerType values.

func (*LookupRefResultOwnerType) Decode

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

Decode decodes LookupRefResultOwnerType from json.

func (LookupRefResultOwnerType) Encode

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

Encode encodes LookupRefResultOwnerType as json.

func (LookupRefResultOwnerType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (LookupRefResultOwnerType) MarshalText

func (s LookupRefResultOwnerType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*LookupRefResultOwnerType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LookupRefResultOwnerType) UnmarshalText

func (s *LookupRefResultOwnerType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (LookupRefResultOwnerType) Validate

func (s LookupRefResultOwnerType) Validate() error

type LookupResourcesOutputBody

type LookupResourcesOutputBody struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI           `json:"$schema"`
	Permission      OptString        `json:"permission"`
	ResourceIds     []string         `json:"resourceIds"`
	ResourceType    string           `json:"resourceType"`
	Resources       []ResourceAccess `json:"resources"`
	AdditionalProps LookupResourcesOutputBodyAdditional
}

Ref: #/components/schemas/LookupResourcesOutputBody

func (*LookupResourcesOutputBody) Decode

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

Decode decodes LookupResourcesOutputBody from json.

func (*LookupResourcesOutputBody) Encode

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

Encode implements json.Marshaler.

func (*LookupResourcesOutputBody) GetAdditionalProps added in v0.7.6

GetAdditionalProps returns the value of AdditionalProps.

func (*LookupResourcesOutputBody) GetPermission

func (s *LookupResourcesOutputBody) GetPermission() OptString

GetPermission returns the value of Permission.

func (*LookupResourcesOutputBody) GetResourceIds

func (s *LookupResourcesOutputBody) GetResourceIds() []string

GetResourceIds returns the value of ResourceIds.

func (*LookupResourcesOutputBody) GetResourceType

func (s *LookupResourcesOutputBody) GetResourceType() string

GetResourceType returns the value of ResourceType.

func (*LookupResourcesOutputBody) GetResources

func (s *LookupResourcesOutputBody) GetResources() []ResourceAccess

GetResources returns the value of Resources.

func (*LookupResourcesOutputBody) GetSchema

func (s *LookupResourcesOutputBody) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*LookupResourcesOutputBody) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*LookupResourcesOutputBody) SetAdditionalProps added in v0.7.6

SetAdditionalProps sets the value of AdditionalProps.

func (*LookupResourcesOutputBody) SetPermission

func (s *LookupResourcesOutputBody) SetPermission(val OptString)

SetPermission sets the value of Permission.

func (*LookupResourcesOutputBody) SetResourceIds

func (s *LookupResourcesOutputBody) SetResourceIds(val []string)

SetResourceIds sets the value of ResourceIds.

func (*LookupResourcesOutputBody) SetResourceType

func (s *LookupResourcesOutputBody) SetResourceType(val string)

SetResourceType sets the value of ResourceType.

func (*LookupResourcesOutputBody) SetResources

func (s *LookupResourcesOutputBody) SetResources(val []ResourceAccess)

SetResources sets the value of Resources.

func (*LookupResourcesOutputBody) SetSchema

func (s *LookupResourcesOutputBody) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*LookupResourcesOutputBody) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LookupResourcesOutputBody) Validate

func (s *LookupResourcesOutputBody) Validate() error

type LookupResourcesOutputBodyAdditional added in v0.7.6

type LookupResourcesOutputBodyAdditional map[string]jx.Raw

func (*LookupResourcesOutputBodyAdditional) Decode added in v0.7.6

Decode decodes LookupResourcesOutputBodyAdditional from json.

func (LookupResourcesOutputBodyAdditional) Encode added in v0.7.6

Encode implements json.Marshaler.

func (LookupResourcesOutputBodyAdditional) MarshalJSON added in v0.7.6

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

MarshalJSON implements stdjson.Marshaler.

func (*LookupResourcesOutputBodyAdditional) UnmarshalJSON added in v0.7.6

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

UnmarshalJSON implements stdjson.Unmarshaler.

type LookupResourcesParams

type LookupResourcesParams struct {
	// SpiceDB resource type (e.g. "repo", "project", "org").
	ResourceType string
	// Optional: only list resources where the caller has this permission.
	Permission OptString `json:",omitempty,omitzero"`
}

LookupResourcesParams is parameters of lookupResources operation.

type MeAuth

type MeAuth struct {
	Provider        string `json:"provider"`
	ProviderUserId  string `json:"providerUserId"`
	AdditionalProps MeAuthAdditional
}

Ref: #/components/schemas/MeAuth

func (*MeAuth) 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 MeGlobal

type MeGlobal struct {
	AccountId        string             `json:"accountId"`
	AvatarUrl        OptString          `json:"avatarUrl"`
	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) 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) 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 {
	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) 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) 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"`
	// Deep link into the home console for this account.
	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"`
	ID                    string    `json:"id"`
	OrgId                 string    `json:"orgId"`
	Role                  string    `json:"role"`
	Status                string    `json:"status"`
	WorkosOrgMembershipId OptString `json:"workosOrgMembershipId"`
	AdditionalProps       MembershipAdditional
}

Ref: #/components/schemas/Membership

func (*Membership) Decode

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

Decode decodes Membership from json.

func (*Membership) Encode

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

Encode implements json.Marshaler.

func (*Membership) GetAccountId

func (s *Membership) GetAccountId() string

GetAccountId returns the value of AccountId.

func (*Membership) GetAdditionalProps added in v0.7.6

func (s *Membership) GetAdditionalProps() MembershipAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*Membership) GetCreatedAt

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

GetCreatedAt returns the value of CreatedAt.

func (*Membership) 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) 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) 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) 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 Mirror

type Mirror struct {
	// A URL to the JSON Schema for this object.
	Schema OptURI `json:"$schema"`
	// Public host of the cluster serving this mirror.
	ClusterHost     string      `json:"clusterHost"`
	CreatedAt       time.Time   `json:"createdAt"`
	InstallationId  OptInt64    `json:"installationId"`
	IsArchived      OptBool     `json:"isArchived"`
	IsPrivate       OptBool     `json:"isPrivate"`
	Jurisdiction    OptString   `json:"jurisdiction"`
	MirrorId        string      `json:"mirrorId"`
	Owner           string      `json:"owner"`
	Provider        string      `json:"provider"`
	Repo            string      `json:"repo"`
	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) 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) GetInstallationId

func (s *Mirror) GetInstallationId() OptInt64

GetInstallationId returns the value of InstallationId.

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

func (s *Mirror) SetInstallationId(val OptInt64)

SetInstallationId sets the value of InstallationId.

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

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 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 (
	AddOrgMemberOperation                  OperationName = "AddOrgMember"
	BatchLookupOperation                   OperationName = "BatchLookup"
	CreateBindingOperation                 OperationName = "CreateBinding"
	CreateMirrorOperation                  OperationName = "CreateMirror"
	CreateOrgOperation                     OperationName = "CreateOrg"
	CreateProjectOperation                 OperationName = "CreateProject"
	CreateRepoOperation                    OperationName = "CreateRepo"
	CreateServiceAccountOperation          OperationName = "CreateServiceAccount"
	DeleteBindingOperation                 OperationName = "DeleteBinding"
	DeleteMirrorOperation                  OperationName = "DeleteMirror"
	DeleteRepoOperation                    OperationName = "DeleteRepo"
	DeleteServiceAccountOperation          OperationName = "DeleteServiceAccount"
	GetMeOperation                         OperationName = "GetMe"
	GetMirrorOperation                     OperationName = "GetMirror"
	GetPermissionsOperation                OperationName = "GetPermissions"
	GetRepoOperation                       OperationName = "GetRepo"
	GetServiceAccountOperation             OperationName = "GetServiceAccount"
	GetVersionOperation                    OperationName = "GetVersion"
	GrantMirrorCollaboratorOperation       OperationName = "GrantMirrorCollaborator"
	GrantProjectAccessOperation            OperationName = "GrantProjectAccess"
	GrantRepoAccessOperation               OperationName = "GrantRepoAccess"
	GrantServiceAccountAccessOperation     OperationName = "GrantServiceAccountAccess"
	ListAuditEventsOperation               OperationName = "ListAuditEvents"
	ListBindingsOperation                  OperationName = "ListBindings"
	ListMirrorCollaboratorsOperation       OperationName = "ListMirrorCollaborators"
	ListMirrorsOperation                   OperationName = "ListMirrors"
	ListOIDCProvidersOperation             OperationName = "ListOIDCProviders"
	ListOrgMembersOperation                OperationName = "ListOrgMembers"
	ListOrgProjectsOperation               OperationName = "ListOrgProjects"
	ListOrgsOperation                      OperationName = "ListOrgs"
	ListProjectMembersOperation            OperationName = "ListProjectMembers"
	ListProjectReposOperation              OperationName = "ListProjectRepos"
	ListProjectsOperation                  OperationName = "ListProjects"
	ListServiceAccountGrantsOperation      OperationName = "ListServiceAccountGrants"
	ListServiceAccountsOperation           OperationName = "ListServiceAccounts"
	LookupResourcesOperation               OperationName = "LookupResources"
	RemoveOrgMemberOperation               OperationName = "RemoveOrgMember"
	ResolveHandleOperation                 OperationName = "ResolveHandle"
	RevokeMirrorCollaboratorOperation      OperationName = "RevokeMirrorCollaborator"
	RevokeProjectAccessOperation           OperationName = "RevokeProjectAccess"
	RevokeProjectAccessByProviderOperation OperationName = "RevokeProjectAccessByProvider"
	RevokeServiceAccountAccessOperation    OperationName = "RevokeServiceAccountAccess"
)

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

type OptGetPermissionsOutputBodyExplain struct {
	Value GetPermissionsOutputBodyExplain
	Set   bool
}

OptGetPermissionsOutputBodyExplain is optional GetPermissionsOutputBodyExplain.

func NewOptGetPermissionsOutputBodyExplain

func NewOptGetPermissionsOutputBodyExplain(v GetPermissionsOutputBodyExplain) OptGetPermissionsOutputBodyExplain

NewOptGetPermissionsOutputBodyExplain returns new OptGetPermissionsOutputBodyExplain with value set to v.

func (*OptGetPermissionsOutputBodyExplain) Decode

Decode decodes GetPermissionsOutputBodyExplain from json.

func (OptGetPermissionsOutputBodyExplain) Encode

Encode encodes GetPermissionsOutputBodyExplain as json.

func (OptGetPermissionsOutputBodyExplain) Get

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

func (OptGetPermissionsOutputBodyExplain) IsSet

IsSet returns true if OptGetPermissionsOutputBodyExplain was set.

func (OptGetPermissionsOutputBodyExplain) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptGetPermissionsOutputBodyExplain) Or

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

func (*OptGetPermissionsOutputBodyExplain) Reset

Reset unsets value.

func (*OptGetPermissionsOutputBodyExplain) SetTo

SetTo sets value to v.

func (*OptGetPermissionsOutputBodyExplain) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGetVersionOutputBodyMode added in v0.7.7

type OptGetVersionOutputBodyMode struct {
	Value GetVersionOutputBodyMode
	Set   bool
}

OptGetVersionOutputBodyMode is optional GetVersionOutputBodyMode.

func NewOptGetVersionOutputBodyMode added in v0.7.7

func NewOptGetVersionOutputBodyMode(v GetVersionOutputBodyMode) OptGetVersionOutputBodyMode

NewOptGetVersionOutputBodyMode returns new OptGetVersionOutputBodyMode with value set to v.

func (*OptGetVersionOutputBodyMode) Decode added in v0.7.7

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 OptGrantProjectAccessInputBodyGranteeType

type OptGrantProjectAccessInputBodyGranteeType struct {
	Value GrantProjectAccessInputBodyGranteeType
	Set   bool
}

OptGrantProjectAccessInputBodyGranteeType is optional GrantProjectAccessInputBodyGranteeType.

func NewOptGrantProjectAccessInputBodyGranteeType

func NewOptGrantProjectAccessInputBodyGranteeType(v GrantProjectAccessInputBodyGranteeType) OptGrantProjectAccessInputBodyGranteeType

NewOptGrantProjectAccessInputBodyGranteeType returns new OptGrantProjectAccessInputBodyGranteeType with value set to v.

func (*OptGrantProjectAccessInputBodyGranteeType) Decode

Decode decodes GrantProjectAccessInputBodyGranteeType from json.

func (OptGrantProjectAccessInputBodyGranteeType) Encode

Encode encodes GrantProjectAccessInputBodyGranteeType as json.

func (OptGrantProjectAccessInputBodyGranteeType) Get

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

func (OptGrantProjectAccessInputBodyGranteeType) IsSet

IsSet returns true if OptGrantProjectAccessInputBodyGranteeType was set.

func (OptGrantProjectAccessInputBodyGranteeType) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptGrantProjectAccessInputBodyGranteeType) Or

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

func (*OptGrantProjectAccessInputBodyGranteeType) Reset

Reset unsets value.

func (*OptGrantProjectAccessInputBodyGranteeType) SetTo

SetTo sets value to v.

func (*OptGrantProjectAccessInputBodyGranteeType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGrantRepoAccessInputBodyGranteeType

type OptGrantRepoAccessInputBodyGranteeType struct {
	Value GrantRepoAccessInputBodyGranteeType
	Set   bool
}

OptGrantRepoAccessInputBodyGranteeType is optional GrantRepoAccessInputBodyGranteeType.

func NewOptGrantRepoAccessInputBodyGranteeType

func NewOptGrantRepoAccessInputBodyGranteeType(v GrantRepoAccessInputBodyGranteeType) OptGrantRepoAccessInputBodyGranteeType

NewOptGrantRepoAccessInputBodyGranteeType returns new OptGrantRepoAccessInputBodyGranteeType with value set to v.

func (*OptGrantRepoAccessInputBodyGranteeType) Decode

Decode decodes GrantRepoAccessInputBodyGranteeType from json.

func (OptGrantRepoAccessInputBodyGranteeType) Encode

Encode encodes GrantRepoAccessInputBodyGranteeType as json.

func (OptGrantRepoAccessInputBodyGranteeType) Get

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

func (OptGrantRepoAccessInputBodyGranteeType) IsSet

IsSet returns true if OptGrantRepoAccessInputBodyGranteeType was set.

func (OptGrantRepoAccessInputBodyGranteeType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptGrantRepoAccessInputBodyGranteeType) Or

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

func (*OptGrantRepoAccessInputBodyGranteeType) Reset

Reset unsets value.

func (*OptGrantRepoAccessInputBodyGranteeType) SetTo

SetTo sets value to v.

func (*OptGrantRepoAccessInputBodyGranteeType) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

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 OptLookupRefResultOwnerType

type OptLookupRefResultOwnerType struct {
	Value LookupRefResultOwnerType
	Set   bool
}

OptLookupRefResultOwnerType is optional LookupRefResultOwnerType.

func NewOptLookupRefResultOwnerType

func NewOptLookupRefResultOwnerType(v LookupRefResultOwnerType) OptLookupRefResultOwnerType

NewOptLookupRefResultOwnerType returns new OptLookupRefResultOwnerType with value set to v.

func (*OptLookupRefResultOwnerType) Decode

Decode decodes LookupRefResultOwnerType from json.

func (OptLookupRefResultOwnerType) Encode

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

Encode encodes LookupRefResultOwnerType as json.

func (OptLookupRefResultOwnerType) Get

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

func (OptLookupRefResultOwnerType) IsSet

IsSet returns true if OptLookupRefResultOwnerType was set.

func (OptLookupRefResultOwnerType) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptLookupRefResultOwnerType) Or

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

func (*OptLookupRefResultOwnerType) Reset

func (o *OptLookupRefResultOwnerType) Reset()

Reset unsets value.

func (*OptLookupRefResultOwnerType) SetTo

SetTo sets value to v.

func (*OptLookupRefResultOwnerType) UnmarshalJSON

func (s *OptLookupRefResultOwnerType) 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 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 OptRepoObjectFormat

type OptRepoObjectFormat struct {
	Value RepoObjectFormat
	Set   bool
}

OptRepoObjectFormat is optional RepoObjectFormat.

func NewOptRepoObjectFormat

func NewOptRepoObjectFormat(v RepoObjectFormat) OptRepoObjectFormat

NewOptRepoObjectFormat returns new OptRepoObjectFormat with value set to v.

func (*OptRepoObjectFormat) Decode

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

Decode decodes RepoObjectFormat from json.

func (OptRepoObjectFormat) Encode

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

Encode encodes RepoObjectFormat as json.

func (OptRepoObjectFormat) Get

func (o OptRepoObjectFormat) Get() (v RepoObjectFormat, ok bool)

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

func (OptRepoObjectFormat) IsSet

func (o OptRepoObjectFormat) IsSet() bool

IsSet returns true if OptRepoObjectFormat was set.

func (OptRepoObjectFormat) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptRepoObjectFormat) Or

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

func (*OptRepoObjectFormat) Reset

func (o *OptRepoObjectFormat) Reset()

Reset unsets value.

func (*OptRepoObjectFormat) SetTo

SetTo sets value to v.

func (*OptRepoObjectFormat) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRepoState

type OptRepoState struct {
	Value RepoState
	Set   bool
}

OptRepoState is optional RepoState.

func NewOptRepoState

func NewOptRepoState(v RepoState) OptRepoState

NewOptRepoState returns new OptRepoState with value set to v.

func (*OptRepoState) Decode

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

Decode decodes RepoState from json.

func (OptRepoState) Encode

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

Encode encodes RepoState as json.

func (OptRepoState) Get

func (o OptRepoState) Get() (v RepoState, ok bool)

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

func (OptRepoState) IsSet

func (o OptRepoState) IsSet() bool

IsSet returns true if OptRepoState was set.

func (OptRepoState) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (OptRepoState) Or

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

func (*OptRepoState) Reset

func (o *OptRepoState) Reset()

Reset unsets value.

func (*OptRepoState) SetTo

func (o *OptRepoState) SetTo(v RepoState)

SetTo sets value to v.

func (*OptRepoState) UnmarshalJSON

func (s *OptRepoState) 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"`
	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) 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) 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 Project

type Project struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI           `json:"$schema"`
	CreatedAt       time.Time        `json:"createdAt"`
	ID              string           `json:"id"`
	Name            string           `json:"name"`
	OwnerId         string           `json:"ownerId"`
	OwnerType       ProjectOwnerType `json:"ownerType"`
	Region          string           `json:"region"`
	AdditionalProps ProjectAdditional
}

Ref: #/components/schemas/Project

func (*Project) 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) 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) GetOwnerType

func (s *Project) GetOwnerType() ProjectOwnerType

GetOwnerType returns the value of OwnerType.

func (*Project) GetRegion

func (s *Project) GetRegion() string

GetRegion returns the value of Region.

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

func (s *Project) SetOwnerType(val ProjectOwnerType)

SetOwnerType sets the value of OwnerType.

func (*Project) SetRegion

func (s *Project) SetRegion(val string)

SetRegion sets the value of Region.

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 ProjectGrant

type ProjectGrant struct {
	GranteeId       string `json:"granteeId"`
	GranteeType     string `json:"granteeType"`
	Role            string `json:"role"`
	AdditionalProps ProjectGrantAdditional
}

Ref: #/components/schemas/ProjectGrant

func (*ProjectGrant) Decode

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

Decode decodes ProjectGrant from json.

func (*ProjectGrant) Encode

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

Encode implements json.Marshaler.

func (*ProjectGrant) GetAdditionalProps added in v0.7.6

func (s *ProjectGrant) GetAdditionalProps() ProjectGrantAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*ProjectGrant) GetGranteeId

func (s *ProjectGrant) GetGranteeId() string

GetGranteeId returns the value of GranteeId.

func (*ProjectGrant) 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) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ProjectGrant) SetAdditionalProps added in v0.7.6

func (s *ProjectGrant) SetAdditionalProps(val ProjectGrantAdditional)

SetAdditionalProps sets the value of AdditionalProps.

func (*ProjectGrant) SetGranteeId

func (s *ProjectGrant) SetGranteeId(val string)

SetGranteeId sets the value of GranteeId.

func (*ProjectGrant) 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) 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 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 Repo

type Repo struct {
	// A URL to the JSON Schema for this object.
	Schema            OptURI              `json:"$schema"`
	ClusterHost       OptString           `json:"clusterHost"`
	Foreign           OptBool             `json:"foreign"`
	ID                string              `json:"id"`
	MirrorSuspended   OptBool             `json:"mirrorSuspended"`
	MirrorSuspendedAt OptString           `json:"mirrorSuspendedAt"`
	Name              string              `json:"name"`
	ObjectFormat      OptRepoObjectFormat `json:"objectFormat"`
	OwningProjectId   string              `json:"owningProjectId"`
	Path              OptString           `json:"path"`
	ProvisionAttempts OptInt64            `json:"provisionAttempts"`
	ProvisionReason   OptString           `json:"provisionReason"`
	State             OptRepoState        `json:"state"`
	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) GetClusterHost

func (s *Repo) GetClusterHost() OptString

GetClusterHost returns the value of ClusterHost.

func (*Repo) GetForeign

func (s *Repo) GetForeign() OptBool

GetForeign returns the value of Foreign.

func (*Repo) GetID

func (s *Repo) GetID() string

GetID returns the value of ID.

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

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

func (s *Repo) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*Repo) GetState

func (s *Repo) GetState() OptRepoState

GetState returns the value of State.

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

func (s *Repo) SetClusterHost(val OptString)

SetClusterHost sets the value of ClusterHost.

func (*Repo) SetForeign

func (s *Repo) SetForeign(val OptBool)

SetForeign sets the value of Foreign.

func (*Repo) SetID

func (s *Repo) SetID(val string)

SetID sets the value of ID.

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

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

func (s *Repo) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*Repo) SetState

func (s *Repo) SetState(val OptRepoState)

SetState sets the value of State.

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 RepoObjectFormat

type RepoObjectFormat string
const (
	RepoObjectFormatSHA1   RepoObjectFormat = "sha1"
	RepoObjectFormatSHA256 RepoObjectFormat = "sha256"
)

func (RepoObjectFormat) AllValues

func (RepoObjectFormat) AllValues() []RepoObjectFormat

AllValues returns all RepoObjectFormat values.

func (*RepoObjectFormat) Decode

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

Decode decodes RepoObjectFormat from json.

func (RepoObjectFormat) Encode

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

Encode encodes RepoObjectFormat as json.

func (RepoObjectFormat) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (RepoObjectFormat) MarshalText

func (s RepoObjectFormat) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RepoObjectFormat) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RepoObjectFormat) UnmarshalText

func (s *RepoObjectFormat) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RepoObjectFormat) Validate

func (s RepoObjectFormat) Validate() error

type RepoState

type RepoState string
const (
	RepoStateProvisioning RepoState = "provisioning"
	RepoStateActive       RepoState = "active"
	RepoStateFailed       RepoState = "failed"
)

func (RepoState) AllValues

func (RepoState) AllValues() []RepoState

AllValues returns all RepoState values.

func (*RepoState) Decode

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

Decode decodes RepoState from json.

func (RepoState) Encode

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

Encode encodes RepoState as json.

func (RepoState) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (RepoState) MarshalText

func (s RepoState) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RepoState) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RepoState) UnmarshalText

func (s *RepoState) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RepoState) Validate

func (s RepoState) 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 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 ResourceAccess

type ResourceAccess struct {
	Permissions     []string `json:"permissions"`
	ResourceId      string   `json:"resourceId"`
	AdditionalProps ResourceAccessAdditional
}

Ref: #/components/schemas/ResourceAccess

func (*ResourceAccess) Decode

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

Decode decodes ResourceAccess from json.

func (*ResourceAccess) Encode

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

Encode implements json.Marshaler.

func (*ResourceAccess) GetAdditionalProps added in v0.7.6

func (s *ResourceAccess) GetAdditionalProps() ResourceAccessAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*ResourceAccess) GetPermissions

func (s *ResourceAccess) GetPermissions() []string

GetPermissions returns the value of Permissions.

func (*ResourceAccess) GetResourceId

func (s *ResourceAccess) GetResourceId() string

GetResourceId returns the value of ResourceId.

func (*ResourceAccess) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ResourceAccess) SetAdditionalProps added in v0.7.6

func (s *ResourceAccess) SetAdditionalProps(val ResourceAccessAdditional)

SetAdditionalProps sets the value of AdditionalProps.

func (*ResourceAccess) SetPermissions

func (s *ResourceAccess) SetPermissions(val []string)

SetPermissions sets the value of Permissions.

func (*ResourceAccess) SetResourceId

func (s *ResourceAccess) SetResourceId(val string)

SetResourceId sets the value of ResourceId.

func (*ResourceAccess) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ResourceAccess) Validate

func (s *ResourceAccess) Validate() error

type ResourceAccessAdditional added in v0.7.6

type ResourceAccessAdditional map[string]jx.Raw

func (*ResourceAccessAdditional) Decode added in v0.7.6

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

Decode decodes ResourceAccessAdditional from json.

func (ResourceAccessAdditional) Encode added in v0.7.6

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

Encode implements json.Marshaler.

func (ResourceAccessAdditional) MarshalJSON added in v0.7.6

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

MarshalJSON implements stdjson.Marshaler.

func (*ResourceAccessAdditional) UnmarshalJSON added in v0.7.6

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

UnmarshalJSON implements stdjson.Unmarshaler.

type RevokeMirrorCollaboratorNoContent added in v0.7.7

type RevokeMirrorCollaboratorNoContent struct{}

RevokeMirrorCollaboratorNoContent is response for RevokeMirrorCollaborator operation.

type RevokeMirrorCollaboratorParams added in v0.7.7

type RevokeMirrorCollaboratorParams struct {
	Provider RevokeMirrorCollaboratorProvider
	Owner    string
	Repo     string
	// Public host of the cluster serving the mirror.
	ClusterHost string
	// Qualified grantee handle, e.g. github:alice.
	Handle string
}

RevokeMirrorCollaboratorParams is parameters of revokeMirrorCollaborator operation.

type RevokeMirrorCollaboratorProvider added in v0.7.7

type RevokeMirrorCollaboratorProvider string
const (
	RevokeMirrorCollaboratorProviderGithub RevokeMirrorCollaboratorProvider = "github"
)

func (RevokeMirrorCollaboratorProvider) AllValues added in v0.7.7

AllValues returns all RevokeMirrorCollaboratorProvider values.

func (RevokeMirrorCollaboratorProvider) MarshalText added in v0.7.7

func (s RevokeMirrorCollaboratorProvider) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*RevokeMirrorCollaboratorProvider) UnmarshalText added in v0.7.7

func (s *RevokeMirrorCollaboratorProvider) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (RevokeMirrorCollaboratorProvider) Validate added in v0.7.7

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

type SecuritySource interface {
	// BearerAuth provides bearerAuth security value.
	// Bearer token minted by entire-core's device-code flow or STS exchange.
	BearerAuth(ctx context.Context, operationName OperationName) (BearerAuth, error)
	// SessionAuth provides sessionAuth security value.
	// Console session cookie issued by the browser login flow.
	SessionAuth(ctx context.Context, operationName OperationName) (SessionAuth, error)
}

SecuritySource is provider of security values (tokens, passwords, etc.).

type ServiceAccount

type ServiceAccount struct {
	// A URL to the JSON Schema for this object.
	Schema          OptURI    `json:"$schema"`
	AccountId       string    `json:"accountId"`
	CreatedAt       time.Time `json:"createdAt"`
	Name            string    `json:"name"`
	OrgId           string    `json:"orgId"`
	Status          string    `json:"status"`
	SystemManaged   bool      `json:"systemManaged"`
	AdditionalProps ServiceAccountAdditional
}

Ref: #/components/schemas/ServiceAccount

func (*ServiceAccount) Decode

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

Decode decodes ServiceAccount from json.

func (*ServiceAccount) Encode

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

Encode implements json.Marshaler.

func (*ServiceAccount) GetAccountId

func (s *ServiceAccount) GetAccountId() string

GetAccountId returns the value of AccountId.

func (*ServiceAccount) GetAdditionalProps added in v0.7.6

func (s *ServiceAccount) GetAdditionalProps() ServiceAccountAdditional

GetAdditionalProps returns the value of AdditionalProps.

func (*ServiceAccount) GetCreatedAt

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

GetCreatedAt returns the value of CreatedAt.

func (*ServiceAccount) GetName

func (s *ServiceAccount) GetName() string

GetName returns the value of Name.

func (*ServiceAccount) GetOrgId

func (s *ServiceAccount) GetOrgId() string

GetOrgId returns the value of OrgId.

func (*ServiceAccount) GetSchema

func (s *ServiceAccount) GetSchema() OptURI

GetSchema returns the value of Schema.

func (*ServiceAccount) GetStatus

func (s *ServiceAccount) GetStatus() string

GetStatus returns the value of Status.

func (*ServiceAccount) GetSystemManaged

func (s *ServiceAccount) GetSystemManaged() bool

GetSystemManaged returns the value of SystemManaged.

func (*ServiceAccount) MarshalJSON

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

MarshalJSON implements stdjson.Marshaler.

func (*ServiceAccount) SetAccountId

func (s *ServiceAccount) SetAccountId(val string)

SetAccountId sets the value of AccountId.

func (*ServiceAccount) SetAdditionalProps added in v0.7.6

func (s *ServiceAccount) SetAdditionalProps(val ServiceAccountAdditional)

SetAdditionalProps sets the value of AdditionalProps.

func (*ServiceAccount) SetCreatedAt

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

SetCreatedAt sets the value of CreatedAt.

func (*ServiceAccount) SetName

func (s *ServiceAccount) SetName(val string)

SetName sets the value of Name.

func (*ServiceAccount) SetOrgId

func (s *ServiceAccount) SetOrgId(val string)

SetOrgId sets the value of OrgId.

func (*ServiceAccount) SetSchema

func (s *ServiceAccount) SetSchema(val OptURI)

SetSchema sets the value of Schema.

func (*ServiceAccount) SetStatus

func (s *ServiceAccount) SetStatus(val string)

SetStatus sets the value of Status.

func (*ServiceAccount) SetSystemManaged

func (s *ServiceAccount) SetSystemManaged(val bool)

SetSystemManaged sets the value of SystemManaged.

func (*ServiceAccount) UnmarshalJSON

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

UnmarshalJSON implements stdjson.Unmarshaler.

type ServiceAccountAdditional added in v0.7.6

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.

Jump to

Keyboard shortcuts

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