engines

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddOryAccessControlPolicyRoleMembersInternalServerError

type AddOryAccessControlPolicyRoleMembersInternalServerError struct {
	Payload *AddOryAccessControlPolicyRoleMembersInternalServerErrorBody
}

AddOryAccessControlPolicyRoleMembersInternalServerError handles this case with default header values.

The standard error format

func NewAddOryAccessControlPolicyRoleMembersInternalServerError

func NewAddOryAccessControlPolicyRoleMembersInternalServerError() *AddOryAccessControlPolicyRoleMembersInternalServerError

NewAddOryAccessControlPolicyRoleMembersInternalServerError creates a AddOryAccessControlPolicyRoleMembersInternalServerError with default headers values

func (*AddOryAccessControlPolicyRoleMembersInternalServerError) Error

func (*AddOryAccessControlPolicyRoleMembersInternalServerError) GetPayload

type AddOryAccessControlPolicyRoleMembersInternalServerErrorBody

type AddOryAccessControlPolicyRoleMembersInternalServerErrorBody struct {

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

	// details
	Details []map[string]interface{} `json:"details"`

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

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

	// request
	Request string `json:"request,omitempty"`

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

AddOryAccessControlPolicyRoleMembersInternalServerErrorBody add ory access control policy role members internal server error body swagger:model AddOryAccessControlPolicyRoleMembersInternalServerErrorBody

func (*AddOryAccessControlPolicyRoleMembersInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*AddOryAccessControlPolicyRoleMembersInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*AddOryAccessControlPolicyRoleMembersInternalServerErrorBody) Validate

Validate validates this add ory access control policy role members internal server error body

type AddOryAccessControlPolicyRoleMembersOK

type AddOryAccessControlPolicyRoleMembersOK struct {
	Payload *models.OryAccessControlPolicyRole
}

AddOryAccessControlPolicyRoleMembersOK handles this case with default header values.

oryAccessControlPolicyRole

func NewAddOryAccessControlPolicyRoleMembersOK

func NewAddOryAccessControlPolicyRoleMembersOK() *AddOryAccessControlPolicyRoleMembersOK

NewAddOryAccessControlPolicyRoleMembersOK creates a AddOryAccessControlPolicyRoleMembersOK with default headers values

func (*AddOryAccessControlPolicyRoleMembersOK) Error

func (*AddOryAccessControlPolicyRoleMembersOK) GetPayload

type AddOryAccessControlPolicyRoleMembersParams

type AddOryAccessControlPolicyRoleMembersParams struct {

	/*Body*/
	Body *models.AddOryAccessControlPolicyRoleMembersBody
	/*Flavor
	  The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".

	*/
	Flavor string
	/*ID
	  The ID of the ORY Access Control Policy Role.

	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddOryAccessControlPolicyRoleMembersParams contains all the parameters to send to the API endpoint for the add ory access control policy role members operation typically these are written to a http.Request

func NewAddOryAccessControlPolicyRoleMembersParams

func NewAddOryAccessControlPolicyRoleMembersParams() *AddOryAccessControlPolicyRoleMembersParams

NewAddOryAccessControlPolicyRoleMembersParams creates a new AddOryAccessControlPolicyRoleMembersParams object with the default values initialized.

func NewAddOryAccessControlPolicyRoleMembersParamsWithContext

func NewAddOryAccessControlPolicyRoleMembersParamsWithContext(ctx context.Context) *AddOryAccessControlPolicyRoleMembersParams

NewAddOryAccessControlPolicyRoleMembersParamsWithContext creates a new AddOryAccessControlPolicyRoleMembersParams object with the default values initialized, and the ability to set a context for a request

func NewAddOryAccessControlPolicyRoleMembersParamsWithHTTPClient

func NewAddOryAccessControlPolicyRoleMembersParamsWithHTTPClient(client *http.Client) *AddOryAccessControlPolicyRoleMembersParams

NewAddOryAccessControlPolicyRoleMembersParamsWithHTTPClient creates a new AddOryAccessControlPolicyRoleMembersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddOryAccessControlPolicyRoleMembersParamsWithTimeout

func NewAddOryAccessControlPolicyRoleMembersParamsWithTimeout(timeout time.Duration) *AddOryAccessControlPolicyRoleMembersParams

NewAddOryAccessControlPolicyRoleMembersParamsWithTimeout creates a new AddOryAccessControlPolicyRoleMembersParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddOryAccessControlPolicyRoleMembersParams) SetBody

SetBody adds the body to the add ory access control policy role members params

func (*AddOryAccessControlPolicyRoleMembersParams) SetContext

SetContext adds the context to the add ory access control policy role members params

func (*AddOryAccessControlPolicyRoleMembersParams) SetFlavor

SetFlavor adds the flavor to the add ory access control policy role members params

func (*AddOryAccessControlPolicyRoleMembersParams) SetHTTPClient

func (o *AddOryAccessControlPolicyRoleMembersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add ory access control policy role members params

func (*AddOryAccessControlPolicyRoleMembersParams) SetID

SetID adds the id to the add ory access control policy role members params

func (*AddOryAccessControlPolicyRoleMembersParams) SetTimeout

SetTimeout adds the timeout to the add ory access control policy role members params

func (*AddOryAccessControlPolicyRoleMembersParams) WithBody

WithBody adds the body to the add ory access control policy role members params

func (*AddOryAccessControlPolicyRoleMembersParams) WithContext

WithContext adds the context to the add ory access control policy role members params

func (*AddOryAccessControlPolicyRoleMembersParams) WithFlavor

WithFlavor adds the flavor to the add ory access control policy role members params

func (*AddOryAccessControlPolicyRoleMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add ory access control policy role members params

func (*AddOryAccessControlPolicyRoleMembersParams) WithID

WithID adds the id to the add ory access control policy role members params

func (*AddOryAccessControlPolicyRoleMembersParams) WithTimeout

WithTimeout adds the timeout to the add ory access control policy role members params

func (*AddOryAccessControlPolicyRoleMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddOryAccessControlPolicyRoleMembersReader

type AddOryAccessControlPolicyRoleMembersReader struct {
	// contains filtered or unexported fields
}

AddOryAccessControlPolicyRoleMembersReader is a Reader for the AddOryAccessControlPolicyRoleMembers structure.

func (*AddOryAccessControlPolicyRoleMembersReader) ReadResponse

func (o *AddOryAccessControlPolicyRoleMembersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for engines API

func (*Client) AddOryAccessControlPolicyRoleMembers

func (a *Client) AddOryAccessControlPolicyRoleMembers(params *AddOryAccessControlPolicyRoleMembersParams) (*AddOryAccessControlPolicyRoleMembersOK, error)
AddOryAccessControlPolicyRoleMembers adds a member to an o r y access control policy role

Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID

as subject in the OACP.

func (*Client) DeleteOryAccessControlPolicy

func (a *Client) DeleteOryAccessControlPolicy(params *DeleteOryAccessControlPolicyParams) (*DeleteOryAccessControlPolicyNoContent, error)

DeleteOryAccessControlPolicy Delete an ORY Access Control Policy

func (*Client) DeleteOryAccessControlPolicyRole

func (a *Client) DeleteOryAccessControlPolicyRole(params *DeleteOryAccessControlPolicyRoleParams) (*DeleteOryAccessControlPolicyRoleNoContent, error)
DeleteOryAccessControlPolicyRole deletes an o r y access control policy role

Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID

as subject in the OACP.

func (*Client) DoOryAccessControlPoliciesAllow

func (a *Client) DoOryAccessControlPoliciesAllow(params *DoOryAccessControlPoliciesAllowParams) (*DoOryAccessControlPoliciesAllowOK, error)
DoOryAccessControlPoliciesAllow checks if a request is allowed

Use this endpoint to check if a request is allowed or not. If the request is allowed, a 200 response with

`{"allowed":"true"}` will be sent. If the request is denied, a 403 response with `{"allowed":"false"}` will be sent instead.

func (*Client) GetOryAccessControlPolicy

func (a *Client) GetOryAccessControlPolicy(params *GetOryAccessControlPolicyParams) (*GetOryAccessControlPolicyOK, error)

GetOryAccessControlPolicy Get an ORY Access Control Policy

func (*Client) GetOryAccessControlPolicyRole

func (a *Client) GetOryAccessControlPolicyRole(params *GetOryAccessControlPolicyRoleParams) (*GetOryAccessControlPolicyRoleOK, error)
GetOryAccessControlPolicyRole gets an o r y access control policy role

Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID

as subject in the OACP.

func (*Client) ListOryAccessControlPolicies

func (a *Client) ListOryAccessControlPolicies(params *ListOryAccessControlPoliciesParams) (*ListOryAccessControlPoliciesOK, error)

ListOryAccessControlPolicies List ORY Access Control Policies

func (*Client) ListOryAccessControlPolicyRoles

func (a *Client) ListOryAccessControlPolicyRoles(params *ListOryAccessControlPolicyRolesParams) (*ListOryAccessControlPolicyRolesOK, error)
ListOryAccessControlPolicyRoles lists o r y access control policy roles

Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID

as subject in the OACP.

func (*Client) RemoveOryAccessControlPolicyRoleMembers

func (a *Client) RemoveOryAccessControlPolicyRoleMembers(params *RemoveOryAccessControlPolicyRoleMembersParams) (*RemoveOryAccessControlPolicyRoleMembersOK, error)
RemoveOryAccessControlPolicyRoleMembers removes a member from an o r y access control policy role

Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID

as subject in the OACP.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpsertOryAccessControlPolicy

func (a *Client) UpsertOryAccessControlPolicy(params *UpsertOryAccessControlPolicyParams) (*UpsertOryAccessControlPolicyOK, error)

UpsertOryAccessControlPolicy Upsert an ORY Access Control Policy

func (*Client) UpsertOryAccessControlPolicyRole

func (a *Client) UpsertOryAccessControlPolicyRole(params *UpsertOryAccessControlPolicyRoleParams) (*UpsertOryAccessControlPolicyRoleOK, error)
UpsertOryAccessControlPolicyRole upserts an o r y access control policy role

Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID

as subject in the OACP.

type ClientService

type ClientService interface {
	AddOryAccessControlPolicyRoleMembers(params *AddOryAccessControlPolicyRoleMembersParams) (*AddOryAccessControlPolicyRoleMembersOK, error)

	DeleteOryAccessControlPolicy(params *DeleteOryAccessControlPolicyParams) (*DeleteOryAccessControlPolicyNoContent, error)

	DeleteOryAccessControlPolicyRole(params *DeleteOryAccessControlPolicyRoleParams) (*DeleteOryAccessControlPolicyRoleNoContent, error)

	DoOryAccessControlPoliciesAllow(params *DoOryAccessControlPoliciesAllowParams) (*DoOryAccessControlPoliciesAllowOK, error)

	GetOryAccessControlPolicy(params *GetOryAccessControlPolicyParams) (*GetOryAccessControlPolicyOK, error)

	GetOryAccessControlPolicyRole(params *GetOryAccessControlPolicyRoleParams) (*GetOryAccessControlPolicyRoleOK, error)

	ListOryAccessControlPolicies(params *ListOryAccessControlPoliciesParams) (*ListOryAccessControlPoliciesOK, error)

	ListOryAccessControlPolicyRoles(params *ListOryAccessControlPolicyRolesParams) (*ListOryAccessControlPolicyRolesOK, error)

	RemoveOryAccessControlPolicyRoleMembers(params *RemoveOryAccessControlPolicyRoleMembersParams) (*RemoveOryAccessControlPolicyRoleMembersOK, error)

	UpsertOryAccessControlPolicy(params *UpsertOryAccessControlPolicyParams) (*UpsertOryAccessControlPolicyOK, error)

	UpsertOryAccessControlPolicyRole(params *UpsertOryAccessControlPolicyRoleParams) (*UpsertOryAccessControlPolicyRoleOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new engines API client.

type DeleteOryAccessControlPolicyInternalServerError

type DeleteOryAccessControlPolicyInternalServerError struct {
	Payload *DeleteOryAccessControlPolicyInternalServerErrorBody
}

DeleteOryAccessControlPolicyInternalServerError handles this case with default header values.

The standard error format

func NewDeleteOryAccessControlPolicyInternalServerError

func NewDeleteOryAccessControlPolicyInternalServerError() *DeleteOryAccessControlPolicyInternalServerError

NewDeleteOryAccessControlPolicyInternalServerError creates a DeleteOryAccessControlPolicyInternalServerError with default headers values

func (*DeleteOryAccessControlPolicyInternalServerError) Error

func (*DeleteOryAccessControlPolicyInternalServerError) GetPayload

type DeleteOryAccessControlPolicyInternalServerErrorBody

type DeleteOryAccessControlPolicyInternalServerErrorBody struct {

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

	// details
	Details []map[string]interface{} `json:"details"`

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

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

	// request
	Request string `json:"request,omitempty"`

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

DeleteOryAccessControlPolicyInternalServerErrorBody delete ory access control policy internal server error body swagger:model DeleteOryAccessControlPolicyInternalServerErrorBody

func (*DeleteOryAccessControlPolicyInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOryAccessControlPolicyInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOryAccessControlPolicyInternalServerErrorBody) Validate

Validate validates this delete ory access control policy internal server error body

type DeleteOryAccessControlPolicyNoContent

type DeleteOryAccessControlPolicyNoContent struct {
}

DeleteOryAccessControlPolicyNoContent handles this case with default header values.

An empty response

func NewDeleteOryAccessControlPolicyNoContent

func NewDeleteOryAccessControlPolicyNoContent() *DeleteOryAccessControlPolicyNoContent

NewDeleteOryAccessControlPolicyNoContent creates a DeleteOryAccessControlPolicyNoContent with default headers values

func (*DeleteOryAccessControlPolicyNoContent) Error

type DeleteOryAccessControlPolicyParams

type DeleteOryAccessControlPolicyParams struct {

	/*Flavor
	  The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".

	*/
	Flavor string
	/*ID
	  The ID of the ORY Access Control Policy Role.

	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteOryAccessControlPolicyParams contains all the parameters to send to the API endpoint for the delete ory access control policy operation typically these are written to a http.Request

func NewDeleteOryAccessControlPolicyParams

func NewDeleteOryAccessControlPolicyParams() *DeleteOryAccessControlPolicyParams

NewDeleteOryAccessControlPolicyParams creates a new DeleteOryAccessControlPolicyParams object with the default values initialized.

func NewDeleteOryAccessControlPolicyParamsWithContext

func NewDeleteOryAccessControlPolicyParamsWithContext(ctx context.Context) *DeleteOryAccessControlPolicyParams

NewDeleteOryAccessControlPolicyParamsWithContext creates a new DeleteOryAccessControlPolicyParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteOryAccessControlPolicyParamsWithHTTPClient

func NewDeleteOryAccessControlPolicyParamsWithHTTPClient(client *http.Client) *DeleteOryAccessControlPolicyParams

NewDeleteOryAccessControlPolicyParamsWithHTTPClient creates a new DeleteOryAccessControlPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteOryAccessControlPolicyParamsWithTimeout

func NewDeleteOryAccessControlPolicyParamsWithTimeout(timeout time.Duration) *DeleteOryAccessControlPolicyParams

NewDeleteOryAccessControlPolicyParamsWithTimeout creates a new DeleteOryAccessControlPolicyParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteOryAccessControlPolicyParams) SetContext

SetContext adds the context to the delete ory access control policy params

func (*DeleteOryAccessControlPolicyParams) SetFlavor

func (o *DeleteOryAccessControlPolicyParams) SetFlavor(flavor string)

SetFlavor adds the flavor to the delete ory access control policy params

func (*DeleteOryAccessControlPolicyParams) SetHTTPClient

func (o *DeleteOryAccessControlPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete ory access control policy params

func (*DeleteOryAccessControlPolicyParams) SetID

SetID adds the id to the delete ory access control policy params

func (*DeleteOryAccessControlPolicyParams) SetTimeout

func (o *DeleteOryAccessControlPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete ory access control policy params

func (*DeleteOryAccessControlPolicyParams) WithContext

WithContext adds the context to the delete ory access control policy params

func (*DeleteOryAccessControlPolicyParams) WithFlavor

WithFlavor adds the flavor to the delete ory access control policy params

func (*DeleteOryAccessControlPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete ory access control policy params

func (*DeleteOryAccessControlPolicyParams) WithID

WithID adds the id to the delete ory access control policy params

func (*DeleteOryAccessControlPolicyParams) WithTimeout

WithTimeout adds the timeout to the delete ory access control policy params

func (*DeleteOryAccessControlPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOryAccessControlPolicyReader

type DeleteOryAccessControlPolicyReader struct {
	// contains filtered or unexported fields
}

DeleteOryAccessControlPolicyReader is a Reader for the DeleteOryAccessControlPolicy structure.

func (*DeleteOryAccessControlPolicyReader) ReadResponse

func (o *DeleteOryAccessControlPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteOryAccessControlPolicyRoleInternalServerError

type DeleteOryAccessControlPolicyRoleInternalServerError struct {
	Payload *DeleteOryAccessControlPolicyRoleInternalServerErrorBody
}

DeleteOryAccessControlPolicyRoleInternalServerError handles this case with default header values.

The standard error format

func NewDeleteOryAccessControlPolicyRoleInternalServerError

func NewDeleteOryAccessControlPolicyRoleInternalServerError() *DeleteOryAccessControlPolicyRoleInternalServerError

NewDeleteOryAccessControlPolicyRoleInternalServerError creates a DeleteOryAccessControlPolicyRoleInternalServerError with default headers values

func (*DeleteOryAccessControlPolicyRoleInternalServerError) Error

func (*DeleteOryAccessControlPolicyRoleInternalServerError) GetPayload

type DeleteOryAccessControlPolicyRoleInternalServerErrorBody

type DeleteOryAccessControlPolicyRoleInternalServerErrorBody struct {

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

	// details
	Details []map[string]interface{} `json:"details"`

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

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

	// request
	Request string `json:"request,omitempty"`

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

DeleteOryAccessControlPolicyRoleInternalServerErrorBody delete ory access control policy role internal server error body swagger:model DeleteOryAccessControlPolicyRoleInternalServerErrorBody

func (*DeleteOryAccessControlPolicyRoleInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*DeleteOryAccessControlPolicyRoleInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteOryAccessControlPolicyRoleInternalServerErrorBody) Validate

Validate validates this delete ory access control policy role internal server error body

type DeleteOryAccessControlPolicyRoleNoContent

type DeleteOryAccessControlPolicyRoleNoContent struct {
}

DeleteOryAccessControlPolicyRoleNoContent handles this case with default header values.

An empty response

func NewDeleteOryAccessControlPolicyRoleNoContent

func NewDeleteOryAccessControlPolicyRoleNoContent() *DeleteOryAccessControlPolicyRoleNoContent

NewDeleteOryAccessControlPolicyRoleNoContent creates a DeleteOryAccessControlPolicyRoleNoContent with default headers values

func (*DeleteOryAccessControlPolicyRoleNoContent) Error

type DeleteOryAccessControlPolicyRoleParams

type DeleteOryAccessControlPolicyRoleParams struct {

	/*Flavor
	  The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".

	*/
	Flavor string
	/*ID
	  The ID of the ORY Access Control Policy Role.

	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteOryAccessControlPolicyRoleParams contains all the parameters to send to the API endpoint for the delete ory access control policy role operation typically these are written to a http.Request

func NewDeleteOryAccessControlPolicyRoleParams

func NewDeleteOryAccessControlPolicyRoleParams() *DeleteOryAccessControlPolicyRoleParams

NewDeleteOryAccessControlPolicyRoleParams creates a new DeleteOryAccessControlPolicyRoleParams object with the default values initialized.

func NewDeleteOryAccessControlPolicyRoleParamsWithContext

func NewDeleteOryAccessControlPolicyRoleParamsWithContext(ctx context.Context) *DeleteOryAccessControlPolicyRoleParams

NewDeleteOryAccessControlPolicyRoleParamsWithContext creates a new DeleteOryAccessControlPolicyRoleParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteOryAccessControlPolicyRoleParamsWithHTTPClient

func NewDeleteOryAccessControlPolicyRoleParamsWithHTTPClient(client *http.Client) *DeleteOryAccessControlPolicyRoleParams

NewDeleteOryAccessControlPolicyRoleParamsWithHTTPClient creates a new DeleteOryAccessControlPolicyRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteOryAccessControlPolicyRoleParamsWithTimeout

func NewDeleteOryAccessControlPolicyRoleParamsWithTimeout(timeout time.Duration) *DeleteOryAccessControlPolicyRoleParams

NewDeleteOryAccessControlPolicyRoleParamsWithTimeout creates a new DeleteOryAccessControlPolicyRoleParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteOryAccessControlPolicyRoleParams) SetContext

SetContext adds the context to the delete ory access control policy role params

func (*DeleteOryAccessControlPolicyRoleParams) SetFlavor

func (o *DeleteOryAccessControlPolicyRoleParams) SetFlavor(flavor string)

SetFlavor adds the flavor to the delete ory access control policy role params

func (*DeleteOryAccessControlPolicyRoleParams) SetHTTPClient

func (o *DeleteOryAccessControlPolicyRoleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete ory access control policy role params

func (*DeleteOryAccessControlPolicyRoleParams) SetID

SetID adds the id to the delete ory access control policy role params

func (*DeleteOryAccessControlPolicyRoleParams) SetTimeout

func (o *DeleteOryAccessControlPolicyRoleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete ory access control policy role params

func (*DeleteOryAccessControlPolicyRoleParams) WithContext

WithContext adds the context to the delete ory access control policy role params

func (*DeleteOryAccessControlPolicyRoleParams) WithFlavor

WithFlavor adds the flavor to the delete ory access control policy role params

func (*DeleteOryAccessControlPolicyRoleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete ory access control policy role params

func (*DeleteOryAccessControlPolicyRoleParams) WithID

WithID adds the id to the delete ory access control policy role params

func (*DeleteOryAccessControlPolicyRoleParams) WithTimeout

WithTimeout adds the timeout to the delete ory access control policy role params

func (*DeleteOryAccessControlPolicyRoleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOryAccessControlPolicyRoleReader

type DeleteOryAccessControlPolicyRoleReader struct {
	// contains filtered or unexported fields
}

DeleteOryAccessControlPolicyRoleReader is a Reader for the DeleteOryAccessControlPolicyRole structure.

func (*DeleteOryAccessControlPolicyRoleReader) ReadResponse

func (o *DeleteOryAccessControlPolicyRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DoOryAccessControlPoliciesAllowForbidden

type DoOryAccessControlPoliciesAllowForbidden struct {
	Payload *models.AuthorizationResult
}

DoOryAccessControlPoliciesAllowForbidden handles this case with default header values.

authorizationResult

func NewDoOryAccessControlPoliciesAllowForbidden

func NewDoOryAccessControlPoliciesAllowForbidden() *DoOryAccessControlPoliciesAllowForbidden

NewDoOryAccessControlPoliciesAllowForbidden creates a DoOryAccessControlPoliciesAllowForbidden with default headers values

func (*DoOryAccessControlPoliciesAllowForbidden) Error

func (*DoOryAccessControlPoliciesAllowForbidden) GetPayload

type DoOryAccessControlPoliciesAllowInternalServerError

type DoOryAccessControlPoliciesAllowInternalServerError struct {
	Payload *DoOryAccessControlPoliciesAllowInternalServerErrorBody
}

DoOryAccessControlPoliciesAllowInternalServerError handles this case with default header values.

The standard error format

func NewDoOryAccessControlPoliciesAllowInternalServerError

func NewDoOryAccessControlPoliciesAllowInternalServerError() *DoOryAccessControlPoliciesAllowInternalServerError

NewDoOryAccessControlPoliciesAllowInternalServerError creates a DoOryAccessControlPoliciesAllowInternalServerError with default headers values

func (*DoOryAccessControlPoliciesAllowInternalServerError) Error

func (*DoOryAccessControlPoliciesAllowInternalServerError) GetPayload

type DoOryAccessControlPoliciesAllowInternalServerErrorBody

type DoOryAccessControlPoliciesAllowInternalServerErrorBody struct {

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

	// details
	Details []map[string]interface{} `json:"details"`

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

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

	// request
	Request string `json:"request,omitempty"`

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

DoOryAccessControlPoliciesAllowInternalServerErrorBody do ory access control policies allow internal server error body swagger:model DoOryAccessControlPoliciesAllowInternalServerErrorBody

func (*DoOryAccessControlPoliciesAllowInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*DoOryAccessControlPoliciesAllowInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DoOryAccessControlPoliciesAllowInternalServerErrorBody) Validate

Validate validates this do ory access control policies allow internal server error body

type DoOryAccessControlPoliciesAllowOK

type DoOryAccessControlPoliciesAllowOK struct {
	Payload *models.AuthorizationResult
}

DoOryAccessControlPoliciesAllowOK handles this case with default header values.

authorizationResult

func NewDoOryAccessControlPoliciesAllowOK

func NewDoOryAccessControlPoliciesAllowOK() *DoOryAccessControlPoliciesAllowOK

NewDoOryAccessControlPoliciesAllowOK creates a DoOryAccessControlPoliciesAllowOK with default headers values

func (*DoOryAccessControlPoliciesAllowOK) Error

func (*DoOryAccessControlPoliciesAllowOK) GetPayload

type DoOryAccessControlPoliciesAllowParams

type DoOryAccessControlPoliciesAllowParams struct {

	/*Body*/
	Body *models.OryAccessControlPolicyAllowedInput
	/*Flavor
	  The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".

	*/
	Flavor string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DoOryAccessControlPoliciesAllowParams contains all the parameters to send to the API endpoint for the do ory access control policies allow operation typically these are written to a http.Request

func NewDoOryAccessControlPoliciesAllowParams

func NewDoOryAccessControlPoliciesAllowParams() *DoOryAccessControlPoliciesAllowParams

NewDoOryAccessControlPoliciesAllowParams creates a new DoOryAccessControlPoliciesAllowParams object with the default values initialized.

func NewDoOryAccessControlPoliciesAllowParamsWithContext

func NewDoOryAccessControlPoliciesAllowParamsWithContext(ctx context.Context) *DoOryAccessControlPoliciesAllowParams

NewDoOryAccessControlPoliciesAllowParamsWithContext creates a new DoOryAccessControlPoliciesAllowParams object with the default values initialized, and the ability to set a context for a request

func NewDoOryAccessControlPoliciesAllowParamsWithHTTPClient

func NewDoOryAccessControlPoliciesAllowParamsWithHTTPClient(client *http.Client) *DoOryAccessControlPoliciesAllowParams

NewDoOryAccessControlPoliciesAllowParamsWithHTTPClient creates a new DoOryAccessControlPoliciesAllowParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDoOryAccessControlPoliciesAllowParamsWithTimeout

func NewDoOryAccessControlPoliciesAllowParamsWithTimeout(timeout time.Duration) *DoOryAccessControlPoliciesAllowParams

NewDoOryAccessControlPoliciesAllowParamsWithTimeout creates a new DoOryAccessControlPoliciesAllowParams object with the default values initialized, and the ability to set a timeout on a request

func (*DoOryAccessControlPoliciesAllowParams) SetBody

SetBody adds the body to the do ory access control policies allow params

func (*DoOryAccessControlPoliciesAllowParams) SetContext

SetContext adds the context to the do ory access control policies allow params

func (*DoOryAccessControlPoliciesAllowParams) SetFlavor

func (o *DoOryAccessControlPoliciesAllowParams) SetFlavor(flavor string)

SetFlavor adds the flavor to the do ory access control policies allow params

func (*DoOryAccessControlPoliciesAllowParams) SetHTTPClient

func (o *DoOryAccessControlPoliciesAllowParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the do ory access control policies allow params

func (*DoOryAccessControlPoliciesAllowParams) SetTimeout

func (o *DoOryAccessControlPoliciesAllowParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the do ory access control policies allow params

func (*DoOryAccessControlPoliciesAllowParams) WithBody

WithBody adds the body to the do ory access control policies allow params

func (*DoOryAccessControlPoliciesAllowParams) WithContext

WithContext adds the context to the do ory access control policies allow params

func (*DoOryAccessControlPoliciesAllowParams) WithFlavor

WithFlavor adds the flavor to the do ory access control policies allow params

func (*DoOryAccessControlPoliciesAllowParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the do ory access control policies allow params

func (*DoOryAccessControlPoliciesAllowParams) WithTimeout

WithTimeout adds the timeout to the do ory access control policies allow params

func (*DoOryAccessControlPoliciesAllowParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DoOryAccessControlPoliciesAllowReader

type DoOryAccessControlPoliciesAllowReader struct {
	// contains filtered or unexported fields
}

DoOryAccessControlPoliciesAllowReader is a Reader for the DoOryAccessControlPoliciesAllow structure.

func (*DoOryAccessControlPoliciesAllowReader) ReadResponse

func (o *DoOryAccessControlPoliciesAllowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOryAccessControlPolicyInternalServerError

type GetOryAccessControlPolicyInternalServerError struct {
	Payload *GetOryAccessControlPolicyInternalServerErrorBody
}

GetOryAccessControlPolicyInternalServerError handles this case with default header values.

The standard error format

func NewGetOryAccessControlPolicyInternalServerError

func NewGetOryAccessControlPolicyInternalServerError() *GetOryAccessControlPolicyInternalServerError

NewGetOryAccessControlPolicyInternalServerError creates a GetOryAccessControlPolicyInternalServerError with default headers values

func (*GetOryAccessControlPolicyInternalServerError) Error

func (*GetOryAccessControlPolicyInternalServerError) GetPayload

type GetOryAccessControlPolicyInternalServerErrorBody

type GetOryAccessControlPolicyInternalServerErrorBody struct {

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

	// details
	Details []map[string]interface{} `json:"details"`

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

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

	// request
	Request string `json:"request,omitempty"`

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

GetOryAccessControlPolicyInternalServerErrorBody get ory access control policy internal server error body swagger:model GetOryAccessControlPolicyInternalServerErrorBody

func (*GetOryAccessControlPolicyInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*GetOryAccessControlPolicyInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOryAccessControlPolicyInternalServerErrorBody) Validate

Validate validates this get ory access control policy internal server error body

type GetOryAccessControlPolicyNotFound

type GetOryAccessControlPolicyNotFound struct {
	Payload *GetOryAccessControlPolicyNotFoundBody
}

GetOryAccessControlPolicyNotFound handles this case with default header values.

The standard error format

func NewGetOryAccessControlPolicyNotFound

func NewGetOryAccessControlPolicyNotFound() *GetOryAccessControlPolicyNotFound

NewGetOryAccessControlPolicyNotFound creates a GetOryAccessControlPolicyNotFound with default headers values

func (*GetOryAccessControlPolicyNotFound) Error

func (*GetOryAccessControlPolicyNotFound) GetPayload

type GetOryAccessControlPolicyNotFoundBody

type GetOryAccessControlPolicyNotFoundBody struct {

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

	// details
	Details []map[string]interface{} `json:"details"`

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

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

	// request
	Request string `json:"request,omitempty"`

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

GetOryAccessControlPolicyNotFoundBody get ory access control policy not found body swagger:model GetOryAccessControlPolicyNotFoundBody

func (*GetOryAccessControlPolicyNotFoundBody) MarshalBinary

func (o *GetOryAccessControlPolicyNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOryAccessControlPolicyNotFoundBody) UnmarshalBinary

func (o *GetOryAccessControlPolicyNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOryAccessControlPolicyNotFoundBody) Validate

Validate validates this get ory access control policy not found body

type GetOryAccessControlPolicyOK

type GetOryAccessControlPolicyOK struct {
	Payload *models.OryAccessControlPolicy
}

GetOryAccessControlPolicyOK handles this case with default header values.

oryAccessControlPolicy

func NewGetOryAccessControlPolicyOK

func NewGetOryAccessControlPolicyOK() *GetOryAccessControlPolicyOK

NewGetOryAccessControlPolicyOK creates a GetOryAccessControlPolicyOK with default headers values

func (*GetOryAccessControlPolicyOK) Error

func (*GetOryAccessControlPolicyOK) GetPayload

type GetOryAccessControlPolicyParams

type GetOryAccessControlPolicyParams struct {

	/*Flavor
	  The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".

	*/
	Flavor string
	/*ID
	  The ID of the ORY Access Control Policy Role.

	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOryAccessControlPolicyParams contains all the parameters to send to the API endpoint for the get ory access control policy operation typically these are written to a http.Request

func NewGetOryAccessControlPolicyParams

func NewGetOryAccessControlPolicyParams() *GetOryAccessControlPolicyParams

NewGetOryAccessControlPolicyParams creates a new GetOryAccessControlPolicyParams object with the default values initialized.

func NewGetOryAccessControlPolicyParamsWithContext

func NewGetOryAccessControlPolicyParamsWithContext(ctx context.Context) *GetOryAccessControlPolicyParams

NewGetOryAccessControlPolicyParamsWithContext creates a new GetOryAccessControlPolicyParams object with the default values initialized, and the ability to set a context for a request

func NewGetOryAccessControlPolicyParamsWithHTTPClient

func NewGetOryAccessControlPolicyParamsWithHTTPClient(client *http.Client) *GetOryAccessControlPolicyParams

NewGetOryAccessControlPolicyParamsWithHTTPClient creates a new GetOryAccessControlPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOryAccessControlPolicyParamsWithTimeout

func NewGetOryAccessControlPolicyParamsWithTimeout(timeout time.Duration) *GetOryAccessControlPolicyParams

NewGetOryAccessControlPolicyParamsWithTimeout creates a new GetOryAccessControlPolicyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetOryAccessControlPolicyParams) SetContext

func (o *GetOryAccessControlPolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the get ory access control policy params

func (*GetOryAccessControlPolicyParams) SetFlavor

func (o *GetOryAccessControlPolicyParams) SetFlavor(flavor string)

SetFlavor adds the flavor to the get ory access control policy params

func (*GetOryAccessControlPolicyParams) SetHTTPClient

func (o *GetOryAccessControlPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get ory access control policy params

func (*GetOryAccessControlPolicyParams) SetID

SetID adds the id to the get ory access control policy params

func (*GetOryAccessControlPolicyParams) SetTimeout

func (o *GetOryAccessControlPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get ory access control policy params

func (*GetOryAccessControlPolicyParams) WithContext

WithContext adds the context to the get ory access control policy params

func (*GetOryAccessControlPolicyParams) WithFlavor

WithFlavor adds the flavor to the get ory access control policy params

func (*GetOryAccessControlPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get ory access control policy params

func (*GetOryAccessControlPolicyParams) WithID

WithID adds the id to the get ory access control policy params

func (*GetOryAccessControlPolicyParams) WithTimeout

WithTimeout adds the timeout to the get ory access control policy params

func (*GetOryAccessControlPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOryAccessControlPolicyReader

type GetOryAccessControlPolicyReader struct {
	// contains filtered or unexported fields
}

GetOryAccessControlPolicyReader is a Reader for the GetOryAccessControlPolicy structure.

func (*GetOryAccessControlPolicyReader) ReadResponse

func (o *GetOryAccessControlPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOryAccessControlPolicyRoleInternalServerError

type GetOryAccessControlPolicyRoleInternalServerError struct {
	Payload *GetOryAccessControlPolicyRoleInternalServerErrorBody
}

GetOryAccessControlPolicyRoleInternalServerError handles this case with default header values.

The standard error format

func NewGetOryAccessControlPolicyRoleInternalServerError

func NewGetOryAccessControlPolicyRoleInternalServerError() *GetOryAccessControlPolicyRoleInternalServerError

NewGetOryAccessControlPolicyRoleInternalServerError creates a GetOryAccessControlPolicyRoleInternalServerError with default headers values

func (*GetOryAccessControlPolicyRoleInternalServerError) Error

func (*GetOryAccessControlPolicyRoleInternalServerError) GetPayload

type GetOryAccessControlPolicyRoleInternalServerErrorBody

type GetOryAccessControlPolicyRoleInternalServerErrorBody struct {

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

	// details
	Details []map[string]interface{} `json:"details"`

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

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

	// request
	Request string `json:"request,omitempty"`

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

GetOryAccessControlPolicyRoleInternalServerErrorBody get ory access control policy role internal server error body swagger:model GetOryAccessControlPolicyRoleInternalServerErrorBody

func (*GetOryAccessControlPolicyRoleInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*GetOryAccessControlPolicyRoleInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOryAccessControlPolicyRoleInternalServerErrorBody) Validate

Validate validates this get ory access control policy role internal server error body

type GetOryAccessControlPolicyRoleNotFound

type GetOryAccessControlPolicyRoleNotFound struct {
	Payload *GetOryAccessControlPolicyRoleNotFoundBody
}

GetOryAccessControlPolicyRoleNotFound handles this case with default header values.

The standard error format

func NewGetOryAccessControlPolicyRoleNotFound

func NewGetOryAccessControlPolicyRoleNotFound() *GetOryAccessControlPolicyRoleNotFound

NewGetOryAccessControlPolicyRoleNotFound creates a GetOryAccessControlPolicyRoleNotFound with default headers values

func (*GetOryAccessControlPolicyRoleNotFound) Error

func (*GetOryAccessControlPolicyRoleNotFound) GetPayload

type GetOryAccessControlPolicyRoleNotFoundBody

type GetOryAccessControlPolicyRoleNotFoundBody struct {

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

	// details
	Details []map[string]interface{} `json:"details"`

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

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

	// request
	Request string `json:"request,omitempty"`

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

GetOryAccessControlPolicyRoleNotFoundBody get ory access control policy role not found body swagger:model GetOryAccessControlPolicyRoleNotFoundBody

func (*GetOryAccessControlPolicyRoleNotFoundBody) MarshalBinary

func (o *GetOryAccessControlPolicyRoleNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOryAccessControlPolicyRoleNotFoundBody) UnmarshalBinary

func (o *GetOryAccessControlPolicyRoleNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOryAccessControlPolicyRoleNotFoundBody) Validate

Validate validates this get ory access control policy role not found body

type GetOryAccessControlPolicyRoleOK

type GetOryAccessControlPolicyRoleOK struct {
	Payload *models.OryAccessControlPolicyRole
}

GetOryAccessControlPolicyRoleOK handles this case with default header values.

oryAccessControlPolicyRole

func NewGetOryAccessControlPolicyRoleOK

func NewGetOryAccessControlPolicyRoleOK() *GetOryAccessControlPolicyRoleOK

NewGetOryAccessControlPolicyRoleOK creates a GetOryAccessControlPolicyRoleOK with default headers values

func (*GetOryAccessControlPolicyRoleOK) Error

func (*GetOryAccessControlPolicyRoleOK) GetPayload

type GetOryAccessControlPolicyRoleParams

type GetOryAccessControlPolicyRoleParams struct {

	/*Flavor
	  The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".

	*/
	Flavor string
	/*ID
	  The ID of the ORY Access Control Policy Role.

	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOryAccessControlPolicyRoleParams contains all the parameters to send to the API endpoint for the get ory access control policy role operation typically these are written to a http.Request

func NewGetOryAccessControlPolicyRoleParams

func NewGetOryAccessControlPolicyRoleParams() *GetOryAccessControlPolicyRoleParams

NewGetOryAccessControlPolicyRoleParams creates a new GetOryAccessControlPolicyRoleParams object with the default values initialized.

func NewGetOryAccessControlPolicyRoleParamsWithContext

func NewGetOryAccessControlPolicyRoleParamsWithContext(ctx context.Context) *GetOryAccessControlPolicyRoleParams

NewGetOryAccessControlPolicyRoleParamsWithContext creates a new GetOryAccessControlPolicyRoleParams object with the default values initialized, and the ability to set a context for a request

func NewGetOryAccessControlPolicyRoleParamsWithHTTPClient

func NewGetOryAccessControlPolicyRoleParamsWithHTTPClient(client *http.Client) *GetOryAccessControlPolicyRoleParams

NewGetOryAccessControlPolicyRoleParamsWithHTTPClient creates a new GetOryAccessControlPolicyRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOryAccessControlPolicyRoleParamsWithTimeout

func NewGetOryAccessControlPolicyRoleParamsWithTimeout(timeout time.Duration) *GetOryAccessControlPolicyRoleParams

NewGetOryAccessControlPolicyRoleParamsWithTimeout creates a new GetOryAccessControlPolicyRoleParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetOryAccessControlPolicyRoleParams) SetContext

SetContext adds the context to the get ory access control policy role params

func (*GetOryAccessControlPolicyRoleParams) SetFlavor

func (o *GetOryAccessControlPolicyRoleParams) SetFlavor(flavor string)

SetFlavor adds the flavor to the get ory access control policy role params

func (*GetOryAccessControlPolicyRoleParams) SetHTTPClient

func (o *GetOryAccessControlPolicyRoleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get ory access control policy role params

func (*GetOryAccessControlPolicyRoleParams) SetID

SetID adds the id to the get ory access control policy role params

func (*GetOryAccessControlPolicyRoleParams) SetTimeout

func (o *GetOryAccessControlPolicyRoleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get ory access control policy role params

func (*GetOryAccessControlPolicyRoleParams) WithContext

WithContext adds the context to the get ory access control policy role params

func (*GetOryAccessControlPolicyRoleParams) WithFlavor

WithFlavor adds the flavor to the get ory access control policy role params

func (*GetOryAccessControlPolicyRoleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get ory access control policy role params

func (*GetOryAccessControlPolicyRoleParams) WithID

WithID adds the id to the get ory access control policy role params

func (*GetOryAccessControlPolicyRoleParams) WithTimeout

WithTimeout adds the timeout to the get ory access control policy role params

func (*GetOryAccessControlPolicyRoleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOryAccessControlPolicyRoleReader

type GetOryAccessControlPolicyRoleReader struct {
	// contains filtered or unexported fields
}

GetOryAccessControlPolicyRoleReader is a Reader for the GetOryAccessControlPolicyRole structure.

func (*GetOryAccessControlPolicyRoleReader) ReadResponse

func (o *GetOryAccessControlPolicyRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListOryAccessControlPoliciesInternalServerError

type ListOryAccessControlPoliciesInternalServerError struct {
	Payload *ListOryAccessControlPoliciesInternalServerErrorBody
}

ListOryAccessControlPoliciesInternalServerError handles this case with default header values.

The standard error format

func NewListOryAccessControlPoliciesInternalServerError

func NewListOryAccessControlPoliciesInternalServerError() *ListOryAccessControlPoliciesInternalServerError

NewListOryAccessControlPoliciesInternalServerError creates a ListOryAccessControlPoliciesInternalServerError with default headers values

func (*ListOryAccessControlPoliciesInternalServerError) Error

func (*ListOryAccessControlPoliciesInternalServerError) GetPayload

type ListOryAccessControlPoliciesInternalServerErrorBody

type ListOryAccessControlPoliciesInternalServerErrorBody struct {

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

	// details
	Details []map[string]interface{} `json:"details"`

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

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

	// request
	Request string `json:"request,omitempty"`

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

ListOryAccessControlPoliciesInternalServerErrorBody list ory access control policies internal server error body swagger:model ListOryAccessControlPoliciesInternalServerErrorBody

func (*ListOryAccessControlPoliciesInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*ListOryAccessControlPoliciesInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOryAccessControlPoliciesInternalServerErrorBody) Validate

Validate validates this list ory access control policies internal server error body

type ListOryAccessControlPoliciesOK

type ListOryAccessControlPoliciesOK struct {
	Payload []*models.OryAccessControlPolicy
}

ListOryAccessControlPoliciesOK handles this case with default header values.

Policies is an array of policies.

func NewListOryAccessControlPoliciesOK

func NewListOryAccessControlPoliciesOK() *ListOryAccessControlPoliciesOK

NewListOryAccessControlPoliciesOK creates a ListOryAccessControlPoliciesOK with default headers values

func (*ListOryAccessControlPoliciesOK) Error

func (*ListOryAccessControlPoliciesOK) GetPayload

type ListOryAccessControlPoliciesParams

type ListOryAccessControlPoliciesParams struct {

	/*Action
	  The action for which policies are to be listed.

	*/
	Action *string
	/*Flavor
	  The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact"

	*/
	Flavor string
	/*Limit
	  The maximum amount of policies returned.

	*/
	Limit *int64
	/*Offset
	  The offset from where to start looking.

	*/
	Offset *int64
	/*Resource
	  The resource for which the policies are to be listed.

	*/
	Resource *string
	/*Subject
	  The subject for whom the policies are to be listed.

	*/
	Subject *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListOryAccessControlPoliciesParams contains all the parameters to send to the API endpoint for the list ory access control policies operation typically these are written to a http.Request

func NewListOryAccessControlPoliciesParams

func NewListOryAccessControlPoliciesParams() *ListOryAccessControlPoliciesParams

NewListOryAccessControlPoliciesParams creates a new ListOryAccessControlPoliciesParams object with the default values initialized.

func NewListOryAccessControlPoliciesParamsWithContext

func NewListOryAccessControlPoliciesParamsWithContext(ctx context.Context) *ListOryAccessControlPoliciesParams

NewListOryAccessControlPoliciesParamsWithContext creates a new ListOryAccessControlPoliciesParams object with the default values initialized, and the ability to set a context for a request

func NewListOryAccessControlPoliciesParamsWithHTTPClient

func NewListOryAccessControlPoliciesParamsWithHTTPClient(client *http.Client) *ListOryAccessControlPoliciesParams

NewListOryAccessControlPoliciesParamsWithHTTPClient creates a new ListOryAccessControlPoliciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListOryAccessControlPoliciesParamsWithTimeout

func NewListOryAccessControlPoliciesParamsWithTimeout(timeout time.Duration) *ListOryAccessControlPoliciesParams

NewListOryAccessControlPoliciesParamsWithTimeout creates a new ListOryAccessControlPoliciesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListOryAccessControlPoliciesParams) SetAction

func (o *ListOryAccessControlPoliciesParams) SetAction(action *string)

SetAction adds the action to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) SetContext

SetContext adds the context to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) SetFlavor

func (o *ListOryAccessControlPoliciesParams) SetFlavor(flavor string)

SetFlavor adds the flavor to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) SetHTTPClient

func (o *ListOryAccessControlPoliciesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) SetLimit

func (o *ListOryAccessControlPoliciesParams) SetLimit(limit *int64)

SetLimit adds the limit to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) SetOffset

func (o *ListOryAccessControlPoliciesParams) SetOffset(offset *int64)

SetOffset adds the offset to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) SetResource

func (o *ListOryAccessControlPoliciesParams) SetResource(resource *string)

SetResource adds the resource to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) SetSubject

func (o *ListOryAccessControlPoliciesParams) SetSubject(subject *string)

SetSubject adds the subject to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) SetTimeout

func (o *ListOryAccessControlPoliciesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) WithAction

WithAction adds the action to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) WithContext

WithContext adds the context to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) WithFlavor

WithFlavor adds the flavor to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) WithLimit

WithLimit adds the limit to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) WithOffset

WithOffset adds the offset to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) WithResource

WithResource adds the resource to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) WithSubject

WithSubject adds the subject to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) WithTimeout

WithTimeout adds the timeout to the list ory access control policies params

func (*ListOryAccessControlPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOryAccessControlPoliciesReader

type ListOryAccessControlPoliciesReader struct {
	// contains filtered or unexported fields
}

ListOryAccessControlPoliciesReader is a Reader for the ListOryAccessControlPolicies structure.

func (*ListOryAccessControlPoliciesReader) ReadResponse

func (o *ListOryAccessControlPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListOryAccessControlPolicyRolesInternalServerError

type ListOryAccessControlPolicyRolesInternalServerError struct {
	Payload *ListOryAccessControlPolicyRolesInternalServerErrorBody
}

ListOryAccessControlPolicyRolesInternalServerError handles this case with default header values.

The standard error format

func NewListOryAccessControlPolicyRolesInternalServerError

func NewListOryAccessControlPolicyRolesInternalServerError() *ListOryAccessControlPolicyRolesInternalServerError

NewListOryAccessControlPolicyRolesInternalServerError creates a ListOryAccessControlPolicyRolesInternalServerError with default headers values

func (*ListOryAccessControlPolicyRolesInternalServerError) Error

func (*ListOryAccessControlPolicyRolesInternalServerError) GetPayload

type ListOryAccessControlPolicyRolesInternalServerErrorBody

type ListOryAccessControlPolicyRolesInternalServerErrorBody struct {

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

	// details
	Details []map[string]interface{} `json:"details"`

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

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

	// request
	Request string `json:"request,omitempty"`

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

ListOryAccessControlPolicyRolesInternalServerErrorBody list ory access control policy roles internal server error body swagger:model ListOryAccessControlPolicyRolesInternalServerErrorBody

func (*ListOryAccessControlPolicyRolesInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*ListOryAccessControlPolicyRolesInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListOryAccessControlPolicyRolesInternalServerErrorBody) Validate

Validate validates this list ory access control policy roles internal server error body

type ListOryAccessControlPolicyRolesOK

type ListOryAccessControlPolicyRolesOK struct {
	Payload []*models.OryAccessControlPolicyRole
}

ListOryAccessControlPolicyRolesOK handles this case with default header values.

Roles is an array of roles.

func NewListOryAccessControlPolicyRolesOK

func NewListOryAccessControlPolicyRolesOK() *ListOryAccessControlPolicyRolesOK

NewListOryAccessControlPolicyRolesOK creates a ListOryAccessControlPolicyRolesOK with default headers values

func (*ListOryAccessControlPolicyRolesOK) Error

func (*ListOryAccessControlPolicyRolesOK) GetPayload

type ListOryAccessControlPolicyRolesParams

type ListOryAccessControlPolicyRolesParams struct {

	/*Flavor
	  The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact"

	*/
	Flavor string
	/*Limit
	  The maximum amount of policies returned.

	*/
	Limit *int64
	/*Member
	  The member for which the roles are to be listed.

	*/
	Member *string
	/*Offset
	  The offset from where to start looking.

	*/
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListOryAccessControlPolicyRolesParams contains all the parameters to send to the API endpoint for the list ory access control policy roles operation typically these are written to a http.Request

func NewListOryAccessControlPolicyRolesParams

func NewListOryAccessControlPolicyRolesParams() *ListOryAccessControlPolicyRolesParams

NewListOryAccessControlPolicyRolesParams creates a new ListOryAccessControlPolicyRolesParams object with the default values initialized.

func NewListOryAccessControlPolicyRolesParamsWithContext

func NewListOryAccessControlPolicyRolesParamsWithContext(ctx context.Context) *ListOryAccessControlPolicyRolesParams

NewListOryAccessControlPolicyRolesParamsWithContext creates a new ListOryAccessControlPolicyRolesParams object with the default values initialized, and the ability to set a context for a request

func NewListOryAccessControlPolicyRolesParamsWithHTTPClient

func NewListOryAccessControlPolicyRolesParamsWithHTTPClient(client *http.Client) *ListOryAccessControlPolicyRolesParams

NewListOryAccessControlPolicyRolesParamsWithHTTPClient creates a new ListOryAccessControlPolicyRolesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListOryAccessControlPolicyRolesParamsWithTimeout

func NewListOryAccessControlPolicyRolesParamsWithTimeout(timeout time.Duration) *ListOryAccessControlPolicyRolesParams

NewListOryAccessControlPolicyRolesParamsWithTimeout creates a new ListOryAccessControlPolicyRolesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListOryAccessControlPolicyRolesParams) SetContext

SetContext adds the context to the list ory access control policy roles params

func (*ListOryAccessControlPolicyRolesParams) SetFlavor

func (o *ListOryAccessControlPolicyRolesParams) SetFlavor(flavor string)

SetFlavor adds the flavor to the list ory access control policy roles params

func (*ListOryAccessControlPolicyRolesParams) SetHTTPClient

func (o *ListOryAccessControlPolicyRolesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list ory access control policy roles params

func (*ListOryAccessControlPolicyRolesParams) SetLimit

func (o *ListOryAccessControlPolicyRolesParams) SetLimit(limit *int64)

SetLimit adds the limit to the list ory access control policy roles params

func (*ListOryAccessControlPolicyRolesParams) SetMember

func (o *ListOryAccessControlPolicyRolesParams) SetMember(member *string)

SetMember adds the member to the list ory access control policy roles params

func (*ListOryAccessControlPolicyRolesParams) SetOffset

func (o *ListOryAccessControlPolicyRolesParams) SetOffset(offset *int64)

SetOffset adds the offset to the list ory access control policy roles params

func (*ListOryAccessControlPolicyRolesParams) SetTimeout

func (o *ListOryAccessControlPolicyRolesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list ory access control policy roles params

func (*ListOryAccessControlPolicyRolesParams) WithContext

WithContext adds the context to the list ory access control policy roles params

func (*ListOryAccessControlPolicyRolesParams) WithFlavor

WithFlavor adds the flavor to the list ory access control policy roles params

func (*ListOryAccessControlPolicyRolesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list ory access control policy roles params

func (*ListOryAccessControlPolicyRolesParams) WithLimit

WithLimit adds the limit to the list ory access control policy roles params

func (*ListOryAccessControlPolicyRolesParams) WithMember

WithMember adds the member to the list ory access control policy roles params

func (*ListOryAccessControlPolicyRolesParams) WithOffset

WithOffset adds the offset to the list ory access control policy roles params

func (*ListOryAccessControlPolicyRolesParams) WithTimeout

WithTimeout adds the timeout to the list ory access control policy roles params

func (*ListOryAccessControlPolicyRolesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOryAccessControlPolicyRolesReader

type ListOryAccessControlPolicyRolesReader struct {
	// contains filtered or unexported fields
}

ListOryAccessControlPolicyRolesReader is a Reader for the ListOryAccessControlPolicyRoles structure.

func (*ListOryAccessControlPolicyRolesReader) ReadResponse

func (o *ListOryAccessControlPolicyRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RemoveOryAccessControlPolicyRoleMembersInternalServerError

type RemoveOryAccessControlPolicyRoleMembersInternalServerError struct {
	Payload *RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody
}

RemoveOryAccessControlPolicyRoleMembersInternalServerError handles this case with default header values.

The standard error format

func NewRemoveOryAccessControlPolicyRoleMembersInternalServerError

func NewRemoveOryAccessControlPolicyRoleMembersInternalServerError() *RemoveOryAccessControlPolicyRoleMembersInternalServerError

NewRemoveOryAccessControlPolicyRoleMembersInternalServerError creates a RemoveOryAccessControlPolicyRoleMembersInternalServerError with default headers values

func (*RemoveOryAccessControlPolicyRoleMembersInternalServerError) Error

func (*RemoveOryAccessControlPolicyRoleMembersInternalServerError) GetPayload

type RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody

type RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody struct {

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

	// details
	Details []map[string]interface{} `json:"details"`

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

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

	// request
	Request string `json:"request,omitempty"`

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

RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody remove ory access control policy role members internal server error body swagger:model RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody

func (*RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody) Validate

Validate validates this remove ory access control policy role members internal server error body

type RemoveOryAccessControlPolicyRoleMembersOK

type RemoveOryAccessControlPolicyRoleMembersOK struct {
}

RemoveOryAccessControlPolicyRoleMembersOK handles this case with default header values.

An empty response

func NewRemoveOryAccessControlPolicyRoleMembersOK

func NewRemoveOryAccessControlPolicyRoleMembersOK() *RemoveOryAccessControlPolicyRoleMembersOK

NewRemoveOryAccessControlPolicyRoleMembersOK creates a RemoveOryAccessControlPolicyRoleMembersOK with default headers values

func (*RemoveOryAccessControlPolicyRoleMembersOK) Error

type RemoveOryAccessControlPolicyRoleMembersParams

type RemoveOryAccessControlPolicyRoleMembersParams struct {

	/*Flavor
	  The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".

	*/
	Flavor string
	/*ID
	  The ID of the ORY Access Control Policy Role.

	*/
	ID string
	/*Member
	  The member to be removed.

	*/
	Member string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveOryAccessControlPolicyRoleMembersParams contains all the parameters to send to the API endpoint for the remove ory access control policy role members operation typically these are written to a http.Request

func NewRemoveOryAccessControlPolicyRoleMembersParams

func NewRemoveOryAccessControlPolicyRoleMembersParams() *RemoveOryAccessControlPolicyRoleMembersParams

NewRemoveOryAccessControlPolicyRoleMembersParams creates a new RemoveOryAccessControlPolicyRoleMembersParams object with the default values initialized.

func NewRemoveOryAccessControlPolicyRoleMembersParamsWithContext

func NewRemoveOryAccessControlPolicyRoleMembersParamsWithContext(ctx context.Context) *RemoveOryAccessControlPolicyRoleMembersParams

NewRemoveOryAccessControlPolicyRoleMembersParamsWithContext creates a new RemoveOryAccessControlPolicyRoleMembersParams object with the default values initialized, and the ability to set a context for a request

func NewRemoveOryAccessControlPolicyRoleMembersParamsWithHTTPClient

func NewRemoveOryAccessControlPolicyRoleMembersParamsWithHTTPClient(client *http.Client) *RemoveOryAccessControlPolicyRoleMembersParams

NewRemoveOryAccessControlPolicyRoleMembersParamsWithHTTPClient creates a new RemoveOryAccessControlPolicyRoleMembersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRemoveOryAccessControlPolicyRoleMembersParamsWithTimeout

func NewRemoveOryAccessControlPolicyRoleMembersParamsWithTimeout(timeout time.Duration) *RemoveOryAccessControlPolicyRoleMembersParams

NewRemoveOryAccessControlPolicyRoleMembersParamsWithTimeout creates a new RemoveOryAccessControlPolicyRoleMembersParams object with the default values initialized, and the ability to set a timeout on a request

func (*RemoveOryAccessControlPolicyRoleMembersParams) SetContext

SetContext adds the context to the remove ory access control policy role members params

func (*RemoveOryAccessControlPolicyRoleMembersParams) SetFlavor

SetFlavor adds the flavor to the remove ory access control policy role members params

func (*RemoveOryAccessControlPolicyRoleMembersParams) SetHTTPClient

func (o *RemoveOryAccessControlPolicyRoleMembersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove ory access control policy role members params

func (*RemoveOryAccessControlPolicyRoleMembersParams) SetID

SetID adds the id to the remove ory access control policy role members params

func (*RemoveOryAccessControlPolicyRoleMembersParams) SetMember

SetMember adds the member to the remove ory access control policy role members params

func (*RemoveOryAccessControlPolicyRoleMembersParams) SetTimeout

SetTimeout adds the timeout to the remove ory access control policy role members params

func (*RemoveOryAccessControlPolicyRoleMembersParams) WithContext

WithContext adds the context to the remove ory access control policy role members params

func (*RemoveOryAccessControlPolicyRoleMembersParams) WithFlavor

WithFlavor adds the flavor to the remove ory access control policy role members params

func (*RemoveOryAccessControlPolicyRoleMembersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove ory access control policy role members params

func (*RemoveOryAccessControlPolicyRoleMembersParams) WithID

WithID adds the id to the remove ory access control policy role members params

func (*RemoveOryAccessControlPolicyRoleMembersParams) WithMember

WithMember adds the member to the remove ory access control policy role members params

func (*RemoveOryAccessControlPolicyRoleMembersParams) WithTimeout

WithTimeout adds the timeout to the remove ory access control policy role members params

func (*RemoveOryAccessControlPolicyRoleMembersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveOryAccessControlPolicyRoleMembersReader

type RemoveOryAccessControlPolicyRoleMembersReader struct {
	// contains filtered or unexported fields
}

RemoveOryAccessControlPolicyRoleMembersReader is a Reader for the RemoveOryAccessControlPolicyRoleMembers structure.

func (*RemoveOryAccessControlPolicyRoleMembersReader) ReadResponse

func (o *RemoveOryAccessControlPolicyRoleMembersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpsertOryAccessControlPolicyInternalServerError

type UpsertOryAccessControlPolicyInternalServerError struct {
	Payload *UpsertOryAccessControlPolicyInternalServerErrorBody
}

UpsertOryAccessControlPolicyInternalServerError handles this case with default header values.

The standard error format

func NewUpsertOryAccessControlPolicyInternalServerError

func NewUpsertOryAccessControlPolicyInternalServerError() *UpsertOryAccessControlPolicyInternalServerError

NewUpsertOryAccessControlPolicyInternalServerError creates a UpsertOryAccessControlPolicyInternalServerError with default headers values

func (*UpsertOryAccessControlPolicyInternalServerError) Error

func (*UpsertOryAccessControlPolicyInternalServerError) GetPayload

type UpsertOryAccessControlPolicyInternalServerErrorBody

type UpsertOryAccessControlPolicyInternalServerErrorBody struct {

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

	// details
	Details []map[string]interface{} `json:"details"`

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

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

	// request
	Request string `json:"request,omitempty"`

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

UpsertOryAccessControlPolicyInternalServerErrorBody upsert ory access control policy internal server error body swagger:model UpsertOryAccessControlPolicyInternalServerErrorBody

func (*UpsertOryAccessControlPolicyInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*UpsertOryAccessControlPolicyInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpsertOryAccessControlPolicyInternalServerErrorBody) Validate

Validate validates this upsert ory access control policy internal server error body

type UpsertOryAccessControlPolicyOK

type UpsertOryAccessControlPolicyOK struct {
	Payload *models.OryAccessControlPolicy
}

UpsertOryAccessControlPolicyOK handles this case with default header values.

oryAccessControlPolicy

func NewUpsertOryAccessControlPolicyOK

func NewUpsertOryAccessControlPolicyOK() *UpsertOryAccessControlPolicyOK

NewUpsertOryAccessControlPolicyOK creates a UpsertOryAccessControlPolicyOK with default headers values

func (*UpsertOryAccessControlPolicyOK) Error

func (*UpsertOryAccessControlPolicyOK) GetPayload

type UpsertOryAccessControlPolicyParams

type UpsertOryAccessControlPolicyParams struct {

	/*Body*/
	Body *models.OryAccessControlPolicy
	/*Flavor
	  The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".

	*/
	Flavor string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpsertOryAccessControlPolicyParams contains all the parameters to send to the API endpoint for the upsert ory access control policy operation typically these are written to a http.Request

func NewUpsertOryAccessControlPolicyParams

func NewUpsertOryAccessControlPolicyParams() *UpsertOryAccessControlPolicyParams

NewUpsertOryAccessControlPolicyParams creates a new UpsertOryAccessControlPolicyParams object with the default values initialized.

func NewUpsertOryAccessControlPolicyParamsWithContext

func NewUpsertOryAccessControlPolicyParamsWithContext(ctx context.Context) *UpsertOryAccessControlPolicyParams

NewUpsertOryAccessControlPolicyParamsWithContext creates a new UpsertOryAccessControlPolicyParams object with the default values initialized, and the ability to set a context for a request

func NewUpsertOryAccessControlPolicyParamsWithHTTPClient

func NewUpsertOryAccessControlPolicyParamsWithHTTPClient(client *http.Client) *UpsertOryAccessControlPolicyParams

NewUpsertOryAccessControlPolicyParamsWithHTTPClient creates a new UpsertOryAccessControlPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpsertOryAccessControlPolicyParamsWithTimeout

func NewUpsertOryAccessControlPolicyParamsWithTimeout(timeout time.Duration) *UpsertOryAccessControlPolicyParams

NewUpsertOryAccessControlPolicyParamsWithTimeout creates a new UpsertOryAccessControlPolicyParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpsertOryAccessControlPolicyParams) SetBody

SetBody adds the body to the upsert ory access control policy params

func (*UpsertOryAccessControlPolicyParams) SetContext

SetContext adds the context to the upsert ory access control policy params

func (*UpsertOryAccessControlPolicyParams) SetFlavor

func (o *UpsertOryAccessControlPolicyParams) SetFlavor(flavor string)

SetFlavor adds the flavor to the upsert ory access control policy params

func (*UpsertOryAccessControlPolicyParams) SetHTTPClient

func (o *UpsertOryAccessControlPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the upsert ory access control policy params

func (*UpsertOryAccessControlPolicyParams) SetTimeout

func (o *UpsertOryAccessControlPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the upsert ory access control policy params

func (*UpsertOryAccessControlPolicyParams) WithBody

WithBody adds the body to the upsert ory access control policy params

func (*UpsertOryAccessControlPolicyParams) WithContext

WithContext adds the context to the upsert ory access control policy params

func (*UpsertOryAccessControlPolicyParams) WithFlavor

WithFlavor adds the flavor to the upsert ory access control policy params

func (*UpsertOryAccessControlPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upsert ory access control policy params

func (*UpsertOryAccessControlPolicyParams) WithTimeout

WithTimeout adds the timeout to the upsert ory access control policy params

func (*UpsertOryAccessControlPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpsertOryAccessControlPolicyReader

type UpsertOryAccessControlPolicyReader struct {
	// contains filtered or unexported fields
}

UpsertOryAccessControlPolicyReader is a Reader for the UpsertOryAccessControlPolicy structure.

func (*UpsertOryAccessControlPolicyReader) ReadResponse

func (o *UpsertOryAccessControlPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpsertOryAccessControlPolicyRoleInternalServerError

type UpsertOryAccessControlPolicyRoleInternalServerError struct {
	Payload *UpsertOryAccessControlPolicyRoleInternalServerErrorBody
}

UpsertOryAccessControlPolicyRoleInternalServerError handles this case with default header values.

The standard error format

func NewUpsertOryAccessControlPolicyRoleInternalServerError

func NewUpsertOryAccessControlPolicyRoleInternalServerError() *UpsertOryAccessControlPolicyRoleInternalServerError

NewUpsertOryAccessControlPolicyRoleInternalServerError creates a UpsertOryAccessControlPolicyRoleInternalServerError with default headers values

func (*UpsertOryAccessControlPolicyRoleInternalServerError) Error

func (*UpsertOryAccessControlPolicyRoleInternalServerError) GetPayload

type UpsertOryAccessControlPolicyRoleInternalServerErrorBody

type UpsertOryAccessControlPolicyRoleInternalServerErrorBody struct {

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

	// details
	Details []map[string]interface{} `json:"details"`

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

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

	// request
	Request string `json:"request,omitempty"`

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

UpsertOryAccessControlPolicyRoleInternalServerErrorBody upsert ory access control policy role internal server error body swagger:model UpsertOryAccessControlPolicyRoleInternalServerErrorBody

func (*UpsertOryAccessControlPolicyRoleInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*UpsertOryAccessControlPolicyRoleInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpsertOryAccessControlPolicyRoleInternalServerErrorBody) Validate

Validate validates this upsert ory access control policy role internal server error body

type UpsertOryAccessControlPolicyRoleOK

type UpsertOryAccessControlPolicyRoleOK struct {
	Payload *models.OryAccessControlPolicyRole
}

UpsertOryAccessControlPolicyRoleOK handles this case with default header values.

oryAccessControlPolicyRole

func NewUpsertOryAccessControlPolicyRoleOK

func NewUpsertOryAccessControlPolicyRoleOK() *UpsertOryAccessControlPolicyRoleOK

NewUpsertOryAccessControlPolicyRoleOK creates a UpsertOryAccessControlPolicyRoleOK with default headers values

func (*UpsertOryAccessControlPolicyRoleOK) Error

func (*UpsertOryAccessControlPolicyRoleOK) GetPayload

type UpsertOryAccessControlPolicyRoleParams

type UpsertOryAccessControlPolicyRoleParams struct {

	/*Body*/
	Body *models.OryAccessControlPolicyRole
	/*Flavor
	  The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact".

	*/
	Flavor string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpsertOryAccessControlPolicyRoleParams contains all the parameters to send to the API endpoint for the upsert ory access control policy role operation typically these are written to a http.Request

func NewUpsertOryAccessControlPolicyRoleParams

func NewUpsertOryAccessControlPolicyRoleParams() *UpsertOryAccessControlPolicyRoleParams

NewUpsertOryAccessControlPolicyRoleParams creates a new UpsertOryAccessControlPolicyRoleParams object with the default values initialized.

func NewUpsertOryAccessControlPolicyRoleParamsWithContext

func NewUpsertOryAccessControlPolicyRoleParamsWithContext(ctx context.Context) *UpsertOryAccessControlPolicyRoleParams

NewUpsertOryAccessControlPolicyRoleParamsWithContext creates a new UpsertOryAccessControlPolicyRoleParams object with the default values initialized, and the ability to set a context for a request

func NewUpsertOryAccessControlPolicyRoleParamsWithHTTPClient

func NewUpsertOryAccessControlPolicyRoleParamsWithHTTPClient(client *http.Client) *UpsertOryAccessControlPolicyRoleParams

NewUpsertOryAccessControlPolicyRoleParamsWithHTTPClient creates a new UpsertOryAccessControlPolicyRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpsertOryAccessControlPolicyRoleParamsWithTimeout

func NewUpsertOryAccessControlPolicyRoleParamsWithTimeout(timeout time.Duration) *UpsertOryAccessControlPolicyRoleParams

NewUpsertOryAccessControlPolicyRoleParamsWithTimeout creates a new UpsertOryAccessControlPolicyRoleParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpsertOryAccessControlPolicyRoleParams) SetBody

SetBody adds the body to the upsert ory access control policy role params

func (*UpsertOryAccessControlPolicyRoleParams) SetContext

SetContext adds the context to the upsert ory access control policy role params

func (*UpsertOryAccessControlPolicyRoleParams) SetFlavor

func (o *UpsertOryAccessControlPolicyRoleParams) SetFlavor(flavor string)

SetFlavor adds the flavor to the upsert ory access control policy role params

func (*UpsertOryAccessControlPolicyRoleParams) SetHTTPClient

func (o *UpsertOryAccessControlPolicyRoleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the upsert ory access control policy role params

func (*UpsertOryAccessControlPolicyRoleParams) SetTimeout

func (o *UpsertOryAccessControlPolicyRoleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the upsert ory access control policy role params

func (*UpsertOryAccessControlPolicyRoleParams) WithBody

WithBody adds the body to the upsert ory access control policy role params

func (*UpsertOryAccessControlPolicyRoleParams) WithContext

WithContext adds the context to the upsert ory access control policy role params

func (*UpsertOryAccessControlPolicyRoleParams) WithFlavor

WithFlavor adds the flavor to the upsert ory access control policy role params

func (*UpsertOryAccessControlPolicyRoleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upsert ory access control policy role params

func (*UpsertOryAccessControlPolicyRoleParams) WithTimeout

WithTimeout adds the timeout to the upsert ory access control policy role params

func (*UpsertOryAccessControlPolicyRoleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpsertOryAccessControlPolicyRoleReader

type UpsertOryAccessControlPolicyRoleReader struct {
	// contains filtered or unexported fields
}

UpsertOryAccessControlPolicyRoleReader is a Reader for the UpsertOryAccessControlPolicyRole structure.

func (*UpsertOryAccessControlPolicyRoleReader) ReadResponse

func (o *UpsertOryAccessControlPolicyRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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