Documentation
¶
Index ¶
- Constants
- Variables
- func CacheExpires(r *http.Response) time.Time
- func GetLink(resp *http.Response, rel string) *url.URL
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiCalculateLifecycleStateRequest
- type ApiGetLifecycleComponentStateRequest
- type ApiListLifecycleComponentStatesRequest
- type ApiPutLifecycleComponentStateRequest
- type BasicAuth
- type Configuration
- type ErrorDetail
- func (o *ErrorDetail) GetLocation() string
- func (o *ErrorDetail) GetLocationOk() (*string, bool)
- func (o *ErrorDetail) GetMessage() string
- func (o *ErrorDetail) GetMessageOk() (*string, bool)
- func (o *ErrorDetail) GetValue() interface{}
- func (o *ErrorDetail) GetValueOk() (*interface{}, bool)
- func (o *ErrorDetail) HasLocation() bool
- func (o *ErrorDetail) HasMessage() bool
- func (o *ErrorDetail) HasValue() bool
- func (o ErrorDetail) MarshalJSON() ([]byte, error)
- func (o *ErrorDetail) SetLocation(v string)
- func (o *ErrorDetail) SetMessage(v string)
- func (o *ErrorDetail) SetValue(v interface{})
- func (o ErrorDetail) ToMap() (map[string]interface{}, error)
- type ErrorModel
- func (o *ErrorModel) GetDetail() string
- func (o *ErrorModel) GetDetailOk() (*string, bool)
- func (o *ErrorModel) GetErrors() []ErrorDetail
- func (o *ErrorModel) GetErrorsOk() ([]ErrorDetail, bool)
- func (o *ErrorModel) GetInstance() string
- func (o *ErrorModel) GetInstanceOk() (*string, bool)
- func (o *ErrorModel) GetSchema() string
- func (o *ErrorModel) GetSchemaOk() (*string, bool)
- func (o *ErrorModel) GetStatus() int64
- func (o *ErrorModel) GetStatusOk() (*int64, bool)
- func (o *ErrorModel) GetTitle() string
- func (o *ErrorModel) GetTitleOk() (*string, bool)
- func (o *ErrorModel) GetType() string
- func (o *ErrorModel) GetTypeOk() (*string, bool)
- func (o *ErrorModel) HasDetail() bool
- func (o *ErrorModel) HasErrors() bool
- func (o *ErrorModel) HasInstance() bool
- func (o *ErrorModel) HasSchema() bool
- func (o *ErrorModel) HasStatus() bool
- func (o *ErrorModel) HasTitle() bool
- func (o *ErrorModel) HasType() bool
- func (o ErrorModel) MarshalJSON() ([]byte, error)
- func (o *ErrorModel) SetDetail(v string)
- func (o *ErrorModel) SetErrors(v []ErrorDetail)
- func (o *ErrorModel) SetInstance(v string)
- func (o *ErrorModel) SetSchema(v string)
- func (o *ErrorModel) SetStatus(v int64)
- func (o *ErrorModel) SetTitle(v string)
- func (o *ErrorModel) SetType(v string)
- func (o ErrorModel) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type GetComponentStateResponseBody
- func (o *GetComponentStateResponseBody) GetChannelId() string
- func (o *GetComponentStateResponseBody) GetChannelIdOk() (*string, bool)
- func (o *GetComponentStateResponseBody) GetChannelRevision() int32
- func (o *GetComponentStateResponseBody) GetChannelRevisionOk() (*int32, bool)
- func (o *GetComponentStateResponseBody) GetComponent() string
- func (o *GetComponentStateResponseBody) GetComponentOk() (*string, bool)
- func (o *GetComponentStateResponseBody) GetComponentState() string
- func (o *GetComponentStateResponseBody) GetComponentStateOk() (*string, bool)
- func (o *GetComponentStateResponseBody) GetOrg() string
- func (o *GetComponentStateResponseBody) GetOrgOk() (*string, bool)
- func (o *GetComponentStateResponseBody) GetSchema() string
- func (o *GetComponentStateResponseBody) GetSchemaOk() (*string, bool)
- func (o *GetComponentStateResponseBody) GetUpdatedAt() time.Time
- func (o *GetComponentStateResponseBody) GetUpdatedAtOk() (*time.Time, bool)
- func (o *GetComponentStateResponseBody) HasSchema() bool
- func (o GetComponentStateResponseBody) MarshalJSON() ([]byte, error)
- func (o *GetComponentStateResponseBody) SetChannelId(v string)
- func (o *GetComponentStateResponseBody) SetChannelRevision(v int32)
- func (o *GetComponentStateResponseBody) SetComponent(v string)
- func (o *GetComponentStateResponseBody) SetComponentState(v string)
- func (o *GetComponentStateResponseBody) SetOrg(v string)
- func (o *GetComponentStateResponseBody) SetSchema(v string)
- func (o *GetComponentStateResponseBody) SetUpdatedAt(v time.Time)
- func (o GetComponentStateResponseBody) ToMap() (map[string]interface{}, error)
- type GetStateResponseBody
- func (o *GetStateResponseBody) GetChannelId() string
- func (o *GetStateResponseBody) GetChannelIdOk() (*string, bool)
- func (o *GetStateResponseBody) GetChannelRevision() int32
- func (o *GetStateResponseBody) GetChannelRevisionOk() (*int32, bool)
- func (o *GetStateResponseBody) GetChannelState() string
- func (o *GetStateResponseBody) GetChannelStateOk() (*string, bool)
- func (o *GetStateResponseBody) GetOrg() string
- func (o *GetStateResponseBody) GetOrgOk() (*string, bool)
- func (o *GetStateResponseBody) GetSchema() string
- func (o *GetStateResponseBody) GetSchemaOk() (*string, bool)
- func (o *GetStateResponseBody) GetUpdatedAt() time.Time
- func (o *GetStateResponseBody) GetUpdatedAtOk() (*time.Time, bool)
- func (o *GetStateResponseBody) HasSchema() bool
- func (o GetStateResponseBody) MarshalJSON() ([]byte, error)
- func (o *GetStateResponseBody) SetChannelId(v string)
- func (o *GetStateResponseBody) SetChannelRevision(v int32)
- func (o *GetStateResponseBody) SetChannelState(v string)
- func (o *GetStateResponseBody) SetOrg(v string)
- func (o *GetStateResponseBody) SetSchema(v string)
- func (o *GetStateResponseBody) SetUpdatedAt(v time.Time)
- func (o GetStateResponseBody) ToMap() (map[string]interface{}, error)
- type HighLevelClient
- func (c *HighLevelClient) Decode(v interface{}, body []byte, contentType string) error
- func (c *HighLevelClient) Do(req *http.Request) (*http.Response, error)
- func (c *HighLevelClient) DoModel(req *http.Request, model interface{}) (*http.Response, error)
- func (c *HighLevelClient) GetModel(uri string, model interface{}) (*http.Response, error)
- type LifecycleApi
- type LifecycleApiService
- func (a *LifecycleApiService) CalculateLifecycleState(ctx context.Context, org string, channelId string) ApiCalculateLifecycleStateRequest
- func (a *LifecycleApiService) CalculateLifecycleStateExecute(r ApiCalculateLifecycleStateRequest) (*GetStateResponseBody, *http.Response, error)
- func (a *LifecycleApiService) GetLifecycleComponentState(ctx context.Context, org string, channelId string, component string) ApiGetLifecycleComponentStateRequest
- func (a *LifecycleApiService) GetLifecycleComponentStateExecute(r ApiGetLifecycleComponentStateRequest) (*GetComponentStateResponseBody, *http.Response, error)
- func (a *LifecycleApiService) ListLifecycleComponentStates(ctx context.Context, org string, channelId string) ApiListLifecycleComponentStatesRequest
- func (a *LifecycleApiService) ListLifecycleComponentStatesExecute(r ApiListLifecycleComponentStatesRequest) (*ListComponentStatesResponseBody, *http.Response, error)
- func (a *LifecycleApiService) PutLifecycleComponentState(ctx context.Context, channelUrn string, component string) ApiPutLifecycleComponentStateRequest
- func (a *LifecycleApiService) PutLifecycleComponentStateExecute(r ApiPutLifecycleComponentStateRequest) (*http.Response, error)
- type ListComponentStatesResponseBody
- func (o *ListComponentStatesResponseBody) GetChannelId() string
- func (o *ListComponentStatesResponseBody) GetChannelIdOk() (*string, bool)
- func (o *ListComponentStatesResponseBody) GetComponents() []ListComponentStatesResponseEntry
- func (o *ListComponentStatesResponseBody) GetComponentsOk() ([]ListComponentStatesResponseEntry, bool)
- func (o *ListComponentStatesResponseBody) GetOrg() string
- func (o *ListComponentStatesResponseBody) GetOrgOk() (*string, bool)
- func (o *ListComponentStatesResponseBody) GetSchema() string
- func (o *ListComponentStatesResponseBody) GetSchemaOk() (*string, bool)
- func (o *ListComponentStatesResponseBody) HasSchema() bool
- func (o ListComponentStatesResponseBody) MarshalJSON() ([]byte, error)
- func (o *ListComponentStatesResponseBody) SetChannelId(v string)
- func (o *ListComponentStatesResponseBody) SetComponents(v []ListComponentStatesResponseEntry)
- func (o *ListComponentStatesResponseBody) SetOrg(v string)
- func (o *ListComponentStatesResponseBody) SetSchema(v string)
- func (o ListComponentStatesResponseBody) ToMap() (map[string]interface{}, error)
- type ListComponentStatesResponseEntry
- func (o *ListComponentStatesResponseEntry) GetChannelRevision() int32
- func (o *ListComponentStatesResponseEntry) GetChannelRevisionOk() (*int32, bool)
- func (o *ListComponentStatesResponseEntry) GetComponent() string
- func (o *ListComponentStatesResponseEntry) GetComponentOk() (*string, bool)
- func (o *ListComponentStatesResponseEntry) GetComponentState() string
- func (o *ListComponentStatesResponseEntry) GetComponentStateOk() (*string, bool)
- func (o *ListComponentStatesResponseEntry) GetUpdatedAt() time.Time
- func (o *ListComponentStatesResponseEntry) GetUpdatedAtOk() (*time.Time, bool)
- func (o ListComponentStatesResponseEntry) MarshalJSON() ([]byte, error)
- func (o *ListComponentStatesResponseEntry) SetChannelRevision(v int32)
- func (o *ListComponentStatesResponseEntry) SetComponent(v string)
- func (o *ListComponentStatesResponseEntry) SetComponentState(v string)
- func (o *ListComponentStatesResponseEntry) SetUpdatedAt(v time.Time)
- func (o ListComponentStatesResponseEntry) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NullableBool
- type NullableErrorDetail
- func (v NullableErrorDetail) Get() *ErrorDetail
- func (v NullableErrorDetail) IsSet() bool
- func (v NullableErrorDetail) MarshalJSON() ([]byte, error)
- func (v *NullableErrorDetail) Set(val *ErrorDetail)
- func (v *NullableErrorDetail) UnmarshalJSON(src []byte) error
- func (v *NullableErrorDetail) Unset()
- type NullableErrorModel
- type NullableFloat32
- type NullableFloat64
- type NullableGetComponentStateResponseBody
- func (v NullableGetComponentStateResponseBody) Get() *GetComponentStateResponseBody
- func (v NullableGetComponentStateResponseBody) IsSet() bool
- func (v NullableGetComponentStateResponseBody) MarshalJSON() ([]byte, error)
- func (v *NullableGetComponentStateResponseBody) Set(val *GetComponentStateResponseBody)
- func (v *NullableGetComponentStateResponseBody) UnmarshalJSON(src []byte) error
- func (v *NullableGetComponentStateResponseBody) Unset()
- type NullableGetStateResponseBody
- func (v NullableGetStateResponseBody) Get() *GetStateResponseBody
- func (v NullableGetStateResponseBody) IsSet() bool
- func (v NullableGetStateResponseBody) MarshalJSON() ([]byte, error)
- func (v *NullableGetStateResponseBody) Set(val *GetStateResponseBody)
- func (v *NullableGetStateResponseBody) UnmarshalJSON(src []byte) error
- func (v *NullableGetStateResponseBody) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListComponentStatesResponseBody
- func (v NullableListComponentStatesResponseBody) Get() *ListComponentStatesResponseBody
- func (v NullableListComponentStatesResponseBody) IsSet() bool
- func (v NullableListComponentStatesResponseBody) MarshalJSON() ([]byte, error)
- func (v *NullableListComponentStatesResponseBody) Set(val *ListComponentStatesResponseBody)
- func (v *NullableListComponentStatesResponseBody) UnmarshalJSON(src []byte) error
- func (v *NullableListComponentStatesResponseBody) Unset()
- type NullableListComponentStatesResponseEntry
- func (v NullableListComponentStatesResponseEntry) Get() *ListComponentStatesResponseEntry
- func (v NullableListComponentStatesResponseEntry) IsSet() bool
- func (v NullableListComponentStatesResponseEntry) MarshalJSON() ([]byte, error)
- func (v *NullableListComponentStatesResponseEntry) Set(val *ListComponentStatesResponseEntry)
- func (v *NullableListComponentStatesResponseEntry) UnmarshalJSON(src []byte) error
- func (v *NullableListComponentStatesResponseEntry) Unset()
- type NullablePutComponentBody
- func (v NullablePutComponentBody) Get() *PutComponentBody
- func (v NullablePutComponentBody) IsSet() bool
- func (v NullablePutComponentBody) MarshalJSON() ([]byte, error)
- func (v *NullablePutComponentBody) Set(val *PutComponentBody)
- func (v *NullablePutComponentBody) UnmarshalJSON(src []byte) error
- func (v *NullablePutComponentBody) Unset()
- type NullableString
- type NullableTime
- type PutComponentBody
- func (o *PutComponentBody) GetChannelRevision() int32
- func (o *PutComponentBody) GetChannelRevisionOk() (*int32, bool)
- func (o *PutComponentBody) GetComponentState() string
- func (o *PutComponentBody) GetComponentStateOk() (*string, bool)
- func (o *PutComponentBody) GetSchema() string
- func (o *PutComponentBody) GetSchemaOk() (*string, bool)
- func (o *PutComponentBody) HasSchema() bool
- func (o PutComponentBody) MarshalJSON() ([]byte, error)
- func (o *PutComponentBody) SetChannelRevision(v int32)
- func (o *PutComponentBody) SetComponentState(v string)
- func (o *PutComponentBody) SetSchema(v string)
- func (o PutComponentBody) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
const RelNext = "next"
RelNext is the `next` link relationship, used for pagination.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var (
// ContextDisablePaging disable automatic pagination handling for a request.
ContextDisablePaging = contextKey("paging")
)
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func GetLink ¶
GetLink returns the URI of the first HTTP Link header with the requested relationship value, nil otherwise.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { LifecycleApi LifecycleApi // contains filtered or unexported fields }
APIClient manages communication with the iStreamPlanet Slate Management API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCalculateLifecycleStateRequest ¶
type ApiCalculateLifecycleStateRequest struct { ApiService LifecycleApi // contains filtered or unexported fields }
func (ApiCalculateLifecycleStateRequest) Execute ¶
func (r ApiCalculateLifecycleStateRequest) Execute() (*GetStateResponseBody, *http.Response, error)
type ApiGetLifecycleComponentStateRequest ¶
type ApiGetLifecycleComponentStateRequest struct { ApiService LifecycleApi // contains filtered or unexported fields }
func (ApiGetLifecycleComponentStateRequest) Execute ¶
func (r ApiGetLifecycleComponentStateRequest) Execute() (*GetComponentStateResponseBody, *http.Response, error)
type ApiListLifecycleComponentStatesRequest ¶
type ApiListLifecycleComponentStatesRequest struct { ApiService LifecycleApi // contains filtered or unexported fields }
func (ApiListLifecycleComponentStatesRequest) Execute ¶
func (r ApiListLifecycleComponentStatesRequest) Execute() (*ListComponentStatesResponseBody, *http.Response, error)
type ApiPutLifecycleComponentStateRequest ¶
type ApiPutLifecycleComponentStateRequest struct { ApiService LifecycleApi // contains filtered or unexported fields }
func (ApiPutLifecycleComponentStateRequest) Execute ¶
func (r ApiPutLifecycleComponentStateRequest) Execute() (*http.Response, error)
func (ApiPutLifecycleComponentStateRequest) PutComponentBody ¶
func (r ApiPutLifecycleComponentStateRequest) PutComponentBody(putComponentBody PutComponentBody) ApiPutLifecycleComponentStateRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ErrorDetail ¶
type ErrorDetail struct { // Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id' Location *string `json:"location,omitempty" doc:"Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'"` // Error message text Message *string `json:"message,omitempty" doc:"Error message text"` // The value at the given location Value interface{} `json:"value,omitempty" doc:"The value at the given location"` }
ErrorDetail struct for ErrorDetail
func NewErrorDetail ¶
func NewErrorDetail() *ErrorDetail
NewErrorDetail instantiates a new ErrorDetail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorDetailWithDefaults ¶
func NewErrorDetailWithDefaults() *ErrorDetail
NewErrorDetailWithDefaults instantiates a new ErrorDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorDetail) GetLocation ¶
func (o *ErrorDetail) GetLocation() string
GetLocation returns the Location field value if set, zero value otherwise.
func (*ErrorDetail) GetLocationOk ¶
func (o *ErrorDetail) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorDetail) GetMessage ¶
func (o *ErrorDetail) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ErrorDetail) GetMessageOk ¶
func (o *ErrorDetail) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorDetail) GetValue ¶
func (o *ErrorDetail) GetValue() interface{}
GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ErrorDetail) GetValueOk ¶
func (o *ErrorDetail) GetValueOk() (*interface{}, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ErrorDetail) HasLocation ¶
func (o *ErrorDetail) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*ErrorDetail) HasMessage ¶
func (o *ErrorDetail) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ErrorDetail) HasValue ¶
func (o *ErrorDetail) HasValue() bool
HasValue returns a boolean if a field has been set.
func (ErrorDetail) MarshalJSON ¶
func (o ErrorDetail) MarshalJSON() ([]byte, error)
func (*ErrorDetail) SetLocation ¶
func (o *ErrorDetail) SetLocation(v string)
SetLocation gets a reference to the given string and assigns it to the Location field.
func (*ErrorDetail) SetMessage ¶
func (o *ErrorDetail) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ErrorDetail) SetValue ¶
func (o *ErrorDetail) SetValue(v interface{})
SetValue gets a reference to the given interface{} and assigns it to the Value field.
func (ErrorDetail) ToMap ¶
func (o ErrorDetail) ToMap() (map[string]interface{}, error)
type ErrorModel ¶
type ErrorModel struct { // A URL to the JSON Schema for this object. Schema *string `json:"$schema,omitempty" format:"uri" doc:"A URL to the JSON Schema for this object."` // A human-readable explanation specific to this occurrence of the problem. Detail *string `json:"detail,omitempty" doc:"A human-readable explanation specific to this occurrence of the problem."` // Optional list of individual error details Errors []ErrorDetail `json:"errors,omitempty" doc:"Optional list of individual error details"` // A URI reference that identifies the specific occurrence of the problem. Instance *string `json:"instance,omitempty" format:"uri" doc:"A URI reference that identifies the specific occurrence of the problem."` // HTTP status code Status *int64 `json:"status,omitempty" format:"int64" doc:"HTTP status code"` // A short, human-readable summary of the problem type. This value should not change between occurrences of the error. Title *string `` /* 144-byte string literal not displayed */ // A URI reference to human-readable documentation for the error. Type *string `` /* 127-byte string literal not displayed */ }
ErrorModel struct for ErrorModel
func NewErrorModel ¶
func NewErrorModel() *ErrorModel
NewErrorModel instantiates a new ErrorModel object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorModelWithDefaults ¶
func NewErrorModelWithDefaults() *ErrorModel
NewErrorModelWithDefaults instantiates a new ErrorModel object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorModel) GetDetail ¶
func (o *ErrorModel) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*ErrorModel) GetDetailOk ¶
func (o *ErrorModel) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorModel) GetErrors ¶
func (o *ErrorModel) GetErrors() []ErrorDetail
GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ErrorModel) GetErrorsOk ¶
func (o *ErrorModel) GetErrorsOk() ([]ErrorDetail, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ErrorModel) GetInstance ¶
func (o *ErrorModel) GetInstance() string
GetInstance returns the Instance field value if set, zero value otherwise.
func (*ErrorModel) GetInstanceOk ¶
func (o *ErrorModel) GetInstanceOk() (*string, bool)
GetInstanceOk returns a tuple with the Instance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorModel) GetSchema ¶
func (o *ErrorModel) GetSchema() string
GetSchema returns the Schema field value if set, zero value otherwise.
func (*ErrorModel) GetSchemaOk ¶
func (o *ErrorModel) GetSchemaOk() (*string, bool)
GetSchemaOk returns a tuple with the Schema field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorModel) GetStatus ¶
func (o *ErrorModel) GetStatus() int64
GetStatus returns the Status field value if set, zero value otherwise.
func (*ErrorModel) GetStatusOk ¶
func (o *ErrorModel) GetStatusOk() (*int64, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorModel) GetTitle ¶
func (o *ErrorModel) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*ErrorModel) GetTitleOk ¶
func (o *ErrorModel) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorModel) GetType ¶
func (o *ErrorModel) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ErrorModel) GetTypeOk ¶
func (o *ErrorModel) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorModel) HasDetail ¶
func (o *ErrorModel) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*ErrorModel) HasErrors ¶
func (o *ErrorModel) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*ErrorModel) HasInstance ¶
func (o *ErrorModel) HasInstance() bool
HasInstance returns a boolean if a field has been set.
func (*ErrorModel) HasSchema ¶
func (o *ErrorModel) HasSchema() bool
HasSchema returns a boolean if a field has been set.
func (*ErrorModel) HasStatus ¶
func (o *ErrorModel) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*ErrorModel) HasTitle ¶
func (o *ErrorModel) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ErrorModel) HasType ¶
func (o *ErrorModel) HasType() bool
HasType returns a boolean if a field has been set.
func (ErrorModel) MarshalJSON ¶
func (o ErrorModel) MarshalJSON() ([]byte, error)
func (*ErrorModel) SetDetail ¶
func (o *ErrorModel) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*ErrorModel) SetErrors ¶
func (o *ErrorModel) SetErrors(v []ErrorDetail)
SetErrors gets a reference to the given []ErrorDetail and assigns it to the Errors field.
func (*ErrorModel) SetInstance ¶
func (o *ErrorModel) SetInstance(v string)
SetInstance gets a reference to the given string and assigns it to the Instance field.
func (*ErrorModel) SetSchema ¶
func (o *ErrorModel) SetSchema(v string)
SetSchema gets a reference to the given string and assigns it to the Schema field.
func (*ErrorModel) SetStatus ¶
func (o *ErrorModel) SetStatus(v int64)
SetStatus gets a reference to the given int64 and assigns it to the Status field.
func (*ErrorModel) SetTitle ¶
func (o *ErrorModel) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*ErrorModel) SetType ¶
func (o *ErrorModel) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ErrorModel) ToMap ¶
func (o ErrorModel) ToMap() (map[string]interface{}, error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetComponentStateResponseBody ¶
type GetComponentStateResponseBody struct { // A URL to the JSON Schema for this object. Schema *string `json:"$schema,omitempty" format:"uri" doc:"A URL to the JSON Schema for this object."` ChannelId string `json:"channel_id"` // The ChannelDoc's revision ChannelRevision int32 `json:"channel_revision" format:"int32" doc:"The ChannelDoc's revision"` // A service or feature involved in a channel workflow/operations (ie. \"what\" the lifecycle system is concerned with). Component string `` /* 184-byte string literal not displayed */ // The current state of the component. ComponentState string `json:"component_state" enum:"OFF,PROVISIONING,STREAMING,TERMINATING,ERROR" doc:"The current state of the component."` Org string `json:"org"` // ISO 8601 timestamp when the component state was updated. UpdatedAt time.Time `json:"updated_at" format:"date-time" doc:"ISO 8601 timestamp when the component state was updated."` }
GetComponentStateResponseBody struct for GetComponentStateResponseBody
func NewGetComponentStateResponseBody ¶
func NewGetComponentStateResponseBody(channelId string, channelRevision int32, component string, componentState string, org string, updatedAt time.Time) *GetComponentStateResponseBody
NewGetComponentStateResponseBody instantiates a new GetComponentStateResponseBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetComponentStateResponseBodyWithDefaults ¶
func NewGetComponentStateResponseBodyWithDefaults() *GetComponentStateResponseBody
NewGetComponentStateResponseBodyWithDefaults instantiates a new GetComponentStateResponseBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetComponentStateResponseBody) GetChannelId ¶
func (o *GetComponentStateResponseBody) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*GetComponentStateResponseBody) GetChannelIdOk ¶
func (o *GetComponentStateResponseBody) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*GetComponentStateResponseBody) GetChannelRevision ¶
func (o *GetComponentStateResponseBody) GetChannelRevision() int32
GetChannelRevision returns the ChannelRevision field value
func (*GetComponentStateResponseBody) GetChannelRevisionOk ¶
func (o *GetComponentStateResponseBody) GetChannelRevisionOk() (*int32, bool)
GetChannelRevisionOk returns a tuple with the ChannelRevision field value and a boolean to check if the value has been set.
func (*GetComponentStateResponseBody) GetComponent ¶
func (o *GetComponentStateResponseBody) GetComponent() string
GetComponent returns the Component field value
func (*GetComponentStateResponseBody) GetComponentOk ¶
func (o *GetComponentStateResponseBody) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set.
func (*GetComponentStateResponseBody) GetComponentState ¶
func (o *GetComponentStateResponseBody) GetComponentState() string
GetComponentState returns the ComponentState field value
func (*GetComponentStateResponseBody) GetComponentStateOk ¶
func (o *GetComponentStateResponseBody) GetComponentStateOk() (*string, bool)
GetComponentStateOk returns a tuple with the ComponentState field value and a boolean to check if the value has been set.
func (*GetComponentStateResponseBody) GetOrg ¶
func (o *GetComponentStateResponseBody) GetOrg() string
GetOrg returns the Org field value
func (*GetComponentStateResponseBody) GetOrgOk ¶
func (o *GetComponentStateResponseBody) GetOrgOk() (*string, bool)
GetOrgOk returns a tuple with the Org field value and a boolean to check if the value has been set.
func (*GetComponentStateResponseBody) GetSchema ¶
func (o *GetComponentStateResponseBody) GetSchema() string
GetSchema returns the Schema field value if set, zero value otherwise.
func (*GetComponentStateResponseBody) GetSchemaOk ¶
func (o *GetComponentStateResponseBody) GetSchemaOk() (*string, bool)
GetSchemaOk returns a tuple with the Schema field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetComponentStateResponseBody) GetUpdatedAt ¶
func (o *GetComponentStateResponseBody) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*GetComponentStateResponseBody) GetUpdatedAtOk ¶
func (o *GetComponentStateResponseBody) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*GetComponentStateResponseBody) HasSchema ¶
func (o *GetComponentStateResponseBody) HasSchema() bool
HasSchema returns a boolean if a field has been set.
func (GetComponentStateResponseBody) MarshalJSON ¶
func (o GetComponentStateResponseBody) MarshalJSON() ([]byte, error)
func (*GetComponentStateResponseBody) SetChannelId ¶
func (o *GetComponentStateResponseBody) SetChannelId(v string)
SetChannelId sets field value
func (*GetComponentStateResponseBody) SetChannelRevision ¶
func (o *GetComponentStateResponseBody) SetChannelRevision(v int32)
SetChannelRevision sets field value
func (*GetComponentStateResponseBody) SetComponent ¶
func (o *GetComponentStateResponseBody) SetComponent(v string)
SetComponent sets field value
func (*GetComponentStateResponseBody) SetComponentState ¶
func (o *GetComponentStateResponseBody) SetComponentState(v string)
SetComponentState sets field value
func (*GetComponentStateResponseBody) SetOrg ¶
func (o *GetComponentStateResponseBody) SetOrg(v string)
SetOrg sets field value
func (*GetComponentStateResponseBody) SetSchema ¶
func (o *GetComponentStateResponseBody) SetSchema(v string)
SetSchema gets a reference to the given string and assigns it to the Schema field.
func (*GetComponentStateResponseBody) SetUpdatedAt ¶
func (o *GetComponentStateResponseBody) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
func (GetComponentStateResponseBody) ToMap ¶
func (o GetComponentStateResponseBody) ToMap() (map[string]interface{}, error)
type GetStateResponseBody ¶
type GetStateResponseBody struct { // A URL to the JSON Schema for this object. Schema *string `json:"$schema,omitempty" format:"uri" doc:"A URL to the JSON Schema for this object."` // The name of the channel. ChannelId string `json:"channel_id" minLength:"1" doc:"The name of the channel."` // Current revision of the channel. ChannelRevision int32 `json:"channel_revision" format:"int32" doc:"Current revision of the channel."` // Current state of the channel ChannelState string `json:"channel_state" enum:"OFF,PROVISIONING,STREAMING,TERMINATING,ERROR" doc:"Current state of the channel"` // The organization that owns the channel. Org string `json:"org" minLength:"1" doc:"The organization that owns the channel."` // Timestamp when the lifecycle state was updated. Timestamps are in ISO 8601. UpdatedAt time.Time `json:"updated_at" format:"date-time" doc:"Timestamp when the lifecycle state was updated. Timestamps are in ISO 8601."` }
GetStateResponseBody struct for GetStateResponseBody
func NewGetStateResponseBody ¶
func NewGetStateResponseBody(channelId string, channelRevision int32, channelState string, org string, updatedAt time.Time) *GetStateResponseBody
NewGetStateResponseBody instantiates a new GetStateResponseBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetStateResponseBodyWithDefaults ¶
func NewGetStateResponseBodyWithDefaults() *GetStateResponseBody
NewGetStateResponseBodyWithDefaults instantiates a new GetStateResponseBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetStateResponseBody) GetChannelId ¶
func (o *GetStateResponseBody) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*GetStateResponseBody) GetChannelIdOk ¶
func (o *GetStateResponseBody) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*GetStateResponseBody) GetChannelRevision ¶
func (o *GetStateResponseBody) GetChannelRevision() int32
GetChannelRevision returns the ChannelRevision field value
func (*GetStateResponseBody) GetChannelRevisionOk ¶
func (o *GetStateResponseBody) GetChannelRevisionOk() (*int32, bool)
GetChannelRevisionOk returns a tuple with the ChannelRevision field value and a boolean to check if the value has been set.
func (*GetStateResponseBody) GetChannelState ¶
func (o *GetStateResponseBody) GetChannelState() string
GetChannelState returns the ChannelState field value
func (*GetStateResponseBody) GetChannelStateOk ¶
func (o *GetStateResponseBody) GetChannelStateOk() (*string, bool)
GetChannelStateOk returns a tuple with the ChannelState field value and a boolean to check if the value has been set.
func (*GetStateResponseBody) GetOrg ¶
func (o *GetStateResponseBody) GetOrg() string
GetOrg returns the Org field value
func (*GetStateResponseBody) GetOrgOk ¶
func (o *GetStateResponseBody) GetOrgOk() (*string, bool)
GetOrgOk returns a tuple with the Org field value and a boolean to check if the value has been set.
func (*GetStateResponseBody) GetSchema ¶
func (o *GetStateResponseBody) GetSchema() string
GetSchema returns the Schema field value if set, zero value otherwise.
func (*GetStateResponseBody) GetSchemaOk ¶
func (o *GetStateResponseBody) GetSchemaOk() (*string, bool)
GetSchemaOk returns a tuple with the Schema field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetStateResponseBody) GetUpdatedAt ¶
func (o *GetStateResponseBody) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*GetStateResponseBody) GetUpdatedAtOk ¶
func (o *GetStateResponseBody) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*GetStateResponseBody) HasSchema ¶
func (o *GetStateResponseBody) HasSchema() bool
HasSchema returns a boolean if a field has been set.
func (GetStateResponseBody) MarshalJSON ¶
func (o GetStateResponseBody) MarshalJSON() ([]byte, error)
func (*GetStateResponseBody) SetChannelId ¶
func (o *GetStateResponseBody) SetChannelId(v string)
SetChannelId sets field value
func (*GetStateResponseBody) SetChannelRevision ¶
func (o *GetStateResponseBody) SetChannelRevision(v int32)
SetChannelRevision sets field value
func (*GetStateResponseBody) SetChannelState ¶
func (o *GetStateResponseBody) SetChannelState(v string)
SetChannelState sets field value
func (*GetStateResponseBody) SetOrg ¶
func (o *GetStateResponseBody) SetOrg(v string)
SetOrg sets field value
func (*GetStateResponseBody) SetSchema ¶
func (o *GetStateResponseBody) SetSchema(v string)
SetSchema gets a reference to the given string and assigns it to the Schema field.
func (*GetStateResponseBody) SetUpdatedAt ¶
func (o *GetStateResponseBody) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
func (GetStateResponseBody) ToMap ¶
func (o GetStateResponseBody) ToMap() (map[string]interface{}, error)
type HighLevelClient ¶
HighLevelClient wraps an APIClient and http.Client, as well as providing custom high-level functionality.
func NewWithAuthHeader ¶
func NewWithAuthHeader(header string) *HighLevelClient
NewWithAuthHeader creates a new authenticated client using the given authorization header. The header format should be `Bearer <token>`, where `<token>` is replaced by the contents of the encoded & signed JWT.
func NewWithClientCredentials ¶
func NewWithClientCredentials(clientID, clientSecret, organization string) *HighLevelClient
NewWithClientCredentials creates a new authenticated client using the OAuth 2.0 client credentials flow, caching and refreshing the access token as needed whenever requests to the API are made. Leave the organization blank if using multi-org tokens.
func NewWithOktaClientCredentials ¶
func NewWithOktaClientCredentials(clientID, clientSecret string) *HighLevelClient
NewWithOktaClientCredentials creates a new authenticated client using the OAuth 2.0 client credentials flow, caching and refreshing the access token as needed whenever requests to the API are made. Leave the organization blank if using multi-org tokens. It is specific to WBD-Okta and replaces NewWithClientCredentials.
func (*HighLevelClient) Decode ¶
func (c *HighLevelClient) Decode(v interface{}, body []byte, contentType string) error
Decode a response body based on the content type.
type LifecycleApi ¶
type LifecycleApi interface { /* CalculateLifecycleState Calculates channel lifecycle state Calculates the current lifecycle state of the given channel. The Channel Lifecycle State is determined by evaluating the state of individual components. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org The organization that owns the channel. @param channelId The name of the channel. @return ApiCalculateLifecycleStateRequest */ CalculateLifecycleState(ctx context.Context, org string, channelId string) ApiCalculateLifecycleStateRequest // CalculateLifecycleStateExecute executes the request // @return GetStateResponseBody CalculateLifecycleStateExecute(r ApiCalculateLifecycleStateRequest) (*GetStateResponseBody, *http.Response, error) /* GetLifecycleComponentState Get component state Retrieve the current state of a component for a given channel. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org The organization that owns the channel. @param channelId The name of the channel. @param component A service or feature involved in a channel workflow/operations (ie. \"what\" the lifecycle system is concerned with). @return ApiGetLifecycleComponentStateRequest */ GetLifecycleComponentState(ctx context.Context, org string, channelId string, component string) ApiGetLifecycleComponentStateRequest // GetLifecycleComponentStateExecute executes the request // @return GetComponentStateResponseBody GetLifecycleComponentStateExecute(r ApiGetLifecycleComponentStateRequest) (*GetComponentStateResponseBody, *http.Response, error) /* ListLifecycleComponentStates List component states List the states of every component for the given channel ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org The organization that owns the channel. @param channelId The name of the channel. @return ApiListLifecycleComponentStatesRequest */ ListLifecycleComponentStates(ctx context.Context, org string, channelId string) ApiListLifecycleComponentStatesRequest // ListLifecycleComponentStatesExecute executes the request // @return ListComponentStatesResponseBody ListLifecycleComponentStatesExecute(r ApiListLifecycleComponentStatesRequest) (*ListComponentStatesResponseBody, *http.Response, error) /* PutLifecycleComponentState Put component state Update the state of a component associated with the given channel. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelUrn The channel_urn (channeldoc identifier). @param component A service or feature involved in a channel workflow/operations (ie. \"what\" the lifecycle system is concerned with). @return ApiPutLifecycleComponentStateRequest */ PutLifecycleComponentState(ctx context.Context, channelUrn string, component string) ApiPutLifecycleComponentStateRequest // PutLifecycleComponentStateExecute executes the request PutLifecycleComponentStateExecute(r ApiPutLifecycleComponentStateRequest) (*http.Response, error) }
type LifecycleApiService ¶
type LifecycleApiService service
LifecycleApiService LifecycleApi service
func (*LifecycleApiService) CalculateLifecycleState ¶
func (a *LifecycleApiService) CalculateLifecycleState(ctx context.Context, org string, channelId string) ApiCalculateLifecycleStateRequest
CalculateLifecycleState Calculates channel lifecycle state
Calculates the current lifecycle state of the given channel. The Channel Lifecycle State is determined by evaluating the state of individual components.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org The organization that owns the channel. @param channelId The name of the channel. @return ApiCalculateLifecycleStateRequest
func (*LifecycleApiService) CalculateLifecycleStateExecute ¶
func (a *LifecycleApiService) CalculateLifecycleStateExecute(r ApiCalculateLifecycleStateRequest) (*GetStateResponseBody, *http.Response, error)
Execute executes the request
@return GetStateResponseBody
func (*LifecycleApiService) GetLifecycleComponentState ¶
func (a *LifecycleApiService) GetLifecycleComponentState(ctx context.Context, org string, channelId string, component string) ApiGetLifecycleComponentStateRequest
GetLifecycleComponentState Get component state
Retrieve the current state of a component for a given channel.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org The organization that owns the channel. @param channelId The name of the channel. @param component A service or feature involved in a channel workflow/operations (ie. \"what\" the lifecycle system is concerned with). @return ApiGetLifecycleComponentStateRequest
func (*LifecycleApiService) GetLifecycleComponentStateExecute ¶
func (a *LifecycleApiService) GetLifecycleComponentStateExecute(r ApiGetLifecycleComponentStateRequest) (*GetComponentStateResponseBody, *http.Response, error)
Execute executes the request
@return GetComponentStateResponseBody
func (*LifecycleApiService) ListLifecycleComponentStates ¶
func (a *LifecycleApiService) ListLifecycleComponentStates(ctx context.Context, org string, channelId string) ApiListLifecycleComponentStatesRequest
ListLifecycleComponentStates List component states
List the states of every component for the given channel ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org The organization that owns the channel. @param channelId The name of the channel. @return ApiListLifecycleComponentStatesRequest
func (*LifecycleApiService) ListLifecycleComponentStatesExecute ¶
func (a *LifecycleApiService) ListLifecycleComponentStatesExecute(r ApiListLifecycleComponentStatesRequest) (*ListComponentStatesResponseBody, *http.Response, error)
Execute executes the request
@return ListComponentStatesResponseBody
func (*LifecycleApiService) PutLifecycleComponentState ¶
func (a *LifecycleApiService) PutLifecycleComponentState(ctx context.Context, channelUrn string, component string) ApiPutLifecycleComponentStateRequest
PutLifecycleComponentState Put component state
Update the state of a component associated with the given channel.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param channelUrn The channel_urn (channeldoc identifier). @param component A service or feature involved in a channel workflow/operations (ie. \"what\" the lifecycle system is concerned with). @return ApiPutLifecycleComponentStateRequest
func (*LifecycleApiService) PutLifecycleComponentStateExecute ¶
func (a *LifecycleApiService) PutLifecycleComponentStateExecute(r ApiPutLifecycleComponentStateRequest) (*http.Response, error)
Execute executes the request
type ListComponentStatesResponseBody ¶
type ListComponentStatesResponseBody struct { // A URL to the JSON Schema for this object. Schema *string `json:"$schema,omitempty" format:"uri" doc:"A URL to the JSON Schema for this object."` ChannelId string `json:"channel_id"` // The list of components states. Components []ListComponentStatesResponseEntry `json:"components" doc:"The list of components states."` Org string `json:"org"` }
ListComponentStatesResponseBody struct for ListComponentStatesResponseBody
func NewListComponentStatesResponseBody ¶
func NewListComponentStatesResponseBody(channelId string, components []ListComponentStatesResponseEntry, org string) *ListComponentStatesResponseBody
NewListComponentStatesResponseBody instantiates a new ListComponentStatesResponseBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListComponentStatesResponseBodyWithDefaults ¶
func NewListComponentStatesResponseBodyWithDefaults() *ListComponentStatesResponseBody
NewListComponentStatesResponseBodyWithDefaults instantiates a new ListComponentStatesResponseBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListComponentStatesResponseBody) GetChannelId ¶ added in v1.27.1
func (o *ListComponentStatesResponseBody) GetChannelId() string
GetChannelId returns the ChannelId field value
func (*ListComponentStatesResponseBody) GetChannelIdOk ¶ added in v1.27.1
func (o *ListComponentStatesResponseBody) GetChannelIdOk() (*string, bool)
GetChannelIdOk returns a tuple with the ChannelId field value and a boolean to check if the value has been set.
func (*ListComponentStatesResponseBody) GetComponents ¶
func (o *ListComponentStatesResponseBody) GetComponents() []ListComponentStatesResponseEntry
GetComponents returns the Components field value If the value is explicit nil, the zero value for []ListComponentStatesResponseEntry will be returned
func (*ListComponentStatesResponseBody) GetComponentsOk ¶
func (o *ListComponentStatesResponseBody) GetComponentsOk() ([]ListComponentStatesResponseEntry, bool)
GetComponentsOk returns a tuple with the Components field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ListComponentStatesResponseBody) GetOrg ¶ added in v1.27.1
func (o *ListComponentStatesResponseBody) GetOrg() string
GetOrg returns the Org field value
func (*ListComponentStatesResponseBody) GetOrgOk ¶ added in v1.27.1
func (o *ListComponentStatesResponseBody) GetOrgOk() (*string, bool)
GetOrgOk returns a tuple with the Org field value and a boolean to check if the value has been set.
func (*ListComponentStatesResponseBody) GetSchema ¶
func (o *ListComponentStatesResponseBody) GetSchema() string
GetSchema returns the Schema field value if set, zero value otherwise.
func (*ListComponentStatesResponseBody) GetSchemaOk ¶
func (o *ListComponentStatesResponseBody) GetSchemaOk() (*string, bool)
GetSchemaOk returns a tuple with the Schema field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListComponentStatesResponseBody) HasSchema ¶
func (o *ListComponentStatesResponseBody) HasSchema() bool
HasSchema returns a boolean if a field has been set.
func (ListComponentStatesResponseBody) MarshalJSON ¶
func (o ListComponentStatesResponseBody) MarshalJSON() ([]byte, error)
func (*ListComponentStatesResponseBody) SetChannelId ¶ added in v1.27.1
func (o *ListComponentStatesResponseBody) SetChannelId(v string)
SetChannelId sets field value
func (*ListComponentStatesResponseBody) SetComponents ¶
func (o *ListComponentStatesResponseBody) SetComponents(v []ListComponentStatesResponseEntry)
SetComponents sets field value
func (*ListComponentStatesResponseBody) SetOrg ¶ added in v1.27.1
func (o *ListComponentStatesResponseBody) SetOrg(v string)
SetOrg sets field value
func (*ListComponentStatesResponseBody) SetSchema ¶
func (o *ListComponentStatesResponseBody) SetSchema(v string)
SetSchema gets a reference to the given string and assigns it to the Schema field.
func (ListComponentStatesResponseBody) ToMap ¶
func (o ListComponentStatesResponseBody) ToMap() (map[string]interface{}, error)
type ListComponentStatesResponseEntry ¶
type ListComponentStatesResponseEntry struct { // The ChannelDoc's revision ChannelRevision int32 `json:"channel_revision" format:"int32" doc:"The ChannelDoc's revision"` // A service or feature involved in a channel workflow/operations (ie. \"what\" the lifecycle system is concerned with). Component string `` /* 184-byte string literal not displayed */ // The current state of the component. ComponentState string `json:"component_state" enum:"OFF,PROVISIONING,STREAMING,TERMINATING,ERROR" doc:"The current state of the component."` // ISO 8601 timestamp when the component state was updated. UpdatedAt time.Time `json:"updated_at" format:"date-time" doc:"ISO 8601 timestamp when the component state was updated."` }
ListComponentStatesResponseEntry struct for ListComponentStatesResponseEntry
func NewListComponentStatesResponseEntry ¶
func NewListComponentStatesResponseEntry(channelRevision int32, component string, componentState string, updatedAt time.Time) *ListComponentStatesResponseEntry
NewListComponentStatesResponseEntry instantiates a new ListComponentStatesResponseEntry object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListComponentStatesResponseEntryWithDefaults ¶
func NewListComponentStatesResponseEntryWithDefaults() *ListComponentStatesResponseEntry
NewListComponentStatesResponseEntryWithDefaults instantiates a new ListComponentStatesResponseEntry object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListComponentStatesResponseEntry) GetChannelRevision ¶
func (o *ListComponentStatesResponseEntry) GetChannelRevision() int32
GetChannelRevision returns the ChannelRevision field value
func (*ListComponentStatesResponseEntry) GetChannelRevisionOk ¶
func (o *ListComponentStatesResponseEntry) GetChannelRevisionOk() (*int32, bool)
GetChannelRevisionOk returns a tuple with the ChannelRevision field value and a boolean to check if the value has been set.
func (*ListComponentStatesResponseEntry) GetComponent ¶
func (o *ListComponentStatesResponseEntry) GetComponent() string
GetComponent returns the Component field value
func (*ListComponentStatesResponseEntry) GetComponentOk ¶
func (o *ListComponentStatesResponseEntry) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set.
func (*ListComponentStatesResponseEntry) GetComponentState ¶
func (o *ListComponentStatesResponseEntry) GetComponentState() string
GetComponentState returns the ComponentState field value
func (*ListComponentStatesResponseEntry) GetComponentStateOk ¶
func (o *ListComponentStatesResponseEntry) GetComponentStateOk() (*string, bool)
GetComponentStateOk returns a tuple with the ComponentState field value and a boolean to check if the value has been set.
func (*ListComponentStatesResponseEntry) GetUpdatedAt ¶
func (o *ListComponentStatesResponseEntry) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*ListComponentStatesResponseEntry) GetUpdatedAtOk ¶
func (o *ListComponentStatesResponseEntry) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (ListComponentStatesResponseEntry) MarshalJSON ¶
func (o ListComponentStatesResponseEntry) MarshalJSON() ([]byte, error)
func (*ListComponentStatesResponseEntry) SetChannelRevision ¶
func (o *ListComponentStatesResponseEntry) SetChannelRevision(v int32)
SetChannelRevision sets field value
func (*ListComponentStatesResponseEntry) SetComponent ¶
func (o *ListComponentStatesResponseEntry) SetComponent(v string)
SetComponent sets field value
func (*ListComponentStatesResponseEntry) SetComponentState ¶
func (o *ListComponentStatesResponseEntry) SetComponentState(v string)
SetComponentState sets field value
func (*ListComponentStatesResponseEntry) SetUpdatedAt ¶
func (o *ListComponentStatesResponseEntry) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
func (ListComponentStatesResponseEntry) ToMap ¶
func (o ListComponentStatesResponseEntry) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableErrorDetail ¶
type NullableErrorDetail struct {
// contains filtered or unexported fields
}
func NewNullableErrorDetail ¶
func NewNullableErrorDetail(val *ErrorDetail) *NullableErrorDetail
func (NullableErrorDetail) Get ¶
func (v NullableErrorDetail) Get() *ErrorDetail
func (NullableErrorDetail) IsSet ¶
func (v NullableErrorDetail) IsSet() bool
func (NullableErrorDetail) MarshalJSON ¶
func (v NullableErrorDetail) MarshalJSON() ([]byte, error)
func (*NullableErrorDetail) Set ¶
func (v *NullableErrorDetail) Set(val *ErrorDetail)
func (*NullableErrorDetail) UnmarshalJSON ¶
func (v *NullableErrorDetail) UnmarshalJSON(src []byte) error
func (*NullableErrorDetail) Unset ¶
func (v *NullableErrorDetail) Unset()
type NullableErrorModel ¶
type NullableErrorModel struct {
// contains filtered or unexported fields
}
func NewNullableErrorModel ¶
func NewNullableErrorModel(val *ErrorModel) *NullableErrorModel
func (NullableErrorModel) Get ¶
func (v NullableErrorModel) Get() *ErrorModel
func (NullableErrorModel) IsSet ¶
func (v NullableErrorModel) IsSet() bool
func (NullableErrorModel) MarshalJSON ¶
func (v NullableErrorModel) MarshalJSON() ([]byte, error)
func (*NullableErrorModel) Set ¶
func (v *NullableErrorModel) Set(val *ErrorModel)
func (*NullableErrorModel) UnmarshalJSON ¶
func (v *NullableErrorModel) UnmarshalJSON(src []byte) error
func (*NullableErrorModel) Unset ¶
func (v *NullableErrorModel) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetComponentStateResponseBody ¶
type NullableGetComponentStateResponseBody struct {
// contains filtered or unexported fields
}
func NewNullableGetComponentStateResponseBody ¶
func NewNullableGetComponentStateResponseBody(val *GetComponentStateResponseBody) *NullableGetComponentStateResponseBody
func (NullableGetComponentStateResponseBody) Get ¶
func (v NullableGetComponentStateResponseBody) Get() *GetComponentStateResponseBody
func (NullableGetComponentStateResponseBody) IsSet ¶
func (v NullableGetComponentStateResponseBody) IsSet() bool
func (NullableGetComponentStateResponseBody) MarshalJSON ¶
func (v NullableGetComponentStateResponseBody) MarshalJSON() ([]byte, error)
func (*NullableGetComponentStateResponseBody) Set ¶
func (v *NullableGetComponentStateResponseBody) Set(val *GetComponentStateResponseBody)
func (*NullableGetComponentStateResponseBody) UnmarshalJSON ¶
func (v *NullableGetComponentStateResponseBody) UnmarshalJSON(src []byte) error
func (*NullableGetComponentStateResponseBody) Unset ¶
func (v *NullableGetComponentStateResponseBody) Unset()
type NullableGetStateResponseBody ¶
type NullableGetStateResponseBody struct {
// contains filtered or unexported fields
}
func NewNullableGetStateResponseBody ¶
func NewNullableGetStateResponseBody(val *GetStateResponseBody) *NullableGetStateResponseBody
func (NullableGetStateResponseBody) Get ¶
func (v NullableGetStateResponseBody) Get() *GetStateResponseBody
func (NullableGetStateResponseBody) IsSet ¶
func (v NullableGetStateResponseBody) IsSet() bool
func (NullableGetStateResponseBody) MarshalJSON ¶
func (v NullableGetStateResponseBody) MarshalJSON() ([]byte, error)
func (*NullableGetStateResponseBody) Set ¶
func (v *NullableGetStateResponseBody) Set(val *GetStateResponseBody)
func (*NullableGetStateResponseBody) UnmarshalJSON ¶
func (v *NullableGetStateResponseBody) UnmarshalJSON(src []byte) error
func (*NullableGetStateResponseBody) Unset ¶
func (v *NullableGetStateResponseBody) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableListComponentStatesResponseBody ¶
type NullableListComponentStatesResponseBody struct {
// contains filtered or unexported fields
}
func NewNullableListComponentStatesResponseBody ¶
func NewNullableListComponentStatesResponseBody(val *ListComponentStatesResponseBody) *NullableListComponentStatesResponseBody
func (NullableListComponentStatesResponseBody) IsSet ¶
func (v NullableListComponentStatesResponseBody) IsSet() bool
func (NullableListComponentStatesResponseBody) MarshalJSON ¶
func (v NullableListComponentStatesResponseBody) MarshalJSON() ([]byte, error)
func (*NullableListComponentStatesResponseBody) Set ¶
func (v *NullableListComponentStatesResponseBody) Set(val *ListComponentStatesResponseBody)
func (*NullableListComponentStatesResponseBody) UnmarshalJSON ¶
func (v *NullableListComponentStatesResponseBody) UnmarshalJSON(src []byte) error
func (*NullableListComponentStatesResponseBody) Unset ¶
func (v *NullableListComponentStatesResponseBody) Unset()
type NullableListComponentStatesResponseEntry ¶
type NullableListComponentStatesResponseEntry struct {
// contains filtered or unexported fields
}
func NewNullableListComponentStatesResponseEntry ¶
func NewNullableListComponentStatesResponseEntry(val *ListComponentStatesResponseEntry) *NullableListComponentStatesResponseEntry
func (NullableListComponentStatesResponseEntry) IsSet ¶
func (v NullableListComponentStatesResponseEntry) IsSet() bool
func (NullableListComponentStatesResponseEntry) MarshalJSON ¶
func (v NullableListComponentStatesResponseEntry) MarshalJSON() ([]byte, error)
func (*NullableListComponentStatesResponseEntry) Set ¶
func (v *NullableListComponentStatesResponseEntry) Set(val *ListComponentStatesResponseEntry)
func (*NullableListComponentStatesResponseEntry) UnmarshalJSON ¶
func (v *NullableListComponentStatesResponseEntry) UnmarshalJSON(src []byte) error
func (*NullableListComponentStatesResponseEntry) Unset ¶
func (v *NullableListComponentStatesResponseEntry) Unset()
type NullablePutComponentBody ¶
type NullablePutComponentBody struct {
// contains filtered or unexported fields
}
func NewNullablePutComponentBody ¶
func NewNullablePutComponentBody(val *PutComponentBody) *NullablePutComponentBody
func (NullablePutComponentBody) Get ¶
func (v NullablePutComponentBody) Get() *PutComponentBody
func (NullablePutComponentBody) IsSet ¶
func (v NullablePutComponentBody) IsSet() bool
func (NullablePutComponentBody) MarshalJSON ¶
func (v NullablePutComponentBody) MarshalJSON() ([]byte, error)
func (*NullablePutComponentBody) Set ¶
func (v *NullablePutComponentBody) Set(val *PutComponentBody)
func (*NullablePutComponentBody) UnmarshalJSON ¶
func (v *NullablePutComponentBody) UnmarshalJSON(src []byte) error
func (*NullablePutComponentBody) Unset ¶
func (v *NullablePutComponentBody) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type PutComponentBody ¶
type PutComponentBody struct { // A URL to the JSON Schema for this object. Schema *string `json:"$schema,omitempty" format:"uri" doc:"A URL to the JSON Schema for this object."` // The ChannelDoc's revision ChannelRevision int32 `json:"channel_revision" format:"int32" doc:"The ChannelDoc's revision"` // The current state of the component. ComponentState string `json:"component_state" enum:"OFF,PROVISIONING,STREAMING,TERMINATING,ERROR" doc:"The current state of the component."` }
PutComponentBody struct for PutComponentBody
func NewPutComponentBody ¶
func NewPutComponentBody(channelRevision int32, componentState string) *PutComponentBody
NewPutComponentBody instantiates a new PutComponentBody object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPutComponentBodyWithDefaults ¶
func NewPutComponentBodyWithDefaults() *PutComponentBody
NewPutComponentBodyWithDefaults instantiates a new PutComponentBody object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PutComponentBody) GetChannelRevision ¶
func (o *PutComponentBody) GetChannelRevision() int32
GetChannelRevision returns the ChannelRevision field value
func (*PutComponentBody) GetChannelRevisionOk ¶
func (o *PutComponentBody) GetChannelRevisionOk() (*int32, bool)
GetChannelRevisionOk returns a tuple with the ChannelRevision field value and a boolean to check if the value has been set.
func (*PutComponentBody) GetComponentState ¶
func (o *PutComponentBody) GetComponentState() string
GetComponentState returns the ComponentState field value
func (*PutComponentBody) GetComponentStateOk ¶
func (o *PutComponentBody) GetComponentStateOk() (*string, bool)
GetComponentStateOk returns a tuple with the ComponentState field value and a boolean to check if the value has been set.
func (*PutComponentBody) GetSchema ¶
func (o *PutComponentBody) GetSchema() string
GetSchema returns the Schema field value if set, zero value otherwise.
func (*PutComponentBody) GetSchemaOk ¶
func (o *PutComponentBody) GetSchemaOk() (*string, bool)
GetSchemaOk returns a tuple with the Schema field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PutComponentBody) HasSchema ¶
func (o *PutComponentBody) HasSchema() bool
HasSchema returns a boolean if a field has been set.
func (PutComponentBody) MarshalJSON ¶
func (o PutComponentBody) MarshalJSON() ([]byte, error)
func (*PutComponentBody) SetChannelRevision ¶
func (o *PutComponentBody) SetChannelRevision(v int32)
SetChannelRevision sets field value
func (*PutComponentBody) SetComponentState ¶
func (o *PutComponentBody) SetComponentState(v string)
SetComponentState sets field value
func (*PutComponentBody) SetSchema ¶
func (o *PutComponentBody) SetSchema(v string)
SetSchema gets a reference to the given string and assigns it to the Schema field.
func (PutComponentBody) ToMap ¶
func (o PutComponentBody) ToMap() (map[string]interface{}, error)
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
Source Files
¶
- api_lifecycle.go
- client.go
- configuration.go
- convenience.go
- model_error_detail.go
- model_error_model.go
- model_get_component_state_response_body.go
- model_get_state_response_body.go
- model_list_component_states_response_body.go
- model_list_component_states_response_entry.go
- model_put_component_body.go
- response.go
- utils.go