models

package
v0.102.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIHTTPBody

type APIHTTPBody struct {

	// The HTTP Content-Type header value specifying the content type of the body.
	ContentType string `json:"content_type,omitempty"`

	// The HTTP request/response body as raw binary.
	// Format: byte
	Data strfmt.Base64 `json:"data,omitempty"`

	// Application specific response metadata. Must be set in the first response
	// for streaming APIs.
	Extensions []*ProtobufAny `json:"extensions"`
}

APIHTTPBody Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page.

This message can be used both in streaming and non-streaming API methods in the request as well as the response.

It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body.

Example:

message GetResourceRequest {
  // A unique request id.
  string request_id = 1;

  // The raw HTTP body is bound to this field.
  google.api.HttpBody http_body = 2;

}

service ResourceService {
  rpc GetResource(GetResourceRequest)
    returns (google.api.HttpBody);
  rpc UpdateResource(google.api.HttpBody)
    returns (google.protobuf.Empty);

}

Example with streaming methods:

service CaldavService {
  rpc GetCalendar(stream google.api.HttpBody)
    returns (stream google.api.HttpBody);
  rpc UpdateCalendar(stream google.api.HttpBody)
    returns (stream google.api.HttpBody);

}

Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.

swagger:model apiHttpBody

func (*APIHTTPBody) ContextValidate

func (m *APIHTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this api Http body based on the context it is used

func (*APIHTTPBody) MarshalBinary

func (m *APIHTTPBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIHTTPBody) UnmarshalBinary

func (m *APIHTTPBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIHTTPBody) Validate

func (m *APIHTTPBody) Validate(formats strfmt.Registry) error

Validate validates this api Http body

type CloudlocationLocation

type CloudlocationLocation struct {

	// organization_id is the id of the organization.
	OrganizationID string `json:"organization_id,omitempty"`

	// project_id is the projects id.
	ProjectID string `json:"project_id,omitempty"`

	// region is the region that the resource is located in. It is
	// optional if the object being referenced is a global object.
	Region *LocationRegion `json:"region,omitempty"`
}

CloudlocationLocation Location represents a target for an operation in HCP.

swagger:model cloudlocationLocation

func (*CloudlocationLocation) ContextValidate

func (m *CloudlocationLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloudlocation location based on the context it is used

func (*CloudlocationLocation) MarshalBinary

func (m *CloudlocationLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloudlocationLocation) UnmarshalBinary

func (m *CloudlocationLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloudlocationLocation) Validate

func (m *CloudlocationLocation) Validate(formats strfmt.Registry) error

Validate validates this cloudlocation location

type ForceSyncRequestOPERATION

type ForceSyncRequestOPERATION string

ForceSyncRequestOPERATION force sync request o p e r a t i o n

swagger:model ForceSyncRequestOPERATION

const (

	// ForceSyncRequestOPERATIONUPLOAD captures enum value "UPLOAD"
	ForceSyncRequestOPERATIONUPLOAD ForceSyncRequestOPERATION = "UPLOAD"

	// ForceSyncRequestOPERATIONPURGE captures enum value "PURGE"
	ForceSyncRequestOPERATIONPURGE ForceSyncRequestOPERATION = "PURGE"
)

func (ForceSyncRequestOPERATION) ContextValidate

func (m ForceSyncRequestOPERATION) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this force sync request o p e r a t i o n based on context it is used

func (ForceSyncRequestOPERATION) Pointer

Pointer returns a pointer to a freshly-allocated ForceSyncRequestOPERATION.

func (ForceSyncRequestOPERATION) Validate

func (m ForceSyncRequestOPERATION) Validate(formats strfmt.Registry) error

Validate validates this force sync request o p e r a t i o n

type LocationRegion

type LocationRegion struct {

	// provider is the named cloud provider ("aws", "gcp", "azure")
	Provider string `json:"provider,omitempty"`

	// region is the cloud region ("us-west1", "us-east1")
	Region string `json:"region,omitempty"`
}

LocationRegion Region identifies a Cloud data-plane region.

swagger:model locationRegion

func (*LocationRegion) ContextValidate

func (m *LocationRegion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this location region based on context it is used

func (*LocationRegion) MarshalBinary

func (m *LocationRegion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LocationRegion) UnmarshalBinary

func (m *LocationRegion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LocationRegion) Validate

func (m *LocationRegion) Validate(formats strfmt.Registry) error

Validate validates this location region

type ProtobufAny

type ProtobufAny struct {

	// A URL/resource name that uniquely identifies the type of the serialized
	// protocol buffer message. This string must contain at least
	// one "/" character. The last segment of the URL's path must represent
	// the fully qualified name of the type (as in
	// `path/google.protobuf.Duration`). The name should be in a canonical form
	// (e.g., leading "." is not accepted).
	//
	// In practice, teams usually precompile into the binary all types that they
	// expect it to use in the context of Any. However, for URLs which use the
	// scheme `http`, `https`, or no scheme, one can optionally set up a type
	// server that maps type URLs to message definitions as follows:
	//
	// * If no scheme is provided, `https` is assumed.
	// * An HTTP GET on the URL must yield a [google.protobuf.Type][]
	//   value in binary format, or produce an error.
	// * Applications are allowed to cache lookup results based on the
	//   URL, or have them precompiled into a binary to avoid any
	//   lookup. Therefore, binary compatibility needs to be preserved
	//   on changes to types. (Use versioned type names to manage
	//   breaking changes.)
	//
	// Note: this functionality is not currently available in the official
	// protobuf release, and it is not used for type URLs beginning with
	// type.googleapis.com.
	//
	// Schemes other than `http`, `https` (or the empty scheme) might be
	// used with implementation specific semantics.
	AtType string `json:"@type,omitempty"`
}

ProtobufAny `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.

Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.

Example 1: Pack and unpack a message in C++.

Foo foo = ...;
Any any;
any.PackFrom(foo);
...
if (any.UnpackTo(&foo)) {
  ...
}

Example 2: Pack and unpack a message in Java.

Foo foo = ...;
Any any = Any.pack(foo);
...
if (any.is(Foo.class)) {
  foo = any.unpack(Foo.class);
}

Example 3: Pack and unpack a message in Python.

foo = Foo(...)
any = Any()
any.Pack(foo)
...
if any.Is(Foo.DESCRIPTOR):
  any.Unpack(foo)
  ...

Example 4: Pack and unpack a message in Go

foo := &pb.Foo{...}
any, err := anypb.New(foo)
if err != nil {
  ...
}
...
foo := &pb.Foo{}
if err := any.UnmarshalTo(foo); err != nil {
  ...
}

The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".

JSON

The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example:

package google.profile;
message Person {
  string first_name = 1;
  string last_name = 2;
}

{
  "@type": "type.googleapis.com/google.profile.Person",
  "firstName": <string>,
  "lastName": <string>
}

If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]):

{
  "@type": "type.googleapis.com/google.protobuf.Duration",
  "value": "1.212s"
}

swagger:model protobufAny

func (*ProtobufAny) ContextValidate

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf any based on context it is used

func (*ProtobufAny) MarshalBinary

func (m *ProtobufAny) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtobufAny) UnmarshalBinary

func (m *ProtobufAny) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtobufAny) Validate

func (m *ProtobufAny) Validate(formats strfmt.Registry) error

Validate validates this protobuf any

type RPCStatus

type RPCStatus struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*ProtobufAny `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

RPCStatus rpc status

swagger:model rpcStatus

func (*RPCStatus) ContextValidate

func (m *RPCStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpc status based on the context it is used

func (*RPCStatus) MarshalBinary

func (m *RPCStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RPCStatus) UnmarshalBinary

func (m *RPCStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RPCStatus) Validate

func (m *RPCStatus) Validate(formats strfmt.Registry) error

Validate validates this rpc status

type Secrets20230613App

type Secrets20230613App struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// created by
	CreatedBy *Secrets20230613Principal `json:"created_by,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// location
	Location *CloudlocationLocation `json:"location,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// sync integrations
	SyncIntegrations []string `json:"sync_integrations"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy *Secrets20230613Principal `json:"updated_by,omitempty"`
}

Secrets20230613App secrets 20230613 app

swagger:model secrets_20230613App

func (*Secrets20230613App) ContextValidate

func (m *Secrets20230613App) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 app based on the context it is used

func (*Secrets20230613App) MarshalBinary

func (m *Secrets20230613App) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613App) UnmarshalBinary

func (m *Secrets20230613App) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613App) Validate

func (m *Secrets20230613App) Validate(formats strfmt.Registry) error

Validate validates this secrets 20230613 app

type Secrets20230613AwsAssumeRoleMetadata

type Secrets20230613AwsAssumeRoleMetadata struct {

	// external id
	ExternalID string `json:"external_id,omitempty"`
}

Secrets20230613AwsAssumeRoleMetadata secrets 20230613 aws assume role metadata

swagger:model secrets_20230613AwsAssumeRoleMetadata

func (*Secrets20230613AwsAssumeRoleMetadata) ContextValidate

func (m *Secrets20230613AwsAssumeRoleMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secrets 20230613 aws assume role metadata based on context it is used

func (*Secrets20230613AwsAssumeRoleMetadata) MarshalBinary

func (m *Secrets20230613AwsAssumeRoleMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613AwsAssumeRoleMetadata) UnmarshalBinary

func (m *Secrets20230613AwsAssumeRoleMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613AwsAssumeRoleMetadata) Validate

Validate validates this secrets 20230613 aws assume role metadata

type Secrets20230613AwsSmConnectionDetailsRequest

type Secrets20230613AwsSmConnectionDetailsRequest struct {

	// access key id
	AccessKeyID string `json:"access_key_id,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// role arn
	RoleArn string `json:"role_arn,omitempty"`

	// secret access key
	SecretAccessKey string `json:"secret_access_key,omitempty"`
}

Secrets20230613AwsSmConnectionDetailsRequest secrets 20230613 aws sm connection details request

swagger:model secrets_20230613AwsSmConnectionDetailsRequest

func (*Secrets20230613AwsSmConnectionDetailsRequest) ContextValidate

ContextValidate validates this secrets 20230613 aws sm connection details request based on context it is used

func (*Secrets20230613AwsSmConnectionDetailsRequest) MarshalBinary

MarshalBinary interface implementation

func (*Secrets20230613AwsSmConnectionDetailsRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*Secrets20230613AwsSmConnectionDetailsRequest) Validate

Validate validates this secrets 20230613 aws sm connection details request

type Secrets20230613AwsSmConnectionDetailsResponse

type Secrets20230613AwsSmConnectionDetailsResponse struct {

	// external id
	ExternalID string `json:"external_id,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// role arn
	RoleArn string `json:"role_arn,omitempty"`
}

Secrets20230613AwsSmConnectionDetailsResponse secrets 20230613 aws sm connection details response

swagger:model secrets_20230613AwsSmConnectionDetailsResponse

func (*Secrets20230613AwsSmConnectionDetailsResponse) ContextValidate

ContextValidate validates this secrets 20230613 aws sm connection details response based on context it is used

func (*Secrets20230613AwsSmConnectionDetailsResponse) MarshalBinary

MarshalBinary interface implementation

func (*Secrets20230613AwsSmConnectionDetailsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*Secrets20230613AwsSmConnectionDetailsResponse) Validate

Validate validates this secrets 20230613 aws sm connection details response

type Secrets20230613CreateAppKVSecretResponse

type Secrets20230613CreateAppKVSecretResponse struct {

	// secret
	Secret *Secrets20230613Secret `json:"secret,omitempty"`
}

Secrets20230613CreateAppKVSecretResponse secrets 20230613 create app k v secret response

swagger:model secrets_20230613CreateAppKVSecretResponse

func (*Secrets20230613CreateAppKVSecretResponse) ContextValidate

ContextValidate validate this secrets 20230613 create app k v secret response based on the context it is used

func (*Secrets20230613CreateAppKVSecretResponse) MarshalBinary

func (m *Secrets20230613CreateAppKVSecretResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613CreateAppKVSecretResponse) UnmarshalBinary

func (m *Secrets20230613CreateAppKVSecretResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613CreateAppKVSecretResponse) Validate

Validate validates this secrets 20230613 create app k v secret response

type Secrets20230613CreateAppResponse

type Secrets20230613CreateAppResponse struct {

	// app
	App *Secrets20230613App `json:"app,omitempty"`
}

Secrets20230613CreateAppResponse secrets 20230613 create app response

swagger:model secrets_20230613CreateAppResponse

func (*Secrets20230613CreateAppResponse) ContextValidate

func (m *Secrets20230613CreateAppResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 create app response based on the context it is used

func (*Secrets20230613CreateAppResponse) MarshalBinary

func (m *Secrets20230613CreateAppResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613CreateAppResponse) UnmarshalBinary

func (m *Secrets20230613CreateAppResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613CreateAppResponse) Validate

Validate validates this secrets 20230613 create app response

type Secrets20230613CreateSyncIntegrationResponse

type Secrets20230613CreateSyncIntegrationResponse struct {

	// sync integration
	SyncIntegration *Secrets20230613SyncIntegration `json:"sync_integration,omitempty"`
}

Secrets20230613CreateSyncIntegrationResponse secrets 20230613 create sync integration response

swagger:model secrets_20230613CreateSyncIntegrationResponse

func (*Secrets20230613CreateSyncIntegrationResponse) ContextValidate

ContextValidate validate this secrets 20230613 create sync integration response based on the context it is used

func (*Secrets20230613CreateSyncIntegrationResponse) MarshalBinary

MarshalBinary interface implementation

func (*Secrets20230613CreateSyncIntegrationResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*Secrets20230613CreateSyncIntegrationResponse) Validate

Validate validates this secrets 20230613 create sync integration response

type Secrets20230613DeleteAppResponse

type Secrets20230613DeleteAppResponse interface{}

Secrets20230613DeleteAppResponse secrets 20230613 delete app response

swagger:model secrets_20230613DeleteAppResponse

type Secrets20230613DeleteAppSecretResponse

type Secrets20230613DeleteAppSecretResponse interface{}

Secrets20230613DeleteAppSecretResponse secrets 20230613 delete app secret response

swagger:model secrets_20230613DeleteAppSecretResponse

type Secrets20230613DeleteAppSecretVersionResponse

type Secrets20230613DeleteAppSecretVersionResponse interface{}

Secrets20230613DeleteAppSecretVersionResponse secrets 20230613 delete app secret version response

swagger:model secrets_20230613DeleteAppSecretVersionResponse

type Secrets20230613DeleteSyncInstallationResponse

type Secrets20230613DeleteSyncInstallationResponse interface{}

Secrets20230613DeleteSyncInstallationResponse secrets 20230613 delete sync installation response

swagger:model secrets_20230613DeleteSyncInstallationResponse

type Secrets20230613DeleteSyncIntegrationResponse

type Secrets20230613DeleteSyncIntegrationResponse interface{}

Secrets20230613DeleteSyncIntegrationResponse secrets 20230613 delete sync integration response

swagger:model secrets_20230613DeleteSyncIntegrationResponse

type Secrets20230613ForceSyncResponse

type Secrets20230613ForceSyncResponse interface{}

Secrets20230613ForceSyncResponse secrets 20230613 force sync response

swagger:model secrets_20230613ForceSyncResponse

type Secrets20230613GetAppResponse

type Secrets20230613GetAppResponse struct {

	// app
	App *Secrets20230613App `json:"app,omitempty"`
}

Secrets20230613GetAppResponse secrets 20230613 get app response

swagger:model secrets_20230613GetAppResponse

func (*Secrets20230613GetAppResponse) ContextValidate

func (m *Secrets20230613GetAppResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 get app response based on the context it is used

func (*Secrets20230613GetAppResponse) MarshalBinary

func (m *Secrets20230613GetAppResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613GetAppResponse) UnmarshalBinary

func (m *Secrets20230613GetAppResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613GetAppResponse) Validate

func (m *Secrets20230613GetAppResponse) Validate(formats strfmt.Registry) error

Validate validates this secrets 20230613 get app response

type Secrets20230613GetAppSecretResponse

type Secrets20230613GetAppSecretResponse struct {

	// secret
	Secret *Secrets20230613Secret `json:"secret,omitempty"`
}

Secrets20230613GetAppSecretResponse secrets 20230613 get app secret response

swagger:model secrets_20230613GetAppSecretResponse

func (*Secrets20230613GetAppSecretResponse) ContextValidate

func (m *Secrets20230613GetAppSecretResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 get app secret response based on the context it is used

func (*Secrets20230613GetAppSecretResponse) MarshalBinary

func (m *Secrets20230613GetAppSecretResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613GetAppSecretResponse) UnmarshalBinary

func (m *Secrets20230613GetAppSecretResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613GetAppSecretResponse) Validate

Validate validates this secrets 20230613 get app secret response

type Secrets20230613GetAppSecretVersionResponse

type Secrets20230613GetAppSecretVersionResponse struct {

	// version
	Version *Secrets20230613SecretVersion `json:"version,omitempty"`
}

Secrets20230613GetAppSecretVersionResponse secrets 20230613 get app secret version response

swagger:model secrets_20230613GetAppSecretVersionResponse

func (*Secrets20230613GetAppSecretVersionResponse) ContextValidate

ContextValidate validate this secrets 20230613 get app secret version response based on the context it is used

func (*Secrets20230613GetAppSecretVersionResponse) MarshalBinary

func (m *Secrets20230613GetAppSecretVersionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613GetAppSecretVersionResponse) UnmarshalBinary

func (m *Secrets20230613GetAppSecretVersionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613GetAppSecretVersionResponse) Validate

Validate validates this secrets 20230613 get app secret version response

type Secrets20230613GetGitHubInstallLinksResponse

type Secrets20230613GetGitHubInstallLinksResponse struct {

	// installation url
	InstallationURL string `json:"installation_url,omitempty"`
}

Secrets20230613GetGitHubInstallLinksResponse secrets 20230613 get git hub install links response

swagger:model secrets_20230613GetGitHubInstallLinksResponse

func (*Secrets20230613GetGitHubInstallLinksResponse) ContextValidate

ContextValidate validates this secrets 20230613 get git hub install links response based on context it is used

func (*Secrets20230613GetGitHubInstallLinksResponse) MarshalBinary

MarshalBinary interface implementation

func (*Secrets20230613GetGitHubInstallLinksResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*Secrets20230613GetGitHubInstallLinksResponse) Validate

Validate validates this secrets 20230613 get git hub install links response

type Secrets20230613GetSyncInstallationResponse

type Secrets20230613GetSyncInstallationResponse struct {

	// sync installation
	SyncInstallation *Secrets20230613SyncInstallation `json:"sync_installation,omitempty"`
}

Secrets20230613GetSyncInstallationResponse secrets 20230613 get sync installation response

swagger:model secrets_20230613GetSyncInstallationResponse

func (*Secrets20230613GetSyncInstallationResponse) ContextValidate

ContextValidate validate this secrets 20230613 get sync installation response based on the context it is used

func (*Secrets20230613GetSyncInstallationResponse) MarshalBinary

func (m *Secrets20230613GetSyncInstallationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613GetSyncInstallationResponse) UnmarshalBinary

func (m *Secrets20230613GetSyncInstallationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613GetSyncInstallationResponse) Validate

Validate validates this secrets 20230613 get sync installation response

type Secrets20230613GetSyncIntegrationResponse

type Secrets20230613GetSyncIntegrationResponse struct {

	// sync integration
	SyncIntegration *Secrets20230613SyncIntegration `json:"sync_integration,omitempty"`
}

Secrets20230613GetSyncIntegrationResponse secrets 20230613 get sync integration response

swagger:model secrets_20230613GetSyncIntegrationResponse

func (*Secrets20230613GetSyncIntegrationResponse) ContextValidate

ContextValidate validate this secrets 20230613 get sync integration response based on the context it is used

func (*Secrets20230613GetSyncIntegrationResponse) MarshalBinary

func (m *Secrets20230613GetSyncIntegrationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613GetSyncIntegrationResponse) UnmarshalBinary

func (m *Secrets20230613GetSyncIntegrationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613GetSyncIntegrationResponse) Validate

Validate validates this secrets 20230613 get sync integration response

type Secrets20230613GetUsageResponse

type Secrets20230613GetUsageResponse struct {

	// apps
	Apps *Secrets20230613Usage `json:"apps,omitempty"`

	// billing tier
	BillingTier *Secrets20230613Tier `json:"billing_tier,omitempty"`

	// integrations
	Integrations *Secrets20230613Usage `json:"integrations,omitempty"`

	// secrets
	Secrets *Secrets20230613Usage `json:"secrets,omitempty"`
}

Secrets20230613GetUsageResponse secrets 20230613 get usage response

swagger:model secrets_20230613GetUsageResponse

func (*Secrets20230613GetUsageResponse) ContextValidate

func (m *Secrets20230613GetUsageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 get usage response based on the context it is used

func (*Secrets20230613GetUsageResponse) MarshalBinary

func (m *Secrets20230613GetUsageResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613GetUsageResponse) UnmarshalBinary

func (m *Secrets20230613GetUsageResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613GetUsageResponse) Validate

Validate validates this secrets 20230613 get usage response

type Secrets20230613GetVercelInstallationLinkResponse

type Secrets20230613GetVercelInstallationLinkResponse struct {

	// installation url
	InstallationURL string `json:"installation_url,omitempty"`
}

Secrets20230613GetVercelInstallationLinkResponse secrets 20230613 get vercel installation link response

swagger:model secrets_20230613GetVercelInstallationLinkResponse

func (*Secrets20230613GetVercelInstallationLinkResponse) ContextValidate

ContextValidate validates this secrets 20230613 get vercel installation link response based on context it is used

func (*Secrets20230613GetVercelInstallationLinkResponse) MarshalBinary

MarshalBinary interface implementation

func (*Secrets20230613GetVercelInstallationLinkResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*Secrets20230613GetVercelInstallationLinkResponse) Validate

Validate validates this secrets 20230613 get vercel installation link response

type Secrets20230613GhAppMetadata

type Secrets20230613GhAppMetadata struct {

	// installation id
	InstallationID string `json:"installation_id,omitempty"`

	// owner
	Owner string `json:"owner,omitempty"`

	// repositories
	Repositories []string `json:"repositories"`
}

Secrets20230613GhAppMetadata secrets 20230613 gh app metadata

swagger:model secrets_20230613GhAppMetadata

func (*Secrets20230613GhAppMetadata) ContextValidate

func (m *Secrets20230613GhAppMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secrets 20230613 gh app metadata based on context it is used

func (*Secrets20230613GhAppMetadata) MarshalBinary

func (m *Secrets20230613GhAppMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613GhAppMetadata) UnmarshalBinary

func (m *Secrets20230613GhAppMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613GhAppMetadata) Validate

func (m *Secrets20230613GhAppMetadata) Validate(formats strfmt.Registry) error

Validate validates this secrets 20230613 gh app metadata

type Secrets20230613GhRepoConnectionDetailsRequest

type Secrets20230613GhRepoConnectionDetailsRequest struct {

	// owner
	Owner string `json:"owner,omitempty"`

	// repository
	Repository string `json:"repository,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

Secrets20230613GhRepoConnectionDetailsRequest secrets 20230613 gh repo connection details request

swagger:model secrets_20230613GhRepoConnectionDetailsRequest

func (*Secrets20230613GhRepoConnectionDetailsRequest) ContextValidate

ContextValidate validates this secrets 20230613 gh repo connection details request based on context it is used

func (*Secrets20230613GhRepoConnectionDetailsRequest) MarshalBinary

MarshalBinary interface implementation

func (*Secrets20230613GhRepoConnectionDetailsRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*Secrets20230613GhRepoConnectionDetailsRequest) Validate

Validate validates this secrets 20230613 gh repo connection details request

type Secrets20230613GhRepoConnectionDetailsResponse

type Secrets20230613GhRepoConnectionDetailsResponse struct {

	// owner
	Owner string `json:"owner,omitempty"`

	// repository
	Repository string `json:"repository,omitempty"`
}

Secrets20230613GhRepoConnectionDetailsResponse secrets 20230613 gh repo connection details response

swagger:model secrets_20230613GhRepoConnectionDetailsResponse

func (*Secrets20230613GhRepoConnectionDetailsResponse) ContextValidate

ContextValidate validates this secrets 20230613 gh repo connection details response based on context it is used

func (*Secrets20230613GhRepoConnectionDetailsResponse) MarshalBinary

MarshalBinary interface implementation

func (*Secrets20230613GhRepoConnectionDetailsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*Secrets20230613GhRepoConnectionDetailsResponse) Validate

Validate validates this secrets 20230613 gh repo connection details response

type Secrets20230613ListAppSecretVersionsResponse

type Secrets20230613ListAppSecretVersionsResponse struct {

	// versions
	Versions []*Secrets20230613SecretVersion `json:"versions"`
}

Secrets20230613ListAppSecretVersionsResponse secrets 20230613 list app secret versions response

swagger:model secrets_20230613ListAppSecretVersionsResponse

func (*Secrets20230613ListAppSecretVersionsResponse) ContextValidate

ContextValidate validate this secrets 20230613 list app secret versions response based on the context it is used

func (*Secrets20230613ListAppSecretVersionsResponse) MarshalBinary

MarshalBinary interface implementation

func (*Secrets20230613ListAppSecretVersionsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*Secrets20230613ListAppSecretVersionsResponse) Validate

Validate validates this secrets 20230613 list app secret versions response

type Secrets20230613ListAppSecretsResponse

type Secrets20230613ListAppSecretsResponse struct {

	// secrets
	Secrets []*Secrets20230613Secret `json:"secrets"`
}

Secrets20230613ListAppSecretsResponse secrets 20230613 list app secrets response

swagger:model secrets_20230613ListAppSecretsResponse

func (*Secrets20230613ListAppSecretsResponse) ContextValidate

func (m *Secrets20230613ListAppSecretsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 list app secrets response based on the context it is used

func (*Secrets20230613ListAppSecretsResponse) MarshalBinary

func (m *Secrets20230613ListAppSecretsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613ListAppSecretsResponse) UnmarshalBinary

func (m *Secrets20230613ListAppSecretsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613ListAppSecretsResponse) Validate

Validate validates this secrets 20230613 list app secrets response

type Secrets20230613ListAppsResponse

type Secrets20230613ListAppsResponse struct {

	// apps
	Apps []*Secrets20230613App `json:"apps"`
}

Secrets20230613ListAppsResponse secrets 20230613 list apps response

swagger:model secrets_20230613ListAppsResponse

func (*Secrets20230613ListAppsResponse) ContextValidate

func (m *Secrets20230613ListAppsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 list apps response based on the context it is used

func (*Secrets20230613ListAppsResponse) MarshalBinary

func (m *Secrets20230613ListAppsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613ListAppsResponse) UnmarshalBinary

func (m *Secrets20230613ListAppsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613ListAppsResponse) Validate

Validate validates this secrets 20230613 list apps response

type Secrets20230613ListOpenAppSecretVersionsResponse

type Secrets20230613ListOpenAppSecretVersionsResponse struct {

	// versions
	Versions []*Secrets20230613OpenSecretVersion `json:"versions"`
}

Secrets20230613ListOpenAppSecretVersionsResponse secrets 20230613 list open app secret versions response

swagger:model secrets_20230613ListOpenAppSecretVersionsResponse

func (*Secrets20230613ListOpenAppSecretVersionsResponse) ContextValidate

ContextValidate validate this secrets 20230613 list open app secret versions response based on the context it is used

func (*Secrets20230613ListOpenAppSecretVersionsResponse) MarshalBinary

MarshalBinary interface implementation

func (*Secrets20230613ListOpenAppSecretVersionsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*Secrets20230613ListOpenAppSecretVersionsResponse) Validate

Validate validates this secrets 20230613 list open app secret versions response

type Secrets20230613ListSyncIntegrationsResponse

type Secrets20230613ListSyncIntegrationsResponse struct {

	// sync integrations
	SyncIntegrations []*Secrets20230613SyncIntegration `json:"sync_integrations"`
}

Secrets20230613ListSyncIntegrationsResponse secrets 20230613 list sync integrations response

swagger:model secrets_20230613ListSyncIntegrationsResponse

func (*Secrets20230613ListSyncIntegrationsResponse) ContextValidate

ContextValidate validate this secrets 20230613 list sync integrations response based on the context it is used

func (*Secrets20230613ListSyncIntegrationsResponse) MarshalBinary

func (m *Secrets20230613ListSyncIntegrationsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613ListSyncIntegrationsResponse) UnmarshalBinary

func (m *Secrets20230613ListSyncIntegrationsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613ListSyncIntegrationsResponse) Validate

Validate validates this secrets 20230613 list sync integrations response

type Secrets20230613OpenAppSecretResponse

type Secrets20230613OpenAppSecretResponse struct {

	// secret
	Secret *Secrets20230613OpenSecret `json:"secret,omitempty"`
}

Secrets20230613OpenAppSecretResponse secrets 20230613 open app secret response

swagger:model secrets_20230613OpenAppSecretResponse

func (*Secrets20230613OpenAppSecretResponse) ContextValidate

func (m *Secrets20230613OpenAppSecretResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 open app secret response based on the context it is used

func (*Secrets20230613OpenAppSecretResponse) MarshalBinary

func (m *Secrets20230613OpenAppSecretResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613OpenAppSecretResponse) UnmarshalBinary

func (m *Secrets20230613OpenAppSecretResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613OpenAppSecretResponse) Validate

Validate validates this secrets 20230613 open app secret response

type Secrets20230613OpenAppSecretVersionResponse

type Secrets20230613OpenAppSecretVersionResponse struct {

	// version
	Version *Secrets20230613OpenSecretVersion `json:"version,omitempty"`
}

Secrets20230613OpenAppSecretVersionResponse secrets 20230613 open app secret version response

swagger:model secrets_20230613OpenAppSecretVersionResponse

func (*Secrets20230613OpenAppSecretVersionResponse) ContextValidate

ContextValidate validate this secrets 20230613 open app secret version response based on the context it is used

func (*Secrets20230613OpenAppSecretVersionResponse) MarshalBinary

func (m *Secrets20230613OpenAppSecretVersionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613OpenAppSecretVersionResponse) UnmarshalBinary

func (m *Secrets20230613OpenAppSecretVersionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613OpenAppSecretVersionResponse) Validate

Validate validates this secrets 20230613 open app secret version response

type Secrets20230613OpenAppSecretsResponse

type Secrets20230613OpenAppSecretsResponse struct {

	// secrets
	Secrets []*Secrets20230613OpenSecret `json:"secrets"`
}

Secrets20230613OpenAppSecretsResponse secrets 20230613 open app secrets response

swagger:model secrets_20230613OpenAppSecretsResponse

func (*Secrets20230613OpenAppSecretsResponse) ContextValidate

func (m *Secrets20230613OpenAppSecretsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 open app secrets response based on the context it is used

func (*Secrets20230613OpenAppSecretsResponse) MarshalBinary

func (m *Secrets20230613OpenAppSecretsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613OpenAppSecretsResponse) UnmarshalBinary

func (m *Secrets20230613OpenAppSecretsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613OpenAppSecretsResponse) Validate

Validate validates this secrets 20230613 open app secrets response

type Secrets20230613OpenSecret

type Secrets20230613OpenSecret struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// created by
	CreatedBy *Secrets20230613Principal `json:"created_by,omitempty"`

	// latest version
	LatestVersion string `json:"latest_version,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// sync status
	SyncStatus map[string]Secrets20230613SyncStatus `json:"sync_status,omitempty"`

	// version
	Version *Secrets20230613OpenSecretVersion `json:"version,omitempty"`
}

Secrets20230613OpenSecret secrets 20230613 open secret

swagger:model secrets_20230613OpenSecret

func (*Secrets20230613OpenSecret) ContextValidate

func (m *Secrets20230613OpenSecret) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 open secret based on the context it is used

func (*Secrets20230613OpenSecret) MarshalBinary

func (m *Secrets20230613OpenSecret) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613OpenSecret) UnmarshalBinary

func (m *Secrets20230613OpenSecret) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613OpenSecret) Validate

func (m *Secrets20230613OpenSecret) Validate(formats strfmt.Registry) error

Validate validates this secrets 20230613 open secret

type Secrets20230613OpenSecretVersion

type Secrets20230613OpenSecretVersion struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// created by
	CreatedBy *Secrets20230613Principal `json:"created_by,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// value
	Value string `json:"value,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

Secrets20230613OpenSecretVersion secrets 20230613 open secret version

swagger:model secrets_20230613OpenSecretVersion

func (*Secrets20230613OpenSecretVersion) ContextValidate

func (m *Secrets20230613OpenSecretVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 open secret version based on the context it is used

func (*Secrets20230613OpenSecretVersion) MarshalBinary

func (m *Secrets20230613OpenSecretVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613OpenSecretVersion) UnmarshalBinary

func (m *Secrets20230613OpenSecretVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613OpenSecretVersion) Validate

Validate validates this secrets 20230613 open secret version

type Secrets20230613Principal

type Secrets20230613Principal struct {

	// email
	Email string `json:"email,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

Secrets20230613Principal Information about the principal who created or updated the resource

swagger:model secrets_20230613Principal

func (*Secrets20230613Principal) ContextValidate

func (m *Secrets20230613Principal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secrets 20230613 principal based on context it is used

func (*Secrets20230613Principal) MarshalBinary

func (m *Secrets20230613Principal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613Principal) UnmarshalBinary

func (m *Secrets20230613Principal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613Principal) Validate

func (m *Secrets20230613Principal) Validate(formats strfmt.Registry) error

Validate validates this secrets 20230613 principal

type Secrets20230613Secret

type Secrets20230613Secret struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// created by
	CreatedBy *Secrets20230613Principal `json:"created_by,omitempty"`

	// latest version
	LatestVersion string `json:"latest_version,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// sync status
	SyncStatus map[string]Secrets20230613SyncStatus `json:"sync_status,omitempty"`

	// version
	Version *Secrets20230613SecretVersion `json:"version,omitempty"`
}

Secrets20230613Secret secrets 20230613 secret

swagger:model secrets_20230613Secret

func (*Secrets20230613Secret) ContextValidate

func (m *Secrets20230613Secret) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 secret based on the context it is used

func (*Secrets20230613Secret) MarshalBinary

func (m *Secrets20230613Secret) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613Secret) UnmarshalBinary

func (m *Secrets20230613Secret) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613Secret) Validate

func (m *Secrets20230613Secret) Validate(formats strfmt.Registry) error

Validate validates this secrets 20230613 secret

type Secrets20230613SecretVersion

type Secrets20230613SecretVersion struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// created by
	CreatedBy *Secrets20230613Principal `json:"created_by,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

Secrets20230613SecretVersion secrets 20230613 secret version

swagger:model secrets_20230613SecretVersion

func (*Secrets20230613SecretVersion) ContextValidate

func (m *Secrets20230613SecretVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 secret version based on the context it is used

func (*Secrets20230613SecretVersion) MarshalBinary

func (m *Secrets20230613SecretVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613SecretVersion) UnmarshalBinary

func (m *Secrets20230613SecretVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613SecretVersion) Validate

func (m *Secrets20230613SecretVersion) Validate(formats strfmt.Registry) error

Validate validates this secrets 20230613 secret version

type Secrets20230613SyncInstallation

type Secrets20230613SyncInstallation struct {

	// aws assume role
	AwsAssumeRole *Secrets20230613AwsAssumeRoleMetadata `json:"aws_assume_role,omitempty"`

	// gh app
	GhApp *Secrets20230613GhAppMetadata `json:"gh_app,omitempty"`

	// location
	Location *CloudlocationLocation `json:"location,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// vercel oauth
	VercelOauth *Secrets20230613VercelOAuthMetadata `json:"vercel_oauth,omitempty"`
}

Secrets20230613SyncInstallation secrets 20230613 sync installation

swagger:model secrets_20230613SyncInstallation

func (*Secrets20230613SyncInstallation) ContextValidate

func (m *Secrets20230613SyncInstallation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 sync installation based on the context it is used

func (*Secrets20230613SyncInstallation) MarshalBinary

func (m *Secrets20230613SyncInstallation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613SyncInstallation) UnmarshalBinary

func (m *Secrets20230613SyncInstallation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613SyncInstallation) Validate

Validate validates this secrets 20230613 sync installation

type Secrets20230613SyncIntegration

type Secrets20230613SyncIntegration struct {

	// aws sm connection details
	AwsSmConnectionDetails *Secrets20230613AwsSmConnectionDetailsResponse `json:"aws_sm_connection_details,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// created by
	CreatedBy *Secrets20230613Principal `json:"created_by,omitempty"`

	// gh repo connection details
	GhRepoConnectionDetails *Secrets20230613GhRepoConnectionDetailsResponse `json:"gh_repo_connection_details,omitempty"`

	// location
	Location *CloudlocationLocation `json:"location,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy *Secrets20230613Principal `json:"updated_by,omitempty"`

	// vercel project connection details
	VercelProjectConnectionDetails *Secrets20230613VercelProjectConnectionDetailsResponse `json:"vercel_project_connection_details,omitempty"`
}

Secrets20230613SyncIntegration secrets 20230613 sync integration

swagger:model secrets_20230613SyncIntegration

func (*Secrets20230613SyncIntegration) ContextValidate

func (m *Secrets20230613SyncIntegration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 sync integration based on the context it is used

func (*Secrets20230613SyncIntegration) MarshalBinary

func (m *Secrets20230613SyncIntegration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613SyncIntegration) UnmarshalBinary

func (m *Secrets20230613SyncIntegration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613SyncIntegration) Validate

func (m *Secrets20230613SyncIntegration) Validate(formats strfmt.Registry) error

Validate validates this secrets 20230613 sync integration

type Secrets20230613SyncStatus

type Secrets20230613SyncStatus struct {

	// last error code
	LastErrorCode string `json:"last_error_code,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

Secrets20230613SyncStatus secrets 20230613 sync status

swagger:model secrets_20230613SyncStatus

func (*Secrets20230613SyncStatus) ContextValidate

func (m *Secrets20230613SyncStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secrets 20230613 sync status based on context it is used

func (*Secrets20230613SyncStatus) MarshalBinary

func (m *Secrets20230613SyncStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613SyncStatus) UnmarshalBinary

func (m *Secrets20230613SyncStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613SyncStatus) Validate

func (m *Secrets20230613SyncStatus) Validate(formats strfmt.Registry) error

Validate validates this secrets 20230613 sync status

type Secrets20230613Tier

type Secrets20230613Tier string

Secrets20230613Tier secrets 20230613 tier

swagger:model secrets_20230613Tier

const (

	// Secrets20230613TierUNKNOWN captures enum value "UNKNOWN"
	Secrets20230613TierUNKNOWN Secrets20230613Tier = "UNKNOWN"

	// Secrets20230613TierFREE captures enum value "FREE"
	Secrets20230613TierFREE Secrets20230613Tier = "FREE"

	// Secrets20230613TierSTANDARD captures enum value "STANDARD"
	Secrets20230613TierSTANDARD Secrets20230613Tier = "STANDARD"
)

func NewSecrets20230613Tier

func NewSecrets20230613Tier(value Secrets20230613Tier) *Secrets20230613Tier

func (Secrets20230613Tier) ContextValidate

func (m Secrets20230613Tier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secrets 20230613 tier based on context it is used

func (Secrets20230613Tier) Pointer

Pointer returns a pointer to a freshly-allocated Secrets20230613Tier.

func (Secrets20230613Tier) Validate

func (m Secrets20230613Tier) Validate(formats strfmt.Registry) error

Validate validates this secrets 20230613 tier

type Secrets20230613UpdateAppResponse

type Secrets20230613UpdateAppResponse struct {

	// app
	App *Secrets20230613App `json:"app,omitempty"`
}

Secrets20230613UpdateAppResponse secrets 20230613 update app response

swagger:model secrets_20230613UpdateAppResponse

func (*Secrets20230613UpdateAppResponse) ContextValidate

func (m *Secrets20230613UpdateAppResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 update app response based on the context it is used

func (*Secrets20230613UpdateAppResponse) MarshalBinary

func (m *Secrets20230613UpdateAppResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613UpdateAppResponse) UnmarshalBinary

func (m *Secrets20230613UpdateAppResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613UpdateAppResponse) Validate

Validate validates this secrets 20230613 update app response

type Secrets20230613UpdateSyncIntegrationResponse

type Secrets20230613UpdateSyncIntegrationResponse struct {

	// sync integration
	SyncIntegration *Secrets20230613SyncIntegration `json:"sync_integration,omitempty"`
}

Secrets20230613UpdateSyncIntegrationResponse secrets 20230613 update sync integration response

swagger:model secrets_20230613UpdateSyncIntegrationResponse

func (*Secrets20230613UpdateSyncIntegrationResponse) ContextValidate

ContextValidate validate this secrets 20230613 update sync integration response based on the context it is used

func (*Secrets20230613UpdateSyncIntegrationResponse) MarshalBinary

MarshalBinary interface implementation

func (*Secrets20230613UpdateSyncIntegrationResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*Secrets20230613UpdateSyncIntegrationResponse) Validate

Validate validates this secrets 20230613 update sync integration response

type Secrets20230613UpsertSyncInstallationResponse

type Secrets20230613UpsertSyncInstallationResponse struct {

	// sync installation
	SyncInstallation *Secrets20230613SyncInstallation `json:"sync_installation,omitempty"`
}

Secrets20230613UpsertSyncInstallationResponse secrets 20230613 upsert sync installation response

swagger:model secrets_20230613UpsertSyncInstallationResponse

func (*Secrets20230613UpsertSyncInstallationResponse) ContextValidate

ContextValidate validate this secrets 20230613 upsert sync installation response based on the context it is used

func (*Secrets20230613UpsertSyncInstallationResponse) MarshalBinary

MarshalBinary interface implementation

func (*Secrets20230613UpsertSyncInstallationResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*Secrets20230613UpsertSyncInstallationResponse) Validate

Validate validates this secrets 20230613 upsert sync installation response

type Secrets20230613UpsertSyncIntegrationResponse

type Secrets20230613UpsertSyncIntegrationResponse struct {

	// sync integration
	SyncIntegration *Secrets20230613SyncIntegration `json:"sync_integration,omitempty"`
}

Secrets20230613UpsertSyncIntegrationResponse secrets 20230613 upsert sync integration response

swagger:model secrets_20230613UpsertSyncIntegrationResponse

func (*Secrets20230613UpsertSyncIntegrationResponse) ContextValidate

ContextValidate validate this secrets 20230613 upsert sync integration response based on the context it is used

func (*Secrets20230613UpsertSyncIntegrationResponse) MarshalBinary

MarshalBinary interface implementation

func (*Secrets20230613UpsertSyncIntegrationResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*Secrets20230613UpsertSyncIntegrationResponse) Validate

Validate validates this secrets 20230613 upsert sync integration response

type Secrets20230613Usage

type Secrets20230613Usage struct {

	// active
	Active int32 `json:"active,omitempty"`

	// limit
	Limit int32 `json:"limit,omitempty"`

	// remaining
	Remaining int32 `json:"remaining,omitempty"`
}

Secrets20230613Usage secrets 20230613 usage

swagger:model secrets_20230613Usage

func (*Secrets20230613Usage) ContextValidate

func (m *Secrets20230613Usage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secrets 20230613 usage based on context it is used

func (*Secrets20230613Usage) MarshalBinary

func (m *Secrets20230613Usage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613Usage) UnmarshalBinary

func (m *Secrets20230613Usage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613Usage) Validate

func (m *Secrets20230613Usage) Validate(formats strfmt.Registry) error

Validate validates this secrets 20230613 usage

type Secrets20230613VercelOAuthMetadata

type Secrets20230613VercelOAuthMetadata struct {

	// configuration id
	ConfigurationID string `json:"configuration_id,omitempty"`

	// is team
	IsTeam bool `json:"is_team,omitempty"`

	// projects
	Projects []*Secrets20230613VercelProject `json:"projects"`

	// user or team display name
	UserOrTeamDisplayName string `json:"user_or_team_display_name,omitempty"`

	// user or team id
	UserOrTeamID string `json:"user_or_team_id,omitempty"`

	// user or team name
	UserOrTeamName string `json:"user_or_team_name,omitempty"`
}

Secrets20230613VercelOAuthMetadata secrets 20230613 vercel o auth metadata

swagger:model secrets_20230613VercelOAuthMetadata

func (*Secrets20230613VercelOAuthMetadata) ContextValidate

func (m *Secrets20230613VercelOAuthMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets 20230613 vercel o auth metadata based on the context it is used

func (*Secrets20230613VercelOAuthMetadata) MarshalBinary

func (m *Secrets20230613VercelOAuthMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613VercelOAuthMetadata) UnmarshalBinary

func (m *Secrets20230613VercelOAuthMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613VercelOAuthMetadata) Validate

Validate validates this secrets 20230613 vercel o auth metadata

type Secrets20230613VercelProject

type Secrets20230613VercelProject struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

Secrets20230613VercelProject secrets 20230613 vercel project

swagger:model secrets_20230613VercelProject

func (*Secrets20230613VercelProject) ContextValidate

func (m *Secrets20230613VercelProject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secrets 20230613 vercel project based on context it is used

func (*Secrets20230613VercelProject) MarshalBinary

func (m *Secrets20230613VercelProject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secrets20230613VercelProject) UnmarshalBinary

func (m *Secrets20230613VercelProject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secrets20230613VercelProject) Validate

func (m *Secrets20230613VercelProject) Validate(formats strfmt.Registry) error

Validate validates this secrets 20230613 vercel project

type Secrets20230613VercelProjectConnectionDetailsRequest

type Secrets20230613VercelProjectConnectionDetailsRequest struct {

	// access token
	AccessToken string `json:"access_token,omitempty"`

	// deployment environments
	DeploymentEnvironments []string `json:"deployment_environments"`

	// project id
	ProjectID string `json:"project_id,omitempty"`

	// project name
	ProjectName string `json:"project_name,omitempty"`

	// team id
	TeamID string `json:"team_id,omitempty"`

	// user or team name
	UserOrTeamName string `json:"user_or_team_name,omitempty"`
}

Secrets20230613VercelProjectConnectionDetailsRequest secrets 20230613 vercel project connection details request

swagger:model secrets_20230613VercelProjectConnectionDetailsRequest

func (*Secrets20230613VercelProjectConnectionDetailsRequest) ContextValidate

ContextValidate validates this secrets 20230613 vercel project connection details request based on context it is used

func (*Secrets20230613VercelProjectConnectionDetailsRequest) MarshalBinary

MarshalBinary interface implementation

func (*Secrets20230613VercelProjectConnectionDetailsRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*Secrets20230613VercelProjectConnectionDetailsRequest) Validate

Validate validates this secrets 20230613 vercel project connection details request

type Secrets20230613VercelProjectConnectionDetailsResponse

type Secrets20230613VercelProjectConnectionDetailsResponse struct {

	// configuration id
	ConfigurationID string `json:"configuration_id,omitempty"`

	// deployment environments
	DeploymentEnvironments []string `json:"deployment_environments"`

	// project id
	ProjectID string `json:"project_id,omitempty"`

	// project name
	ProjectName string `json:"project_name,omitempty"`

	// team id
	TeamID string `json:"team_id,omitempty"`
}

Secrets20230613VercelProjectConnectionDetailsResponse secrets 20230613 vercel project connection details response

swagger:model secrets_20230613VercelProjectConnectionDetailsResponse

func (*Secrets20230613VercelProjectConnectionDetailsResponse) ContextValidate

ContextValidate validates this secrets 20230613 vercel project connection details response based on context it is used

func (*Secrets20230613VercelProjectConnectionDetailsResponse) MarshalBinary

MarshalBinary interface implementation

func (*Secrets20230613VercelProjectConnectionDetailsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*Secrets20230613VercelProjectConnectionDetailsResponse) Validate

Validate validates this secrets 20230613 vercel project connection details response

Source Files

Jump to

Keyboard shortcuts

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