profile_update_strategy

package
v0.77.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminGetProfileUpdateStrategyV3CountryConstant     = "country"
	AdminGetProfileUpdateStrategyV3DisplayNameConstant = "display_name"
	AdminGetProfileUpdateStrategyV3DobConstant         = "dob"
	AdminGetProfileUpdateStrategyV3UsernameConstant    = "username"
)

Get the enum in AdminGetProfileUpdateStrategyV3Params

View Source
const (
	AdminUpdateProfileUpdateStrategyV3CountryConstant     = "country"
	AdminUpdateProfileUpdateStrategyV3DisplayNameConstant = "display_name"
	AdminUpdateProfileUpdateStrategyV3DobConstant         = "dob"
	AdminUpdateProfileUpdateStrategyV3UsernameConstant    = "username"
)

Get the enum in AdminUpdateProfileUpdateStrategyV3Params

View Source
const (
	PublicGetProfileUpdateStrategyV3CountryConstant     = "country"
	PublicGetProfileUpdateStrategyV3DisplayNameConstant = "display_name"
	PublicGetProfileUpdateStrategyV3DobConstant         = "dob"
	PublicGetProfileUpdateStrategyV3UsernameConstant    = "username"
)

Get the enum in PublicGetProfileUpdateStrategyV3Params

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminGetProfileUpdateStrategyV3BadRequest

type AdminGetProfileUpdateStrategyV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetProfileUpdateStrategyV3BadRequest 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 NewAdminGetProfileUpdateStrategyV3BadRequest

func NewAdminGetProfileUpdateStrategyV3BadRequest() *AdminGetProfileUpdateStrategyV3BadRequest

NewAdminGetProfileUpdateStrategyV3BadRequest creates a AdminGetProfileUpdateStrategyV3BadRequest with default headers values

func (*AdminGetProfileUpdateStrategyV3BadRequest) Error

func (*AdminGetProfileUpdateStrategyV3BadRequest) GetPayload

func (*AdminGetProfileUpdateStrategyV3BadRequest) ToJSONString

type AdminGetProfileUpdateStrategyV3Forbidden

type AdminGetProfileUpdateStrategyV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetProfileUpdateStrategyV3Forbidden handles this case with default header values.

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

func NewAdminGetProfileUpdateStrategyV3Forbidden

func NewAdminGetProfileUpdateStrategyV3Forbidden() *AdminGetProfileUpdateStrategyV3Forbidden

NewAdminGetProfileUpdateStrategyV3Forbidden creates a AdminGetProfileUpdateStrategyV3Forbidden with default headers values

func (*AdminGetProfileUpdateStrategyV3Forbidden) Error

func (*AdminGetProfileUpdateStrategyV3Forbidden) GetPayload

func (*AdminGetProfileUpdateStrategyV3Forbidden) ToJSONString

type AdminGetProfileUpdateStrategyV3InternalServerError

type AdminGetProfileUpdateStrategyV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetProfileUpdateStrategyV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminGetProfileUpdateStrategyV3InternalServerError

func NewAdminGetProfileUpdateStrategyV3InternalServerError() *AdminGetProfileUpdateStrategyV3InternalServerError

NewAdminGetProfileUpdateStrategyV3InternalServerError creates a AdminGetProfileUpdateStrategyV3InternalServerError with default headers values

func (*AdminGetProfileUpdateStrategyV3InternalServerError) Error

func (*AdminGetProfileUpdateStrategyV3InternalServerError) GetPayload

func (*AdminGetProfileUpdateStrategyV3InternalServerError) ToJSONString

type AdminGetProfileUpdateStrategyV3OK

type AdminGetProfileUpdateStrategyV3OK struct {
	Payload *iamclientmodels.ModelGetProfileUpdateStrategyConfigResponse
}

AdminGetProfileUpdateStrategyV3OK handles this case with default header values.

Operation succeeded

func NewAdminGetProfileUpdateStrategyV3OK

func NewAdminGetProfileUpdateStrategyV3OK() *AdminGetProfileUpdateStrategyV3OK

NewAdminGetProfileUpdateStrategyV3OK creates a AdminGetProfileUpdateStrategyV3OK with default headers values

func (*AdminGetProfileUpdateStrategyV3OK) Error

func (*AdminGetProfileUpdateStrategyV3OK) GetPayload

func (*AdminGetProfileUpdateStrategyV3OK) ToJSONString

func (o *AdminGetProfileUpdateStrategyV3OK) ToJSONString() string

type AdminGetProfileUpdateStrategyV3Params

type AdminGetProfileUpdateStrategyV3Params struct {

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

	*/
	Namespace string
	/*Field
	  Target field

	*/
	Field *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
}

AdminGetProfileUpdateStrategyV3Params contains all the parameters to send to the API endpoint for the admin get profile update strategy v3 operation typically these are written to a http.Request

func NewAdminGetProfileUpdateStrategyV3Params

func NewAdminGetProfileUpdateStrategyV3Params() *AdminGetProfileUpdateStrategyV3Params

NewAdminGetProfileUpdateStrategyV3Params creates a new AdminGetProfileUpdateStrategyV3Params object with the default values initialized.

func NewAdminGetProfileUpdateStrategyV3ParamsWithContext

func NewAdminGetProfileUpdateStrategyV3ParamsWithContext(ctx context.Context) *AdminGetProfileUpdateStrategyV3Params

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

func NewAdminGetProfileUpdateStrategyV3ParamsWithHTTPClient

func NewAdminGetProfileUpdateStrategyV3ParamsWithHTTPClient(client *http.Client) *AdminGetProfileUpdateStrategyV3Params

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

func NewAdminGetProfileUpdateStrategyV3ParamsWithTimeout

func NewAdminGetProfileUpdateStrategyV3ParamsWithTimeout(timeout time.Duration) *AdminGetProfileUpdateStrategyV3Params

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

func (*AdminGetProfileUpdateStrategyV3Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get profile update strategy v3 params

func (*AdminGetProfileUpdateStrategyV3Params) SetContext

SetContext adds the context to the admin get profile update strategy v3 params

func (*AdminGetProfileUpdateStrategyV3Params) SetField

func (o *AdminGetProfileUpdateStrategyV3Params) SetField(field *string)

SetField adds the field to the admin get profile update strategy v3 params

func (*AdminGetProfileUpdateStrategyV3Params) SetFlightId

func (o *AdminGetProfileUpdateStrategyV3Params) SetFlightId(flightId string)

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

func (*AdminGetProfileUpdateStrategyV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get profile update strategy v3 params

func (*AdminGetProfileUpdateStrategyV3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get profile update strategy v3 params

func (*AdminGetProfileUpdateStrategyV3Params) SetNamespace

func (o *AdminGetProfileUpdateStrategyV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get profile update strategy v3 params

func (*AdminGetProfileUpdateStrategyV3Params) SetTimeout

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

SetTimeout adds the timeout to the admin get profile update strategy v3 params

func (*AdminGetProfileUpdateStrategyV3Params) WithContext

WithContext adds the context to the admin get profile update strategy v3 params

func (*AdminGetProfileUpdateStrategyV3Params) WithField

WithField adds the field to the admin get profile update strategy v3 params

func (*AdminGetProfileUpdateStrategyV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get profile update strategy v3 params

func (*AdminGetProfileUpdateStrategyV3Params) WithNamespace

WithNamespace adds the namespace to the admin get profile update strategy v3 params

func (*AdminGetProfileUpdateStrategyV3Params) WithTimeout

WithTimeout adds the timeout to the admin get profile update strategy v3 params

func (*AdminGetProfileUpdateStrategyV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetProfileUpdateStrategyV3Reader

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

AdminGetProfileUpdateStrategyV3Reader is a Reader for the AdminGetProfileUpdateStrategyV3 structure.

func (*AdminGetProfileUpdateStrategyV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetProfileUpdateStrategyV3Unauthorized

type AdminGetProfileUpdateStrategyV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminGetProfileUpdateStrategyV3Unauthorized handles this case with default header values.

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

func NewAdminGetProfileUpdateStrategyV3Unauthorized

func NewAdminGetProfileUpdateStrategyV3Unauthorized() *AdminGetProfileUpdateStrategyV3Unauthorized

NewAdminGetProfileUpdateStrategyV3Unauthorized creates a AdminGetProfileUpdateStrategyV3Unauthorized with default headers values

func (*AdminGetProfileUpdateStrategyV3Unauthorized) Error

func (*AdminGetProfileUpdateStrategyV3Unauthorized) GetPayload

func (*AdminGetProfileUpdateStrategyV3Unauthorized) ToJSONString

type AdminUpdateProfileUpdateStrategyV3BadRequest

type AdminUpdateProfileUpdateStrategyV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateProfileUpdateStrategyV3BadRequest 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 NewAdminUpdateProfileUpdateStrategyV3BadRequest

func NewAdminUpdateProfileUpdateStrategyV3BadRequest() *AdminUpdateProfileUpdateStrategyV3BadRequest

NewAdminUpdateProfileUpdateStrategyV3BadRequest creates a AdminUpdateProfileUpdateStrategyV3BadRequest with default headers values

func (*AdminUpdateProfileUpdateStrategyV3BadRequest) Error

func (*AdminUpdateProfileUpdateStrategyV3BadRequest) GetPayload

func (*AdminUpdateProfileUpdateStrategyV3BadRequest) ToJSONString

type AdminUpdateProfileUpdateStrategyV3Forbidden

type AdminUpdateProfileUpdateStrategyV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateProfileUpdateStrategyV3Forbidden handles this case with default header values.

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

func NewAdminUpdateProfileUpdateStrategyV3Forbidden

func NewAdminUpdateProfileUpdateStrategyV3Forbidden() *AdminUpdateProfileUpdateStrategyV3Forbidden

NewAdminUpdateProfileUpdateStrategyV3Forbidden creates a AdminUpdateProfileUpdateStrategyV3Forbidden with default headers values

func (*AdminUpdateProfileUpdateStrategyV3Forbidden) Error

func (*AdminUpdateProfileUpdateStrategyV3Forbidden) GetPayload

func (*AdminUpdateProfileUpdateStrategyV3Forbidden) ToJSONString

type AdminUpdateProfileUpdateStrategyV3InternalServerError

type AdminUpdateProfileUpdateStrategyV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateProfileUpdateStrategyV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminUpdateProfileUpdateStrategyV3InternalServerError

func NewAdminUpdateProfileUpdateStrategyV3InternalServerError() *AdminUpdateProfileUpdateStrategyV3InternalServerError

NewAdminUpdateProfileUpdateStrategyV3InternalServerError creates a AdminUpdateProfileUpdateStrategyV3InternalServerError with default headers values

func (*AdminUpdateProfileUpdateStrategyV3InternalServerError) Error

func (*AdminUpdateProfileUpdateStrategyV3InternalServerError) GetPayload

func (*AdminUpdateProfileUpdateStrategyV3InternalServerError) ToJSONString

type AdminUpdateProfileUpdateStrategyV3OK

type AdminUpdateProfileUpdateStrategyV3OK struct {
	Payload *iamclientmodels.ModelSimpleProfileUpdateStrategyConfigs
}

AdminUpdateProfileUpdateStrategyV3OK handles this case with default header values.

Operation succeeded

func NewAdminUpdateProfileUpdateStrategyV3OK

func NewAdminUpdateProfileUpdateStrategyV3OK() *AdminUpdateProfileUpdateStrategyV3OK

NewAdminUpdateProfileUpdateStrategyV3OK creates a AdminUpdateProfileUpdateStrategyV3OK with default headers values

func (*AdminUpdateProfileUpdateStrategyV3OK) Error

func (*AdminUpdateProfileUpdateStrategyV3OK) GetPayload

func (*AdminUpdateProfileUpdateStrategyV3OK) ToJSONString

func (o *AdminUpdateProfileUpdateStrategyV3OK) ToJSONString() string

type AdminUpdateProfileUpdateStrategyV3Params

type AdminUpdateProfileUpdateStrategyV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *iamclientmodels.ModelUpdateProfileUpdateStrategyConfigRequest
	/*Namespace
	  Namespace, only accept alphabet and numeric

	*/
	Namespace string
	/*Field
	  Target field

	*/
	Field 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
}

AdminUpdateProfileUpdateStrategyV3Params contains all the parameters to send to the API endpoint for the admin update profile update strategy v3 operation typically these are written to a http.Request

func NewAdminUpdateProfileUpdateStrategyV3Params

func NewAdminUpdateProfileUpdateStrategyV3Params() *AdminUpdateProfileUpdateStrategyV3Params

NewAdminUpdateProfileUpdateStrategyV3Params creates a new AdminUpdateProfileUpdateStrategyV3Params object with the default values initialized.

func NewAdminUpdateProfileUpdateStrategyV3ParamsWithContext

func NewAdminUpdateProfileUpdateStrategyV3ParamsWithContext(ctx context.Context) *AdminUpdateProfileUpdateStrategyV3Params

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

func NewAdminUpdateProfileUpdateStrategyV3ParamsWithHTTPClient

func NewAdminUpdateProfileUpdateStrategyV3ParamsWithHTTPClient(client *http.Client) *AdminUpdateProfileUpdateStrategyV3Params

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

func NewAdminUpdateProfileUpdateStrategyV3ParamsWithTimeout

func NewAdminUpdateProfileUpdateStrategyV3ParamsWithTimeout(timeout time.Duration) *AdminUpdateProfileUpdateStrategyV3Params

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

func (*AdminUpdateProfileUpdateStrategyV3Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin update profile update strategy v3 params

func (*AdminUpdateProfileUpdateStrategyV3Params) SetBody

SetBody adds the body to the admin update profile update strategy v3 params

func (*AdminUpdateProfileUpdateStrategyV3Params) SetContext

SetContext adds the context to the admin update profile update strategy v3 params

func (*AdminUpdateProfileUpdateStrategyV3Params) SetField

SetField adds the field to the admin update profile update strategy v3 params

func (*AdminUpdateProfileUpdateStrategyV3Params) SetFlightId

func (o *AdminUpdateProfileUpdateStrategyV3Params) SetFlightId(flightId string)

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

func (*AdminUpdateProfileUpdateStrategyV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update profile update strategy v3 params

func (*AdminUpdateProfileUpdateStrategyV3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin update profile update strategy v3 params

func (*AdminUpdateProfileUpdateStrategyV3Params) SetNamespace

func (o *AdminUpdateProfileUpdateStrategyV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update profile update strategy v3 params

func (*AdminUpdateProfileUpdateStrategyV3Params) SetTimeout

SetTimeout adds the timeout to the admin update profile update strategy v3 params

func (*AdminUpdateProfileUpdateStrategyV3Params) WithBody

WithBody adds the body to the admin update profile update strategy v3 params

func (*AdminUpdateProfileUpdateStrategyV3Params) WithContext

WithContext adds the context to the admin update profile update strategy v3 params

func (*AdminUpdateProfileUpdateStrategyV3Params) WithField

WithField adds the field to the admin update profile update strategy v3 params

func (*AdminUpdateProfileUpdateStrategyV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update profile update strategy v3 params

func (*AdminUpdateProfileUpdateStrategyV3Params) WithNamespace

WithNamespace adds the namespace to the admin update profile update strategy v3 params

func (*AdminUpdateProfileUpdateStrategyV3Params) WithTimeout

WithTimeout adds the timeout to the admin update profile update strategy v3 params

func (*AdminUpdateProfileUpdateStrategyV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateProfileUpdateStrategyV3Reader

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

AdminUpdateProfileUpdateStrategyV3Reader is a Reader for the AdminUpdateProfileUpdateStrategyV3 structure.

func (*AdminUpdateProfileUpdateStrategyV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateProfileUpdateStrategyV3Unauthorized

type AdminUpdateProfileUpdateStrategyV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

AdminUpdateProfileUpdateStrategyV3Unauthorized handles this case with default header values.

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

func NewAdminUpdateProfileUpdateStrategyV3Unauthorized

func NewAdminUpdateProfileUpdateStrategyV3Unauthorized() *AdminUpdateProfileUpdateStrategyV3Unauthorized

NewAdminUpdateProfileUpdateStrategyV3Unauthorized creates a AdminUpdateProfileUpdateStrategyV3Unauthorized with default headers values

func (*AdminUpdateProfileUpdateStrategyV3Unauthorized) Error

func (*AdminUpdateProfileUpdateStrategyV3Unauthorized) GetPayload

func (*AdminUpdateProfileUpdateStrategyV3Unauthorized) ToJSONString

type Client

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

Client for profile update strategy API

func (*Client) AdminGetProfileUpdateStrategyV3 deprecated

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

AdminGetProfileUpdateStrategyV3 admin get profile update strategy by namespace and field. This API is for admin to get profile update strategy by namespace and field. Note: If the config is not found, this API will return a config with unlimited.

func (*Client) AdminGetProfileUpdateStrategyV3Short

func (a *Client) AdminGetProfileUpdateStrategyV3Short(params *AdminGetProfileUpdateStrategyV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetProfileUpdateStrategyV3OK, error)

AdminGetProfileUpdateStrategyV3Short admin get profile update strategy by namespace and field. This API is for admin to get profile update strategy by namespace and field. Note: If the config is not found, this API will return a config with unlimited.

func (*Client) AdminUpdateProfileUpdateStrategyV3 deprecated

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

AdminUpdateProfileUpdateStrategyV3 admin update profile update strategy by namespace and field. This API includes upsert behavior. Note: 1. field 'config” in request body will only work when type is limited

func (*Client) AdminUpdateProfileUpdateStrategyV3Short

func (a *Client) AdminUpdateProfileUpdateStrategyV3Short(params *AdminUpdateProfileUpdateStrategyV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateProfileUpdateStrategyV3OK, error)

AdminUpdateProfileUpdateStrategyV3Short admin update profile update strategy by namespace and field. This API includes upsert behavior. Note: 1. field 'config” in request body will only work when type is limited

func (*Client) PublicGetProfileUpdateStrategyV3 deprecated

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

PublicGetProfileUpdateStrategyV3 public get profile update strategy by namespace and field. This API is for public user to get profile update strategy by namespace and field. Note: If the config is not found, this API will return a config with unlimited.

func (*Client) PublicGetProfileUpdateStrategyV3Short

func (a *Client) PublicGetProfileUpdateStrategyV3Short(params *PublicGetProfileUpdateStrategyV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileUpdateStrategyV3OK, error)

PublicGetProfileUpdateStrategyV3Short public get profile update strategy by namespace and field. This API is for public user to get profile update strategy by namespace and field. Note: If the config is not found, this API will return a config with unlimited.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminGetProfileUpdateStrategyV3(params *AdminGetProfileUpdateStrategyV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetProfileUpdateStrategyV3OK, *AdminGetProfileUpdateStrategyV3BadRequest, *AdminGetProfileUpdateStrategyV3Unauthorized, *AdminGetProfileUpdateStrategyV3Forbidden, *AdminGetProfileUpdateStrategyV3InternalServerError, error)
	AdminGetProfileUpdateStrategyV3Short(params *AdminGetProfileUpdateStrategyV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetProfileUpdateStrategyV3OK, error)
	AdminUpdateProfileUpdateStrategyV3(params *AdminUpdateProfileUpdateStrategyV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateProfileUpdateStrategyV3OK, *AdminUpdateProfileUpdateStrategyV3BadRequest, *AdminUpdateProfileUpdateStrategyV3Unauthorized, *AdminUpdateProfileUpdateStrategyV3Forbidden, *AdminUpdateProfileUpdateStrategyV3InternalServerError, error)
	AdminUpdateProfileUpdateStrategyV3Short(params *AdminUpdateProfileUpdateStrategyV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateProfileUpdateStrategyV3OK, error)
	PublicGetProfileUpdateStrategyV3(params *PublicGetProfileUpdateStrategyV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileUpdateStrategyV3OK, *PublicGetProfileUpdateStrategyV3BadRequest, *PublicGetProfileUpdateStrategyV3Unauthorized, *PublicGetProfileUpdateStrategyV3Forbidden, *PublicGetProfileUpdateStrategyV3InternalServerError, error)
	PublicGetProfileUpdateStrategyV3Short(params *PublicGetProfileUpdateStrategyV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetProfileUpdateStrategyV3OK, 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 profile update strategy API client.

type PublicGetProfileUpdateStrategyV3BadRequest

type PublicGetProfileUpdateStrategyV3BadRequest struct {
	Payload *iamclientmodels.RestErrorResponse
}

PublicGetProfileUpdateStrategyV3BadRequest 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 NewPublicGetProfileUpdateStrategyV3BadRequest

func NewPublicGetProfileUpdateStrategyV3BadRequest() *PublicGetProfileUpdateStrategyV3BadRequest

NewPublicGetProfileUpdateStrategyV3BadRequest creates a PublicGetProfileUpdateStrategyV3BadRequest with default headers values

func (*PublicGetProfileUpdateStrategyV3BadRequest) Error

func (*PublicGetProfileUpdateStrategyV3BadRequest) GetPayload

func (*PublicGetProfileUpdateStrategyV3BadRequest) ToJSONString

type PublicGetProfileUpdateStrategyV3Forbidden

type PublicGetProfileUpdateStrategyV3Forbidden struct {
	Payload *iamclientmodels.RestErrorResponse
}

PublicGetProfileUpdateStrategyV3Forbidden handles this case with default header values.

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

func NewPublicGetProfileUpdateStrategyV3Forbidden

func NewPublicGetProfileUpdateStrategyV3Forbidden() *PublicGetProfileUpdateStrategyV3Forbidden

NewPublicGetProfileUpdateStrategyV3Forbidden creates a PublicGetProfileUpdateStrategyV3Forbidden with default headers values

func (*PublicGetProfileUpdateStrategyV3Forbidden) Error

func (*PublicGetProfileUpdateStrategyV3Forbidden) GetPayload

func (*PublicGetProfileUpdateStrategyV3Forbidden) ToJSONString

type PublicGetProfileUpdateStrategyV3InternalServerError

type PublicGetProfileUpdateStrategyV3InternalServerError struct {
	Payload *iamclientmodels.RestErrorResponse
}

PublicGetProfileUpdateStrategyV3InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewPublicGetProfileUpdateStrategyV3InternalServerError

func NewPublicGetProfileUpdateStrategyV3InternalServerError() *PublicGetProfileUpdateStrategyV3InternalServerError

NewPublicGetProfileUpdateStrategyV3InternalServerError creates a PublicGetProfileUpdateStrategyV3InternalServerError with default headers values

func (*PublicGetProfileUpdateStrategyV3InternalServerError) Error

func (*PublicGetProfileUpdateStrategyV3InternalServerError) GetPayload

func (*PublicGetProfileUpdateStrategyV3InternalServerError) ToJSONString

type PublicGetProfileUpdateStrategyV3OK

type PublicGetProfileUpdateStrategyV3OK struct {
	Payload *iamclientmodels.ModelGetProfileUpdateStrategyConfigResponse
}

PublicGetProfileUpdateStrategyV3OK handles this case with default header values.

Operation succeeded

func NewPublicGetProfileUpdateStrategyV3OK

func NewPublicGetProfileUpdateStrategyV3OK() *PublicGetProfileUpdateStrategyV3OK

NewPublicGetProfileUpdateStrategyV3OK creates a PublicGetProfileUpdateStrategyV3OK with default headers values

func (*PublicGetProfileUpdateStrategyV3OK) Error

func (*PublicGetProfileUpdateStrategyV3OK) GetPayload

func (*PublicGetProfileUpdateStrategyV3OK) ToJSONString

func (o *PublicGetProfileUpdateStrategyV3OK) ToJSONString() string

type PublicGetProfileUpdateStrategyV3Params

type PublicGetProfileUpdateStrategyV3Params struct {

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

	*/
	Namespace string
	/*Field
	  Target field

	*/
	Field *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
}

PublicGetProfileUpdateStrategyV3Params contains all the parameters to send to the API endpoint for the public get profile update strategy v3 operation typically these are written to a http.Request

func NewPublicGetProfileUpdateStrategyV3Params

func NewPublicGetProfileUpdateStrategyV3Params() *PublicGetProfileUpdateStrategyV3Params

NewPublicGetProfileUpdateStrategyV3Params creates a new PublicGetProfileUpdateStrategyV3Params object with the default values initialized.

func NewPublicGetProfileUpdateStrategyV3ParamsWithContext

func NewPublicGetProfileUpdateStrategyV3ParamsWithContext(ctx context.Context) *PublicGetProfileUpdateStrategyV3Params

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

func NewPublicGetProfileUpdateStrategyV3ParamsWithHTTPClient

func NewPublicGetProfileUpdateStrategyV3ParamsWithHTTPClient(client *http.Client) *PublicGetProfileUpdateStrategyV3Params

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

func NewPublicGetProfileUpdateStrategyV3ParamsWithTimeout

func NewPublicGetProfileUpdateStrategyV3ParamsWithTimeout(timeout time.Duration) *PublicGetProfileUpdateStrategyV3Params

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

func (*PublicGetProfileUpdateStrategyV3Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get profile update strategy v3 params

func (*PublicGetProfileUpdateStrategyV3Params) SetContext

SetContext adds the context to the public get profile update strategy v3 params

func (*PublicGetProfileUpdateStrategyV3Params) SetField

func (o *PublicGetProfileUpdateStrategyV3Params) SetField(field *string)

SetField adds the field to the public get profile update strategy v3 params

func (*PublicGetProfileUpdateStrategyV3Params) SetFlightId

func (o *PublicGetProfileUpdateStrategyV3Params) SetFlightId(flightId string)

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

func (*PublicGetProfileUpdateStrategyV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get profile update strategy v3 params

func (*PublicGetProfileUpdateStrategyV3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get profile update strategy v3 params

func (*PublicGetProfileUpdateStrategyV3Params) SetNamespace

func (o *PublicGetProfileUpdateStrategyV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get profile update strategy v3 params

func (*PublicGetProfileUpdateStrategyV3Params) SetTimeout

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

SetTimeout adds the timeout to the public get profile update strategy v3 params

func (*PublicGetProfileUpdateStrategyV3Params) WithContext

WithContext adds the context to the public get profile update strategy v3 params

func (*PublicGetProfileUpdateStrategyV3Params) WithField

WithField adds the field to the public get profile update strategy v3 params

func (*PublicGetProfileUpdateStrategyV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get profile update strategy v3 params

func (*PublicGetProfileUpdateStrategyV3Params) WithNamespace

WithNamespace adds the namespace to the public get profile update strategy v3 params

func (*PublicGetProfileUpdateStrategyV3Params) WithTimeout

WithTimeout adds the timeout to the public get profile update strategy v3 params

func (*PublicGetProfileUpdateStrategyV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetProfileUpdateStrategyV3Reader

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

PublicGetProfileUpdateStrategyV3Reader is a Reader for the PublicGetProfileUpdateStrategyV3 structure.

func (*PublicGetProfileUpdateStrategyV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetProfileUpdateStrategyV3Unauthorized

type PublicGetProfileUpdateStrategyV3Unauthorized struct {
	Payload *iamclientmodels.RestErrorResponse
}

PublicGetProfileUpdateStrategyV3Unauthorized handles this case with default header values.

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

func NewPublicGetProfileUpdateStrategyV3Unauthorized

func NewPublicGetProfileUpdateStrategyV3Unauthorized() *PublicGetProfileUpdateStrategyV3Unauthorized

NewPublicGetProfileUpdateStrategyV3Unauthorized creates a PublicGetProfileUpdateStrategyV3Unauthorized with default headers values

func (*PublicGetProfileUpdateStrategyV3Unauthorized) Error

func (*PublicGetProfileUpdateStrategyV3Unauthorized) GetPayload

func (*PublicGetProfileUpdateStrategyV3Unauthorized) ToJSONString

Jump to

Keyboard shortcuts

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