Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- 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 ApiDeleteResourceRequest
- type ApiDeleteServiceRequest
- type ApiGetResourceRequest
- type ApiGetResourcesRequest
- func (r ApiGetResourcesRequest) Execute() (*ResourceResponseWithTotal, *http.Response, error)
- func (r ApiGetResourcesRequest) Filter(filter string) ApiGetResourcesRequest
- func (r ApiGetResourcesRequest) OrderBy(orderBy string) ApiGetResourcesRequest
- func (r ApiGetResourcesRequest) Page(page int64) ApiGetResourcesRequest
- func (r ApiGetResourcesRequest) PageSize(pageSize int64) ApiGetResourcesRequest
- func (r ApiGetResourcesRequest) Sort(sort string) ApiGetResourcesRequest
- type ApiGetServiceRequest
- type ApiGetServicesRequest
- func (r ApiGetServicesRequest) Execute() (*ServiceResponseWithTotals, *http.Response, error)
- func (r ApiGetServicesRequest) Filter(filter string) ApiGetServicesRequest
- func (r ApiGetServicesRequest) OrderBy(orderBy string) ApiGetServicesRequest
- func (r ApiGetServicesRequest) Page(page int64) ApiGetServicesRequest
- func (r ApiGetServicesRequest) PageSize(pageSize int64) ApiGetServicesRequest
- func (r ApiGetServicesRequest) Sort(sort string) ApiGetServicesRequest
- type ApiNewServiceRequest
- type ApiPatchServiceRequest
- type ApiPatchServiceResourceRequest
- type ApiPostResourceRequest
- type BasicAuth
- type Configuration
- type CreateResourceRequest
- func (o *CreateResourceRequest) GetContent() string
- func (o *CreateResourceRequest) GetContentOk() (*string, bool)
- func (o *CreateResourceRequest) GetContentType() string
- func (o *CreateResourceRequest) GetContentTypeOk() (*string, bool)
- func (o *CreateResourceRequest) GetName() string
- func (o *CreateResourceRequest) GetNameOk() (*string, bool)
- func (o *CreateResourceRequest) GetTrigger() string
- func (o *CreateResourceRequest) GetTriggerOk() (*string, bool)
- func (o CreateResourceRequest) MarshalJSON() ([]byte, error)
- func (o *CreateResourceRequest) SetContent(v string)
- func (o *CreateResourceRequest) SetContentType(v string)
- func (o *CreateResourceRequest) SetName(v string)
- func (o *CreateResourceRequest) SetTrigger(v string)
- func (o CreateResourceRequest) ToMap() (map[string]interface{}, error)
- type CreateServiceRequest
- type DefaultApiService
- func (a *DefaultApiService) DeleteResource(ctx context.Context, serviceId int64, resourceId int64) ApiDeleteResourceRequest
- func (a *DefaultApiService) DeleteResourceExecute(r ApiDeleteResourceRequest) (*http.Response, error)
- func (a *DefaultApiService) DeleteService(ctx context.Context, id int64) ApiDeleteServiceRequest
- func (a *DefaultApiService) DeleteServiceExecute(r ApiDeleteServiceRequest) (*http.Response, error)
- func (a *DefaultApiService) GetResource(ctx context.Context, serviceId int64, resourceId int64) ApiGetResourceRequest
- func (a *DefaultApiService) GetResourceExecute(r ApiGetResourceRequest) (*ResourceDetail, *http.Response, error)
- func (a *DefaultApiService) GetResources(ctx context.Context, serviceId int64) ApiGetResourcesRequest
- func (a *DefaultApiService) GetResourcesExecute(r ApiGetResourcesRequest) (*ResourceResponseWithTotal, *http.Response, error)
- func (a *DefaultApiService) GetService(ctx context.Context, id int64) ApiGetServiceRequest
- func (a *DefaultApiService) GetServiceExecute(r ApiGetServiceRequest) (*ServiceResponse, *http.Response, error)
- func (a *DefaultApiService) GetServices(ctx context.Context) ApiGetServicesRequest
- func (a *DefaultApiService) GetServicesExecute(r ApiGetServicesRequest) (*ServiceResponseWithTotals, *http.Response, error)
- func (a *DefaultApiService) NewService(ctx context.Context) ApiNewServiceRequest
- func (a *DefaultApiService) NewServiceExecute(r ApiNewServiceRequest) (*ServiceResponse, *http.Response, error)
- func (a *DefaultApiService) PatchService(ctx context.Context, id int64) ApiPatchServiceRequest
- func (a *DefaultApiService) PatchServiceExecute(r ApiPatchServiceRequest) (*ServiceResponse, *http.Response, error)
- func (a *DefaultApiService) PatchServiceResource(ctx context.Context, serviceId int64, resourceId int64) ApiPatchServiceResourceRequest
- func (a *DefaultApiService) PatchServiceResourceExecute(r ApiPatchServiceResourceRequest) (*ResourceDetail, *http.Response, error)
- func (a *DefaultApiService) PostResource(ctx context.Context, serviceId int64) ApiPostResourceRequest
- func (a *DefaultApiService) PostResourceExecute(r ApiPostResourceRequest) (*ResourceDetail, *http.Response, error)
- type GenericOpenAPIError
- type MappedNullable
- type NullableBool
- type NullableCreateResourceRequest
- func (v NullableCreateResourceRequest) Get() *CreateResourceRequest
- func (v NullableCreateResourceRequest) IsSet() bool
- func (v NullableCreateResourceRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateResourceRequest) Set(val *CreateResourceRequest)
- func (v *NullableCreateResourceRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateResourceRequest) Unset()
- type NullableCreateServiceRequest
- func (v NullableCreateServiceRequest) Get() *CreateServiceRequest
- func (v NullableCreateServiceRequest) IsSet() bool
- func (v NullableCreateServiceRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateServiceRequest) Set(val *CreateServiceRequest)
- func (v *NullableCreateServiceRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateServiceRequest) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableResourceDetail
- func (v NullableResourceDetail) Get() *ResourceDetail
- func (v NullableResourceDetail) IsSet() bool
- func (v NullableResourceDetail) MarshalJSON() ([]byte, error)
- func (v *NullableResourceDetail) Set(val *ResourceDetail)
- func (v *NullableResourceDetail) UnmarshalJSON(src []byte) error
- func (v *NullableResourceDetail) Unset()
- type NullableResourceResponse
- func (v NullableResourceResponse) Get() *ResourceResponse
- func (v NullableResourceResponse) IsSet() bool
- func (v NullableResourceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableResourceResponse) Set(val *ResourceResponse)
- func (v *NullableResourceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableResourceResponse) Unset()
- type NullableResourceResponseWithTotal
- func (v NullableResourceResponseWithTotal) Get() *ResourceResponseWithTotal
- func (v NullableResourceResponseWithTotal) IsSet() bool
- func (v NullableResourceResponseWithTotal) MarshalJSON() ([]byte, error)
- func (v *NullableResourceResponseWithTotal) Set(val *ResourceResponseWithTotal)
- func (v *NullableResourceResponseWithTotal) UnmarshalJSON(src []byte) error
- func (v *NullableResourceResponseWithTotal) Unset()
- type NullableServiceResponse
- func (v NullableServiceResponse) Get() *ServiceResponse
- func (v NullableServiceResponse) IsSet() bool
- func (v NullableServiceResponse) MarshalJSON() ([]byte, error)
- func (v *NullableServiceResponse) Set(val *ServiceResponse)
- func (v *NullableServiceResponse) UnmarshalJSON(src []byte) error
- func (v *NullableServiceResponse) Unset()
- type NullableServiceResponseWithTotals
- func (v NullableServiceResponseWithTotals) Get() *ServiceResponseWithTotals
- func (v NullableServiceResponseWithTotals) IsSet() bool
- func (v NullableServiceResponseWithTotals) MarshalJSON() ([]byte, error)
- func (v *NullableServiceResponseWithTotals) Set(val *ServiceResponseWithTotals)
- func (v *NullableServiceResponseWithTotals) UnmarshalJSON(src []byte) error
- func (v *NullableServiceResponseWithTotals) Unset()
- type NullableString
- type NullableTime
- type NullableUpdateResourceRequest
- func (v NullableUpdateResourceRequest) Get() *UpdateResourceRequest
- func (v NullableUpdateResourceRequest) IsSet() bool
- func (v NullableUpdateResourceRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateResourceRequest) Set(val *UpdateResourceRequest)
- func (v *NullableUpdateResourceRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateResourceRequest) Unset()
- type NullableUpdateServiceRequest
- func (v NullableUpdateServiceRequest) Get() *UpdateServiceRequest
- func (v NullableUpdateServiceRequest) IsSet() bool
- func (v NullableUpdateServiceRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateServiceRequest) Set(val *UpdateServiceRequest)
- func (v *NullableUpdateServiceRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateServiceRequest) Unset()
- type NullableVariable
- type ResourceDetail
- func (o *ResourceDetail) GetContent() string
- func (o *ResourceDetail) GetContentOk() (*string, bool)
- func (o *ResourceDetail) GetContentType() string
- func (o *ResourceDetail) GetContentTypeOk() (*string, bool)
- func (o *ResourceDetail) GetId() int64
- func (o *ResourceDetail) GetIdOk() (*int64, bool)
- func (o *ResourceDetail) GetName() string
- func (o *ResourceDetail) GetNameOk() (*string, bool)
- func (o *ResourceDetail) GetTrigger() string
- func (o *ResourceDetail) GetTriggerOk() (*string, bool)
- func (o ResourceDetail) MarshalJSON() ([]byte, error)
- func (o *ResourceDetail) SetContent(v string)
- func (o *ResourceDetail) SetContentType(v string)
- func (o *ResourceDetail) SetId(v int64)
- func (o *ResourceDetail) SetName(v string)
- func (o *ResourceDetail) SetTrigger(v string)
- func (o ResourceDetail) ToMap() (map[string]interface{}, error)
- type ResourceResponse
- func (o *ResourceResponse) GetContentType() string
- func (o *ResourceResponse) GetContentTypeOk() (*string, bool)
- func (o *ResourceResponse) GetId() int64
- func (o *ResourceResponse) GetIdOk() (*int64, bool)
- func (o *ResourceResponse) GetLastEditor() string
- func (o *ResourceResponse) GetLastEditorOk() (*string, bool)
- func (o *ResourceResponse) GetName() string
- func (o *ResourceResponse) GetNameOk() (*string, bool)
- func (o *ResourceResponse) GetTrigger() string
- func (o *ResourceResponse) GetTriggerOk() (*string, bool)
- func (o *ResourceResponse) GetUpdatedAt() string
- func (o *ResourceResponse) GetUpdatedAtOk() (*string, bool)
- func (o ResourceResponse) MarshalJSON() ([]byte, error)
- func (o *ResourceResponse) SetContentType(v string)
- func (o *ResourceResponse) SetId(v int64)
- func (o *ResourceResponse) SetLastEditor(v string)
- func (o *ResourceResponse) SetName(v string)
- func (o *ResourceResponse) SetTrigger(v string)
- func (o *ResourceResponse) SetUpdatedAt(v string)
- func (o ResourceResponse) ToMap() (map[string]interface{}, error)
- type ResourceResponseWithTotal
- func (o *ResourceResponseWithTotal) GetResources() []ResourceResponse
- func (o *ResourceResponseWithTotal) GetResourcesOk() ([]ResourceResponse, bool)
- func (o *ResourceResponseWithTotal) GetTotal() int64
- func (o *ResourceResponseWithTotal) GetTotalOk() (*int64, bool)
- func (o ResourceResponseWithTotal) MarshalJSON() ([]byte, error)
- func (o *ResourceResponseWithTotal) SetResources(v []ResourceResponse)
- func (o *ResourceResponseWithTotal) SetTotal(v int64)
- func (o ResourceResponseWithTotal) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ServiceResponse
- func (o *ServiceResponse) GetActive() bool
- func (o *ServiceResponse) GetActiveOk() (*bool, bool)
- func (o *ServiceResponse) GetBoundNodes() int64
- func (o *ServiceResponse) GetBoundNodesOk() (*int64, bool)
- func (o *ServiceResponse) GetId() int64
- func (o *ServiceResponse) GetIdOk() (*int64, bool)
- func (o *ServiceResponse) GetLastEditor() string
- func (o *ServiceResponse) GetLastEditorOk() (*string, bool)
- func (o *ServiceResponse) GetName() string
- func (o *ServiceResponse) GetNameOk() (*string, bool)
- func (o *ServiceResponse) GetPermissions() []string
- func (o *ServiceResponse) GetPermissionsOk() ([]string, bool)
- func (o *ServiceResponse) GetUpdatedAt() string
- func (o *ServiceResponse) GetUpdatedAtOk() (*string, bool)
- func (o *ServiceResponse) GetVariables() []Variable
- func (o *ServiceResponse) GetVariablesOk() ([]Variable, bool)
- func (o *ServiceResponse) HasVariables() bool
- func (o ServiceResponse) MarshalJSON() ([]byte, error)
- func (o *ServiceResponse) SetActive(v bool)
- func (o *ServiceResponse) SetBoundNodes(v int64)
- func (o *ServiceResponse) SetId(v int64)
- func (o *ServiceResponse) SetLastEditor(v string)
- func (o *ServiceResponse) SetName(v string)
- func (o *ServiceResponse) SetPermissions(v []string)
- func (o *ServiceResponse) SetUpdatedAt(v string)
- func (o *ServiceResponse) SetVariables(v []Variable)
- func (o ServiceResponse) ToMap() (map[string]interface{}, error)
- type ServiceResponseWithTotals
- func (o *ServiceResponseWithTotals) GetServices() []ServiceResponse
- func (o *ServiceResponseWithTotals) GetServicesOk() ([]ServiceResponse, bool)
- func (o *ServiceResponseWithTotals) GetTotal() int64
- func (o *ServiceResponseWithTotals) GetTotalOk() (*int64, bool)
- func (o ServiceResponseWithTotals) MarshalJSON() ([]byte, error)
- func (o *ServiceResponseWithTotals) SetServices(v []ServiceResponse)
- func (o *ServiceResponseWithTotals) SetTotal(v int64)
- func (o ServiceResponseWithTotals) ToMap() (map[string]interface{}, error)
- type UpdateResourceRequest
- func (o *UpdateResourceRequest) GetContent() string
- func (o *UpdateResourceRequest) GetContentOk() (*string, bool)
- func (o *UpdateResourceRequest) GetContentType() string
- func (o *UpdateResourceRequest) GetContentTypeOk() (*string, bool)
- func (o *UpdateResourceRequest) GetName() string
- func (o *UpdateResourceRequest) GetNameOk() (*string, bool)
- func (o *UpdateResourceRequest) GetTrigger() string
- func (o *UpdateResourceRequest) GetTriggerOk() (*string, bool)
- func (o *UpdateResourceRequest) HasContent() bool
- func (o *UpdateResourceRequest) HasContentType() bool
- func (o *UpdateResourceRequest) HasName() bool
- func (o *UpdateResourceRequest) HasTrigger() bool
- func (o UpdateResourceRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateResourceRequest) SetContent(v string)
- func (o *UpdateResourceRequest) SetContentType(v string)
- func (o *UpdateResourceRequest) SetName(v string)
- func (o *UpdateResourceRequest) SetTrigger(v string)
- func (o UpdateResourceRequest) ToMap() (map[string]interface{}, error)
- type UpdateServiceRequest
- func (o *UpdateServiceRequest) GetActive() bool
- func (o *UpdateServiceRequest) GetActiveOk() (*bool, bool)
- func (o *UpdateServiceRequest) GetName() string
- func (o *UpdateServiceRequest) GetNameOk() (*string, bool)
- func (o *UpdateServiceRequest) GetVariables() []Variable
- func (o *UpdateServiceRequest) GetVariablesOk() ([]Variable, bool)
- func (o *UpdateServiceRequest) HasActive() bool
- func (o *UpdateServiceRequest) HasName() bool
- func (o *UpdateServiceRequest) HasVariables() bool
- func (o UpdateServiceRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateServiceRequest) SetActive(v bool)
- func (o *UpdateServiceRequest) SetName(v string)
- func (o *UpdateServiceRequest) SetVariables(v []Variable)
- func (o UpdateServiceRequest) ToMap() (map[string]interface{}, error)
- type Variable
- func (o *Variable) GetName() string
- func (o *Variable) GetNameOk() (*string, bool)
- func (o *Variable) GetValue() string
- func (o *Variable) GetValueOk() (*string, bool)
- func (o Variable) MarshalJSON() ([]byte, error)
- func (o *Variable) SetName(v string)
- func (o *Variable) SetValue(v string)
- func (o Variable) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // 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") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
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 { DefaultApi *DefaultApiService // contains filtered or unexported fields }
APIClient manages communication with the Services API API v2.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 ApiDeleteResourceRequest ¶
type ApiDeleteResourceRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiDeleteServiceRequest ¶
type ApiDeleteServiceRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiGetResourceRequest ¶
type ApiGetResourceRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiGetResourceRequest) Execute ¶
func (r ApiGetResourceRequest) Execute() (*ResourceDetail, *http.Response, error)
type ApiGetResourcesRequest ¶
type ApiGetResourcesRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiGetResourcesRequest) Execute ¶
func (r ApiGetResourcesRequest) Execute() (*ResourceResponseWithTotal, *http.Response, error)
func (ApiGetResourcesRequest) Filter ¶
func (r ApiGetResourcesRequest) Filter(filter string) ApiGetResourcesRequest
func (ApiGetResourcesRequest) OrderBy ¶
func (r ApiGetResourcesRequest) OrderBy(orderBy string) ApiGetResourcesRequest
func (ApiGetResourcesRequest) Page ¶
func (r ApiGetResourcesRequest) Page(page int64) ApiGetResourcesRequest
func (ApiGetResourcesRequest) PageSize ¶
func (r ApiGetResourcesRequest) PageSize(pageSize int64) ApiGetResourcesRequest
func (ApiGetResourcesRequest) Sort ¶
func (r ApiGetResourcesRequest) Sort(sort string) ApiGetResourcesRequest
type ApiGetServiceRequest ¶
type ApiGetServiceRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiGetServiceRequest) Execute ¶
func (r ApiGetServiceRequest) Execute() (*ServiceResponse, *http.Response, error)
func (ApiGetServiceRequest) WithVars ¶
func (r ApiGetServiceRequest) WithVars(withVars bool) ApiGetServiceRequest
type ApiGetServicesRequest ¶
type ApiGetServicesRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiGetServicesRequest) Execute ¶
func (r ApiGetServicesRequest) Execute() (*ServiceResponseWithTotals, *http.Response, error)
func (ApiGetServicesRequest) Filter ¶
func (r ApiGetServicesRequest) Filter(filter string) ApiGetServicesRequest
func (ApiGetServicesRequest) OrderBy ¶
func (r ApiGetServicesRequest) OrderBy(orderBy string) ApiGetServicesRequest
func (ApiGetServicesRequest) Page ¶
func (r ApiGetServicesRequest) Page(page int64) ApiGetServicesRequest
func (ApiGetServicesRequest) PageSize ¶
func (r ApiGetServicesRequest) PageSize(pageSize int64) ApiGetServicesRequest
func (ApiGetServicesRequest) Sort ¶
func (r ApiGetServicesRequest) Sort(sort string) ApiGetServicesRequest
type ApiNewServiceRequest ¶
type ApiNewServiceRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiNewServiceRequest) CreateServiceRequest ¶
func (r ApiNewServiceRequest) CreateServiceRequest(createServiceRequest CreateServiceRequest) ApiNewServiceRequest
func (ApiNewServiceRequest) Execute ¶
func (r ApiNewServiceRequest) Execute() (*ServiceResponse, *http.Response, error)
type ApiPatchServiceRequest ¶
type ApiPatchServiceRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiPatchServiceRequest) Execute ¶
func (r ApiPatchServiceRequest) Execute() (*ServiceResponse, *http.Response, error)
func (ApiPatchServiceRequest) UpdateServiceRequest ¶
func (r ApiPatchServiceRequest) UpdateServiceRequest(updateServiceRequest UpdateServiceRequest) ApiPatchServiceRequest
type ApiPatchServiceResourceRequest ¶
type ApiPatchServiceResourceRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiPatchServiceResourceRequest) Execute ¶
func (r ApiPatchServiceResourceRequest) Execute() (*ResourceDetail, *http.Response, error)
func (ApiPatchServiceResourceRequest) UpdateResourceRequest ¶
func (r ApiPatchServiceResourceRequest) UpdateResourceRequest(updateResourceRequest UpdateResourceRequest) ApiPatchServiceResourceRequest
type ApiPostResourceRequest ¶
type ApiPostResourceRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiPostResourceRequest) CreateResourceRequest ¶
func (r ApiPostResourceRequest) CreateResourceRequest(createResourceRequest CreateResourceRequest) ApiPostResourceRequest
func (ApiPostResourceRequest) Execute ¶
func (r ApiPostResourceRequest) Execute() (*ResourceDetail, *http.Response, error)
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 CreateResourceRequest ¶
type CreateResourceRequest struct { Content string `json:"content"` ContentType string `json:"content_type"` Name string `json:"name"` Trigger string `json:"trigger"` }
CreateResourceRequest struct for CreateResourceRequest
func NewCreateResourceRequest ¶
func NewCreateResourceRequest(content string, contentType string, name string, trigger string) *CreateResourceRequest
NewCreateResourceRequest instantiates a new CreateResourceRequest 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 NewCreateResourceRequestWithDefaults ¶
func NewCreateResourceRequestWithDefaults() *CreateResourceRequest
NewCreateResourceRequestWithDefaults instantiates a new CreateResourceRequest 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 (*CreateResourceRequest) GetContent ¶
func (o *CreateResourceRequest) GetContent() string
GetContent returns the Content field value
func (*CreateResourceRequest) GetContentOk ¶
func (o *CreateResourceRequest) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*CreateResourceRequest) GetContentType ¶
func (o *CreateResourceRequest) GetContentType() string
GetContentType returns the ContentType field value
func (*CreateResourceRequest) GetContentTypeOk ¶
func (o *CreateResourceRequest) GetContentTypeOk() (*string, bool)
GetContentTypeOk returns a tuple with the ContentType field value and a boolean to check if the value has been set.
func (*CreateResourceRequest) GetName ¶
func (o *CreateResourceRequest) GetName() string
GetName returns the Name field value
func (*CreateResourceRequest) GetNameOk ¶
func (o *CreateResourceRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateResourceRequest) GetTrigger ¶
func (o *CreateResourceRequest) GetTrigger() string
GetTrigger returns the Trigger field value
func (*CreateResourceRequest) GetTriggerOk ¶
func (o *CreateResourceRequest) GetTriggerOk() (*string, bool)
GetTriggerOk returns a tuple with the Trigger field value and a boolean to check if the value has been set.
func (CreateResourceRequest) MarshalJSON ¶
func (o CreateResourceRequest) MarshalJSON() ([]byte, error)
func (*CreateResourceRequest) SetContent ¶
func (o *CreateResourceRequest) SetContent(v string)
SetContent sets field value
func (*CreateResourceRequest) SetContentType ¶
func (o *CreateResourceRequest) SetContentType(v string)
SetContentType sets field value
func (*CreateResourceRequest) SetName ¶
func (o *CreateResourceRequest) SetName(v string)
SetName sets field value
func (*CreateResourceRequest) SetTrigger ¶
func (o *CreateResourceRequest) SetTrigger(v string)
SetTrigger sets field value
func (CreateResourceRequest) ToMap ¶
func (o CreateResourceRequest) ToMap() (map[string]interface{}, error)
type CreateServiceRequest ¶
type CreateServiceRequest struct {
Name string `json:"name"`
}
CreateServiceRequest struct for CreateServiceRequest
func NewCreateServiceRequest ¶
func NewCreateServiceRequest(name string) *CreateServiceRequest
NewCreateServiceRequest instantiates a new CreateServiceRequest 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 NewCreateServiceRequestWithDefaults ¶
func NewCreateServiceRequestWithDefaults() *CreateServiceRequest
NewCreateServiceRequestWithDefaults instantiates a new CreateServiceRequest 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 (*CreateServiceRequest) GetName ¶
func (o *CreateServiceRequest) GetName() string
GetName returns the Name field value
func (*CreateServiceRequest) GetNameOk ¶
func (o *CreateServiceRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (CreateServiceRequest) MarshalJSON ¶
func (o CreateServiceRequest) MarshalJSON() ([]byte, error)
func (*CreateServiceRequest) SetName ¶
func (o *CreateServiceRequest) SetName(v string)
SetName sets field value
func (CreateServiceRequest) ToMap ¶
func (o CreateServiceRequest) ToMap() (map[string]interface{}, error)
type DefaultApiService ¶
type DefaultApiService service
DefaultApiService DefaultApi service
func (*DefaultApiService) DeleteResource ¶
func (a *DefaultApiService) DeleteResource(ctx context.Context, serviceId int64, resourceId int64) ApiDeleteResourceRequest
DeleteResource Delete Service Resource by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serviceId @param resourceId @return ApiDeleteResourceRequest
func (*DefaultApiService) DeleteResourceExecute ¶
func (a *DefaultApiService) DeleteResourceExecute(r ApiDeleteResourceRequest) (*http.Response, error)
Execute executes the request
func (*DefaultApiService) DeleteService ¶
func (a *DefaultApiService) DeleteService(ctx context.Context, id int64) ApiDeleteServiceRequest
DeleteService Delete Service by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDeleteServiceRequest
func (*DefaultApiService) DeleteServiceExecute ¶
func (a *DefaultApiService) DeleteServiceExecute(r ApiDeleteServiceRequest) (*http.Response, error)
Execute executes the request
func (*DefaultApiService) GetResource ¶
func (a *DefaultApiService) GetResource(ctx context.Context, serviceId int64, resourceId int64) ApiGetResourceRequest
GetResource Return Service Resource by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serviceId @param resourceId @return ApiGetResourceRequest
func (*DefaultApiService) GetResourceExecute ¶
func (a *DefaultApiService) GetResourceExecute(r ApiGetResourceRequest) (*ResourceDetail, *http.Response, error)
Execute executes the request
@return ResourceDetail
func (*DefaultApiService) GetResources ¶
func (a *DefaultApiService) GetResources(ctx context.Context, serviceId int64) ApiGetResourcesRequest
GetResources Return Service Resources by page
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serviceId @return ApiGetResourcesRequest
func (*DefaultApiService) GetResourcesExecute ¶
func (a *DefaultApiService) GetResourcesExecute(r ApiGetResourcesRequest) (*ResourceResponseWithTotal, *http.Response, error)
Execute executes the request
@return ResourceResponseWithTotal
func (*DefaultApiService) GetService ¶
func (a *DefaultApiService) GetService(ctx context.Context, id int64) ApiGetServiceRequest
GetService Return Service by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetServiceRequest
func (*DefaultApiService) GetServiceExecute ¶
func (a *DefaultApiService) GetServiceExecute(r ApiGetServiceRequest) (*ServiceResponse, *http.Response, error)
Execute executes the request
@return ServiceResponse
func (*DefaultApiService) GetServices ¶
func (a *DefaultApiService) GetServices(ctx context.Context) ApiGetServicesRequest
GetServices Return Services by page
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetServicesRequest
func (*DefaultApiService) GetServicesExecute ¶
func (a *DefaultApiService) GetServicesExecute(r ApiGetServicesRequest) (*ServiceResponseWithTotals, *http.Response, error)
Execute executes the request
@return ServiceResponseWithTotals
func (*DefaultApiService) NewService ¶
func (a *DefaultApiService) NewService(ctx context.Context) ApiNewServiceRequest
NewService Create Service
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiNewServiceRequest
func (*DefaultApiService) NewServiceExecute ¶
func (a *DefaultApiService) NewServiceExecute(r ApiNewServiceRequest) (*ServiceResponse, *http.Response, error)
Execute executes the request
@return ServiceResponse
func (*DefaultApiService) PatchService ¶
func (a *DefaultApiService) PatchService(ctx context.Context, id int64) ApiPatchServiceRequest
PatchService Update Service by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiPatchServiceRequest
func (*DefaultApiService) PatchServiceExecute ¶
func (a *DefaultApiService) PatchServiceExecute(r ApiPatchServiceRequest) (*ServiceResponse, *http.Response, error)
Execute executes the request
@return ServiceResponse
func (*DefaultApiService) PatchServiceResource ¶
func (a *DefaultApiService) PatchServiceResource(ctx context.Context, serviceId int64, resourceId int64) ApiPatchServiceResourceRequest
PatchServiceResource Update Service Resource by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serviceId @param resourceId @return ApiPatchServiceResourceRequest
func (*DefaultApiService) PatchServiceResourceExecute ¶
func (a *DefaultApiService) PatchServiceResourceExecute(r ApiPatchServiceResourceRequest) (*ResourceDetail, *http.Response, error)
Execute executes the request
@return ResourceDetail
func (*DefaultApiService) PostResource ¶
func (a *DefaultApiService) PostResource(ctx context.Context, serviceId int64) ApiPostResourceRequest
PostResource Create Service Resource
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serviceId @return ApiPostResourceRequest
func (*DefaultApiService) PostResourceExecute ¶
func (a *DefaultApiService) PostResourceExecute(r ApiPostResourceRequest) (*ResourceDetail, *http.Response, error)
Execute executes the request
@return ResourceDetail
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 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 NullableCreateResourceRequest ¶
type NullableCreateResourceRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateResourceRequest ¶
func NewNullableCreateResourceRequest(val *CreateResourceRequest) *NullableCreateResourceRequest
func (NullableCreateResourceRequest) Get ¶
func (v NullableCreateResourceRequest) Get() *CreateResourceRequest
func (NullableCreateResourceRequest) IsSet ¶
func (v NullableCreateResourceRequest) IsSet() bool
func (NullableCreateResourceRequest) MarshalJSON ¶
func (v NullableCreateResourceRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateResourceRequest) Set ¶
func (v *NullableCreateResourceRequest) Set(val *CreateResourceRequest)
func (*NullableCreateResourceRequest) UnmarshalJSON ¶
func (v *NullableCreateResourceRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateResourceRequest) Unset ¶
func (v *NullableCreateResourceRequest) Unset()
type NullableCreateServiceRequest ¶
type NullableCreateServiceRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateServiceRequest ¶
func NewNullableCreateServiceRequest(val *CreateServiceRequest) *NullableCreateServiceRequest
func (NullableCreateServiceRequest) Get ¶
func (v NullableCreateServiceRequest) Get() *CreateServiceRequest
func (NullableCreateServiceRequest) IsSet ¶
func (v NullableCreateServiceRequest) IsSet() bool
func (NullableCreateServiceRequest) MarshalJSON ¶
func (v NullableCreateServiceRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateServiceRequest) Set ¶
func (v *NullableCreateServiceRequest) Set(val *CreateServiceRequest)
func (*NullableCreateServiceRequest) UnmarshalJSON ¶
func (v *NullableCreateServiceRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateServiceRequest) Unset ¶
func (v *NullableCreateServiceRequest) 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 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 NullableResourceDetail ¶
type NullableResourceDetail struct {
// contains filtered or unexported fields
}
func NewNullableResourceDetail ¶
func NewNullableResourceDetail(val *ResourceDetail) *NullableResourceDetail
func (NullableResourceDetail) Get ¶
func (v NullableResourceDetail) Get() *ResourceDetail
func (NullableResourceDetail) IsSet ¶
func (v NullableResourceDetail) IsSet() bool
func (NullableResourceDetail) MarshalJSON ¶
func (v NullableResourceDetail) MarshalJSON() ([]byte, error)
func (*NullableResourceDetail) Set ¶
func (v *NullableResourceDetail) Set(val *ResourceDetail)
func (*NullableResourceDetail) UnmarshalJSON ¶
func (v *NullableResourceDetail) UnmarshalJSON(src []byte) error
func (*NullableResourceDetail) Unset ¶
func (v *NullableResourceDetail) Unset()
type NullableResourceResponse ¶
type NullableResourceResponse struct {
// contains filtered or unexported fields
}
func NewNullableResourceResponse ¶
func NewNullableResourceResponse(val *ResourceResponse) *NullableResourceResponse
func (NullableResourceResponse) Get ¶
func (v NullableResourceResponse) Get() *ResourceResponse
func (NullableResourceResponse) IsSet ¶
func (v NullableResourceResponse) IsSet() bool
func (NullableResourceResponse) MarshalJSON ¶
func (v NullableResourceResponse) MarshalJSON() ([]byte, error)
func (*NullableResourceResponse) Set ¶
func (v *NullableResourceResponse) Set(val *ResourceResponse)
func (*NullableResourceResponse) UnmarshalJSON ¶
func (v *NullableResourceResponse) UnmarshalJSON(src []byte) error
func (*NullableResourceResponse) Unset ¶
func (v *NullableResourceResponse) Unset()
type NullableResourceResponseWithTotal ¶
type NullableResourceResponseWithTotal struct {
// contains filtered or unexported fields
}
func NewNullableResourceResponseWithTotal ¶
func NewNullableResourceResponseWithTotal(val *ResourceResponseWithTotal) *NullableResourceResponseWithTotal
func (NullableResourceResponseWithTotal) Get ¶
func (v NullableResourceResponseWithTotal) Get() *ResourceResponseWithTotal
func (NullableResourceResponseWithTotal) IsSet ¶
func (v NullableResourceResponseWithTotal) IsSet() bool
func (NullableResourceResponseWithTotal) MarshalJSON ¶
func (v NullableResourceResponseWithTotal) MarshalJSON() ([]byte, error)
func (*NullableResourceResponseWithTotal) Set ¶
func (v *NullableResourceResponseWithTotal) Set(val *ResourceResponseWithTotal)
func (*NullableResourceResponseWithTotal) UnmarshalJSON ¶
func (v *NullableResourceResponseWithTotal) UnmarshalJSON(src []byte) error
func (*NullableResourceResponseWithTotal) Unset ¶
func (v *NullableResourceResponseWithTotal) Unset()
type NullableServiceResponse ¶
type NullableServiceResponse struct {
// contains filtered or unexported fields
}
func NewNullableServiceResponse ¶
func NewNullableServiceResponse(val *ServiceResponse) *NullableServiceResponse
func (NullableServiceResponse) Get ¶
func (v NullableServiceResponse) Get() *ServiceResponse
func (NullableServiceResponse) IsSet ¶
func (v NullableServiceResponse) IsSet() bool
func (NullableServiceResponse) MarshalJSON ¶
func (v NullableServiceResponse) MarshalJSON() ([]byte, error)
func (*NullableServiceResponse) Set ¶
func (v *NullableServiceResponse) Set(val *ServiceResponse)
func (*NullableServiceResponse) UnmarshalJSON ¶
func (v *NullableServiceResponse) UnmarshalJSON(src []byte) error
func (*NullableServiceResponse) Unset ¶
func (v *NullableServiceResponse) Unset()
type NullableServiceResponseWithTotals ¶
type NullableServiceResponseWithTotals struct {
// contains filtered or unexported fields
}
func NewNullableServiceResponseWithTotals ¶
func NewNullableServiceResponseWithTotals(val *ServiceResponseWithTotals) *NullableServiceResponseWithTotals
func (NullableServiceResponseWithTotals) Get ¶
func (v NullableServiceResponseWithTotals) Get() *ServiceResponseWithTotals
func (NullableServiceResponseWithTotals) IsSet ¶
func (v NullableServiceResponseWithTotals) IsSet() bool
func (NullableServiceResponseWithTotals) MarshalJSON ¶
func (v NullableServiceResponseWithTotals) MarshalJSON() ([]byte, error)
func (*NullableServiceResponseWithTotals) Set ¶
func (v *NullableServiceResponseWithTotals) Set(val *ServiceResponseWithTotals)
func (*NullableServiceResponseWithTotals) UnmarshalJSON ¶
func (v *NullableServiceResponseWithTotals) UnmarshalJSON(src []byte) error
func (*NullableServiceResponseWithTotals) Unset ¶
func (v *NullableServiceResponseWithTotals) 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 NullableUpdateResourceRequest ¶
type NullableUpdateResourceRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateResourceRequest ¶
func NewNullableUpdateResourceRequest(val *UpdateResourceRequest) *NullableUpdateResourceRequest
func (NullableUpdateResourceRequest) Get ¶
func (v NullableUpdateResourceRequest) Get() *UpdateResourceRequest
func (NullableUpdateResourceRequest) IsSet ¶
func (v NullableUpdateResourceRequest) IsSet() bool
func (NullableUpdateResourceRequest) MarshalJSON ¶
func (v NullableUpdateResourceRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateResourceRequest) Set ¶
func (v *NullableUpdateResourceRequest) Set(val *UpdateResourceRequest)
func (*NullableUpdateResourceRequest) UnmarshalJSON ¶
func (v *NullableUpdateResourceRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateResourceRequest) Unset ¶
func (v *NullableUpdateResourceRequest) Unset()
type NullableUpdateServiceRequest ¶
type NullableUpdateServiceRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateServiceRequest ¶
func NewNullableUpdateServiceRequest(val *UpdateServiceRequest) *NullableUpdateServiceRequest
func (NullableUpdateServiceRequest) Get ¶
func (v NullableUpdateServiceRequest) Get() *UpdateServiceRequest
func (NullableUpdateServiceRequest) IsSet ¶
func (v NullableUpdateServiceRequest) IsSet() bool
func (NullableUpdateServiceRequest) MarshalJSON ¶
func (v NullableUpdateServiceRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateServiceRequest) Set ¶
func (v *NullableUpdateServiceRequest) Set(val *UpdateServiceRequest)
func (*NullableUpdateServiceRequest) UnmarshalJSON ¶
func (v *NullableUpdateServiceRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateServiceRequest) Unset ¶
func (v *NullableUpdateServiceRequest) Unset()
type NullableVariable ¶
type NullableVariable struct {
// contains filtered or unexported fields
}
func NewNullableVariable ¶
func NewNullableVariable(val *Variable) *NullableVariable
func (NullableVariable) Get ¶
func (v NullableVariable) Get() *Variable
func (NullableVariable) IsSet ¶
func (v NullableVariable) IsSet() bool
func (NullableVariable) MarshalJSON ¶
func (v NullableVariable) MarshalJSON() ([]byte, error)
func (*NullableVariable) Set ¶
func (v *NullableVariable) Set(val *Variable)
func (*NullableVariable) UnmarshalJSON ¶
func (v *NullableVariable) UnmarshalJSON(src []byte) error
func (*NullableVariable) Unset ¶
func (v *NullableVariable) Unset()
type ResourceDetail ¶
type ResourceDetail struct { Content string `json:"content"` ContentType string `json:"content_type"` Id int64 `json:"id"` Name string `json:"name"` Trigger string `json:"trigger"` }
ResourceDetail struct for ResourceDetail
func NewResourceDetail ¶
func NewResourceDetail(content string, contentType string, id int64, name string, trigger string) *ResourceDetail
NewResourceDetail instantiates a new ResourceDetail 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 NewResourceDetailWithDefaults ¶
func NewResourceDetailWithDefaults() *ResourceDetail
NewResourceDetailWithDefaults instantiates a new ResourceDetail 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 (*ResourceDetail) GetContent ¶
func (o *ResourceDetail) GetContent() string
GetContent returns the Content field value
func (*ResourceDetail) GetContentOk ¶
func (o *ResourceDetail) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*ResourceDetail) GetContentType ¶
func (o *ResourceDetail) GetContentType() string
GetContentType returns the ContentType field value
func (*ResourceDetail) GetContentTypeOk ¶
func (o *ResourceDetail) GetContentTypeOk() (*string, bool)
GetContentTypeOk returns a tuple with the ContentType field value and a boolean to check if the value has been set.
func (*ResourceDetail) GetId ¶
func (o *ResourceDetail) GetId() int64
GetId returns the Id field value
func (*ResourceDetail) GetIdOk ¶
func (o *ResourceDetail) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ResourceDetail) GetName ¶
func (o *ResourceDetail) GetName() string
GetName returns the Name field value
func (*ResourceDetail) GetNameOk ¶
func (o *ResourceDetail) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ResourceDetail) GetTrigger ¶
func (o *ResourceDetail) GetTrigger() string
GetTrigger returns the Trigger field value
func (*ResourceDetail) GetTriggerOk ¶
func (o *ResourceDetail) GetTriggerOk() (*string, bool)
GetTriggerOk returns a tuple with the Trigger field value and a boolean to check if the value has been set.
func (ResourceDetail) MarshalJSON ¶
func (o ResourceDetail) MarshalJSON() ([]byte, error)
func (*ResourceDetail) SetContent ¶
func (o *ResourceDetail) SetContent(v string)
SetContent sets field value
func (*ResourceDetail) SetContentType ¶
func (o *ResourceDetail) SetContentType(v string)
SetContentType sets field value
func (*ResourceDetail) SetName ¶
func (o *ResourceDetail) SetName(v string)
SetName sets field value
func (*ResourceDetail) SetTrigger ¶
func (o *ResourceDetail) SetTrigger(v string)
SetTrigger sets field value
func (ResourceDetail) ToMap ¶
func (o ResourceDetail) ToMap() (map[string]interface{}, error)
type ResourceResponse ¶
type ResourceResponse struct { ContentType string `json:"content_type"` Id int64 `json:"id"` LastEditor string `json:"last_editor"` Name string `json:"name"` Trigger string `json:"trigger"` UpdatedAt string `json:"updated_at"` }
ResourceResponse struct for ResourceResponse
func NewResourceResponse ¶
func NewResourceResponse(contentType string, id int64, lastEditor string, name string, trigger string, updatedAt string) *ResourceResponse
NewResourceResponse instantiates a new ResourceResponse 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 NewResourceResponseWithDefaults ¶
func NewResourceResponseWithDefaults() *ResourceResponse
NewResourceResponseWithDefaults instantiates a new ResourceResponse 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 (*ResourceResponse) GetContentType ¶
func (o *ResourceResponse) GetContentType() string
GetContentType returns the ContentType field value
func (*ResourceResponse) GetContentTypeOk ¶
func (o *ResourceResponse) GetContentTypeOk() (*string, bool)
GetContentTypeOk returns a tuple with the ContentType field value and a boolean to check if the value has been set.
func (*ResourceResponse) GetId ¶
func (o *ResourceResponse) GetId() int64
GetId returns the Id field value
func (*ResourceResponse) GetIdOk ¶
func (o *ResourceResponse) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ResourceResponse) GetLastEditor ¶
func (o *ResourceResponse) GetLastEditor() string
GetLastEditor returns the LastEditor field value
func (*ResourceResponse) GetLastEditorOk ¶
func (o *ResourceResponse) GetLastEditorOk() (*string, bool)
GetLastEditorOk returns a tuple with the LastEditor field value and a boolean to check if the value has been set.
func (*ResourceResponse) GetName ¶
func (o *ResourceResponse) GetName() string
GetName returns the Name field value
func (*ResourceResponse) GetNameOk ¶
func (o *ResourceResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ResourceResponse) GetTrigger ¶
func (o *ResourceResponse) GetTrigger() string
GetTrigger returns the Trigger field value
func (*ResourceResponse) GetTriggerOk ¶
func (o *ResourceResponse) GetTriggerOk() (*string, bool)
GetTriggerOk returns a tuple with the Trigger field value and a boolean to check if the value has been set.
func (*ResourceResponse) GetUpdatedAt ¶
func (o *ResourceResponse) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value
func (*ResourceResponse) GetUpdatedAtOk ¶
func (o *ResourceResponse) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (ResourceResponse) MarshalJSON ¶
func (o ResourceResponse) MarshalJSON() ([]byte, error)
func (*ResourceResponse) SetContentType ¶
func (o *ResourceResponse) SetContentType(v string)
SetContentType sets field value
func (*ResourceResponse) SetLastEditor ¶
func (o *ResourceResponse) SetLastEditor(v string)
SetLastEditor sets field value
func (*ResourceResponse) SetName ¶
func (o *ResourceResponse) SetName(v string)
SetName sets field value
func (*ResourceResponse) SetTrigger ¶
func (o *ResourceResponse) SetTrigger(v string)
SetTrigger sets field value
func (*ResourceResponse) SetUpdatedAt ¶
func (o *ResourceResponse) SetUpdatedAt(v string)
SetUpdatedAt sets field value
func (ResourceResponse) ToMap ¶
func (o ResourceResponse) ToMap() (map[string]interface{}, error)
type ResourceResponseWithTotal ¶
type ResourceResponseWithTotal struct { Resources []ResourceResponse `json:"resources"` Total int64 `json:"total"` }
ResourceResponseWithTotal struct for ResourceResponseWithTotal
func NewResourceResponseWithTotal ¶
func NewResourceResponseWithTotal(resources []ResourceResponse, total int64) *ResourceResponseWithTotal
NewResourceResponseWithTotal instantiates a new ResourceResponseWithTotal 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 NewResourceResponseWithTotalWithDefaults ¶
func NewResourceResponseWithTotalWithDefaults() *ResourceResponseWithTotal
NewResourceResponseWithTotalWithDefaults instantiates a new ResourceResponseWithTotal 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 (*ResourceResponseWithTotal) GetResources ¶
func (o *ResourceResponseWithTotal) GetResources() []ResourceResponse
GetResources returns the Resources field value
func (*ResourceResponseWithTotal) GetResourcesOk ¶
func (o *ResourceResponseWithTotal) GetResourcesOk() ([]ResourceResponse, bool)
GetResourcesOk returns a tuple with the Resources field value and a boolean to check if the value has been set.
func (*ResourceResponseWithTotal) GetTotal ¶
func (o *ResourceResponseWithTotal) GetTotal() int64
GetTotal returns the Total field value
func (*ResourceResponseWithTotal) GetTotalOk ¶
func (o *ResourceResponseWithTotal) GetTotalOk() (*int64, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (ResourceResponseWithTotal) MarshalJSON ¶
func (o ResourceResponseWithTotal) MarshalJSON() ([]byte, error)
func (*ResourceResponseWithTotal) SetResources ¶
func (o *ResourceResponseWithTotal) SetResources(v []ResourceResponse)
SetResources sets field value
func (*ResourceResponseWithTotal) SetTotal ¶
func (o *ResourceResponseWithTotal) SetTotal(v int64)
SetTotal sets field value
func (ResourceResponseWithTotal) ToMap ¶
func (o ResourceResponseWithTotal) 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
type ServiceResponse ¶
type ServiceResponse struct { Active bool `json:"active"` BoundNodes int64 `json:"bound_nodes"` Id int64 `json:"id"` LastEditor string `json:"last_editor"` Name string `json:"name"` Permissions []string `json:"permissions"` UpdatedAt string `json:"updated_at"` Variables []Variable `json:"variables,omitempty"` }
ServiceResponse struct for ServiceResponse
func NewServiceResponse ¶
func NewServiceResponse(active bool, boundNodes int64, id int64, lastEditor string, name string, permissions []string, updatedAt string) *ServiceResponse
NewServiceResponse instantiates a new ServiceResponse 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 NewServiceResponseWithDefaults ¶
func NewServiceResponseWithDefaults() *ServiceResponse
NewServiceResponseWithDefaults instantiates a new ServiceResponse 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 (*ServiceResponse) GetActive ¶
func (o *ServiceResponse) GetActive() bool
GetActive returns the Active field value
func (*ServiceResponse) GetActiveOk ¶
func (o *ServiceResponse) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.
func (*ServiceResponse) GetBoundNodes ¶
func (o *ServiceResponse) GetBoundNodes() int64
GetBoundNodes returns the BoundNodes field value
func (*ServiceResponse) GetBoundNodesOk ¶
func (o *ServiceResponse) GetBoundNodesOk() (*int64, bool)
GetBoundNodesOk returns a tuple with the BoundNodes field value and a boolean to check if the value has been set.
func (*ServiceResponse) GetId ¶
func (o *ServiceResponse) GetId() int64
GetId returns the Id field value
func (*ServiceResponse) GetIdOk ¶
func (o *ServiceResponse) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ServiceResponse) GetLastEditor ¶
func (o *ServiceResponse) GetLastEditor() string
GetLastEditor returns the LastEditor field value
func (*ServiceResponse) GetLastEditorOk ¶
func (o *ServiceResponse) GetLastEditorOk() (*string, bool)
GetLastEditorOk returns a tuple with the LastEditor field value and a boolean to check if the value has been set.
func (*ServiceResponse) GetName ¶
func (o *ServiceResponse) GetName() string
GetName returns the Name field value
func (*ServiceResponse) GetNameOk ¶
func (o *ServiceResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ServiceResponse) GetPermissions ¶
func (o *ServiceResponse) GetPermissions() []string
GetPermissions returns the Permissions field value
func (*ServiceResponse) GetPermissionsOk ¶
func (o *ServiceResponse) GetPermissionsOk() ([]string, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (*ServiceResponse) GetUpdatedAt ¶
func (o *ServiceResponse) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value
func (*ServiceResponse) GetUpdatedAtOk ¶
func (o *ServiceResponse) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*ServiceResponse) GetVariables ¶
func (o *ServiceResponse) GetVariables() []Variable
GetVariables returns the Variables field value if set, zero value otherwise.
func (*ServiceResponse) GetVariablesOk ¶
func (o *ServiceResponse) GetVariablesOk() ([]Variable, bool)
GetVariablesOk returns a tuple with the Variables field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceResponse) HasVariables ¶
func (o *ServiceResponse) HasVariables() bool
HasVariables returns a boolean if a field has been set.
func (ServiceResponse) MarshalJSON ¶
func (o ServiceResponse) MarshalJSON() ([]byte, error)
func (*ServiceResponse) SetActive ¶
func (o *ServiceResponse) SetActive(v bool)
SetActive sets field value
func (*ServiceResponse) SetBoundNodes ¶
func (o *ServiceResponse) SetBoundNodes(v int64)
SetBoundNodes sets field value
func (*ServiceResponse) SetLastEditor ¶
func (o *ServiceResponse) SetLastEditor(v string)
SetLastEditor sets field value
func (*ServiceResponse) SetName ¶
func (o *ServiceResponse) SetName(v string)
SetName sets field value
func (*ServiceResponse) SetPermissions ¶
func (o *ServiceResponse) SetPermissions(v []string)
SetPermissions sets field value
func (*ServiceResponse) SetUpdatedAt ¶
func (o *ServiceResponse) SetUpdatedAt(v string)
SetUpdatedAt sets field value
func (*ServiceResponse) SetVariables ¶
func (o *ServiceResponse) SetVariables(v []Variable)
SetVariables gets a reference to the given []Variable and assigns it to the Variables field.
func (ServiceResponse) ToMap ¶
func (o ServiceResponse) ToMap() (map[string]interface{}, error)
type ServiceResponseWithTotals ¶
type ServiceResponseWithTotals struct { Services []ServiceResponse `json:"services"` Total int64 `json:"total"` }
ServiceResponseWithTotals struct for ServiceResponseWithTotals
func NewServiceResponseWithTotals ¶
func NewServiceResponseWithTotals(services []ServiceResponse, total int64) *ServiceResponseWithTotals
NewServiceResponseWithTotals instantiates a new ServiceResponseWithTotals 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 NewServiceResponseWithTotalsWithDefaults ¶
func NewServiceResponseWithTotalsWithDefaults() *ServiceResponseWithTotals
NewServiceResponseWithTotalsWithDefaults instantiates a new ServiceResponseWithTotals 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 (*ServiceResponseWithTotals) GetServices ¶
func (o *ServiceResponseWithTotals) GetServices() []ServiceResponse
GetServices returns the Services field value
func (*ServiceResponseWithTotals) GetServicesOk ¶
func (o *ServiceResponseWithTotals) GetServicesOk() ([]ServiceResponse, bool)
GetServicesOk returns a tuple with the Services field value and a boolean to check if the value has been set.
func (*ServiceResponseWithTotals) GetTotal ¶
func (o *ServiceResponseWithTotals) GetTotal() int64
GetTotal returns the Total field value
func (*ServiceResponseWithTotals) GetTotalOk ¶
func (o *ServiceResponseWithTotals) GetTotalOk() (*int64, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (ServiceResponseWithTotals) MarshalJSON ¶
func (o ServiceResponseWithTotals) MarshalJSON() ([]byte, error)
func (*ServiceResponseWithTotals) SetServices ¶
func (o *ServiceResponseWithTotals) SetServices(v []ServiceResponse)
SetServices sets field value
func (*ServiceResponseWithTotals) SetTotal ¶
func (o *ServiceResponseWithTotals) SetTotal(v int64)
SetTotal sets field value
func (ServiceResponseWithTotals) ToMap ¶
func (o ServiceResponseWithTotals) ToMap() (map[string]interface{}, error)
type UpdateResourceRequest ¶
type UpdateResourceRequest struct { Content *string `json:"content,omitempty"` ContentType *string `json:"content_type,omitempty"` Name *string `json:"name,omitempty"` Trigger *string `json:"trigger,omitempty"` }
UpdateResourceRequest struct for UpdateResourceRequest
func NewUpdateResourceRequest ¶
func NewUpdateResourceRequest() *UpdateResourceRequest
NewUpdateResourceRequest instantiates a new UpdateResourceRequest 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 NewUpdateResourceRequestWithDefaults ¶
func NewUpdateResourceRequestWithDefaults() *UpdateResourceRequest
NewUpdateResourceRequestWithDefaults instantiates a new UpdateResourceRequest 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 (*UpdateResourceRequest) GetContent ¶
func (o *UpdateResourceRequest) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*UpdateResourceRequest) GetContentOk ¶
func (o *UpdateResourceRequest) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateResourceRequest) GetContentType ¶
func (o *UpdateResourceRequest) GetContentType() string
GetContentType returns the ContentType field value if set, zero value otherwise.
func (*UpdateResourceRequest) GetContentTypeOk ¶
func (o *UpdateResourceRequest) GetContentTypeOk() (*string, bool)
GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateResourceRequest) GetName ¶
func (o *UpdateResourceRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateResourceRequest) GetNameOk ¶
func (o *UpdateResourceRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateResourceRequest) GetTrigger ¶
func (o *UpdateResourceRequest) GetTrigger() string
GetTrigger returns the Trigger field value if set, zero value otherwise.
func (*UpdateResourceRequest) GetTriggerOk ¶
func (o *UpdateResourceRequest) GetTriggerOk() (*string, bool)
GetTriggerOk returns a tuple with the Trigger field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateResourceRequest) HasContent ¶
func (o *UpdateResourceRequest) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*UpdateResourceRequest) HasContentType ¶
func (o *UpdateResourceRequest) HasContentType() bool
HasContentType returns a boolean if a field has been set.
func (*UpdateResourceRequest) HasName ¶
func (o *UpdateResourceRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateResourceRequest) HasTrigger ¶
func (o *UpdateResourceRequest) HasTrigger() bool
HasTrigger returns a boolean if a field has been set.
func (UpdateResourceRequest) MarshalJSON ¶
func (o UpdateResourceRequest) MarshalJSON() ([]byte, error)
func (*UpdateResourceRequest) SetContent ¶
func (o *UpdateResourceRequest) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*UpdateResourceRequest) SetContentType ¶
func (o *UpdateResourceRequest) SetContentType(v string)
SetContentType gets a reference to the given string and assigns it to the ContentType field.
func (*UpdateResourceRequest) SetName ¶
func (o *UpdateResourceRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateResourceRequest) SetTrigger ¶
func (o *UpdateResourceRequest) SetTrigger(v string)
SetTrigger gets a reference to the given string and assigns it to the Trigger field.
func (UpdateResourceRequest) ToMap ¶
func (o UpdateResourceRequest) ToMap() (map[string]interface{}, error)
type UpdateServiceRequest ¶
type UpdateServiceRequest struct { Active *bool `json:"active,omitempty"` Name *string `json:"name,omitempty"` Variables []Variable `json:"variables,omitempty"` }
UpdateServiceRequest struct for UpdateServiceRequest
func NewUpdateServiceRequest ¶
func NewUpdateServiceRequest() *UpdateServiceRequest
NewUpdateServiceRequest instantiates a new UpdateServiceRequest 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 NewUpdateServiceRequestWithDefaults ¶
func NewUpdateServiceRequestWithDefaults() *UpdateServiceRequest
NewUpdateServiceRequestWithDefaults instantiates a new UpdateServiceRequest 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 (*UpdateServiceRequest) GetActive ¶
func (o *UpdateServiceRequest) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*UpdateServiceRequest) GetActiveOk ¶
func (o *UpdateServiceRequest) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateServiceRequest) GetName ¶
func (o *UpdateServiceRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateServiceRequest) GetNameOk ¶
func (o *UpdateServiceRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateServiceRequest) GetVariables ¶
func (o *UpdateServiceRequest) GetVariables() []Variable
GetVariables returns the Variables field value if set, zero value otherwise.
func (*UpdateServiceRequest) GetVariablesOk ¶
func (o *UpdateServiceRequest) GetVariablesOk() ([]Variable, bool)
GetVariablesOk returns a tuple with the Variables field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateServiceRequest) HasActive ¶
func (o *UpdateServiceRequest) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*UpdateServiceRequest) HasName ¶
func (o *UpdateServiceRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateServiceRequest) HasVariables ¶
func (o *UpdateServiceRequest) HasVariables() bool
HasVariables returns a boolean if a field has been set.
func (UpdateServiceRequest) MarshalJSON ¶
func (o UpdateServiceRequest) MarshalJSON() ([]byte, error)
func (*UpdateServiceRequest) SetActive ¶
func (o *UpdateServiceRequest) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*UpdateServiceRequest) SetName ¶
func (o *UpdateServiceRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateServiceRequest) SetVariables ¶
func (o *UpdateServiceRequest) SetVariables(v []Variable)
SetVariables gets a reference to the given []Variable and assigns it to the Variables field.
func (UpdateServiceRequest) ToMap ¶
func (o UpdateServiceRequest) ToMap() (map[string]interface{}, error)
type Variable ¶
Variable struct for Variable
func NewVariable ¶
NewVariable instantiates a new Variable 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 NewVariableWithDefaults ¶
func NewVariableWithDefaults() *Variable
NewVariableWithDefaults instantiates a new Variable 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 (*Variable) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Variable) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (Variable) MarshalJSON ¶
Source Files ¶
- api_default.go
- client.go
- configuration.go
- model_create_resource_request.go
- model_create_service_request.go
- model_resource_detail.go
- model_resource_response.go
- model_resource_response_with_total.go
- model_service_response.go
- model_service_response_with_totals.go
- model_update_resource_request.go
- model_update_service_request.go
- model_variable.go
- response.go
- utils.go