Documentation
¶
Index ¶
- type AdminDeletePlayFeatureFlagForbidden
- type AdminDeletePlayFeatureFlagInternalServerError
- type AdminDeletePlayFeatureFlagNoContent
- type AdminDeletePlayFeatureFlagParams
- func NewAdminDeletePlayFeatureFlagParams() *AdminDeletePlayFeatureFlagParams
- func NewAdminDeletePlayFeatureFlagParamsWithContext(ctx context.Context) *AdminDeletePlayFeatureFlagParams
- func NewAdminDeletePlayFeatureFlagParamsWithHTTPClient(client *http.Client) *AdminDeletePlayFeatureFlagParams
- func NewAdminDeletePlayFeatureFlagParamsWithTimeout(timeout time.Duration) *AdminDeletePlayFeatureFlagParams
- func (o *AdminDeletePlayFeatureFlagParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeletePlayFeatureFlagParams) SetContext(ctx context.Context)
- func (o *AdminDeletePlayFeatureFlagParams) SetFlightId(flightId string)
- func (o *AdminDeletePlayFeatureFlagParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeletePlayFeatureFlagParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDeletePlayFeatureFlagParams) SetNamespace(namespace string)
- func (o *AdminDeletePlayFeatureFlagParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeletePlayFeatureFlagParams) WithContext(ctx context.Context) *AdminDeletePlayFeatureFlagParams
- func (o *AdminDeletePlayFeatureFlagParams) WithHTTPClient(client *http.Client) *AdminDeletePlayFeatureFlagParams
- func (o *AdminDeletePlayFeatureFlagParams) WithNamespace(namespace string) *AdminDeletePlayFeatureFlagParams
- func (o *AdminDeletePlayFeatureFlagParams) WithTimeout(timeout time.Duration) *AdminDeletePlayFeatureFlagParams
- func (o *AdminDeletePlayFeatureFlagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeletePlayFeatureFlagReader
- type AdminDeletePlayFeatureFlagUnauthorized
- type AdminGetPlayFeatureFlagForbidden
- type AdminGetPlayFeatureFlagInternalServerError
- type AdminGetPlayFeatureFlagOK
- type AdminGetPlayFeatureFlagParams
- func NewAdminGetPlayFeatureFlagParams() *AdminGetPlayFeatureFlagParams
- func NewAdminGetPlayFeatureFlagParamsWithContext(ctx context.Context) *AdminGetPlayFeatureFlagParams
- func NewAdminGetPlayFeatureFlagParamsWithHTTPClient(client *http.Client) *AdminGetPlayFeatureFlagParams
- func NewAdminGetPlayFeatureFlagParamsWithTimeout(timeout time.Duration) *AdminGetPlayFeatureFlagParams
- func (o *AdminGetPlayFeatureFlagParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetPlayFeatureFlagParams) SetContext(ctx context.Context)
- func (o *AdminGetPlayFeatureFlagParams) SetFlightId(flightId string)
- func (o *AdminGetPlayFeatureFlagParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetPlayFeatureFlagParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetPlayFeatureFlagParams) SetNamespace(namespace string)
- func (o *AdminGetPlayFeatureFlagParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetPlayFeatureFlagParams) WithContext(ctx context.Context) *AdminGetPlayFeatureFlagParams
- func (o *AdminGetPlayFeatureFlagParams) WithHTTPClient(client *http.Client) *AdminGetPlayFeatureFlagParams
- func (o *AdminGetPlayFeatureFlagParams) WithNamespace(namespace string) *AdminGetPlayFeatureFlagParams
- func (o *AdminGetPlayFeatureFlagParams) WithTimeout(timeout time.Duration) *AdminGetPlayFeatureFlagParams
- func (o *AdminGetPlayFeatureFlagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetPlayFeatureFlagReader
- type AdminGetPlayFeatureFlagUnauthorized
- type AdminUpsertPlayFeatureFlagBadRequest
- type AdminUpsertPlayFeatureFlagForbidden
- type AdminUpsertPlayFeatureFlagInternalServerError
- type AdminUpsertPlayFeatureFlagOK
- type AdminUpsertPlayFeatureFlagParams
- func NewAdminUpsertPlayFeatureFlagParams() *AdminUpsertPlayFeatureFlagParams
- func NewAdminUpsertPlayFeatureFlagParamsWithContext(ctx context.Context) *AdminUpsertPlayFeatureFlagParams
- func NewAdminUpsertPlayFeatureFlagParamsWithHTTPClient(client *http.Client) *AdminUpsertPlayFeatureFlagParams
- func NewAdminUpsertPlayFeatureFlagParamsWithTimeout(timeout time.Duration) *AdminUpsertPlayFeatureFlagParams
- func (o *AdminUpsertPlayFeatureFlagParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpsertPlayFeatureFlagParams) SetBody(body *match2clientmodels.ModelsPlayFeatureFlag)
- func (o *AdminUpsertPlayFeatureFlagParams) SetContext(ctx context.Context)
- func (o *AdminUpsertPlayFeatureFlagParams) SetFlightId(flightId string)
- func (o *AdminUpsertPlayFeatureFlagParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpsertPlayFeatureFlagParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpsertPlayFeatureFlagParams) SetNamespace(namespace string)
- func (o *AdminUpsertPlayFeatureFlagParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpsertPlayFeatureFlagParams) WithBody(body *match2clientmodels.ModelsPlayFeatureFlag) *AdminUpsertPlayFeatureFlagParams
- func (o *AdminUpsertPlayFeatureFlagParams) WithContext(ctx context.Context) *AdminUpsertPlayFeatureFlagParams
- func (o *AdminUpsertPlayFeatureFlagParams) WithHTTPClient(client *http.Client) *AdminUpsertPlayFeatureFlagParams
- func (o *AdminUpsertPlayFeatureFlagParams) WithNamespace(namespace string) *AdminUpsertPlayFeatureFlagParams
- func (o *AdminUpsertPlayFeatureFlagParams) WithTimeout(timeout time.Duration) *AdminUpsertPlayFeatureFlagParams
- func (o *AdminUpsertPlayFeatureFlagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpsertPlayFeatureFlagReader
- type AdminUpsertPlayFeatureFlagUnauthorized
- type Client
- func (a *Client) AdminDeletePlayFeatureFlag(params *AdminDeletePlayFeatureFlagParams, ...) (*AdminDeletePlayFeatureFlagNoContent, *AdminDeletePlayFeatureFlagUnauthorized, ...)deprecated
- func (a *Client) AdminDeletePlayFeatureFlagShort(params *AdminDeletePlayFeatureFlagParams, ...) (*AdminDeletePlayFeatureFlagNoContent, error)
- func (a *Client) AdminGetPlayFeatureFlag(params *AdminGetPlayFeatureFlagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPlayFeatureFlagOK, *AdminGetPlayFeatureFlagUnauthorized, ...)deprecated
- func (a *Client) AdminGetPlayFeatureFlagShort(params *AdminGetPlayFeatureFlagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPlayFeatureFlagOK, error)
- func (a *Client) AdminUpsertPlayFeatureFlag(params *AdminUpsertPlayFeatureFlagParams, ...) (*AdminUpsertPlayFeatureFlagOK, *AdminUpsertPlayFeatureFlagBadRequest, ...)deprecated
- func (a *Client) AdminUpsertPlayFeatureFlagShort(params *AdminUpsertPlayFeatureFlagParams, ...) (*AdminUpsertPlayFeatureFlagOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminDeletePlayFeatureFlagForbidden ¶
type AdminDeletePlayFeatureFlagForbidden struct {
Payload *match2clientmodels.ResponseError
}
AdminDeletePlayFeatureFlagForbidden handles this case with default header values.
Forbidden
func NewAdminDeletePlayFeatureFlagForbidden ¶
func NewAdminDeletePlayFeatureFlagForbidden() *AdminDeletePlayFeatureFlagForbidden
NewAdminDeletePlayFeatureFlagForbidden creates a AdminDeletePlayFeatureFlagForbidden with default headers values
func (*AdminDeletePlayFeatureFlagForbidden) Error ¶
func (o *AdminDeletePlayFeatureFlagForbidden) Error() string
func (*AdminDeletePlayFeatureFlagForbidden) GetPayload ¶
func (o *AdminDeletePlayFeatureFlagForbidden) GetPayload() *match2clientmodels.ResponseError
func (*AdminDeletePlayFeatureFlagForbidden) ToJSONString ¶
func (o *AdminDeletePlayFeatureFlagForbidden) ToJSONString() string
type AdminDeletePlayFeatureFlagInternalServerError ¶
type AdminDeletePlayFeatureFlagInternalServerError struct {
Payload *match2clientmodels.ResponseError
}
AdminDeletePlayFeatureFlagInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminDeletePlayFeatureFlagInternalServerError ¶
func NewAdminDeletePlayFeatureFlagInternalServerError() *AdminDeletePlayFeatureFlagInternalServerError
NewAdminDeletePlayFeatureFlagInternalServerError creates a AdminDeletePlayFeatureFlagInternalServerError with default headers values
func (*AdminDeletePlayFeatureFlagInternalServerError) Error ¶
func (o *AdminDeletePlayFeatureFlagInternalServerError) Error() string
func (*AdminDeletePlayFeatureFlagInternalServerError) GetPayload ¶
func (o *AdminDeletePlayFeatureFlagInternalServerError) GetPayload() *match2clientmodels.ResponseError
func (*AdminDeletePlayFeatureFlagInternalServerError) ToJSONString ¶
func (o *AdminDeletePlayFeatureFlagInternalServerError) ToJSONString() string
type AdminDeletePlayFeatureFlagNoContent ¶
type AdminDeletePlayFeatureFlagNoContent struct {
}
AdminDeletePlayFeatureFlagNoContent handles this case with default header values.
No Content
func NewAdminDeletePlayFeatureFlagNoContent ¶
func NewAdminDeletePlayFeatureFlagNoContent() *AdminDeletePlayFeatureFlagNoContent
NewAdminDeletePlayFeatureFlagNoContent creates a AdminDeletePlayFeatureFlagNoContent with default headers values
func (*AdminDeletePlayFeatureFlagNoContent) Error ¶
func (o *AdminDeletePlayFeatureFlagNoContent) Error() string
type AdminDeletePlayFeatureFlagParams ¶
type AdminDeletePlayFeatureFlagParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Namespace
namespace of the game
*/
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
}
AdminDeletePlayFeatureFlagParams contains all the parameters to send to the API endpoint for the admin delete play feature flag operation typically these are written to a http.Request
func NewAdminDeletePlayFeatureFlagParams ¶
func NewAdminDeletePlayFeatureFlagParams() *AdminDeletePlayFeatureFlagParams
NewAdminDeletePlayFeatureFlagParams creates a new AdminDeletePlayFeatureFlagParams object with the default values initialized.
func NewAdminDeletePlayFeatureFlagParamsWithContext ¶
func NewAdminDeletePlayFeatureFlagParamsWithContext(ctx context.Context) *AdminDeletePlayFeatureFlagParams
NewAdminDeletePlayFeatureFlagParamsWithContext creates a new AdminDeletePlayFeatureFlagParams object with the default values initialized, and the ability to set a context for a request
func NewAdminDeletePlayFeatureFlagParamsWithHTTPClient ¶
func NewAdminDeletePlayFeatureFlagParamsWithHTTPClient(client *http.Client) *AdminDeletePlayFeatureFlagParams
NewAdminDeletePlayFeatureFlagParamsWithHTTPClient creates a new AdminDeletePlayFeatureFlagParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminDeletePlayFeatureFlagParamsWithTimeout ¶
func NewAdminDeletePlayFeatureFlagParamsWithTimeout(timeout time.Duration) *AdminDeletePlayFeatureFlagParams
NewAdminDeletePlayFeatureFlagParamsWithTimeout creates a new AdminDeletePlayFeatureFlagParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminDeletePlayFeatureFlagParams) SetAuthInfoWriter ¶
func (o *AdminDeletePlayFeatureFlagParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin delete play feature flag params
func (*AdminDeletePlayFeatureFlagParams) SetContext ¶
func (o *AdminDeletePlayFeatureFlagParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete play feature flag params
func (*AdminDeletePlayFeatureFlagParams) SetFlightId ¶
func (o *AdminDeletePlayFeatureFlagParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminDeletePlayFeatureFlagParams) SetHTTPClient ¶
func (o *AdminDeletePlayFeatureFlagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete play feature flag params
func (*AdminDeletePlayFeatureFlagParams) SetHTTPClientTransport ¶
func (o *AdminDeletePlayFeatureFlagParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin delete play feature flag params
func (*AdminDeletePlayFeatureFlagParams) SetNamespace ¶
func (o *AdminDeletePlayFeatureFlagParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin delete play feature flag params
func (*AdminDeletePlayFeatureFlagParams) SetTimeout ¶
func (o *AdminDeletePlayFeatureFlagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete play feature flag params
func (*AdminDeletePlayFeatureFlagParams) WithContext ¶
func (o *AdminDeletePlayFeatureFlagParams) WithContext(ctx context.Context) *AdminDeletePlayFeatureFlagParams
WithContext adds the context to the admin delete play feature flag params
func (*AdminDeletePlayFeatureFlagParams) WithHTTPClient ¶
func (o *AdminDeletePlayFeatureFlagParams) WithHTTPClient(client *http.Client) *AdminDeletePlayFeatureFlagParams
WithHTTPClient adds the HTTPClient to the admin delete play feature flag params
func (*AdminDeletePlayFeatureFlagParams) WithNamespace ¶
func (o *AdminDeletePlayFeatureFlagParams) WithNamespace(namespace string) *AdminDeletePlayFeatureFlagParams
WithNamespace adds the namespace to the admin delete play feature flag params
func (*AdminDeletePlayFeatureFlagParams) WithTimeout ¶
func (o *AdminDeletePlayFeatureFlagParams) WithTimeout(timeout time.Duration) *AdminDeletePlayFeatureFlagParams
WithTimeout adds the timeout to the admin delete play feature flag params
func (*AdminDeletePlayFeatureFlagParams) WriteToRequest ¶
func (o *AdminDeletePlayFeatureFlagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeletePlayFeatureFlagReader ¶
type AdminDeletePlayFeatureFlagReader struct {
// contains filtered or unexported fields
}
AdminDeletePlayFeatureFlagReader is a Reader for the AdminDeletePlayFeatureFlag structure.
func (*AdminDeletePlayFeatureFlagReader) ReadResponse ¶
func (o *AdminDeletePlayFeatureFlagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeletePlayFeatureFlagUnauthorized ¶
type AdminDeletePlayFeatureFlagUnauthorized struct {
}
AdminDeletePlayFeatureFlagUnauthorized handles this case with default header values.
Unauthorized
func NewAdminDeletePlayFeatureFlagUnauthorized ¶
func NewAdminDeletePlayFeatureFlagUnauthorized() *AdminDeletePlayFeatureFlagUnauthorized
NewAdminDeletePlayFeatureFlagUnauthorized creates a AdminDeletePlayFeatureFlagUnauthorized with default headers values
func (*AdminDeletePlayFeatureFlagUnauthorized) Error ¶
func (o *AdminDeletePlayFeatureFlagUnauthorized) Error() string
func (*AdminDeletePlayFeatureFlagUnauthorized) GetPayload ¶
func (o *AdminDeletePlayFeatureFlagUnauthorized) GetPayload() *match2clientmodels.ResponseError
func (*AdminDeletePlayFeatureFlagUnauthorized) ToJSONString ¶
func (o *AdminDeletePlayFeatureFlagUnauthorized) ToJSONString() string
type AdminGetPlayFeatureFlagForbidden ¶
type AdminGetPlayFeatureFlagForbidden struct {
Payload *match2clientmodels.ResponseError
}
AdminGetPlayFeatureFlagForbidden handles this case with default header values.
Forbidden
func NewAdminGetPlayFeatureFlagForbidden ¶
func NewAdminGetPlayFeatureFlagForbidden() *AdminGetPlayFeatureFlagForbidden
NewAdminGetPlayFeatureFlagForbidden creates a AdminGetPlayFeatureFlagForbidden with default headers values
func (*AdminGetPlayFeatureFlagForbidden) Error ¶
func (o *AdminGetPlayFeatureFlagForbidden) Error() string
func (*AdminGetPlayFeatureFlagForbidden) GetPayload ¶
func (o *AdminGetPlayFeatureFlagForbidden) GetPayload() *match2clientmodels.ResponseError
func (*AdminGetPlayFeatureFlagForbidden) ToJSONString ¶
func (o *AdminGetPlayFeatureFlagForbidden) ToJSONString() string
type AdminGetPlayFeatureFlagInternalServerError ¶
type AdminGetPlayFeatureFlagInternalServerError struct {
Payload *match2clientmodels.ResponseError
}
AdminGetPlayFeatureFlagInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminGetPlayFeatureFlagInternalServerError ¶
func NewAdminGetPlayFeatureFlagInternalServerError() *AdminGetPlayFeatureFlagInternalServerError
NewAdminGetPlayFeatureFlagInternalServerError creates a AdminGetPlayFeatureFlagInternalServerError with default headers values
func (*AdminGetPlayFeatureFlagInternalServerError) Error ¶
func (o *AdminGetPlayFeatureFlagInternalServerError) Error() string
func (*AdminGetPlayFeatureFlagInternalServerError) GetPayload ¶
func (o *AdminGetPlayFeatureFlagInternalServerError) GetPayload() *match2clientmodels.ResponseError
func (*AdminGetPlayFeatureFlagInternalServerError) ToJSONString ¶
func (o *AdminGetPlayFeatureFlagInternalServerError) ToJSONString() string
type AdminGetPlayFeatureFlagOK ¶
type AdminGetPlayFeatureFlagOK struct {
Payload *match2clientmodels.ModelsPlayFeatureFlag
}
AdminGetPlayFeatureFlagOK handles this case with default header values.
OK
func NewAdminGetPlayFeatureFlagOK ¶
func NewAdminGetPlayFeatureFlagOK() *AdminGetPlayFeatureFlagOK
NewAdminGetPlayFeatureFlagOK creates a AdminGetPlayFeatureFlagOK with default headers values
func (*AdminGetPlayFeatureFlagOK) Error ¶
func (o *AdminGetPlayFeatureFlagOK) Error() string
func (*AdminGetPlayFeatureFlagOK) GetPayload ¶
func (o *AdminGetPlayFeatureFlagOK) GetPayload() *match2clientmodels.ModelsPlayFeatureFlag
func (*AdminGetPlayFeatureFlagOK) ToJSONString ¶
func (o *AdminGetPlayFeatureFlagOK) ToJSONString() string
type AdminGetPlayFeatureFlagParams ¶
type AdminGetPlayFeatureFlagParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Namespace
namespace of the game
*/
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
}
AdminGetPlayFeatureFlagParams contains all the parameters to send to the API endpoint for the admin get play feature flag operation typically these are written to a http.Request
func NewAdminGetPlayFeatureFlagParams ¶
func NewAdminGetPlayFeatureFlagParams() *AdminGetPlayFeatureFlagParams
NewAdminGetPlayFeatureFlagParams creates a new AdminGetPlayFeatureFlagParams object with the default values initialized.
func NewAdminGetPlayFeatureFlagParamsWithContext ¶
func NewAdminGetPlayFeatureFlagParamsWithContext(ctx context.Context) *AdminGetPlayFeatureFlagParams
NewAdminGetPlayFeatureFlagParamsWithContext creates a new AdminGetPlayFeatureFlagParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetPlayFeatureFlagParamsWithHTTPClient ¶
func NewAdminGetPlayFeatureFlagParamsWithHTTPClient(client *http.Client) *AdminGetPlayFeatureFlagParams
NewAdminGetPlayFeatureFlagParamsWithHTTPClient creates a new AdminGetPlayFeatureFlagParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetPlayFeatureFlagParamsWithTimeout ¶
func NewAdminGetPlayFeatureFlagParamsWithTimeout(timeout time.Duration) *AdminGetPlayFeatureFlagParams
NewAdminGetPlayFeatureFlagParamsWithTimeout creates a new AdminGetPlayFeatureFlagParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetPlayFeatureFlagParams) SetAuthInfoWriter ¶
func (o *AdminGetPlayFeatureFlagParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get play feature flag params
func (*AdminGetPlayFeatureFlagParams) SetContext ¶
func (o *AdminGetPlayFeatureFlagParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get play feature flag params
func (*AdminGetPlayFeatureFlagParams) SetFlightId ¶
func (o *AdminGetPlayFeatureFlagParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetPlayFeatureFlagParams) SetHTTPClient ¶
func (o *AdminGetPlayFeatureFlagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get play feature flag params
func (*AdminGetPlayFeatureFlagParams) SetHTTPClientTransport ¶
func (o *AdminGetPlayFeatureFlagParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get play feature flag params
func (*AdminGetPlayFeatureFlagParams) SetNamespace ¶
func (o *AdminGetPlayFeatureFlagParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get play feature flag params
func (*AdminGetPlayFeatureFlagParams) SetTimeout ¶
func (o *AdminGetPlayFeatureFlagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get play feature flag params
func (*AdminGetPlayFeatureFlagParams) WithContext ¶
func (o *AdminGetPlayFeatureFlagParams) WithContext(ctx context.Context) *AdminGetPlayFeatureFlagParams
WithContext adds the context to the admin get play feature flag params
func (*AdminGetPlayFeatureFlagParams) WithHTTPClient ¶
func (o *AdminGetPlayFeatureFlagParams) WithHTTPClient(client *http.Client) *AdminGetPlayFeatureFlagParams
WithHTTPClient adds the HTTPClient to the admin get play feature flag params
func (*AdminGetPlayFeatureFlagParams) WithNamespace ¶
func (o *AdminGetPlayFeatureFlagParams) WithNamespace(namespace string) *AdminGetPlayFeatureFlagParams
WithNamespace adds the namespace to the admin get play feature flag params
func (*AdminGetPlayFeatureFlagParams) WithTimeout ¶
func (o *AdminGetPlayFeatureFlagParams) WithTimeout(timeout time.Duration) *AdminGetPlayFeatureFlagParams
WithTimeout adds the timeout to the admin get play feature flag params
func (*AdminGetPlayFeatureFlagParams) WriteToRequest ¶
func (o *AdminGetPlayFeatureFlagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetPlayFeatureFlagReader ¶
type AdminGetPlayFeatureFlagReader struct {
// contains filtered or unexported fields
}
AdminGetPlayFeatureFlagReader is a Reader for the AdminGetPlayFeatureFlag structure.
func (*AdminGetPlayFeatureFlagReader) ReadResponse ¶
func (o *AdminGetPlayFeatureFlagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetPlayFeatureFlagUnauthorized ¶
type AdminGetPlayFeatureFlagUnauthorized struct {
}
AdminGetPlayFeatureFlagUnauthorized handles this case with default header values.
Unauthorized
func NewAdminGetPlayFeatureFlagUnauthorized ¶
func NewAdminGetPlayFeatureFlagUnauthorized() *AdminGetPlayFeatureFlagUnauthorized
NewAdminGetPlayFeatureFlagUnauthorized creates a AdminGetPlayFeatureFlagUnauthorized with default headers values
func (*AdminGetPlayFeatureFlagUnauthorized) Error ¶
func (o *AdminGetPlayFeatureFlagUnauthorized) Error() string
func (*AdminGetPlayFeatureFlagUnauthorized) GetPayload ¶
func (o *AdminGetPlayFeatureFlagUnauthorized) GetPayload() *match2clientmodels.ResponseError
func (*AdminGetPlayFeatureFlagUnauthorized) ToJSONString ¶
func (o *AdminGetPlayFeatureFlagUnauthorized) ToJSONString() string
type AdminUpsertPlayFeatureFlagBadRequest ¶
type AdminUpsertPlayFeatureFlagBadRequest struct {
Payload *match2clientmodels.ResponseError
}
AdminUpsertPlayFeatureFlagBadRequest handles this case with default header values.
Bad Request
func NewAdminUpsertPlayFeatureFlagBadRequest ¶
func NewAdminUpsertPlayFeatureFlagBadRequest() *AdminUpsertPlayFeatureFlagBadRequest
NewAdminUpsertPlayFeatureFlagBadRequest creates a AdminUpsertPlayFeatureFlagBadRequest with default headers values
func (*AdminUpsertPlayFeatureFlagBadRequest) Error ¶
func (o *AdminUpsertPlayFeatureFlagBadRequest) Error() string
func (*AdminUpsertPlayFeatureFlagBadRequest) GetPayload ¶
func (o *AdminUpsertPlayFeatureFlagBadRequest) GetPayload() *match2clientmodels.ResponseError
func (*AdminUpsertPlayFeatureFlagBadRequest) ToJSONString ¶
func (o *AdminUpsertPlayFeatureFlagBadRequest) ToJSONString() string
type AdminUpsertPlayFeatureFlagForbidden ¶
type AdminUpsertPlayFeatureFlagForbidden struct {
Payload *match2clientmodels.ResponseError
}
AdminUpsertPlayFeatureFlagForbidden handles this case with default header values.
Forbidden
func NewAdminUpsertPlayFeatureFlagForbidden ¶
func NewAdminUpsertPlayFeatureFlagForbidden() *AdminUpsertPlayFeatureFlagForbidden
NewAdminUpsertPlayFeatureFlagForbidden creates a AdminUpsertPlayFeatureFlagForbidden with default headers values
func (*AdminUpsertPlayFeatureFlagForbidden) Error ¶
func (o *AdminUpsertPlayFeatureFlagForbidden) Error() string
func (*AdminUpsertPlayFeatureFlagForbidden) GetPayload ¶
func (o *AdminUpsertPlayFeatureFlagForbidden) GetPayload() *match2clientmodels.ResponseError
func (*AdminUpsertPlayFeatureFlagForbidden) ToJSONString ¶
func (o *AdminUpsertPlayFeatureFlagForbidden) ToJSONString() string
type AdminUpsertPlayFeatureFlagInternalServerError ¶
type AdminUpsertPlayFeatureFlagInternalServerError struct {
Payload *match2clientmodels.ResponseError
}
AdminUpsertPlayFeatureFlagInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUpsertPlayFeatureFlagInternalServerError ¶
func NewAdminUpsertPlayFeatureFlagInternalServerError() *AdminUpsertPlayFeatureFlagInternalServerError
NewAdminUpsertPlayFeatureFlagInternalServerError creates a AdminUpsertPlayFeatureFlagInternalServerError with default headers values
func (*AdminUpsertPlayFeatureFlagInternalServerError) Error ¶
func (o *AdminUpsertPlayFeatureFlagInternalServerError) Error() string
func (*AdminUpsertPlayFeatureFlagInternalServerError) GetPayload ¶
func (o *AdminUpsertPlayFeatureFlagInternalServerError) GetPayload() *match2clientmodels.ResponseError
func (*AdminUpsertPlayFeatureFlagInternalServerError) ToJSONString ¶
func (o *AdminUpsertPlayFeatureFlagInternalServerError) ToJSONString() string
type AdminUpsertPlayFeatureFlagOK ¶
type AdminUpsertPlayFeatureFlagOK struct {
Payload *match2clientmodels.ModelsPlayFeatureFlag
}
AdminUpsertPlayFeatureFlagOK handles this case with default header values.
OK
func NewAdminUpsertPlayFeatureFlagOK ¶
func NewAdminUpsertPlayFeatureFlagOK() *AdminUpsertPlayFeatureFlagOK
NewAdminUpsertPlayFeatureFlagOK creates a AdminUpsertPlayFeatureFlagOK with default headers values
func (*AdminUpsertPlayFeatureFlagOK) Error ¶
func (o *AdminUpsertPlayFeatureFlagOK) Error() string
func (*AdminUpsertPlayFeatureFlagOK) GetPayload ¶
func (o *AdminUpsertPlayFeatureFlagOK) GetPayload() *match2clientmodels.ModelsPlayFeatureFlag
func (*AdminUpsertPlayFeatureFlagOK) ToJSONString ¶
func (o *AdminUpsertPlayFeatureFlagOK) ToJSONString() string
type AdminUpsertPlayFeatureFlagParams ¶
type AdminUpsertPlayFeatureFlagParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body *match2clientmodels.ModelsPlayFeatureFlag
/*Namespace
namespace of the game
*/
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
}
AdminUpsertPlayFeatureFlagParams contains all the parameters to send to the API endpoint for the admin upsert play feature flag operation typically these are written to a http.Request
func NewAdminUpsertPlayFeatureFlagParams ¶
func NewAdminUpsertPlayFeatureFlagParams() *AdminUpsertPlayFeatureFlagParams
NewAdminUpsertPlayFeatureFlagParams creates a new AdminUpsertPlayFeatureFlagParams object with the default values initialized.
func NewAdminUpsertPlayFeatureFlagParamsWithContext ¶
func NewAdminUpsertPlayFeatureFlagParamsWithContext(ctx context.Context) *AdminUpsertPlayFeatureFlagParams
NewAdminUpsertPlayFeatureFlagParamsWithContext creates a new AdminUpsertPlayFeatureFlagParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpsertPlayFeatureFlagParamsWithHTTPClient ¶
func NewAdminUpsertPlayFeatureFlagParamsWithHTTPClient(client *http.Client) *AdminUpsertPlayFeatureFlagParams
NewAdminUpsertPlayFeatureFlagParamsWithHTTPClient creates a new AdminUpsertPlayFeatureFlagParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpsertPlayFeatureFlagParamsWithTimeout ¶
func NewAdminUpsertPlayFeatureFlagParamsWithTimeout(timeout time.Duration) *AdminUpsertPlayFeatureFlagParams
NewAdminUpsertPlayFeatureFlagParamsWithTimeout creates a new AdminUpsertPlayFeatureFlagParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpsertPlayFeatureFlagParams) SetAuthInfoWriter ¶
func (o *AdminUpsertPlayFeatureFlagParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin upsert play feature flag params
func (*AdminUpsertPlayFeatureFlagParams) SetBody ¶
func (o *AdminUpsertPlayFeatureFlagParams) SetBody(body *match2clientmodels.ModelsPlayFeatureFlag)
SetBody adds the body to the admin upsert play feature flag params
func (*AdminUpsertPlayFeatureFlagParams) SetContext ¶
func (o *AdminUpsertPlayFeatureFlagParams) SetContext(ctx context.Context)
SetContext adds the context to the admin upsert play feature flag params
func (*AdminUpsertPlayFeatureFlagParams) SetFlightId ¶
func (o *AdminUpsertPlayFeatureFlagParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminUpsertPlayFeatureFlagParams) SetHTTPClient ¶
func (o *AdminUpsertPlayFeatureFlagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin upsert play feature flag params
func (*AdminUpsertPlayFeatureFlagParams) SetHTTPClientTransport ¶
func (o *AdminUpsertPlayFeatureFlagParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin upsert play feature flag params
func (*AdminUpsertPlayFeatureFlagParams) SetNamespace ¶
func (o *AdminUpsertPlayFeatureFlagParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin upsert play feature flag params
func (*AdminUpsertPlayFeatureFlagParams) SetTimeout ¶
func (o *AdminUpsertPlayFeatureFlagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin upsert play feature flag params
func (*AdminUpsertPlayFeatureFlagParams) WithBody ¶
func (o *AdminUpsertPlayFeatureFlagParams) WithBody(body *match2clientmodels.ModelsPlayFeatureFlag) *AdminUpsertPlayFeatureFlagParams
WithBody adds the body to the admin upsert play feature flag params
func (*AdminUpsertPlayFeatureFlagParams) WithContext ¶
func (o *AdminUpsertPlayFeatureFlagParams) WithContext(ctx context.Context) *AdminUpsertPlayFeatureFlagParams
WithContext adds the context to the admin upsert play feature flag params
func (*AdminUpsertPlayFeatureFlagParams) WithHTTPClient ¶
func (o *AdminUpsertPlayFeatureFlagParams) WithHTTPClient(client *http.Client) *AdminUpsertPlayFeatureFlagParams
WithHTTPClient adds the HTTPClient to the admin upsert play feature flag params
func (*AdminUpsertPlayFeatureFlagParams) WithNamespace ¶
func (o *AdminUpsertPlayFeatureFlagParams) WithNamespace(namespace string) *AdminUpsertPlayFeatureFlagParams
WithNamespace adds the namespace to the admin upsert play feature flag params
func (*AdminUpsertPlayFeatureFlagParams) WithTimeout ¶
func (o *AdminUpsertPlayFeatureFlagParams) WithTimeout(timeout time.Duration) *AdminUpsertPlayFeatureFlagParams
WithTimeout adds the timeout to the admin upsert play feature flag params
func (*AdminUpsertPlayFeatureFlagParams) WriteToRequest ¶
func (o *AdminUpsertPlayFeatureFlagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpsertPlayFeatureFlagReader ¶
type AdminUpsertPlayFeatureFlagReader struct {
// contains filtered or unexported fields
}
AdminUpsertPlayFeatureFlagReader is a Reader for the AdminUpsertPlayFeatureFlag structure.
func (*AdminUpsertPlayFeatureFlagReader) ReadResponse ¶
func (o *AdminUpsertPlayFeatureFlagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpsertPlayFeatureFlagUnauthorized ¶
type AdminUpsertPlayFeatureFlagUnauthorized struct {
}
AdminUpsertPlayFeatureFlagUnauthorized handles this case with default header values.
Unauthorized
func NewAdminUpsertPlayFeatureFlagUnauthorized ¶
func NewAdminUpsertPlayFeatureFlagUnauthorized() *AdminUpsertPlayFeatureFlagUnauthorized
NewAdminUpsertPlayFeatureFlagUnauthorized creates a AdminUpsertPlayFeatureFlagUnauthorized with default headers values
func (*AdminUpsertPlayFeatureFlagUnauthorized) Error ¶
func (o *AdminUpsertPlayFeatureFlagUnauthorized) Error() string
func (*AdminUpsertPlayFeatureFlagUnauthorized) GetPayload ¶
func (o *AdminUpsertPlayFeatureFlagUnauthorized) GetPayload() *match2clientmodels.ResponseError
func (*AdminUpsertPlayFeatureFlagUnauthorized) ToJSONString ¶
func (o *AdminUpsertPlayFeatureFlagUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for play feature flag API
func (*Client) AdminDeletePlayFeatureFlag
deprecated
func (a *Client) AdminDeletePlayFeatureFlag(params *AdminDeletePlayFeatureFlagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeletePlayFeatureFlagNoContent, *AdminDeletePlayFeatureFlagUnauthorized, *AdminDeletePlayFeatureFlagForbidden, *AdminDeletePlayFeatureFlagInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminDeletePlayFeatureFlagShort instead.
AdminDeletePlayFeatureFlag admin delete play feature flag ¶
Delete matchmaking Play Feature Flag. Deleting the current namespace's custom config only removes it from the database, the system will then use the environment variable defined in the ConfigMap instead.
func (*Client) AdminDeletePlayFeatureFlagShort ¶
func (a *Client) AdminDeletePlayFeatureFlagShort(params *AdminDeletePlayFeatureFlagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeletePlayFeatureFlagNoContent, error)
AdminDeletePlayFeatureFlagShort admin delete play feature flag
Delete matchmaking Play Feature Flag. Deleting the current namespace's custom config only removes it from the database, the system will then use the environment variable defined in the ConfigMap instead.
func (*Client) AdminGetPlayFeatureFlag
deprecated
func (a *Client) AdminGetPlayFeatureFlag(params *AdminGetPlayFeatureFlagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPlayFeatureFlagOK, *AdminGetPlayFeatureFlagUnauthorized, *AdminGetPlayFeatureFlagForbidden, *AdminGetPlayFeatureFlagInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetPlayFeatureFlagShort instead.
AdminGetPlayFeatureFlag admin play feature flag Get matchmaking Play Feature Flag.
func (*Client) AdminGetPlayFeatureFlagShort ¶
func (a *Client) AdminGetPlayFeatureFlagShort(params *AdminGetPlayFeatureFlagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPlayFeatureFlagOK, error)
AdminGetPlayFeatureFlagShort admin play feature flag Get matchmaking Play Feature Flag.
func (*Client) AdminUpsertPlayFeatureFlag
deprecated
func (a *Client) AdminUpsertPlayFeatureFlag(params *AdminUpsertPlayFeatureFlagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpsertPlayFeatureFlagOK, *AdminUpsertPlayFeatureFlagBadRequest, *AdminUpsertPlayFeatureFlagUnauthorized, *AdminUpsertPlayFeatureFlagForbidden, *AdminUpsertPlayFeatureFlagInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminUpsertPlayFeatureFlagShort instead.
AdminUpsertPlayFeatureFlag admin upsert play feature flag Upsert matchmaking Play Feature Flag.
func (*Client) AdminUpsertPlayFeatureFlagShort ¶
func (a *Client) AdminUpsertPlayFeatureFlagShort(params *AdminUpsertPlayFeatureFlagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpsertPlayFeatureFlagOK, error)
AdminUpsertPlayFeatureFlagShort admin upsert play feature flag Upsert matchmaking Play Feature Flag.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface {
AdminGetPlayFeatureFlag(params *AdminGetPlayFeatureFlagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPlayFeatureFlagOK, *AdminGetPlayFeatureFlagUnauthorized, *AdminGetPlayFeatureFlagForbidden, *AdminGetPlayFeatureFlagInternalServerError, error)
AdminGetPlayFeatureFlagShort(params *AdminGetPlayFeatureFlagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPlayFeatureFlagOK, error)
AdminUpsertPlayFeatureFlag(params *AdminUpsertPlayFeatureFlagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpsertPlayFeatureFlagOK, *AdminUpsertPlayFeatureFlagBadRequest, *AdminUpsertPlayFeatureFlagUnauthorized, *AdminUpsertPlayFeatureFlagForbidden, *AdminUpsertPlayFeatureFlagInternalServerError, error)
AdminUpsertPlayFeatureFlagShort(params *AdminUpsertPlayFeatureFlagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpsertPlayFeatureFlagOK, error)
AdminDeletePlayFeatureFlag(params *AdminDeletePlayFeatureFlagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeletePlayFeatureFlagNoContent, *AdminDeletePlayFeatureFlagUnauthorized, *AdminDeletePlayFeatureFlagForbidden, *AdminDeletePlayFeatureFlagInternalServerError, error)
AdminDeletePlayFeatureFlagShort(params *AdminDeletePlayFeatureFlagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeletePlayFeatureFlagNoContent, 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 play feature flag API client.