namespace

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeNamespaceStatusBadRequest

type ChangeNamespaceStatusBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

ChangeNamespaceStatusBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewChangeNamespaceStatusBadRequest

func NewChangeNamespaceStatusBadRequest() *ChangeNamespaceStatusBadRequest

NewChangeNamespaceStatusBadRequest creates a ChangeNamespaceStatusBadRequest with default headers values

func (*ChangeNamespaceStatusBadRequest) Error

func (*ChangeNamespaceStatusBadRequest) GetPayload

func (*ChangeNamespaceStatusBadRequest) ToJSONString

func (o *ChangeNamespaceStatusBadRequest) ToJSONString() string

type ChangeNamespaceStatusConflict

type ChangeNamespaceStatusConflict struct {
	Payload *basicclientmodels.ErrorEntity
}

ChangeNamespaceStatusConflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewChangeNamespaceStatusConflict

func NewChangeNamespaceStatusConflict() *ChangeNamespaceStatusConflict

NewChangeNamespaceStatusConflict creates a ChangeNamespaceStatusConflict with default headers values

func (*ChangeNamespaceStatusConflict) Error

func (*ChangeNamespaceStatusConflict) GetPayload

func (*ChangeNamespaceStatusConflict) ToJSONString

func (o *ChangeNamespaceStatusConflict) ToJSONString() string

type ChangeNamespaceStatusForbidden

type ChangeNamespaceStatusForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

ChangeNamespaceStatusForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewChangeNamespaceStatusForbidden

func NewChangeNamespaceStatusForbidden() *ChangeNamespaceStatusForbidden

NewChangeNamespaceStatusForbidden creates a ChangeNamespaceStatusForbidden with default headers values

func (*ChangeNamespaceStatusForbidden) Error

func (*ChangeNamespaceStatusForbidden) GetPayload

func (*ChangeNamespaceStatusForbidden) ToJSONString

func (o *ChangeNamespaceStatusForbidden) ToJSONString() string

type ChangeNamespaceStatusNotFound

type ChangeNamespaceStatusNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

ChangeNamespaceStatusNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11337</td><td>Unable to {action}: Namespace not found</td></tr></table>

func NewChangeNamespaceStatusNotFound

func NewChangeNamespaceStatusNotFound() *ChangeNamespaceStatusNotFound

NewChangeNamespaceStatusNotFound creates a ChangeNamespaceStatusNotFound with default headers values

func (*ChangeNamespaceStatusNotFound) Error

func (*ChangeNamespaceStatusNotFound) GetPayload

func (*ChangeNamespaceStatusNotFound) ToJSONString

func (o *ChangeNamespaceStatusNotFound) ToJSONString() string

type ChangeNamespaceStatusOK

type ChangeNamespaceStatusOK struct {
	Payload *basicclientmodels.NamespaceInfo
}

ChangeNamespaceStatusOK handles this case with default header values.

Successful operation

func NewChangeNamespaceStatusOK

func NewChangeNamespaceStatusOK() *ChangeNamespaceStatusOK

NewChangeNamespaceStatusOK creates a ChangeNamespaceStatusOK with default headers values

func (*ChangeNamespaceStatusOK) Error

func (o *ChangeNamespaceStatusOK) Error() string

func (*ChangeNamespaceStatusOK) GetPayload

func (*ChangeNamespaceStatusOK) ToJSONString

func (o *ChangeNamespaceStatusOK) ToJSONString() string

type ChangeNamespaceStatusParams

type ChangeNamespaceStatusParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *basicclientmodels.NamespaceStatusUpdate
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

ChangeNamespaceStatusParams contains all the parameters to send to the API endpoint for the change namespace status operation typically these are written to a http.Request

func NewChangeNamespaceStatusParams

func NewChangeNamespaceStatusParams() *ChangeNamespaceStatusParams

NewChangeNamespaceStatusParams creates a new ChangeNamespaceStatusParams object with the default values initialized.

func NewChangeNamespaceStatusParamsWithContext

func NewChangeNamespaceStatusParamsWithContext(ctx context.Context) *ChangeNamespaceStatusParams

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

func NewChangeNamespaceStatusParamsWithHTTPClient

func NewChangeNamespaceStatusParamsWithHTTPClient(client *http.Client) *ChangeNamespaceStatusParams

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

func NewChangeNamespaceStatusParamsWithTimeout

func NewChangeNamespaceStatusParamsWithTimeout(timeout time.Duration) *ChangeNamespaceStatusParams

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

func (*ChangeNamespaceStatusParams) SetAuthInfoWriter

func (o *ChangeNamespaceStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the change namespace status params

func (*ChangeNamespaceStatusParams) SetBody

SetBody adds the body to the change namespace status params

func (*ChangeNamespaceStatusParams) SetContext

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

SetContext adds the context to the change namespace status params

func (*ChangeNamespaceStatusParams) SetFlightId

func (o *ChangeNamespaceStatusParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ChangeNamespaceStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change namespace status params

func (*ChangeNamespaceStatusParams) SetHTTPClientTransport

func (o *ChangeNamespaceStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the change namespace status params

func (*ChangeNamespaceStatusParams) SetNamespace

func (o *ChangeNamespaceStatusParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the change namespace status params

func (*ChangeNamespaceStatusParams) SetTimeout

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

SetTimeout adds the timeout to the change namespace status params

func (*ChangeNamespaceStatusParams) WithBody

WithBody adds the body to the change namespace status params

func (*ChangeNamespaceStatusParams) WithContext

WithContext adds the context to the change namespace status params

func (*ChangeNamespaceStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change namespace status params

func (*ChangeNamespaceStatusParams) WithNamespace

func (o *ChangeNamespaceStatusParams) WithNamespace(namespace string) *ChangeNamespaceStatusParams

WithNamespace adds the namespace to the change namespace status params

func (*ChangeNamespaceStatusParams) WithTimeout

WithTimeout adds the timeout to the change namespace status params

func (*ChangeNamespaceStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeNamespaceStatusReader

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

ChangeNamespaceStatusReader is a Reader for the ChangeNamespaceStatus structure.

func (*ChangeNamespaceStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeNamespaceStatusUnauthorized

type ChangeNamespaceStatusUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

ChangeNamespaceStatusUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewChangeNamespaceStatusUnauthorized

func NewChangeNamespaceStatusUnauthorized() *ChangeNamespaceStatusUnauthorized

NewChangeNamespaceStatusUnauthorized creates a ChangeNamespaceStatusUnauthorized with default headers values

func (*ChangeNamespaceStatusUnauthorized) Error

func (*ChangeNamespaceStatusUnauthorized) GetPayload

func (*ChangeNamespaceStatusUnauthorized) ToJSONString

func (o *ChangeNamespaceStatusUnauthorized) ToJSONString() string

type Client

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

Client for namespace API

func (*Client) ChangeNamespaceStatus deprecated

Deprecated: 2022-08-10 - Use ChangeNamespaceStatusShort instead.

ChangeNamespaceStatus change namespace status Change a namespace status. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=4 (UPDATE)
  • Action code : 11306
  • Returns : updated namespace

func (*Client) ChangeNamespaceStatusShort

func (a *Client) ChangeNamespaceStatusShort(params *ChangeNamespaceStatusParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeNamespaceStatusOK, error)

ChangeNamespaceStatusShort change namespace status Change a namespace status. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=4 (UPDATE)
  • Action code : 11306
  • Returns : updated namespace

func (*Client) CreateNamespace deprecated

Deprecated: 2022-08-10 - Use CreateNamespaceShort instead.

CreateNamespace create a namespace Create a namespace. By default the namespace is enabled. In multi tenant mode, parentNamespace will be automatically filled with requester namespace if the requester is using studio or publisher token, and it will be filled with studio namespace if the requester uses game token. An oauth client will also be created and the id will be returned. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE" , action=1 (CREATE)
  • Action code : 11301
  • Returns : created namespace

func (*Client) CreateNamespaceShort

func (a *Client) CreateNamespaceShort(params *CreateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNamespaceCreated, error)

CreateNamespaceShort create a namespace Create a namespace. By default the namespace is enabled. In multi tenant mode, parentNamespace will be automatically filled with requester namespace if the requester is using studio or publisher token, and it will be filled with studio namespace if the requester uses game token. An oauth client will also be created and the id will be returned. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE" , action=1 (CREATE)
  • Action code : 11301
  • Returns : created namespace

func (*Client) DeleteNamespace deprecated

Deprecated: 2022-08-10 - Use DeleteNamespaceShort instead.

DeleteNamespace delete a namespace Delete a namespace. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=8 (DELETE)
  • Action code : 11307
  • Returns : deleted namespace

func (*Client) DeleteNamespaceShort

func (a *Client) DeleteNamespaceShort(params *DeleteNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceOK, error)

DeleteNamespaceShort delete a namespace Delete a namespace. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=8 (DELETE)
  • Action code : 11307
  • Returns : deleted namespace

func (*Client) GetChildNamespaces deprecated

Deprecated: 2022-08-10 - Use GetChildNamespacesShort instead.

GetChildNamespaces get child namespaces Get child namespaces. If input namespace is publisher namespace, then it will return its all studio namespace. If input namespace is studio namespace, then it will return its all game namespace. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Returns : list of child namespaces

func (*Client) GetChildNamespacesShort

func (a *Client) GetChildNamespacesShort(params *GetChildNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetChildNamespacesOK, error)

GetChildNamespacesShort get child namespaces Get child namespaces. If input namespace is publisher namespace, then it will return its all studio namespace. If input namespace is studio namespace, then it will return its all game namespace. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Returns : list of child namespaces

func (*Client) GetGameNamespaces deprecated

Deprecated: 2022-08-10 - Use GetGameNamespacesShort instead.

GetGameNamespaces get game namespaces Get game namespaces. In multi tenant mode, a given super admin namespace will return all game namespaces of studio namespaces Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11308
  • Returns : list of namespaces

func (*Client) GetGameNamespacesShort

func (a *Client) GetGameNamespacesShort(params *GetGameNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameNamespacesOK, error)

GetGameNamespacesShort get game namespaces Get game namespaces. In multi tenant mode, a given super admin namespace will return all game namespaces of studio namespaces Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11308
  • Returns : list of namespaces

func (*Client) GetNamespace deprecated

Deprecated: 2022-08-10 - Use GetNamespaceShort instead.

GetNamespace get a namespace Get a namespace. In multi tenant mode, parentNamespace will be returned. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11304
  • Returns : namespace

func (*Client) GetNamespaceContext deprecated

Deprecated: 2022-08-10 - Use GetNamespaceContextShort instead.

GetNamespaceContext get context of namespace Get context of namespace. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Returns : context of namespace

func (*Client) GetNamespaceContextShort

func (a *Client) GetNamespaceContextShort(params *GetNamespaceContextParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceContextOK, error)

GetNamespaceContextShort get context of namespace Get context of namespace. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Returns : context of namespace

func (*Client) GetNamespacePublisher deprecated

Deprecated: 2022-08-10 - Use GetNamespacePublisherShort instead.

GetNamespacePublisher get namespace info related publisher namespace Get namespace info related publisher namespace. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11305
  • Returns : Namespace info related publisher namespace

func (*Client) GetNamespacePublisherShort

func (a *Client) GetNamespacePublisherShort(params *GetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacePublisherOK, error)

GetNamespacePublisherShort get namespace info related publisher namespace Get namespace info related publisher namespace. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11305
  • Returns : Namespace info related publisher namespace

func (*Client) GetNamespaceShort

func (a *Client) GetNamespaceShort(params *GetNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceOK, error)

GetNamespaceShort get a namespace Get a namespace. In multi tenant mode, parentNamespace will be returned. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11304
  • Returns : namespace

func (*Client) GetNamespaces deprecated

Deprecated: 2022-08-10 - Use GetNamespacesShort instead.

GetNamespaces get all namespaces Get all namespaces. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE" , action=2 (READ)
  • Action code : 11303
  • Returns : list of namespaces

func (*Client) GetNamespacesShort

func (a *Client) GetNamespacesShort(params *GetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacesOK, error)

GetNamespacesShort get all namespaces Get all namespaces. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE" , action=2 (READ)
  • Action code : 11303
  • Returns : list of namespaces

func (*Client) PublicGetNamespacePublisher deprecated

Deprecated: 2022-08-10 - Use PublicGetNamespacePublisherShort instead.

PublicGetNamespacePublisher get namespace info related publisher namespace Get namespace info related publisher namespace. Other detail info:

  • Required permission : resource= "NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11305
  • Returns : Namespace info related publisher namespace

func (*Client) PublicGetNamespacePublisherShort

func (a *Client) PublicGetNamespacePublisherShort(params *PublicGetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacePublisherOK, error)

PublicGetNamespacePublisherShort get namespace info related publisher namespace Get namespace info related publisher namespace. Other detail info:

  • Required permission : resource= "NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11305
  • Returns : Namespace info related publisher namespace

func (*Client) PublicGetNamespaces deprecated

Deprecated: 2022-08-10 - Use PublicGetNamespacesShort instead.

PublicGetNamespaces get all namespaces Get all namespaces. Other detail info:

  • Required permission : login user
  • Action code : 11303
  • Returns : list of namespaces

func (*Client) PublicGetNamespacesShort

func (a *Client) PublicGetNamespacesShort(params *PublicGetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacesOK, error)

PublicGetNamespacesShort get all namespaces Get all namespaces. Other detail info:

  • Required permission : login user
  • Action code : 11303
  • Returns : list of namespaces

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNamespace deprecated

Deprecated: 2022-08-10 - Use UpdateNamespaceShort instead.

UpdateNamespace update namespace basic info Update namespace basic info. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=4 (UPDATE)
  • Action code : 11302
  • Returns : updated namespace

func (*Client) UpdateNamespaceShort

func (a *Client) UpdateNamespaceShort(params *UpdateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNamespaceOK, error)

UpdateNamespaceShort update namespace basic info Update namespace basic info. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=4 (UPDATE)
  • Action code : 11302
  • Returns : updated namespace

type ClientService

type ClientService interface {
	GetNamespaces(params *GetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacesOK, *GetNamespacesUnauthorized, *GetNamespacesForbidden, error)
	GetNamespacesShort(params *GetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacesOK, error)
	CreateNamespace(params *CreateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNamespaceCreated, *CreateNamespaceBadRequest, *CreateNamespaceUnauthorized, *CreateNamespaceForbidden, *CreateNamespaceConflict, error)
	CreateNamespaceShort(params *CreateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNamespaceCreated, error)
	GetNamespace(params *GetNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceOK, *GetNamespaceBadRequest, *GetNamespaceUnauthorized, *GetNamespaceForbidden, *GetNamespaceNotFound, error)
	GetNamespaceShort(params *GetNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceOK, error)
	DeleteNamespace(params *DeleteNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceOK, *DeleteNamespaceBadRequest, *DeleteNamespaceUnauthorized, *DeleteNamespaceForbidden, *DeleteNamespaceNotFound, *DeleteNamespaceConflict, error)
	DeleteNamespaceShort(params *DeleteNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceOK, error)
	UpdateNamespace(params *UpdateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNamespaceOK, *UpdateNamespaceBadRequest, *UpdateNamespaceUnauthorized, *UpdateNamespaceForbidden, *UpdateNamespaceNotFound, *UpdateNamespaceConflict, error)
	UpdateNamespaceShort(params *UpdateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNamespaceOK, error)
	GetChildNamespaces(params *GetChildNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetChildNamespacesOK, *GetChildNamespacesUnauthorized, *GetChildNamespacesForbidden, error)
	GetChildNamespacesShort(params *GetChildNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetChildNamespacesOK, error)
	GetNamespaceContext(params *GetNamespaceContextParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceContextOK, *GetNamespaceContextUnauthorized, *GetNamespaceContextForbidden, error)
	GetNamespaceContextShort(params *GetNamespaceContextParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceContextOK, error)
	GetGameNamespaces(params *GetGameNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameNamespacesOK, *GetGameNamespacesUnauthorized, *GetGameNamespacesForbidden, error)
	GetGameNamespacesShort(params *GetGameNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameNamespacesOK, error)
	GetNamespacePublisher(params *GetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacePublisherOK, *GetNamespacePublisherBadRequest, *GetNamespacePublisherUnauthorized, *GetNamespacePublisherForbidden, *GetNamespacePublisherNotFound, error)
	GetNamespacePublisherShort(params *GetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacePublisherOK, error)
	ChangeNamespaceStatus(params *ChangeNamespaceStatusParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeNamespaceStatusOK, *ChangeNamespaceStatusBadRequest, *ChangeNamespaceStatusUnauthorized, *ChangeNamespaceStatusForbidden, *ChangeNamespaceStatusNotFound, *ChangeNamespaceStatusConflict, error)
	ChangeNamespaceStatusShort(params *ChangeNamespaceStatusParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeNamespaceStatusOK, error)
	PublicGetNamespaces(params *PublicGetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacesOK, *PublicGetNamespacesUnauthorized, error)
	PublicGetNamespacesShort(params *PublicGetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacesOK, error)
	PublicGetNamespacePublisher(params *PublicGetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacePublisherOK, *PublicGetNamespacePublisherBadRequest, *PublicGetNamespacePublisherUnauthorized, *PublicGetNamespacePublisherForbidden, *PublicGetNamespacePublisherNotFound, error)
	PublicGetNamespacePublisherShort(params *PublicGetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacePublisherOK, 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 namespace API client.

type CreateNamespaceBadRequest

type CreateNamespaceBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

CreateNamespaceBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>11338</td><td>Unable to {action}: Namespace contains invalid character(s)</td></tr><tr><td>11339</td><td>Unable to {action}: Display name contains invalid character(s)</td></tr></table>

func NewCreateNamespaceBadRequest

func NewCreateNamespaceBadRequest() *CreateNamespaceBadRequest

NewCreateNamespaceBadRequest creates a CreateNamespaceBadRequest with default headers values

func (*CreateNamespaceBadRequest) Error

func (o *CreateNamespaceBadRequest) Error() string

func (*CreateNamespaceBadRequest) GetPayload

func (*CreateNamespaceBadRequest) ToJSONString

func (o *CreateNamespaceBadRequest) ToJSONString() string

type CreateNamespaceConflict

type CreateNamespaceConflict struct {
	Payload *basicclientmodels.ErrorEntity
}

CreateNamespaceConflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11336</td><td>Unable to {action}: Namespace already exists</td></tr></table>

func NewCreateNamespaceConflict

func NewCreateNamespaceConflict() *CreateNamespaceConflict

NewCreateNamespaceConflict creates a CreateNamespaceConflict with default headers values

func (*CreateNamespaceConflict) Error

func (o *CreateNamespaceConflict) Error() string

func (*CreateNamespaceConflict) GetPayload

func (*CreateNamespaceConflict) ToJSONString

func (o *CreateNamespaceConflict) ToJSONString() string

type CreateNamespaceCreated

type CreateNamespaceCreated struct {
	Payload *basicclientmodels.NamespaceInfo
}

CreateNamespaceCreated handles this case with default header values.

Successful operation

func NewCreateNamespaceCreated

func NewCreateNamespaceCreated() *CreateNamespaceCreated

NewCreateNamespaceCreated creates a CreateNamespaceCreated with default headers values

func (*CreateNamespaceCreated) Error

func (o *CreateNamespaceCreated) Error() string

func (*CreateNamespaceCreated) GetPayload

func (*CreateNamespaceCreated) ToJSONString

func (o *CreateNamespaceCreated) ToJSONString() string

type CreateNamespaceForbidden

type CreateNamespaceForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

CreateNamespaceForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewCreateNamespaceForbidden

func NewCreateNamespaceForbidden() *CreateNamespaceForbidden

NewCreateNamespaceForbidden creates a CreateNamespaceForbidden with default headers values

func (*CreateNamespaceForbidden) Error

func (o *CreateNamespaceForbidden) Error() string

func (*CreateNamespaceForbidden) GetPayload

func (*CreateNamespaceForbidden) ToJSONString

func (o *CreateNamespaceForbidden) ToJSONString() string

type CreateNamespaceParams

type CreateNamespaceParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *basicclientmodels.NamespaceCreate

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

CreateNamespaceParams contains all the parameters to send to the API endpoint for the create namespace operation typically these are written to a http.Request

func NewCreateNamespaceParams

func NewCreateNamespaceParams() *CreateNamespaceParams

NewCreateNamespaceParams creates a new CreateNamespaceParams object with the default values initialized.

func NewCreateNamespaceParamsWithContext

func NewCreateNamespaceParamsWithContext(ctx context.Context) *CreateNamespaceParams

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

func NewCreateNamespaceParamsWithHTTPClient

func NewCreateNamespaceParamsWithHTTPClient(client *http.Client) *CreateNamespaceParams

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

func NewCreateNamespaceParamsWithTimeout

func NewCreateNamespaceParamsWithTimeout(timeout time.Duration) *CreateNamespaceParams

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

func (*CreateNamespaceParams) SetAuthInfoWriter

func (o *CreateNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the create namespace params

func (*CreateNamespaceParams) SetBody

SetBody adds the body to the create namespace params

func (*CreateNamespaceParams) SetContext

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

SetContext adds the context to the create namespace params

func (*CreateNamespaceParams) SetFlightId

func (o *CreateNamespaceParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*CreateNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create namespace params

func (*CreateNamespaceParams) SetHTTPClientTransport

func (o *CreateNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the create namespace params

func (*CreateNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the create namespace params

func (*CreateNamespaceParams) WithBody

WithBody adds the body to the create namespace params

func (*CreateNamespaceParams) WithContext

WithContext adds the context to the create namespace params

func (*CreateNamespaceParams) WithHTTPClient

func (o *CreateNamespaceParams) WithHTTPClient(client *http.Client) *CreateNamespaceParams

WithHTTPClient adds the HTTPClient to the create namespace params

func (*CreateNamespaceParams) WithTimeout

func (o *CreateNamespaceParams) WithTimeout(timeout time.Duration) *CreateNamespaceParams

WithTimeout adds the timeout to the create namespace params

func (*CreateNamespaceParams) WriteToRequest

func (o *CreateNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateNamespaceReader

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

CreateNamespaceReader is a Reader for the CreateNamespace structure.

func (*CreateNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateNamespaceUnauthorized

type CreateNamespaceUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

CreateNamespaceUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewCreateNamespaceUnauthorized

func NewCreateNamespaceUnauthorized() *CreateNamespaceUnauthorized

NewCreateNamespaceUnauthorized creates a CreateNamespaceUnauthorized with default headers values

func (*CreateNamespaceUnauthorized) Error

func (*CreateNamespaceUnauthorized) GetPayload

func (*CreateNamespaceUnauthorized) ToJSONString

func (o *CreateNamespaceUnauthorized) ToJSONString() string

type DeleteNamespaceBadRequest

type DeleteNamespaceBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

DeleteNamespaceBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewDeleteNamespaceBadRequest

func NewDeleteNamespaceBadRequest() *DeleteNamespaceBadRequest

NewDeleteNamespaceBadRequest creates a DeleteNamespaceBadRequest with default headers values

func (*DeleteNamespaceBadRequest) Error

func (o *DeleteNamespaceBadRequest) Error() string

func (*DeleteNamespaceBadRequest) GetPayload

func (*DeleteNamespaceBadRequest) ToJSONString

func (o *DeleteNamespaceBadRequest) ToJSONString() string

type DeleteNamespaceConflict

type DeleteNamespaceConflict struct {
	Payload *basicclientmodels.ErrorEntity
}

DeleteNamespaceConflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewDeleteNamespaceConflict

func NewDeleteNamespaceConflict() *DeleteNamespaceConflict

NewDeleteNamespaceConflict creates a DeleteNamespaceConflict with default headers values

func (*DeleteNamespaceConflict) Error

func (o *DeleteNamespaceConflict) Error() string

func (*DeleteNamespaceConflict) GetPayload

func (*DeleteNamespaceConflict) ToJSONString

func (o *DeleteNamespaceConflict) ToJSONString() string

type DeleteNamespaceForbidden

type DeleteNamespaceForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

DeleteNamespaceForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewDeleteNamespaceForbidden

func NewDeleteNamespaceForbidden() *DeleteNamespaceForbidden

NewDeleteNamespaceForbidden creates a DeleteNamespaceForbidden with default headers values

func (*DeleteNamespaceForbidden) Error

func (o *DeleteNamespaceForbidden) Error() string

func (*DeleteNamespaceForbidden) GetPayload

func (*DeleteNamespaceForbidden) ToJSONString

func (o *DeleteNamespaceForbidden) ToJSONString() string

type DeleteNamespaceNotFound

type DeleteNamespaceNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

DeleteNamespaceNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11337</td><td>Unable to {action}: Namespace not found</td></tr></table>

func NewDeleteNamespaceNotFound

func NewDeleteNamespaceNotFound() *DeleteNamespaceNotFound

NewDeleteNamespaceNotFound creates a DeleteNamespaceNotFound with default headers values

func (*DeleteNamespaceNotFound) Error

func (o *DeleteNamespaceNotFound) Error() string

func (*DeleteNamespaceNotFound) GetPayload

func (*DeleteNamespaceNotFound) ToJSONString

func (o *DeleteNamespaceNotFound) ToJSONString() string

type DeleteNamespaceOK

type DeleteNamespaceOK struct {
	Payload *basicclientmodels.NamespaceInfo
}

DeleteNamespaceOK handles this case with default header values.

Successful operation

func NewDeleteNamespaceOK

func NewDeleteNamespaceOK() *DeleteNamespaceOK

NewDeleteNamespaceOK creates a DeleteNamespaceOK with default headers values

func (*DeleteNamespaceOK) Error

func (o *DeleteNamespaceOK) Error() string

func (*DeleteNamespaceOK) GetPayload

func (*DeleteNamespaceOK) ToJSONString

func (o *DeleteNamespaceOK) ToJSONString() string

type DeleteNamespaceParams

type DeleteNamespaceParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

DeleteNamespaceParams contains all the parameters to send to the API endpoint for the delete namespace operation typically these are written to a http.Request

func NewDeleteNamespaceParams

func NewDeleteNamespaceParams() *DeleteNamespaceParams

NewDeleteNamespaceParams creates a new DeleteNamespaceParams object with the default values initialized.

func NewDeleteNamespaceParamsWithContext

func NewDeleteNamespaceParamsWithContext(ctx context.Context) *DeleteNamespaceParams

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

func NewDeleteNamespaceParamsWithHTTPClient

func NewDeleteNamespaceParamsWithHTTPClient(client *http.Client) *DeleteNamespaceParams

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

func NewDeleteNamespaceParamsWithTimeout

func NewDeleteNamespaceParamsWithTimeout(timeout time.Duration) *DeleteNamespaceParams

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

func (*DeleteNamespaceParams) SetAuthInfoWriter

func (o *DeleteNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the delete namespace params

func (*DeleteNamespaceParams) SetContext

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

SetContext adds the context to the delete namespace params

func (*DeleteNamespaceParams) SetFlightId

func (o *DeleteNamespaceParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DeleteNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete namespace params

func (*DeleteNamespaceParams) SetHTTPClientTransport

func (o *DeleteNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the delete namespace params

func (*DeleteNamespaceParams) SetNamespace

func (o *DeleteNamespaceParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete namespace params

func (*DeleteNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the delete namespace params

func (*DeleteNamespaceParams) WithContext

WithContext adds the context to the delete namespace params

func (*DeleteNamespaceParams) WithHTTPClient

func (o *DeleteNamespaceParams) WithHTTPClient(client *http.Client) *DeleteNamespaceParams

WithHTTPClient adds the HTTPClient to the delete namespace params

func (*DeleteNamespaceParams) WithNamespace

func (o *DeleteNamespaceParams) WithNamespace(namespace string) *DeleteNamespaceParams

WithNamespace adds the namespace to the delete namespace params

func (*DeleteNamespaceParams) WithTimeout

func (o *DeleteNamespaceParams) WithTimeout(timeout time.Duration) *DeleteNamespaceParams

WithTimeout adds the timeout to the delete namespace params

func (*DeleteNamespaceParams) WriteToRequest

func (o *DeleteNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteNamespaceReader

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

DeleteNamespaceReader is a Reader for the DeleteNamespace structure.

func (*DeleteNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNamespaceUnauthorized

type DeleteNamespaceUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

DeleteNamespaceUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewDeleteNamespaceUnauthorized

func NewDeleteNamespaceUnauthorized() *DeleteNamespaceUnauthorized

NewDeleteNamespaceUnauthorized creates a DeleteNamespaceUnauthorized with default headers values

func (*DeleteNamespaceUnauthorized) Error

func (*DeleteNamespaceUnauthorized) GetPayload

func (*DeleteNamespaceUnauthorized) ToJSONString

func (o *DeleteNamespaceUnauthorized) ToJSONString() string

type GetChildNamespacesForbidden

type GetChildNamespacesForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetChildNamespacesForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewGetChildNamespacesForbidden

func NewGetChildNamespacesForbidden() *GetChildNamespacesForbidden

NewGetChildNamespacesForbidden creates a GetChildNamespacesForbidden with default headers values

func (*GetChildNamespacesForbidden) Error

func (*GetChildNamespacesForbidden) GetPayload

func (*GetChildNamespacesForbidden) ToJSONString

func (o *GetChildNamespacesForbidden) ToJSONString() string

type GetChildNamespacesOK

type GetChildNamespacesOK struct {
	Payload []*basicclientmodels.NamespaceInfo
}

GetChildNamespacesOK handles this case with default header values.

Successful operation

func NewGetChildNamespacesOK

func NewGetChildNamespacesOK() *GetChildNamespacesOK

NewGetChildNamespacesOK creates a GetChildNamespacesOK with default headers values

func (*GetChildNamespacesOK) Error

func (o *GetChildNamespacesOK) Error() string

func (*GetChildNamespacesOK) GetPayload

func (*GetChildNamespacesOK) ToJSONString

func (o *GetChildNamespacesOK) ToJSONString() string

type GetChildNamespacesParams

type GetChildNamespacesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*ActiveOnly
	  only retrieves active namespaces

	*/
	ActiveOnly *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetChildNamespacesParams contains all the parameters to send to the API endpoint for the get child namespaces operation typically these are written to a http.Request

func NewGetChildNamespacesParams

func NewGetChildNamespacesParams() *GetChildNamespacesParams

NewGetChildNamespacesParams creates a new GetChildNamespacesParams object with the default values initialized.

func NewGetChildNamespacesParamsWithContext

func NewGetChildNamespacesParamsWithContext(ctx context.Context) *GetChildNamespacesParams

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

func NewGetChildNamespacesParamsWithHTTPClient

func NewGetChildNamespacesParamsWithHTTPClient(client *http.Client) *GetChildNamespacesParams

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

func NewGetChildNamespacesParamsWithTimeout

func NewGetChildNamespacesParamsWithTimeout(timeout time.Duration) *GetChildNamespacesParams

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

func (*GetChildNamespacesParams) SetActiveOnly

func (o *GetChildNamespacesParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get child namespaces params

func (*GetChildNamespacesParams) SetAuthInfoWriter

func (o *GetChildNamespacesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get child namespaces params

func (*GetChildNamespacesParams) SetContext

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

SetContext adds the context to the get child namespaces params

func (*GetChildNamespacesParams) SetFlightId

func (o *GetChildNamespacesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetChildNamespacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get child namespaces params

func (*GetChildNamespacesParams) SetHTTPClientTransport

func (o *GetChildNamespacesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get child namespaces params

func (*GetChildNamespacesParams) SetNamespace

func (o *GetChildNamespacesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get child namespaces params

func (*GetChildNamespacesParams) SetTimeout

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

SetTimeout adds the timeout to the get child namespaces params

func (*GetChildNamespacesParams) WithActiveOnly

func (o *GetChildNamespacesParams) WithActiveOnly(activeOnly *bool) *GetChildNamespacesParams

WithActiveOnly adds the activeOnly to the get child namespaces params

func (*GetChildNamespacesParams) WithContext

WithContext adds the context to the get child namespaces params

func (*GetChildNamespacesParams) WithHTTPClient

func (o *GetChildNamespacesParams) WithHTTPClient(client *http.Client) *GetChildNamespacesParams

WithHTTPClient adds the HTTPClient to the get child namespaces params

func (*GetChildNamespacesParams) WithNamespace

func (o *GetChildNamespacesParams) WithNamespace(namespace string) *GetChildNamespacesParams

WithNamespace adds the namespace to the get child namespaces params

func (*GetChildNamespacesParams) WithTimeout

WithTimeout adds the timeout to the get child namespaces params

func (*GetChildNamespacesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetChildNamespacesReader

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

GetChildNamespacesReader is a Reader for the GetChildNamespaces structure.

func (*GetChildNamespacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetChildNamespacesUnauthorized

type GetChildNamespacesUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetChildNamespacesUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewGetChildNamespacesUnauthorized

func NewGetChildNamespacesUnauthorized() *GetChildNamespacesUnauthorized

NewGetChildNamespacesUnauthorized creates a GetChildNamespacesUnauthorized with default headers values

func (*GetChildNamespacesUnauthorized) Error

func (*GetChildNamespacesUnauthorized) GetPayload

func (*GetChildNamespacesUnauthorized) ToJSONString

func (o *GetChildNamespacesUnauthorized) ToJSONString() string

type GetGameNamespacesForbidden

type GetGameNamespacesForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetGameNamespacesForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewGetGameNamespacesForbidden

func NewGetGameNamespacesForbidden() *GetGameNamespacesForbidden

NewGetGameNamespacesForbidden creates a GetGameNamespacesForbidden with default headers values

func (*GetGameNamespacesForbidden) Error

func (*GetGameNamespacesForbidden) GetPayload

func (*GetGameNamespacesForbidden) ToJSONString

func (o *GetGameNamespacesForbidden) ToJSONString() string

type GetGameNamespacesOK

type GetGameNamespacesOK struct {
	Payload []*basicclientmodels.NamespaceInfo
}

GetGameNamespacesOK handles this case with default header values.

Successful operation

func NewGetGameNamespacesOK

func NewGetGameNamespacesOK() *GetGameNamespacesOK

NewGetGameNamespacesOK creates a GetGameNamespacesOK with default headers values

func (*GetGameNamespacesOK) Error

func (o *GetGameNamespacesOK) Error() string

func (*GetGameNamespacesOK) GetPayload

func (*GetGameNamespacesOK) ToJSONString

func (o *GetGameNamespacesOK) ToJSONString() string

type GetGameNamespacesParams

type GetGameNamespacesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*ActiveOnly
	  only retrieves active namespaces

	*/
	ActiveOnly *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetGameNamespacesParams contains all the parameters to send to the API endpoint for the get game namespaces operation typically these are written to a http.Request

func NewGetGameNamespacesParams

func NewGetGameNamespacesParams() *GetGameNamespacesParams

NewGetGameNamespacesParams creates a new GetGameNamespacesParams object with the default values initialized.

func NewGetGameNamespacesParamsWithContext

func NewGetGameNamespacesParamsWithContext(ctx context.Context) *GetGameNamespacesParams

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

func NewGetGameNamespacesParamsWithHTTPClient

func NewGetGameNamespacesParamsWithHTTPClient(client *http.Client) *GetGameNamespacesParams

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

func NewGetGameNamespacesParamsWithTimeout

func NewGetGameNamespacesParamsWithTimeout(timeout time.Duration) *GetGameNamespacesParams

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

func (*GetGameNamespacesParams) SetActiveOnly

func (o *GetGameNamespacesParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get game namespaces params

func (*GetGameNamespacesParams) SetAuthInfoWriter

func (o *GetGameNamespacesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get game namespaces params

func (*GetGameNamespacesParams) SetContext

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

SetContext adds the context to the get game namespaces params

func (*GetGameNamespacesParams) SetFlightId

func (o *GetGameNamespacesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetGameNamespacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get game namespaces params

func (*GetGameNamespacesParams) SetHTTPClientTransport

func (o *GetGameNamespacesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get game namespaces params

func (*GetGameNamespacesParams) SetNamespace

func (o *GetGameNamespacesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get game namespaces params

func (*GetGameNamespacesParams) SetTimeout

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

SetTimeout adds the timeout to the get game namespaces params

func (*GetGameNamespacesParams) WithActiveOnly

func (o *GetGameNamespacesParams) WithActiveOnly(activeOnly *bool) *GetGameNamespacesParams

WithActiveOnly adds the activeOnly to the get game namespaces params

func (*GetGameNamespacesParams) WithContext

WithContext adds the context to the get game namespaces params

func (*GetGameNamespacesParams) WithHTTPClient

func (o *GetGameNamespacesParams) WithHTTPClient(client *http.Client) *GetGameNamespacesParams

WithHTTPClient adds the HTTPClient to the get game namespaces params

func (*GetGameNamespacesParams) WithNamespace

func (o *GetGameNamespacesParams) WithNamespace(namespace string) *GetGameNamespacesParams

WithNamespace adds the namespace to the get game namespaces params

func (*GetGameNamespacesParams) WithTimeout

WithTimeout adds the timeout to the get game namespaces params

func (*GetGameNamespacesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGameNamespacesReader

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

GetGameNamespacesReader is a Reader for the GetGameNamespaces structure.

func (*GetGameNamespacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGameNamespacesUnauthorized

type GetGameNamespacesUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetGameNamespacesUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewGetGameNamespacesUnauthorized

func NewGetGameNamespacesUnauthorized() *GetGameNamespacesUnauthorized

NewGetGameNamespacesUnauthorized creates a GetGameNamespacesUnauthorized with default headers values

func (*GetGameNamespacesUnauthorized) Error

func (*GetGameNamespacesUnauthorized) GetPayload

func (*GetGameNamespacesUnauthorized) ToJSONString

func (o *GetGameNamespacesUnauthorized) ToJSONString() string

type GetNamespaceBadRequest

type GetNamespaceBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

GetNamespaceBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetNamespaceBadRequest

func NewGetNamespaceBadRequest() *GetNamespaceBadRequest

NewGetNamespaceBadRequest creates a GetNamespaceBadRequest with default headers values

func (*GetNamespaceBadRequest) Error

func (o *GetNamespaceBadRequest) Error() string

func (*GetNamespaceBadRequest) GetPayload

func (*GetNamespaceBadRequest) ToJSONString

func (o *GetNamespaceBadRequest) ToJSONString() string

type GetNamespaceContextForbidden

type GetNamespaceContextForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespaceContextForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewGetNamespaceContextForbidden

func NewGetNamespaceContextForbidden() *GetNamespaceContextForbidden

NewGetNamespaceContextForbidden creates a GetNamespaceContextForbidden with default headers values

func (*GetNamespaceContextForbidden) Error

func (*GetNamespaceContextForbidden) GetPayload

func (*GetNamespaceContextForbidden) ToJSONString

func (o *GetNamespaceContextForbidden) ToJSONString() string

type GetNamespaceContextOK

type GetNamespaceContextOK struct {
	Payload *basicclientmodels.NamespaceContext
}

GetNamespaceContextOK handles this case with default header values.

Successful operation

func NewGetNamespaceContextOK

func NewGetNamespaceContextOK() *GetNamespaceContextOK

NewGetNamespaceContextOK creates a GetNamespaceContextOK with default headers values

func (*GetNamespaceContextOK) Error

func (o *GetNamespaceContextOK) Error() string

func (*GetNamespaceContextOK) GetPayload

func (*GetNamespaceContextOK) ToJSONString

func (o *GetNamespaceContextOK) ToJSONString() string

type GetNamespaceContextParams

type GetNamespaceContextParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetNamespaceContextParams contains all the parameters to send to the API endpoint for the get namespace context operation typically these are written to a http.Request

func NewGetNamespaceContextParams

func NewGetNamespaceContextParams() *GetNamespaceContextParams

NewGetNamespaceContextParams creates a new GetNamespaceContextParams object with the default values initialized.

func NewGetNamespaceContextParamsWithContext

func NewGetNamespaceContextParamsWithContext(ctx context.Context) *GetNamespaceContextParams

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

func NewGetNamespaceContextParamsWithHTTPClient

func NewGetNamespaceContextParamsWithHTTPClient(client *http.Client) *GetNamespaceContextParams

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

func NewGetNamespaceContextParamsWithTimeout

func NewGetNamespaceContextParamsWithTimeout(timeout time.Duration) *GetNamespaceContextParams

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

func (*GetNamespaceContextParams) SetAuthInfoWriter

func (o *GetNamespaceContextParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get namespace context params

func (*GetNamespaceContextParams) SetContext

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

SetContext adds the context to the get namespace context params

func (*GetNamespaceContextParams) SetFlightId

func (o *GetNamespaceContextParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetNamespaceContextParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get namespace context params

func (*GetNamespaceContextParams) SetHTTPClientTransport

func (o *GetNamespaceContextParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get namespace context params

func (*GetNamespaceContextParams) SetNamespace

func (o *GetNamespaceContextParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get namespace context params

func (*GetNamespaceContextParams) SetTimeout

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

SetTimeout adds the timeout to the get namespace context params

func (*GetNamespaceContextParams) WithContext

WithContext adds the context to the get namespace context params

func (*GetNamespaceContextParams) WithHTTPClient

func (o *GetNamespaceContextParams) WithHTTPClient(client *http.Client) *GetNamespaceContextParams

WithHTTPClient adds the HTTPClient to the get namespace context params

func (*GetNamespaceContextParams) WithNamespace

func (o *GetNamespaceContextParams) WithNamespace(namespace string) *GetNamespaceContextParams

WithNamespace adds the namespace to the get namespace context params

func (*GetNamespaceContextParams) WithTimeout

WithTimeout adds the timeout to the get namespace context params

func (*GetNamespaceContextParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNamespaceContextReader

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

GetNamespaceContextReader is a Reader for the GetNamespaceContext structure.

func (*GetNamespaceContextReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNamespaceContextUnauthorized

type GetNamespaceContextUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespaceContextUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewGetNamespaceContextUnauthorized

func NewGetNamespaceContextUnauthorized() *GetNamespaceContextUnauthorized

NewGetNamespaceContextUnauthorized creates a GetNamespaceContextUnauthorized with default headers values

func (*GetNamespaceContextUnauthorized) Error

func (*GetNamespaceContextUnauthorized) GetPayload

func (*GetNamespaceContextUnauthorized) ToJSONString

func (o *GetNamespaceContextUnauthorized) ToJSONString() string

type GetNamespaceForbidden

type GetNamespaceForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespaceForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewGetNamespaceForbidden

func NewGetNamespaceForbidden() *GetNamespaceForbidden

NewGetNamespaceForbidden creates a GetNamespaceForbidden with default headers values

func (*GetNamespaceForbidden) Error

func (o *GetNamespaceForbidden) Error() string

func (*GetNamespaceForbidden) GetPayload

func (*GetNamespaceForbidden) ToJSONString

func (o *GetNamespaceForbidden) ToJSONString() string

type GetNamespaceNotFound

type GetNamespaceNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespaceNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11337</td><td>Unable to {action}: Namespace not found</td></tr></table>

func NewGetNamespaceNotFound

func NewGetNamespaceNotFound() *GetNamespaceNotFound

NewGetNamespaceNotFound creates a GetNamespaceNotFound with default headers values

func (*GetNamespaceNotFound) Error

func (o *GetNamespaceNotFound) Error() string

func (*GetNamespaceNotFound) GetPayload

func (*GetNamespaceNotFound) ToJSONString

func (o *GetNamespaceNotFound) ToJSONString() string

type GetNamespaceOK

type GetNamespaceOK struct {
	Payload *basicclientmodels.NamespaceInfo
}

GetNamespaceOK handles this case with default header values.

Successful operation

func NewGetNamespaceOK

func NewGetNamespaceOK() *GetNamespaceOK

NewGetNamespaceOK creates a GetNamespaceOK with default headers values

func (*GetNamespaceOK) Error

func (o *GetNamespaceOK) Error() string

func (*GetNamespaceOK) GetPayload

func (*GetNamespaceOK) ToJSONString

func (o *GetNamespaceOK) ToJSONString() string

type GetNamespaceParams

type GetNamespaceParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*ActiveOnly
	  only retrieves active namespaces

	*/
	ActiveOnly *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetNamespaceParams contains all the parameters to send to the API endpoint for the get namespace operation typically these are written to a http.Request

func NewGetNamespaceParams

func NewGetNamespaceParams() *GetNamespaceParams

NewGetNamespaceParams creates a new GetNamespaceParams object with the default values initialized.

func NewGetNamespaceParamsWithContext

func NewGetNamespaceParamsWithContext(ctx context.Context) *GetNamespaceParams

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

func NewGetNamespaceParamsWithHTTPClient

func NewGetNamespaceParamsWithHTTPClient(client *http.Client) *GetNamespaceParams

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

func NewGetNamespaceParamsWithTimeout

func NewGetNamespaceParamsWithTimeout(timeout time.Duration) *GetNamespaceParams

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

func (*GetNamespaceParams) SetActiveOnly

func (o *GetNamespaceParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get namespace params

func (*GetNamespaceParams) SetAuthInfoWriter

func (o *GetNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get namespace params

func (*GetNamespaceParams) SetContext

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

SetContext adds the context to the get namespace params

func (*GetNamespaceParams) SetFlightId

func (o *GetNamespaceParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get namespace params

func (*GetNamespaceParams) SetHTTPClientTransport

func (o *GetNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get namespace params

func (*GetNamespaceParams) SetNamespace

func (o *GetNamespaceParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get namespace params

func (*GetNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the get namespace params

func (*GetNamespaceParams) WithActiveOnly

func (o *GetNamespaceParams) WithActiveOnly(activeOnly *bool) *GetNamespaceParams

WithActiveOnly adds the activeOnly to the get namespace params

func (*GetNamespaceParams) WithContext

WithContext adds the context to the get namespace params

func (*GetNamespaceParams) WithHTTPClient

func (o *GetNamespaceParams) WithHTTPClient(client *http.Client) *GetNamespaceParams

WithHTTPClient adds the HTTPClient to the get namespace params

func (*GetNamespaceParams) WithNamespace

func (o *GetNamespaceParams) WithNamespace(namespace string) *GetNamespaceParams

WithNamespace adds the namespace to the get namespace params

func (*GetNamespaceParams) WithTimeout

func (o *GetNamespaceParams) WithTimeout(timeout time.Duration) *GetNamespaceParams

WithTimeout adds the timeout to the get namespace params

func (*GetNamespaceParams) WriteToRequest

func (o *GetNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetNamespacePublisherBadRequest

type GetNamespacePublisherBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

GetNamespacePublisherBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetNamespacePublisherBadRequest

func NewGetNamespacePublisherBadRequest() *GetNamespacePublisherBadRequest

NewGetNamespacePublisherBadRequest creates a GetNamespacePublisherBadRequest with default headers values

func (*GetNamespacePublisherBadRequest) Error

func (*GetNamespacePublisherBadRequest) GetPayload

func (*GetNamespacePublisherBadRequest) ToJSONString

func (o *GetNamespacePublisherBadRequest) ToJSONString() string

type GetNamespacePublisherForbidden

type GetNamespacePublisherForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespacePublisherForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewGetNamespacePublisherForbidden

func NewGetNamespacePublisherForbidden() *GetNamespacePublisherForbidden

NewGetNamespacePublisherForbidden creates a GetNamespacePublisherForbidden with default headers values

func (*GetNamespacePublisherForbidden) Error

func (*GetNamespacePublisherForbidden) GetPayload

func (*GetNamespacePublisherForbidden) ToJSONString

func (o *GetNamespacePublisherForbidden) ToJSONString() string

type GetNamespacePublisherNotFound

type GetNamespacePublisherNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespacePublisherNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11337</td><td>Unable to {action}: Namespace not found</td></tr></table>

func NewGetNamespacePublisherNotFound

func NewGetNamespacePublisherNotFound() *GetNamespacePublisherNotFound

NewGetNamespacePublisherNotFound creates a GetNamespacePublisherNotFound with default headers values

func (*GetNamespacePublisherNotFound) Error

func (*GetNamespacePublisherNotFound) GetPayload

func (*GetNamespacePublisherNotFound) ToJSONString

func (o *GetNamespacePublisherNotFound) ToJSONString() string

type GetNamespacePublisherOK

type GetNamespacePublisherOK struct {
	Payload *basicclientmodels.NamespacePublisherInfo
}

GetNamespacePublisherOK handles this case with default header values.

Successful operation

func NewGetNamespacePublisherOK

func NewGetNamespacePublisherOK() *GetNamespacePublisherOK

NewGetNamespacePublisherOK creates a GetNamespacePublisherOK with default headers values

func (*GetNamespacePublisherOK) Error

func (o *GetNamespacePublisherOK) Error() string

func (*GetNamespacePublisherOK) GetPayload

func (*GetNamespacePublisherOK) ToJSONString

func (o *GetNamespacePublisherOK) ToJSONString() string

type GetNamespacePublisherParams

type GetNamespacePublisherParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetNamespacePublisherParams contains all the parameters to send to the API endpoint for the get namespace publisher operation typically these are written to a http.Request

func NewGetNamespacePublisherParams

func NewGetNamespacePublisherParams() *GetNamespacePublisherParams

NewGetNamespacePublisherParams creates a new GetNamespacePublisherParams object with the default values initialized.

func NewGetNamespacePublisherParamsWithContext

func NewGetNamespacePublisherParamsWithContext(ctx context.Context) *GetNamespacePublisherParams

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

func NewGetNamespacePublisherParamsWithHTTPClient

func NewGetNamespacePublisherParamsWithHTTPClient(client *http.Client) *GetNamespacePublisherParams

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

func NewGetNamespacePublisherParamsWithTimeout

func NewGetNamespacePublisherParamsWithTimeout(timeout time.Duration) *GetNamespacePublisherParams

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

func (*GetNamespacePublisherParams) SetAuthInfoWriter

func (o *GetNamespacePublisherParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get namespace publisher params

func (*GetNamespacePublisherParams) SetContext

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

SetContext adds the context to the get namespace publisher params

func (*GetNamespacePublisherParams) SetFlightId

func (o *GetNamespacePublisherParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetNamespacePublisherParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get namespace publisher params

func (*GetNamespacePublisherParams) SetHTTPClientTransport

func (o *GetNamespacePublisherParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get namespace publisher params

func (*GetNamespacePublisherParams) SetNamespace

func (o *GetNamespacePublisherParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get namespace publisher params

func (*GetNamespacePublisherParams) SetTimeout

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

SetTimeout adds the timeout to the get namespace publisher params

func (*GetNamespacePublisherParams) WithContext

WithContext adds the context to the get namespace publisher params

func (*GetNamespacePublisherParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get namespace publisher params

func (*GetNamespacePublisherParams) WithNamespace

func (o *GetNamespacePublisherParams) WithNamespace(namespace string) *GetNamespacePublisherParams

WithNamespace adds the namespace to the get namespace publisher params

func (*GetNamespacePublisherParams) WithTimeout

WithTimeout adds the timeout to the get namespace publisher params

func (*GetNamespacePublisherParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNamespacePublisherReader

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

GetNamespacePublisherReader is a Reader for the GetNamespacePublisher structure.

func (*GetNamespacePublisherReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNamespacePublisherUnauthorized

type GetNamespacePublisherUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespacePublisherUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewGetNamespacePublisherUnauthorized

func NewGetNamespacePublisherUnauthorized() *GetNamespacePublisherUnauthorized

NewGetNamespacePublisherUnauthorized creates a GetNamespacePublisherUnauthorized with default headers values

func (*GetNamespacePublisherUnauthorized) Error

func (*GetNamespacePublisherUnauthorized) GetPayload

func (*GetNamespacePublisherUnauthorized) ToJSONString

func (o *GetNamespacePublisherUnauthorized) ToJSONString() string

type GetNamespaceReader

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

GetNamespaceReader is a Reader for the GetNamespace structure.

func (*GetNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNamespaceUnauthorized

type GetNamespaceUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespaceUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewGetNamespaceUnauthorized

func NewGetNamespaceUnauthorized() *GetNamespaceUnauthorized

NewGetNamespaceUnauthorized creates a GetNamespaceUnauthorized with default headers values

func (*GetNamespaceUnauthorized) Error

func (o *GetNamespaceUnauthorized) Error() string

func (*GetNamespaceUnauthorized) GetPayload

func (*GetNamespaceUnauthorized) ToJSONString

func (o *GetNamespaceUnauthorized) ToJSONString() string

type GetNamespacesForbidden

type GetNamespacesForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespacesForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewGetNamespacesForbidden

func NewGetNamespacesForbidden() *GetNamespacesForbidden

NewGetNamespacesForbidden creates a GetNamespacesForbidden with default headers values

func (*GetNamespacesForbidden) Error

func (o *GetNamespacesForbidden) Error() string

func (*GetNamespacesForbidden) GetPayload

func (*GetNamespacesForbidden) ToJSONString

func (o *GetNamespacesForbidden) ToJSONString() string

type GetNamespacesOK

type GetNamespacesOK struct {
	Payload []*basicclientmodels.NamespaceInfo
}

GetNamespacesOK handles this case with default header values.

Successful operation

func NewGetNamespacesOK

func NewGetNamespacesOK() *GetNamespacesOK

NewGetNamespacesOK creates a GetNamespacesOK with default headers values

func (*GetNamespacesOK) Error

func (o *GetNamespacesOK) Error() string

func (*GetNamespacesOK) GetPayload

func (o *GetNamespacesOK) GetPayload() []*basicclientmodels.NamespaceInfo

func (*GetNamespacesOK) ToJSONString

func (o *GetNamespacesOK) ToJSONString() string

type GetNamespacesParams

type GetNamespacesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ActiveOnly
	  only retrieves active namespaces

	*/
	ActiveOnly *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetNamespacesParams contains all the parameters to send to the API endpoint for the get namespaces operation typically these are written to a http.Request

func NewGetNamespacesParams

func NewGetNamespacesParams() *GetNamespacesParams

NewGetNamespacesParams creates a new GetNamespacesParams object with the default values initialized.

func NewGetNamespacesParamsWithContext

func NewGetNamespacesParamsWithContext(ctx context.Context) *GetNamespacesParams

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

func NewGetNamespacesParamsWithHTTPClient

func NewGetNamespacesParamsWithHTTPClient(client *http.Client) *GetNamespacesParams

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

func NewGetNamespacesParamsWithTimeout

func NewGetNamespacesParamsWithTimeout(timeout time.Duration) *GetNamespacesParams

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

func (*GetNamespacesParams) SetActiveOnly

func (o *GetNamespacesParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get namespaces params

func (*GetNamespacesParams) SetAuthInfoWriter

func (o *GetNamespacesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get namespaces params

func (*GetNamespacesParams) SetContext

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

SetContext adds the context to the get namespaces params

func (*GetNamespacesParams) SetFlightId

func (o *GetNamespacesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetNamespacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get namespaces params

func (*GetNamespacesParams) SetHTTPClientTransport

func (o *GetNamespacesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get namespaces params

func (*GetNamespacesParams) SetTimeout

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

SetTimeout adds the timeout to the get namespaces params

func (*GetNamespacesParams) WithActiveOnly

func (o *GetNamespacesParams) WithActiveOnly(activeOnly *bool) *GetNamespacesParams

WithActiveOnly adds the activeOnly to the get namespaces params

func (*GetNamespacesParams) WithContext

WithContext adds the context to the get namespaces params

func (*GetNamespacesParams) WithHTTPClient

func (o *GetNamespacesParams) WithHTTPClient(client *http.Client) *GetNamespacesParams

WithHTTPClient adds the HTTPClient to the get namespaces params

func (*GetNamespacesParams) WithTimeout

func (o *GetNamespacesParams) WithTimeout(timeout time.Duration) *GetNamespacesParams

WithTimeout adds the timeout to the get namespaces params

func (*GetNamespacesParams) WriteToRequest

func (o *GetNamespacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetNamespacesReader

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

GetNamespacesReader is a Reader for the GetNamespaces structure.

func (*GetNamespacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNamespacesUnauthorized

type GetNamespacesUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespacesUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewGetNamespacesUnauthorized

func NewGetNamespacesUnauthorized() *GetNamespacesUnauthorized

NewGetNamespacesUnauthorized creates a GetNamespacesUnauthorized with default headers values

func (*GetNamespacesUnauthorized) Error

func (o *GetNamespacesUnauthorized) Error() string

func (*GetNamespacesUnauthorized) GetPayload

func (*GetNamespacesUnauthorized) ToJSONString

func (o *GetNamespacesUnauthorized) ToJSONString() string

type PublicGetNamespacePublisherBadRequest

type PublicGetNamespacePublisherBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

PublicGetNamespacePublisherBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewPublicGetNamespacePublisherBadRequest

func NewPublicGetNamespacePublisherBadRequest() *PublicGetNamespacePublisherBadRequest

NewPublicGetNamespacePublisherBadRequest creates a PublicGetNamespacePublisherBadRequest with default headers values

func (*PublicGetNamespacePublisherBadRequest) Error

func (*PublicGetNamespacePublisherBadRequest) GetPayload

func (*PublicGetNamespacePublisherBadRequest) ToJSONString

type PublicGetNamespacePublisherForbidden

type PublicGetNamespacePublisherForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicGetNamespacePublisherForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewPublicGetNamespacePublisherForbidden

func NewPublicGetNamespacePublisherForbidden() *PublicGetNamespacePublisherForbidden

NewPublicGetNamespacePublisherForbidden creates a PublicGetNamespacePublisherForbidden with default headers values

func (*PublicGetNamespacePublisherForbidden) Error

func (*PublicGetNamespacePublisherForbidden) GetPayload

func (*PublicGetNamespacePublisherForbidden) ToJSONString

func (o *PublicGetNamespacePublisherForbidden) ToJSONString() string

type PublicGetNamespacePublisherNotFound

type PublicGetNamespacePublisherNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicGetNamespacePublisherNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11337</td><td>Unable to {action}: Namespace not found</td></tr></table>

func NewPublicGetNamespacePublisherNotFound

func NewPublicGetNamespacePublisherNotFound() *PublicGetNamespacePublisherNotFound

NewPublicGetNamespacePublisherNotFound creates a PublicGetNamespacePublisherNotFound with default headers values

func (*PublicGetNamespacePublisherNotFound) Error

func (*PublicGetNamespacePublisherNotFound) GetPayload

func (*PublicGetNamespacePublisherNotFound) ToJSONString

func (o *PublicGetNamespacePublisherNotFound) ToJSONString() string

type PublicGetNamespacePublisherOK

type PublicGetNamespacePublisherOK struct {
	Payload *basicclientmodels.NamespacePublisherInfo
}

PublicGetNamespacePublisherOK handles this case with default header values.

Successful operation

func NewPublicGetNamespacePublisherOK

func NewPublicGetNamespacePublisherOK() *PublicGetNamespacePublisherOK

NewPublicGetNamespacePublisherOK creates a PublicGetNamespacePublisherOK with default headers values

func (*PublicGetNamespacePublisherOK) Error

func (*PublicGetNamespacePublisherOK) GetPayload

func (*PublicGetNamespacePublisherOK) ToJSONString

func (o *PublicGetNamespacePublisherOK) ToJSONString() string

type PublicGetNamespacePublisherParams

type PublicGetNamespacePublisherParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetNamespacePublisherParams contains all the parameters to send to the API endpoint for the public get namespace publisher operation typically these are written to a http.Request

func NewPublicGetNamespacePublisherParams

func NewPublicGetNamespacePublisherParams() *PublicGetNamespacePublisherParams

NewPublicGetNamespacePublisherParams creates a new PublicGetNamespacePublisherParams object with the default values initialized.

func NewPublicGetNamespacePublisherParamsWithContext

func NewPublicGetNamespacePublisherParamsWithContext(ctx context.Context) *PublicGetNamespacePublisherParams

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

func NewPublicGetNamespacePublisherParamsWithHTTPClient

func NewPublicGetNamespacePublisherParamsWithHTTPClient(client *http.Client) *PublicGetNamespacePublisherParams

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

func NewPublicGetNamespacePublisherParamsWithTimeout

func NewPublicGetNamespacePublisherParamsWithTimeout(timeout time.Duration) *PublicGetNamespacePublisherParams

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

func (*PublicGetNamespacePublisherParams) SetAuthInfoWriter

func (o *PublicGetNamespacePublisherParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) SetContext

SetContext adds the context to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) SetFlightId

func (o *PublicGetNamespacePublisherParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetNamespacePublisherParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) SetHTTPClientTransport

func (o *PublicGetNamespacePublisherParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) SetNamespace

func (o *PublicGetNamespacePublisherParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) SetTimeout

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

SetTimeout adds the timeout to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) WithContext

WithContext adds the context to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) WithNamespace

WithNamespace adds the namespace to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) WithTimeout

WithTimeout adds the timeout to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetNamespacePublisherReader

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

PublicGetNamespacePublisherReader is a Reader for the PublicGetNamespacePublisher structure.

func (*PublicGetNamespacePublisherReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetNamespacePublisherUnauthorized

type PublicGetNamespacePublisherUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicGetNamespacePublisherUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewPublicGetNamespacePublisherUnauthorized

func NewPublicGetNamespacePublisherUnauthorized() *PublicGetNamespacePublisherUnauthorized

NewPublicGetNamespacePublisherUnauthorized creates a PublicGetNamespacePublisherUnauthorized with default headers values

func (*PublicGetNamespacePublisherUnauthorized) Error

func (*PublicGetNamespacePublisherUnauthorized) GetPayload

func (*PublicGetNamespacePublisherUnauthorized) ToJSONString

type PublicGetNamespacesOK

type PublicGetNamespacesOK struct {
	Payload []*basicclientmodels.NamespaceInfo
}

PublicGetNamespacesOK handles this case with default header values.

Successful operation

func NewPublicGetNamespacesOK

func NewPublicGetNamespacesOK() *PublicGetNamespacesOK

NewPublicGetNamespacesOK creates a PublicGetNamespacesOK with default headers values

func (*PublicGetNamespacesOK) Error

func (o *PublicGetNamespacesOK) Error() string

func (*PublicGetNamespacesOK) GetPayload

func (*PublicGetNamespacesOK) ToJSONString

func (o *PublicGetNamespacesOK) ToJSONString() string

type PublicGetNamespacesParams

type PublicGetNamespacesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ActiveOnly
	  only retrieves active namespaces

	*/
	ActiveOnly *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetNamespacesParams contains all the parameters to send to the API endpoint for the public get namespaces operation typically these are written to a http.Request

func NewPublicGetNamespacesParams

func NewPublicGetNamespacesParams() *PublicGetNamespacesParams

NewPublicGetNamespacesParams creates a new PublicGetNamespacesParams object with the default values initialized.

func NewPublicGetNamespacesParamsWithContext

func NewPublicGetNamespacesParamsWithContext(ctx context.Context) *PublicGetNamespacesParams

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

func NewPublicGetNamespacesParamsWithHTTPClient

func NewPublicGetNamespacesParamsWithHTTPClient(client *http.Client) *PublicGetNamespacesParams

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

func NewPublicGetNamespacesParamsWithTimeout

func NewPublicGetNamespacesParamsWithTimeout(timeout time.Duration) *PublicGetNamespacesParams

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

func (*PublicGetNamespacesParams) SetActiveOnly

func (o *PublicGetNamespacesParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the public get namespaces params

func (*PublicGetNamespacesParams) SetAuthInfoWriter

func (o *PublicGetNamespacesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get namespaces params

func (*PublicGetNamespacesParams) SetContext

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

SetContext adds the context to the public get namespaces params

func (*PublicGetNamespacesParams) SetFlightId

func (o *PublicGetNamespacesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetNamespacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get namespaces params

func (*PublicGetNamespacesParams) SetHTTPClientTransport

func (o *PublicGetNamespacesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get namespaces params

func (*PublicGetNamespacesParams) SetTimeout

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

SetTimeout adds the timeout to the public get namespaces params

func (*PublicGetNamespacesParams) WithActiveOnly

func (o *PublicGetNamespacesParams) WithActiveOnly(activeOnly *bool) *PublicGetNamespacesParams

WithActiveOnly adds the activeOnly to the public get namespaces params

func (*PublicGetNamespacesParams) WithContext

WithContext adds the context to the public get namespaces params

func (*PublicGetNamespacesParams) WithHTTPClient

func (o *PublicGetNamespacesParams) WithHTTPClient(client *http.Client) *PublicGetNamespacesParams

WithHTTPClient adds the HTTPClient to the public get namespaces params

func (*PublicGetNamespacesParams) WithTimeout

WithTimeout adds the timeout to the public get namespaces params

func (*PublicGetNamespacesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetNamespacesReader

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

PublicGetNamespacesReader is a Reader for the PublicGetNamespaces structure.

func (*PublicGetNamespacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetNamespacesUnauthorized

type PublicGetNamespacesUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicGetNamespacesUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewPublicGetNamespacesUnauthorized

func NewPublicGetNamespacesUnauthorized() *PublicGetNamespacesUnauthorized

NewPublicGetNamespacesUnauthorized creates a PublicGetNamespacesUnauthorized with default headers values

func (*PublicGetNamespacesUnauthorized) Error

func (*PublicGetNamespacesUnauthorized) GetPayload

func (*PublicGetNamespacesUnauthorized) ToJSONString

func (o *PublicGetNamespacesUnauthorized) ToJSONString() string

type UpdateNamespaceBadRequest

type UpdateNamespaceBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

UpdateNamespaceBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewUpdateNamespaceBadRequest

func NewUpdateNamespaceBadRequest() *UpdateNamespaceBadRequest

NewUpdateNamespaceBadRequest creates a UpdateNamespaceBadRequest with default headers values

func (*UpdateNamespaceBadRequest) Error

func (o *UpdateNamespaceBadRequest) Error() string

func (*UpdateNamespaceBadRequest) GetPayload

func (*UpdateNamespaceBadRequest) ToJSONString

func (o *UpdateNamespaceBadRequest) ToJSONString() string

type UpdateNamespaceConflict

type UpdateNamespaceConflict struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateNamespaceConflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewUpdateNamespaceConflict

func NewUpdateNamespaceConflict() *UpdateNamespaceConflict

NewUpdateNamespaceConflict creates a UpdateNamespaceConflict with default headers values

func (*UpdateNamespaceConflict) Error

func (o *UpdateNamespaceConflict) Error() string

func (*UpdateNamespaceConflict) GetPayload

func (*UpdateNamespaceConflict) ToJSONString

func (o *UpdateNamespaceConflict) ToJSONString() string

type UpdateNamespaceForbidden

type UpdateNamespaceForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateNamespaceForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewUpdateNamespaceForbidden

func NewUpdateNamespaceForbidden() *UpdateNamespaceForbidden

NewUpdateNamespaceForbidden creates a UpdateNamespaceForbidden with default headers values

func (*UpdateNamespaceForbidden) Error

func (o *UpdateNamespaceForbidden) Error() string

func (*UpdateNamespaceForbidden) GetPayload

func (*UpdateNamespaceForbidden) ToJSONString

func (o *UpdateNamespaceForbidden) ToJSONString() string

type UpdateNamespaceNotFound

type UpdateNamespaceNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateNamespaceNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11337</td><td>Unable to {action}: Namespace not found</td></tr></table>

func NewUpdateNamespaceNotFound

func NewUpdateNamespaceNotFound() *UpdateNamespaceNotFound

NewUpdateNamespaceNotFound creates a UpdateNamespaceNotFound with default headers values

func (*UpdateNamespaceNotFound) Error

func (o *UpdateNamespaceNotFound) Error() string

func (*UpdateNamespaceNotFound) GetPayload

func (*UpdateNamespaceNotFound) ToJSONString

func (o *UpdateNamespaceNotFound) ToJSONString() string

type UpdateNamespaceOK

type UpdateNamespaceOK struct {
	Payload *basicclientmodels.NamespaceInfo
}

UpdateNamespaceOK handles this case with default header values.

Successful operation

func NewUpdateNamespaceOK

func NewUpdateNamespaceOK() *UpdateNamespaceOK

NewUpdateNamespaceOK creates a UpdateNamespaceOK with default headers values

func (*UpdateNamespaceOK) Error

func (o *UpdateNamespaceOK) Error() string

func (*UpdateNamespaceOK) GetPayload

func (*UpdateNamespaceOK) ToJSONString

func (o *UpdateNamespaceOK) ToJSONString() string

type UpdateNamespaceParams

type UpdateNamespaceParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *basicclientmodels.NamespaceUpdate
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

UpdateNamespaceParams contains all the parameters to send to the API endpoint for the update namespace operation typically these are written to a http.Request

func NewUpdateNamespaceParams

func NewUpdateNamespaceParams() *UpdateNamespaceParams

NewUpdateNamespaceParams creates a new UpdateNamespaceParams object with the default values initialized.

func NewUpdateNamespaceParamsWithContext

func NewUpdateNamespaceParamsWithContext(ctx context.Context) *UpdateNamespaceParams

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

func NewUpdateNamespaceParamsWithHTTPClient

func NewUpdateNamespaceParamsWithHTTPClient(client *http.Client) *UpdateNamespaceParams

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

func NewUpdateNamespaceParamsWithTimeout

func NewUpdateNamespaceParamsWithTimeout(timeout time.Duration) *UpdateNamespaceParams

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

func (*UpdateNamespaceParams) SetAuthInfoWriter

func (o *UpdateNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update namespace params

func (*UpdateNamespaceParams) SetBody

SetBody adds the body to the update namespace params

func (*UpdateNamespaceParams) SetContext

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

SetContext adds the context to the update namespace params

func (*UpdateNamespaceParams) SetFlightId

func (o *UpdateNamespaceParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdateNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update namespace params

func (*UpdateNamespaceParams) SetHTTPClientTransport

func (o *UpdateNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update namespace params

func (*UpdateNamespaceParams) SetNamespace

func (o *UpdateNamespaceParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update namespace params

func (*UpdateNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the update namespace params

func (*UpdateNamespaceParams) WithBody

WithBody adds the body to the update namespace params

func (*UpdateNamespaceParams) WithContext

WithContext adds the context to the update namespace params

func (*UpdateNamespaceParams) WithHTTPClient

func (o *UpdateNamespaceParams) WithHTTPClient(client *http.Client) *UpdateNamespaceParams

WithHTTPClient adds the HTTPClient to the update namespace params

func (*UpdateNamespaceParams) WithNamespace

func (o *UpdateNamespaceParams) WithNamespace(namespace string) *UpdateNamespaceParams

WithNamespace adds the namespace to the update namespace params

func (*UpdateNamespaceParams) WithTimeout

func (o *UpdateNamespaceParams) WithTimeout(timeout time.Duration) *UpdateNamespaceParams

WithTimeout adds the timeout to the update namespace params

func (*UpdateNamespaceParams) WriteToRequest

func (o *UpdateNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateNamespaceReader

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

UpdateNamespaceReader is a Reader for the UpdateNamespace structure.

func (*UpdateNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNamespaceUnauthorized

type UpdateNamespaceUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateNamespaceUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewUpdateNamespaceUnauthorized

func NewUpdateNamespaceUnauthorized() *UpdateNamespaceUnauthorized

NewUpdateNamespaceUnauthorized creates a UpdateNamespaceUnauthorized with default headers values

func (*UpdateNamespaceUnauthorized) Error

func (*UpdateNamespaceUnauthorized) GetPayload

func (*UpdateNamespaceUnauthorized) ToJSONString

func (o *UpdateNamespaceUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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