models

package
v0.0.0-...-b31e92a Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadgeServiceIssueBadgeBody

type BadgeServiceIssueBadgeBody struct {

	// The A2A badge.
	A2a *V1alpha1IssueA2ABadgeRequest `json:"a2a,omitempty"`

	// The MCP badge.
	Mcp *V1alpha1IssueMcpBadgeRequest `json:"mcp,omitempty"`

	// The OASF badge.
	Oasf *V1alpha1IssueOASFBadgeRequest `json:"oasf,omitempty"`
}

BadgeServiceIssueBadgeBody badge service issue badge body

swagger:model BadgeServiceIssueBadgeBody

func (*BadgeServiceIssueBadgeBody) ContextValidate

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

ContextValidate validate this badge service issue badge body based on the context it is used

func (*BadgeServiceIssueBadgeBody) MarshalBinary

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

MarshalBinary interface implementation

func (*BadgeServiceIssueBadgeBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BadgeServiceIssueBadgeBody) Validate

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

Validate validates this badge service issue badge body

type GetTasksResponseTaskList

type GetTasksResponseTaskList struct {

	// tasks
	Tasks []*V1alpha1Task `json:"tasks"`
}

GetTasksResponseTaskList get tasks response task list

swagger:model GetTasksResponseTaskList

func (*GetTasksResponseTaskList) ContextValidate

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

ContextValidate validate this get tasks response task list based on the context it is used

func (*GetTasksResponseTaskList) MarshalBinary

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

MarshalBinary interface implementation

func (*GetTasksResponseTaskList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetTasksResponseTaskList) Validate

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

Validate validates this get tasks response task list

type GoogleprotobufAny

type GoogleprotobufAny 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. As of May 2023, there are no widely used type server
	// implementations and no plans to implement one.
	//
	// Schemes other than `http`, `https` (or the empty scheme) might be
	// used with implementation specific semantics.
	AtType string `json:"@type,omitempty"`

	// googleprotobuf any
	GoogleprotobufAny map[string]any `json:"-"`
}

GoogleprotobufAny `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);
   }
   // or ...
   if (any.isSameTypeAs(Foo.getDefaultInstance())) {
     foo = any.unpack(Foo.getDefaultInstance());
   }

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 googleprotobufAny

func (*GoogleprotobufAny) ContextValidate

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

ContextValidate validates this googleprotobuf any based on context it is used

func (*GoogleprotobufAny) MarshalBinary

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

MarshalBinary interface implementation

func (GoogleprotobufAny) MarshalJSON

func (m GoogleprotobufAny) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with additional properties into a JSON object

func (*GoogleprotobufAny) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GoogleprotobufAny) UnmarshalJSON

func (m *GoogleprotobufAny) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object with additional properties from JSON

func (*GoogleprotobufAny) Validate

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

Validate validates this googleprotobuf any

type PolicyServiceCreateRuleBody

type PolicyServiceCreateRuleBody struct {

	// The action applied for the rule when calling the tasks
	Action *V1alpha1RuleAction `json:"action,omitempty"`

	// A human-readable description for the Rule.
	Description string `json:"description,omitempty"`

	// A human-readable name for the Rule.
	Name string `json:"name,omitempty"`

	// Need User Approval for this Rule.
	NeedsApproval bool `json:"needsApproval,omitempty"`

	// The tasks that this Rule applies to.
	Tasks []string `json:"tasks"`
}

PolicyServiceCreateRuleBody policy service create rule body

swagger:model PolicyServiceCreateRuleBody

func (*PolicyServiceCreateRuleBody) ContextValidate

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

ContextValidate validate this policy service create rule body based on the context it is used

func (*PolicyServiceCreateRuleBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PolicyServiceCreateRuleBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PolicyServiceCreateRuleBody) Validate

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

Validate validates this policy service create rule body

type PolicyServiceUpdatePolicyBody

type PolicyServiceUpdatePolicyBody struct {

	// The requester application that this policy applies to.
	AssignedTo string `json:"assignedTo,omitempty"`

	// A human-readable description for the Policy.
	Description string `json:"description,omitempty"`

	// A human-readable name for the Policy.
	Name string `json:"name,omitempty"`
}

PolicyServiceUpdatePolicyBody policy service update policy body

swagger:model PolicyServiceUpdatePolicyBody

func (*PolicyServiceUpdatePolicyBody) ContextValidate

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

ContextValidate validates this policy service update policy body based on context it is used

func (*PolicyServiceUpdatePolicyBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PolicyServiceUpdatePolicyBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PolicyServiceUpdatePolicyBody) Validate

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

Validate validates this policy service update policy body

type PolicyServiceUpdateRuleBody

type PolicyServiceUpdateRuleBody struct {

	// The action applied for the rule when calling the tasks
	Action *V1alpha1RuleAction `json:"action,omitempty"`

	// A human-readable description for the Rule.
	Description string `json:"description,omitempty"`

	// A human-readable name for the Rule.
	Name string `json:"name,omitempty"`

	// Need User Approval for this Rule.
	NeedsApproval bool `json:"needsApproval,omitempty"`

	// The tasks that this Rule applies to.
	Tasks []string `json:"tasks"`
}

PolicyServiceUpdateRuleBody policy service update rule body

swagger:model PolicyServiceUpdateRuleBody

func (*PolicyServiceUpdateRuleBody) ContextValidate

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

ContextValidate validate this policy service update rule body based on the context it is used

func (*PolicyServiceUpdateRuleBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PolicyServiceUpdateRuleBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PolicyServiceUpdateRuleBody) Validate

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

Validate validates this policy service update rule body

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. As of May 2023, there are no widely used type server
	// implementations and no plans to implement one.
	//
	// Schemes other than `http`, `https` (or the empty scheme) might be
	// used with implementation specific semantics.
	AtType string `json:"@type,omitempty"`

	// protobuf any
	ProtobufAny map[string]any `json:"-"`
}

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);
   }
   // or ...
   if (any.isSameTypeAs(Foo.getDefaultInstance())) {
     foo = any.unpack(Foo.getDefaultInstance());
   }

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

func (m ProtobufAny) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with additional properties into a JSON object

func (*ProtobufAny) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProtobufAny) UnmarshalJSON

func (m *ProtobufAny) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object with additional properties from JSON

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 V1alpha1APIKey

type V1alpha1APIKey struct {

	// api key
	APIKey string `json:"apiKey,omitempty"`
}

V1alpha1APIKey An Identity API Key.

swagger:model v1alpha1ApiKey

func (*V1alpha1APIKey) ContextValidate

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

ContextValidate validates this v1alpha1 Api key based on context it is used

func (*V1alpha1APIKey) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1APIKey) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1APIKey) Validate

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

Validate validates this v1alpha1 Api key

type V1alpha1App

type V1alpha1App struct {

	// The API Key Secret for the App.
	// Read Only: true
	APIKey string `json:"apiKey,omitempty"`

	// CreatedAt records the timestamp of when the App was initially created
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// A human-readable description for the App.
	Description string `json:"description,omitempty"`

	// A unique identifier for the App.
	// Read Only: true
	ID string `json:"id,omitempty"`

	// A human-readable name for the App.
	// Required: true
	Name *string `json:"name"`

	// The DID value
	// Read Only: true
	ResolverMetadataID string `json:"resolverMetadataId,omitempty"`

	// The status of the App
	// Read Only: true
	Status *V1alpha1AppStatus `json:"status,omitempty"`

	// The type of the App.
	// Required: true
	Type *V1alpha1AppType `json:"type"`
}

V1alpha1App Identity Service App.

swagger:model v1alpha1App

func (*V1alpha1App) ContextValidate

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

ContextValidate validate this v1alpha1 app based on the context it is used

func (*V1alpha1App) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1App) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1App) Validate

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

Validate validates this v1alpha1 app

type V1alpha1AppInfoResponse

type V1alpha1AppInfoResponse struct {

	// The App information.
	App *V1alpha1App `json:"app,omitempty"`
}

V1alpha1AppInfoResponse v1alpha1 app info response

swagger:model v1alpha1AppInfoResponse

func (*V1alpha1AppInfoResponse) ContextValidate

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

ContextValidate validate this v1alpha1 app info response based on the context it is used

func (*V1alpha1AppInfoResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1AppInfoResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1AppInfoResponse) Validate

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

Validate validates this v1alpha1 app info response

type V1alpha1AppStatus

type V1alpha1AppStatus string

V1alpha1AppStatus - APP_STATUS_UNSPECIFIED: Unspecified status

  • APP_STATUS_ACTIVE: The App has at least one active badge
  • APP_STATUS_PENDING: The App has no badges
  • APP_STATUS_REVOKED: The App has all the badges revoked

swagger:model v1alpha1AppStatus

const (

	// V1alpha1AppStatusAPPSTATUSUNSPECIFIED captures enum value "APP_STATUS_UNSPECIFIED"
	V1alpha1AppStatusAPPSTATUSUNSPECIFIED V1alpha1AppStatus = "APP_STATUS_UNSPECIFIED"

	// V1alpha1AppStatusAPPSTATUSACTIVE captures enum value "APP_STATUS_ACTIVE"
	V1alpha1AppStatusAPPSTATUSACTIVE V1alpha1AppStatus = "APP_STATUS_ACTIVE"

	// V1alpha1AppStatusAPPSTATUSPENDING captures enum value "APP_STATUS_PENDING"
	V1alpha1AppStatusAPPSTATUSPENDING V1alpha1AppStatus = "APP_STATUS_PENDING"

	// V1alpha1AppStatusAPPSTATUSREVOKED captures enum value "APP_STATUS_REVOKED"
	V1alpha1AppStatusAPPSTATUSREVOKED V1alpha1AppStatus = "APP_STATUS_REVOKED"
)

func NewV1alpha1AppStatus

func NewV1alpha1AppStatus(value V1alpha1AppStatus) *V1alpha1AppStatus

func (V1alpha1AppStatus) ContextValidate

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

ContextValidate validates this v1alpha1 app status based on context it is used

func (V1alpha1AppStatus) Pointer

func (m V1alpha1AppStatus) Pointer() *V1alpha1AppStatus

Pointer returns a pointer to a freshly-allocated V1alpha1AppStatus.

func (V1alpha1AppStatus) Validate

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

Validate validates this v1alpha1 app status

type V1alpha1AppType

type V1alpha1AppType string

V1alpha1AppType App Type

- APP_TYPE_UNSPECIFIED: Unspecified Envelope Type.

  • APP_TYPE_AGENT_A2A: Agent A2A App Type.
  • APP_TYPE_AGENT_OASF: Agent OASF App Type.
  • APP_TYPE_MCP_SERVER: Agent MCP Server App Type.

swagger:model v1alpha1AppType

const (

	// V1alpha1AppTypeAPPTYPEUNSPECIFIED captures enum value "APP_TYPE_UNSPECIFIED"
	V1alpha1AppTypeAPPTYPEUNSPECIFIED V1alpha1AppType = "APP_TYPE_UNSPECIFIED"

	// V1alpha1AppTypeAPPTYPEAGENTA2A captures enum value "APP_TYPE_AGENT_A2A"
	V1alpha1AppTypeAPPTYPEAGENTA2A V1alpha1AppType = "APP_TYPE_AGENT_A2A"

	// V1alpha1AppTypeAPPTYPEAGENTOASF captures enum value "APP_TYPE_AGENT_OASF"
	V1alpha1AppTypeAPPTYPEAGENTOASF V1alpha1AppType = "APP_TYPE_AGENT_OASF"

	// V1alpha1AppTypeAPPTYPEMCPSERVER captures enum value "APP_TYPE_MCP_SERVER"
	V1alpha1AppTypeAPPTYPEMCPSERVER V1alpha1AppType = "APP_TYPE_MCP_SERVER"
)

func NewV1alpha1AppType

func NewV1alpha1AppType(value V1alpha1AppType) *V1alpha1AppType

func (V1alpha1AppType) ContextValidate

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

ContextValidate validates this v1alpha1 app type based on context it is used

func (V1alpha1AppType) Pointer

func (m V1alpha1AppType) Pointer() *V1alpha1AppType

Pointer returns a pointer to a freshly-allocated V1alpha1AppType.

func (V1alpha1AppType) Validate

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

Validate validates this v1alpha1 app type

type V1alpha1AppTypeCountEntry

type V1alpha1AppTypeCountEntry struct {

	// The type of the App
	Key *V1alpha1AppType `json:"key,omitempty"`

	// The count of apps of the given type
	Value string `json:"value,omitempty"`
}

V1alpha1AppTypeCountEntry v1alpha1 app type count entry

swagger:model v1alpha1AppTypeCountEntry

func (*V1alpha1AppTypeCountEntry) ContextValidate

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

ContextValidate validate this v1alpha1 app type count entry based on the context it is used

func (*V1alpha1AppTypeCountEntry) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1AppTypeCountEntry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1AppTypeCountEntry) Validate

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

Validate validates this v1alpha1 app type count entry

type V1alpha1ApproveTokenRequest

type V1alpha1ApproveTokenRequest struct {

	// The action made by the user (true: allow the token, false: deny the token)
	Approve bool `json:"approve,omitempty"`

	// The device id used to handle the approval requestion
	DeviceID string `json:"deviceId,omitempty"`

	// The OTP sent to the device related to the request
	Otp string `json:"otp,omitempty"`

	// The session id related to the token that needs to be approved
	SessionID string `json:"sessionId,omitempty"`
}

V1alpha1ApproveTokenRequest v1alpha1 approve token request

swagger:model v1alpha1ApproveTokenRequest

func (*V1alpha1ApproveTokenRequest) ContextValidate

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

ContextValidate validates this v1alpha1 approve token request based on context it is used

func (*V1alpha1ApproveTokenRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1ApproveTokenRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1ApproveTokenRequest) Validate

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

Validate validates this v1alpha1 approve token request

type V1alpha1AuthorizeRequest

type V1alpha1AuthorizeRequest struct {

	// The resolver metadata id for which authorization is requested.
	ResolverMetadataID string `json:"resolverMetadataId,omitempty"`

	// The MCP Server tool name.
	ToolName string `json:"toolName,omitempty"`

	// The User context in the form of an id or access token.
	// Mandatory for User Approval Flows.
	UserToken string `json:"userToken,omitempty"`
}

V1alpha1AuthorizeRequest v1alpha1 authorize request

swagger:model v1alpha1AuthorizeRequest

func (*V1alpha1AuthorizeRequest) ContextValidate

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

ContextValidate validates this v1alpha1 authorize request based on context it is used

func (*V1alpha1AuthorizeRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1AuthorizeRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1AuthorizeRequest) Validate

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

Validate validates this v1alpha1 authorize request

type V1alpha1AuthorizeResponse

type V1alpha1AuthorizeResponse struct {

	// If authorization is successful, return a code to be used for
	// the token endpoint.
	AuthorizationCode string `json:"authorizationCode,omitempty"`
}

V1alpha1AuthorizeResponse v1alpha1 authorize response

swagger:model v1alpha1AuthorizeResponse

func (*V1alpha1AuthorizeResponse) ContextValidate

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

ContextValidate validates this v1alpha1 authorize response based on context it is used

func (*V1alpha1AuthorizeResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1AuthorizeResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1AuthorizeResponse) Validate

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

Validate validates this v1alpha1 authorize response

type V1alpha1Badge

type V1alpha1Badge struct {

	// app Id
	AppID string `json:"appId,omitempty"`

	// verifiable credential
	VerifiableCredential *V1alpha1VerifiableCredential `json:"verifiableCredential,omitempty"`
}

V1alpha1Badge v1alpha1 badge

swagger:model v1alpha1Badge

func (*V1alpha1Badge) ContextValidate

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

ContextValidate validate this v1alpha1 badge based on the context it is used

func (*V1alpha1Badge) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1Badge) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1Badge) Validate

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

Validate validates this v1alpha1 badge

type V1alpha1BadgeClaims

type V1alpha1BadgeClaims struct {

	// The content of the badge
	Badge string `json:"badge,omitempty"`

	// The ID as defined [here]
	//
	// [here]: https://www.w3.org/TR/vc-data-model/#credential-subject
	ID string `json:"id,omitempty"`
}

V1alpha1BadgeClaims BadgeClaims represents the content of a Badge VC defined here

swagger:model v1alpha1BadgeClaims

func (*V1alpha1BadgeClaims) ContextValidate

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

ContextValidate validates this v1alpha1 badge claims based on context it is used

func (*V1alpha1BadgeClaims) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1BadgeClaims) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1BadgeClaims) Validate

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

Validate validates this v1alpha1 badge claims

type V1alpha1CreateOasfAppRequest

type V1alpha1CreateOasfAppRequest struct {

	// The OASF schema in a base64 encoded format
	SchemaBase64 string `json:"schemaBase64,omitempty"`
}

V1alpha1CreateOasfAppRequest v1alpha1 create oasf app request

swagger:model v1alpha1CreateOasfAppRequest

func (*V1alpha1CreateOasfAppRequest) ContextValidate

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

ContextValidate validates this v1alpha1 create oasf app request based on context it is used

func (*V1alpha1CreateOasfAppRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1CreateOasfAppRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1CreateOasfAppRequest) Validate

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

Validate validates this v1alpha1 create oasf app request

type V1alpha1CreateOasfAppResponse

type V1alpha1CreateOasfAppResponse struct {

	// The created OASF App.
	App *V1alpha1App `json:"app,omitempty"`

	// The issued badge for the OASF App.
	Badge *V1alpha1Badge `json:"badge,omitempty"`
}

V1alpha1CreateOasfAppResponse v1alpha1 create oasf app response

swagger:model v1alpha1CreateOasfAppResponse

func (*V1alpha1CreateOasfAppResponse) ContextValidate

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

ContextValidate validate this v1alpha1 create oasf app response based on the context it is used

func (*V1alpha1CreateOasfAppResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1CreateOasfAppResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1CreateOasfAppResponse) Validate

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

Validate validates this v1alpha1 create oasf app response

type V1alpha1CreatePolicyRequest

type V1alpha1CreatePolicyRequest struct {

	// The requester application that this policy applies to.
	AssignedTo string `json:"assignedTo,omitempty"`

	// A human-readable description for the Policy.
	Description string `json:"description,omitempty"`

	// A human-readable name for the Policy.
	Name string `json:"name,omitempty"`
}

V1alpha1CreatePolicyRequest v1alpha1 create policy request

swagger:model v1alpha1CreatePolicyRequest

func (*V1alpha1CreatePolicyRequest) ContextValidate

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

ContextValidate validates this v1alpha1 create policy request based on context it is used

func (*V1alpha1CreatePolicyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1CreatePolicyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1CreatePolicyRequest) Validate

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

Validate validates this v1alpha1 create policy request

type V1alpha1CredentialSchema

type V1alpha1CredentialSchema struct {

	// The URL identifying the schema file
	ID string `json:"id,omitempty"`

	// Type specifies the type of the file
	Type string `json:"type,omitempty"`
}

V1alpha1CredentialSchema CredentialSchema represents the credentialSchema property of a Verifiable Credential. more information can be found here

swagger:model v1alpha1CredentialSchema

func (*V1alpha1CredentialSchema) ContextValidate

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

ContextValidate validates this v1alpha1 credential schema based on context it is used

func (*V1alpha1CredentialSchema) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1CredentialSchema) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1CredentialSchema) Validate

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

Validate validates this v1alpha1 credential schema

type V1alpha1CredentialStatus

type V1alpha1CredentialStatus struct {

	// The creation date and time of the status
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// The URL identifying the schema file
	ID string `json:"id,omitempty"`

	// The value of the purpose for the status entry
	Purpose *V1alpha1CredentialStatusPurpose `json:"purpose,omitempty"`

	// Type specifies the type of the file
	Type string `json:"type,omitempty"`
}

V1alpha1CredentialStatus CredentialStatus represents the credentialStatus property of a Verifiable Credential. more information can be found here

swagger:model v1alpha1CredentialStatus

func (*V1alpha1CredentialStatus) ContextValidate

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

ContextValidate validate this v1alpha1 credential status based on the context it is used

func (*V1alpha1CredentialStatus) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1CredentialStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1CredentialStatus) Validate

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

Validate validates this v1alpha1 credential status

type V1alpha1CredentialStatusPurpose

type V1alpha1CredentialStatusPurpose string

V1alpha1CredentialStatusPurpose The purpose of the status entry

- CREDENTIAL_STATUS_PURPOSE_UNSPECIFIED: Unspecified status purpose

  • CREDENTIAL_STATUS_PURPOSE_REVOCATION: Used to cancel the validity of a verifiable credential.

This status is not reversible.

swagger:model v1alpha1CredentialStatusPurpose

const (

	// V1alpha1CredentialStatusPurposeCREDENTIALSTATUSPURPOSEUNSPECIFIED captures enum value "CREDENTIAL_STATUS_PURPOSE_UNSPECIFIED"
	V1alpha1CredentialStatusPurposeCREDENTIALSTATUSPURPOSEUNSPECIFIED V1alpha1CredentialStatusPurpose = "CREDENTIAL_STATUS_PURPOSE_UNSPECIFIED"

	// V1alpha1CredentialStatusPurposeCREDENTIALSTATUSPURPOSEREVOCATION captures enum value "CREDENTIAL_STATUS_PURPOSE_REVOCATION"
	V1alpha1CredentialStatusPurposeCREDENTIALSTATUSPURPOSEREVOCATION V1alpha1CredentialStatusPurpose = "CREDENTIAL_STATUS_PURPOSE_REVOCATION"
)

func (V1alpha1CredentialStatusPurpose) ContextValidate

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

ContextValidate validates this v1alpha1 credential status purpose based on context it is used

func (V1alpha1CredentialStatusPurpose) Pointer

Pointer returns a pointer to a freshly-allocated V1alpha1CredentialStatusPurpose.

func (V1alpha1CredentialStatusPurpose) Validate

Validate validates this v1alpha1 credential status purpose

type V1alpha1Device

type V1alpha1Device struct {

	// The creation time of the Device.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// A unique identifier for the Device.
	// Read Only: true
	ID string `json:"id,omitempty"`

	// The device human-readable name.
	Name string `json:"name,omitempty"`

	// Subscription Token for the Device.
	SubscriptionToken string `json:"subscriptionToken,omitempty"`

	// User ID associated with the Device.
	UserID string `json:"userId,omitempty"`
}

V1alpha1Device Devices used for user approval

swagger:model v1alpha1Device

func (*V1alpha1Device) ContextValidate

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

ContextValidate validate this v1alpha1 device based on the context it is used

func (*V1alpha1Device) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1Device) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1Device) Validate

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

Validate validates this v1alpha1 device

type V1alpha1DuoIdpSettings

type V1alpha1DuoIdpSettings struct {

	// hostname
	Hostname string `json:"hostname,omitempty"`

	// integration key
	IntegrationKey string `json:"integrationKey,omitempty"`

	// secret key
	SecretKey string `json:"secretKey,omitempty"`
}

V1alpha1DuoIdpSettings Duo IdP Settings

swagger:model v1alpha1DuoIdpSettings

func (*V1alpha1DuoIdpSettings) ContextValidate

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

ContextValidate validates this v1alpha1 duo idp settings based on context it is used

func (*V1alpha1DuoIdpSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1DuoIdpSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1DuoIdpSettings) Validate

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

Validate validates this v1alpha1 duo idp settings

type V1alpha1EntraIdpSettings

type V1alpha1EntraIdpSettings struct {

	// client Id
	ClientID string `json:"clientId,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// tenant Id
	TenantID string `json:"tenantId,omitempty"`
}

V1alpha1EntraIdpSettings Entra ID (Azure AD) IdP Settings

swagger:model v1alpha1EntraIdpSettings

func (*V1alpha1EntraIdpSettings) ContextValidate

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

ContextValidate validates this v1alpha1 entra idp settings based on context it is used

func (*V1alpha1EntraIdpSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1EntraIdpSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1EntraIdpSettings) Validate

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

Validate validates this v1alpha1 entra idp settings

type V1alpha1ErrorInfo

type V1alpha1ErrorInfo struct {

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

	// reason
	Reason string `json:"reason,omitempty"`
}

V1alpha1ErrorInfo v1alpha1 error info

swagger:model v1alpha1ErrorInfo

func (*V1alpha1ErrorInfo) ContextValidate

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

ContextValidate validates this v1alpha1 error info based on context it is used

func (*V1alpha1ErrorInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1ErrorInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1ErrorInfo) Validate

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

Validate validates this v1alpha1 error info

type V1alpha1ExtAuthzRequest

type V1alpha1ExtAuthzRequest struct {

	// The access token to be authorized.
	AccessToken string `json:"accessToken,omitempty"`

	// The tool name that will be invoked
	ToolName string `json:"toolName,omitempty"`
}

V1alpha1ExtAuthzRequest v1alpha1 ext authz request

swagger:model v1alpha1ExtAuthzRequest

func (*V1alpha1ExtAuthzRequest) ContextValidate

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

ContextValidate validates this v1alpha1 ext authz request based on context it is used

func (*V1alpha1ExtAuthzRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1ExtAuthzRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1ExtAuthzRequest) Validate

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

Validate validates this v1alpha1 ext authz request

type V1alpha1GetAppsCountResponse

type V1alpha1GetAppsCountResponse struct {

	// The apps count per app type
	Counts []*V1alpha1AppTypeCountEntry `json:"counts"`

	// The total count
	Total string `json:"total,omitempty"`
}

V1alpha1GetAppsCountResponse v1alpha1 get apps count response

swagger:model v1alpha1GetAppsCountResponse

func (*V1alpha1GetAppsCountResponse) ContextValidate

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

ContextValidate validate this v1alpha1 get apps count response based on the context it is used

func (*V1alpha1GetAppsCountResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1GetAppsCountResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1GetAppsCountResponse) Validate

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

Validate validates this v1alpha1 get apps count response

type V1alpha1GetPoliciesCountResponse

type V1alpha1GetPoliciesCountResponse struct {

	// The total count
	Total string `json:"total,omitempty"`
}

V1alpha1GetPoliciesCountResponse v1alpha1 get policies count response

swagger:model v1alpha1GetPoliciesCountResponse

func (*V1alpha1GetPoliciesCountResponse) ContextValidate

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

ContextValidate validates this v1alpha1 get policies count response based on context it is used

func (*V1alpha1GetPoliciesCountResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1GetPoliciesCountResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1GetPoliciesCountResponse) Validate

Validate validates this v1alpha1 get policies count response

type V1alpha1GetTasksResponse

type V1alpha1GetTasksResponse struct {

	// The list of tasks per Agentic Service type
	Result map[string]GetTasksResponseTaskList `json:"result,omitempty"`
}

V1alpha1GetTasksResponse v1alpha1 get tasks response

swagger:model v1alpha1GetTasksResponse

func (*V1alpha1GetTasksResponse) ContextValidate

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

ContextValidate validate this v1alpha1 get tasks response based on the context it is used

func (*V1alpha1GetTasksResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1GetTasksResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1GetTasksResponse) Validate

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

Validate validates this v1alpha1 get tasks response

type V1alpha1IdpType

type V1alpha1IdpType string

V1alpha1IdpType Type

- IDP_TYPE_UNSPECIFIED: Unspecified Envelope Type.

  • IDP_TYPE_DUO: Idp Type Duo.
  • IDP_TYPE_OKTA: Idp Type Okta.
  • IDP_TYPE_ORY: Idp Type Ory.
  • IDP_TYPE_SELF: Idp Type Self.
  • IDP_TYPE_KEYCLOAK: Idp Type Keycloak.
  • IDP_TYPE_PING: Idp Type Ping.
  • IDP_TYPE_ENTRA_ID: Idp Type Entra ID

swagger:model v1alpha1IdpType

const (

	// V1alpha1IdpTypeIDPTYPEUNSPECIFIED captures enum value "IDP_TYPE_UNSPECIFIED"
	V1alpha1IdpTypeIDPTYPEUNSPECIFIED V1alpha1IdpType = "IDP_TYPE_UNSPECIFIED"

	// V1alpha1IdpTypeIDPTYPEDUO captures enum value "IDP_TYPE_DUO"
	V1alpha1IdpTypeIDPTYPEDUO V1alpha1IdpType = "IDP_TYPE_DUO"

	// V1alpha1IdpTypeIDPTYPEOKTA captures enum value "IDP_TYPE_OKTA"
	V1alpha1IdpTypeIDPTYPEOKTA V1alpha1IdpType = "IDP_TYPE_OKTA"

	// V1alpha1IdpTypeIDPTYPEORY captures enum value "IDP_TYPE_ORY"
	V1alpha1IdpTypeIDPTYPEORY V1alpha1IdpType = "IDP_TYPE_ORY"

	// V1alpha1IdpTypeIDPTYPESELF captures enum value "IDP_TYPE_SELF"
	V1alpha1IdpTypeIDPTYPESELF V1alpha1IdpType = "IDP_TYPE_SELF"

	// V1alpha1IdpTypeIDPTYPEKEYCLOAK captures enum value "IDP_TYPE_KEYCLOAK"
	V1alpha1IdpTypeIDPTYPEKEYCLOAK V1alpha1IdpType = "IDP_TYPE_KEYCLOAK"

	// V1alpha1IdpTypeIDPTYPEPING captures enum value "IDP_TYPE_PING"
	V1alpha1IdpTypeIDPTYPEPING V1alpha1IdpType = "IDP_TYPE_PING"

	// V1alpha1IdpTypeIDPTYPEENTRAID captures enum value "IDP_TYPE_ENTRA_ID"
	V1alpha1IdpTypeIDPTYPEENTRAID V1alpha1IdpType = "IDP_TYPE_ENTRA_ID"
)

func NewV1alpha1IdpType

func NewV1alpha1IdpType(value V1alpha1IdpType) *V1alpha1IdpType

func (V1alpha1IdpType) ContextValidate

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

ContextValidate validates this v1alpha1 idp type based on context it is used

func (V1alpha1IdpType) Pointer

func (m V1alpha1IdpType) Pointer() *V1alpha1IdpType

Pointer returns a pointer to a freshly-allocated V1alpha1IdpType.

func (V1alpha1IdpType) Validate

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

Validate validates this v1alpha1 idp type

type V1alpha1IssueA2ABadgeRequest

type V1alpha1IssueA2ABadgeRequest struct {

	// Or the MCP Schema in a base64 encoded format.
	SchemaBase64 string `json:"schemaBase64,omitempty"`

	// The A2A well_known_url.
	WellKnownURL string `json:"wellKnownUrl,omitempty"`
}

V1alpha1IssueA2ABadgeRequest v1alpha1 issue a2 a badge request

swagger:model v1alpha1IssueA2ABadgeRequest

func (*V1alpha1IssueA2ABadgeRequest) ContextValidate

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

ContextValidate validates this v1alpha1 issue a2 a badge request based on context it is used

func (*V1alpha1IssueA2ABadgeRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1IssueA2ABadgeRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1IssueA2ABadgeRequest) Validate

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

Validate validates this v1alpha1 issue a2 a badge request

type V1alpha1IssueMcpBadgeRequest

type V1alpha1IssueMcpBadgeRequest struct {

	// The MCP badge name.
	Name string `json:"name,omitempty"`

	// Or the MCP Schema in a base64 encoded format.
	SchemaBase64 string `json:"schemaBase64,omitempty"`

	// The MCP badge URL.
	URL string `json:"url,omitempty"`
}

V1alpha1IssueMcpBadgeRequest v1alpha1 issue mcp badge request

swagger:model v1alpha1IssueMcpBadgeRequest

func (*V1alpha1IssueMcpBadgeRequest) ContextValidate

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

ContextValidate validates this v1alpha1 issue mcp badge request based on context it is used

func (*V1alpha1IssueMcpBadgeRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1IssueMcpBadgeRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1IssueMcpBadgeRequest) Validate

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

Validate validates this v1alpha1 issue mcp badge request

type V1alpha1IssueOASFBadgeRequest

type V1alpha1IssueOASFBadgeRequest struct {

	// The OASF schema in a base64 encoded format
	SchemaBase64 string `json:"schemaBase64,omitempty"`
}

V1alpha1IssueOASFBadgeRequest v1alpha1 issue o a s f badge request

swagger:model v1alpha1IssueOASFBadgeRequest

func (*V1alpha1IssueOASFBadgeRequest) ContextValidate

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

ContextValidate validates this v1alpha1 issue o a s f badge request based on context it is used

func (*V1alpha1IssueOASFBadgeRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1IssueOASFBadgeRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1IssueOASFBadgeRequest) Validate

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

Validate validates this v1alpha1 issue o a s f badge request

type V1alpha1IssuerSettings

type V1alpha1IssuerSettings struct {

	// CreatedAt records the timestamp of when the IssuerSettings was initially created
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// Settings for the Duo Identity Provider.
	DuoIdpSettings *V1alpha1DuoIdpSettings `json:"duoIdpSettings,omitempty"`

	// Settings for the Entra ID Identity Provider.
	EntraIdpSettings *V1alpha1EntraIdpSettings `json:"entraIdpSettings,omitempty"`

	// The type of the IdP.
	// Required: true
	IdpType *V1alpha1IdpType `json:"idpType"`

	// A unique identifier for the Issuer.
	// This is typically the Issuer's ID in the Identity.
	// Read Only: true
	IssuerID string `json:"issuerId,omitempty"`

	// Settings for the Keycloak Identity Provider.
	KeycloakIdpSettings *V1alpha1KeycloakIdpSettings `json:"keycloakIdpSettings,omitempty"`

	// Settings for the Okta Identity Provider.
	OktaIdpSettings *V1alpha1OktaIdpSettings `json:"oktaIdpSettings,omitempty"`

	// Settings for the Ory Identity Provider.
	OryIdpSettings *V1alpha1OryIdpSettings `json:"oryIdpSettings,omitempty"`

	// Settings for the Ping Identity Provider.
	PingIdpSettings *V1alpha1PingIdpSettings `json:"pingIdpSettings,omitempty"`

	// UpdatedAt records the timestamp of the last update to the IssuerSettings
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}

V1alpha1IssuerSettings Issuer Settings

swagger:model v1alpha1IssuerSettings

func (*V1alpha1IssuerSettings) ContextValidate

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

ContextValidate validate this v1alpha1 issuer settings based on the context it is used

func (*V1alpha1IssuerSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1IssuerSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1IssuerSettings) Validate

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

Validate validates this v1alpha1 issuer settings

type V1alpha1KeycloakIdpSettings

type V1alpha1KeycloakIdpSettings struct {

	// base Url
	BaseURL string `json:"baseUrl,omitempty"`

	// client Id
	ClientID string `json:"clientId,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// realm
	Realm string `json:"realm,omitempty"`
}

V1alpha1KeycloakIdpSettings Keycloak IdP Settings

swagger:model v1alpha1KeycloakIdpSettings

func (*V1alpha1KeycloakIdpSettings) ContextValidate

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

ContextValidate validates this v1alpha1 keycloak idp settings based on context it is used

func (*V1alpha1KeycloakIdpSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1KeycloakIdpSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1KeycloakIdpSettings) Validate

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

Validate validates this v1alpha1 keycloak idp settings

type V1alpha1ListAppsResponse

type V1alpha1ListAppsResponse struct {

	// A list of Apps.
	Apps []*V1alpha1App `json:"apps"`

	// Pagination response.
	Pagination *V1alpha1PagedResponse `json:"pagination,omitempty"`
}

V1alpha1ListAppsResponse v1alpha1 list apps response

swagger:model v1alpha1ListAppsResponse

func (*V1alpha1ListAppsResponse) ContextValidate

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

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

func (*V1alpha1ListAppsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1ListAppsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1ListAppsResponse) Validate

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

Validate validates this v1alpha1 list apps response

type V1alpha1ListDevicesResponse

type V1alpha1ListDevicesResponse struct {

	// A list of Apps.
	Devices []*V1alpha1Device `json:"devices"`

	// Pagination response.
	Pagination *V1alpha1PagedResponse `json:"pagination,omitempty"`
}

V1alpha1ListDevicesResponse v1alpha1 list devices response

swagger:model v1alpha1ListDevicesResponse

func (*V1alpha1ListDevicesResponse) ContextValidate

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

ContextValidate validate this v1alpha1 list devices response based on the context it is used

func (*V1alpha1ListDevicesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1ListDevicesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1ListDevicesResponse) Validate

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

Validate validates this v1alpha1 list devices response

type V1alpha1ListPoliciesResponse

type V1alpha1ListPoliciesResponse struct {

	// Pagination response.
	Pagination *V1alpha1PagedResponse `json:"pagination,omitempty"`

	// A list of Policies.
	Policies []*V1alpha1Policy `json:"policies"`
}

V1alpha1ListPoliciesResponse v1alpha1 list policies response

swagger:model v1alpha1ListPoliciesResponse

func (*V1alpha1ListPoliciesResponse) ContextValidate

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

ContextValidate validate this v1alpha1 list policies response based on the context it is used

func (*V1alpha1ListPoliciesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1ListPoliciesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1ListPoliciesResponse) Validate

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

Validate validates this v1alpha1 list policies response

type V1alpha1ListRulesResponse

type V1alpha1ListRulesResponse struct {

	// Pagination response.
	Pagination *V1alpha1PagedResponse `json:"pagination,omitempty"`

	// A list of Rules.
	Rules []*V1alpha1Rule `json:"rules"`
}

V1alpha1ListRulesResponse v1alpha1 list rules response

swagger:model v1alpha1ListRulesResponse

func (*V1alpha1ListRulesResponse) ContextValidate

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

ContextValidate validate this v1alpha1 list rules response based on the context it is used

func (*V1alpha1ListRulesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1ListRulesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1ListRulesResponse) Validate

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

Validate validates this v1alpha1 list rules response

type V1alpha1OktaIdpSettings

type V1alpha1OktaIdpSettings struct {

	// client Id
	ClientID string `json:"clientId,omitempty"`

	// org Url
	OrgURL string `json:"orgUrl,omitempty"`

	// private key
	PrivateKey string `json:"privateKey,omitempty"`
}

V1alpha1OktaIdpSettings Okta IdP Settings

swagger:model v1alpha1OktaIdpSettings

func (*V1alpha1OktaIdpSettings) ContextValidate

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

ContextValidate validates this v1alpha1 okta idp settings based on context it is used

func (*V1alpha1OktaIdpSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1OktaIdpSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1OktaIdpSettings) Validate

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

Validate validates this v1alpha1 okta idp settings

type V1alpha1OryIdpSettings

type V1alpha1OryIdpSettings struct {

	// api key
	APIKey string `json:"apiKey,omitempty"`

	// project slug
	ProjectSlug string `json:"projectSlug,omitempty"`
}

V1alpha1OryIdpSettings Ory IdP Settings

swagger:model v1alpha1OryIdpSettings

func (*V1alpha1OryIdpSettings) ContextValidate

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

ContextValidate validates this v1alpha1 ory idp settings based on context it is used

func (*V1alpha1OryIdpSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1OryIdpSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1OryIdpSettings) Validate

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

Validate validates this v1alpha1 ory idp settings

type V1alpha1PagedResponse

type V1alpha1PagedResponse struct {

	// Has next page
	HasNextPage bool `json:"hasNextPage,omitempty"`

	// Next page
	NextPage int32 `json:"nextPage,omitempty"`

	// The size of the current page
	Size int32 `json:"size,omitempty"`

	// The total size of items
	Total string `json:"total,omitempty"`
}

V1alpha1PagedResponse Pagination response

swagger:model v1alpha1PagedResponse

func (*V1alpha1PagedResponse) ContextValidate

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

ContextValidate validates this v1alpha1 paged response based on context it is used

func (*V1alpha1PagedResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1PagedResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1PagedResponse) Validate

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

Validate validates this v1alpha1 paged response

type V1alpha1PingIdpSettings

type V1alpha1PingIdpSettings struct {

	// client Id
	ClientID string `json:"clientId,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// environment Id
	EnvironmentID string `json:"environmentId,omitempty"`

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

V1alpha1PingIdpSettings Ping IdP Settings

swagger:model v1alpha1PingIdpSettings

func (*V1alpha1PingIdpSettings) ContextValidate

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

ContextValidate validates this v1alpha1 ping idp settings based on context it is used

func (*V1alpha1PingIdpSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1PingIdpSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1PingIdpSettings) Validate

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

Validate validates this v1alpha1 ping idp settings

type V1alpha1Policy

type V1alpha1Policy struct {

	// The requester application that this Policy applies to.
	// Required: true
	AssignedTo *string `json:"assignedTo"`

	// CreatedAt records the timestamp of when the Policy was initially created
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// A human-readable description for the Policy.
	Description string `json:"description,omitempty"`

	// A unique identifier for the Policy.
	// Read Only: true
	ID string `json:"id,omitempty"`

	// A human-readable name for the Policy.
	// Required: true
	Name *string `json:"name"`

	// All the rules that apply to this Policy.
	// Required: true
	Rules []*V1alpha1Rule `json:"rules"`
}

V1alpha1Policy Identity Service Policy.

swagger:model v1alpha1Policy

func (*V1alpha1Policy) ContextValidate

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

ContextValidate validate this v1alpha1 policy based on the context it is used

func (*V1alpha1Policy) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1Policy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1Policy) Validate

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

Validate validates this v1alpha1 policy

type V1alpha1Proof

type V1alpha1Proof struct {

	// The proof purpose
	ProofPurpose string `json:"proofPurpose,omitempty"`

	// The proof value
	ProofValue string `json:"proofValue,omitempty"`

	// The type of the proof
	Type string `json:"type,omitempty"`
}

V1alpha1Proof A data integrity proof provides information about the proof mechanism, parameters required to verify that proof, and the proof value itself.

swagger:model v1alpha1Proof

func (*V1alpha1Proof) ContextValidate

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

ContextValidate validates this v1alpha1 proof based on context it is used

func (*V1alpha1Proof) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1Proof) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1Proof) Validate

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

Validate validates this v1alpha1 proof

type V1alpha1Rule

type V1alpha1Rule struct {

	// The action applied for the rule when calling the specified tasks
	// Required: true
	Action *V1alpha1RuleAction `json:"action"`

	// CreatedAt records the timestamp of when the Rule was initially created
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// A human-readable description for the Rule.
	Description string `json:"description,omitempty"`

	// A unique identifier for the Rule.
	// Read Only: true
	ID string `json:"id,omitempty"`

	// A human-readable name for the Rule.
	// Required: true
	Name *string `json:"name"`

	// Need User Approval for this Rule.
	// Required: true
	NeedsApproval *bool `json:"needsApproval"`

	// policy Id
	// Read Only: true
	PolicyID string `json:"policyId,omitempty"`

	// The tasks that this Rule applies to.
	// Required: true
	Tasks []*V1alpha1Task `json:"tasks"`
}

V1alpha1Rule Identity Service Policy Rule

swagger:model v1alpha1Rule

func (*V1alpha1Rule) ContextValidate

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

ContextValidate validate this v1alpha1 rule based on the context it is used

func (*V1alpha1Rule) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1Rule) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1Rule) Validate

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

Validate validates this v1alpha1 rule

type V1alpha1RuleAction

type V1alpha1RuleAction string

V1alpha1RuleAction v1alpha1 rule action

swagger:model v1alpha1RuleAction

const (

	// V1alpha1RuleActionRULEACTIONUNSPECIFIED captures enum value "RULE_ACTION_UNSPECIFIED"
	V1alpha1RuleActionRULEACTIONUNSPECIFIED V1alpha1RuleAction = "RULE_ACTION_UNSPECIFIED"

	// V1alpha1RuleActionRULEACTIONALLOW captures enum value "RULE_ACTION_ALLOW"
	V1alpha1RuleActionRULEACTIONALLOW V1alpha1RuleAction = "RULE_ACTION_ALLOW"

	// V1alpha1RuleActionRULEACTIONDENY captures enum value "RULE_ACTION_DENY"
	V1alpha1RuleActionRULEACTIONDENY V1alpha1RuleAction = "RULE_ACTION_DENY"
)

func NewV1alpha1RuleAction

func NewV1alpha1RuleAction(value V1alpha1RuleAction) *V1alpha1RuleAction

func (V1alpha1RuleAction) ContextValidate

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

ContextValidate validates this v1alpha1 rule action based on context it is used

func (V1alpha1RuleAction) Pointer

Pointer returns a pointer to a freshly-allocated V1alpha1RuleAction.

func (V1alpha1RuleAction) Validate

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

Validate validates this v1alpha1 rule action

type V1alpha1SetIssuerRequest

type V1alpha1SetIssuerRequest struct {

	// The Issuer Settings to set up.
	// Required: true
	IssuerSettings *V1alpha1IssuerSettings `json:"issuerSettings"`
}

V1alpha1SetIssuerRequest v1alpha1 set issuer request

swagger:model v1alpha1SetIssuerRequest

func (*V1alpha1SetIssuerRequest) ContextValidate

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

ContextValidate validate this v1alpha1 set issuer request based on the context it is used

func (*V1alpha1SetIssuerRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1SetIssuerRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1SetIssuerRequest) Validate

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

Validate validates this v1alpha1 set issuer request

type V1alpha1Settings

type V1alpha1Settings struct {

	// An API Key for the Identity Service.
	// Read Only: true
	APIKey *V1alpha1APIKey `json:"apiKey,omitempty"`

	// Settings for the Issuer.
	IssuerSettings *V1alpha1IssuerSettings `json:"issuerSettings,omitempty"`
}

V1alpha1Settings Identity Settings

swagger:model v1alpha1Settings

func (*V1alpha1Settings) ContextValidate

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

ContextValidate validate this v1alpha1 settings based on the context it is used

func (*V1alpha1Settings) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1Settings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1Settings) Validate

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

Validate validates this v1alpha1 settings

type V1alpha1Task

type V1alpha1Task struct {

	// An application ID for the Task.
	// Read Only: true
	AppID string `json:"appId,omitempty"`

	// A human-readable description for the Task.
	// Read Only: true
	Description string `json:"description,omitempty"`

	// A unique identifier for the Task.
	// Read Only: true
	ID string `json:"id,omitempty"`

	// A human-readable name for the Task.
	// Read Only: true
	Name string `json:"name,omitempty"`

	// A tool name for the Task.
	// Read Only: true
	ToolName string `json:"toolName,omitempty"`
}

V1alpha1Task Identity Service Policy Task

swagger:model v1alpha1Task

func (*V1alpha1Task) ContextValidate

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

ContextValidate validate this v1alpha1 task based on the context it is used

func (*V1alpha1Task) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1Task) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1Task) Validate

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

Validate validates this v1alpha1 task

type V1alpha1TokenRequest

type V1alpha1TokenRequest struct {

	// Pass the code received from the authorization endpoint.
	AuthorizationCode string `json:"authorizationCode,omitempty"`
}

V1alpha1TokenRequest v1alpha1 token request

swagger:model v1alpha1TokenRequest

func (*V1alpha1TokenRequest) ContextValidate

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

ContextValidate validates this v1alpha1 token request based on context it is used

func (*V1alpha1TokenRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1TokenRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1TokenRequest) Validate

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

Validate validates this v1alpha1 token request

type V1alpha1TokenResponse

type V1alpha1TokenResponse struct {

	// The access token issued to the Agent or MCP Server.
	AccessToken string `json:"accessToken,omitempty"`
}

V1alpha1TokenResponse v1alpha1 token response

swagger:model v1alpha1TokenResponse

func (*V1alpha1TokenResponse) ContextValidate

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

ContextValidate validates this v1alpha1 token response based on context it is used

func (*V1alpha1TokenResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1TokenResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1TokenResponse) Validate

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

Validate validates this v1alpha1 token response

type V1alpha1VerifiableCredential

type V1alpha1VerifiableCredential struct {

	// https://www.w3.org/TR/vc-data-model/#contexts
	Context []string `json:"context"`

	// https://www.w3.org/TR/vc-data-model-2.0/#data-schemas
	CredentialSchema []*V1alpha1CredentialSchema `json:"credentialSchema"`

	// https://www.w3.org/TR/vc-data-model-2.0/#status
	CredentialStatus []*V1alpha1CredentialStatus `json:"credentialStatus"`

	// https://www.w3.org/TR/vc-data-model/#credential-subject
	CredentialSubject *V1alpha1BadgeClaims `json:"credentialSubject,omitempty"`

	// https://www.w3.org/TR/vc-data-model/#expiration
	ExpirationDate string `json:"expirationDate,omitempty"`

	// https://www.w3.org/TR/vc-data-model/#identifiers
	ID string `json:"id,omitempty"`

	// https://www.w3.org/TR/vc-data-model/#issuance-date
	IssuanceDate string `json:"issuanceDate,omitempty"`

	// https://www.w3.org/TR/vc-data-model/#issuer
	Issuer string `json:"issuer,omitempty"`

	// https://w3id.org/security#proof
	Proof *V1alpha1Proof `json:"proof,omitempty"`

	// https://www.w3.org/TR/vc-data-model/#dfn-type
	Type []string `json:"type"`
}

V1alpha1VerifiableCredential DataModel represents the W3C Verifiable Credential Data Model defined here

swagger:model v1alpha1VerifiableCredential

func (*V1alpha1VerifiableCredential) ContextValidate

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

ContextValidate validate this v1alpha1 verifiable credential based on the context it is used

func (*V1alpha1VerifiableCredential) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1VerifiableCredential) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1VerifiableCredential) Validate

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

Validate validates this v1alpha1 verifiable credential

type V1alpha1VerificationResult

type V1alpha1VerificationResult struct {

	// A controlled identifier document that is associated with the verification method
	// used to verify the securing mechanism (i,e the DID)
	ControlledIdentifierDocument string `json:"controlledIdentifierDocument,omitempty"`

	// The controller of the verification method associated with the securing mechanism,
	// usually it represents the issuer.
	Controller string `json:"controller,omitempty"`

	// A conforming document which represents the Verifiable Credential
	Document *V1alpha1VerifiableCredential `json:"document,omitempty"`

	// A list represents zero or more errors generated by the verification process
	Errors []*V1alpha1ErrorInfo `json:"errors"`

	// The media type of the Verifiable Credential (ex: application/vc)
	MediaType string `json:"mediaType,omitempty"`

	// A boolean status
	Status bool `json:"status,omitempty"`

	// A list represents zero or more warnings generated by the verification process
	Warnings []*V1alpha1ErrorInfo `json:"warnings"`
}

V1alpha1VerificationResult The result returned from the verification process defined here

swagger:model v1alpha1VerificationResult

func (*V1alpha1VerificationResult) ContextValidate

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

ContextValidate validate this v1alpha1 verification result based on the context it is used

func (*V1alpha1VerificationResult) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1VerificationResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1VerificationResult) Validate

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

Validate validates this v1alpha1 verification result

type V1alpha1VerifyBadgeRequest

type V1alpha1VerifyBadgeRequest struct {

	// The JOSE enveloped badge to verify.
	Badge string `json:"badge,omitempty"`
}

V1alpha1VerifyBadgeRequest v1alpha1 verify badge request

swagger:model v1alpha1VerifyBadgeRequest

func (*V1alpha1VerifyBadgeRequest) ContextValidate

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

ContextValidate validates this v1alpha1 verify badge request based on context it is used

func (*V1alpha1VerifyBadgeRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1VerifyBadgeRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1VerifyBadgeRequest) Validate

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

Validate validates this v1alpha1 verify badge request

Source Files

Jump to

Keyboard shortcuts

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