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 ApiCreateContentHostingConfigurationRequest
- type ApiDestroyContentHostingConfigurationRequest
- type ApiPatchContentHostingConfigurationRequest
- type ApiPurgeContentHostingCacheRequest
- type ApiRetrieveContentHostingConfigurationRequest
- type ApiUpdateContentHostingConfigurationRequest
- type BasicAuth
- type CachingConfiguration
- func (o *CachingConfiguration) GetCachingDirectives() CachingConfigurationCachingDirectives
- func (o *CachingConfiguration) GetCachingDirectivesOk() (*CachingConfigurationCachingDirectives, bool)
- func (o *CachingConfiguration) GetUrlPatternFilter() string
- func (o *CachingConfiguration) GetUrlPatternFilterOk() (*string, bool)
- func (o *CachingConfiguration) HasCachingDirectives() bool
- func (o CachingConfiguration) MarshalJSON() ([]byte, error)
- func (o *CachingConfiguration) SetCachingDirectives(v CachingConfigurationCachingDirectives)
- func (o *CachingConfiguration) SetUrlPatternFilter(v string)
- func (o CachingConfiguration) ToMap() (map[string]interface{}, error)
- type CachingConfigurationCachingDirectives
- func (o *CachingConfigurationCachingDirectives) GetMaxAge() int32
- func (o *CachingConfigurationCachingDirectives) GetMaxAgeOk() (*int32, bool)
- func (o *CachingConfigurationCachingDirectives) GetNoCache() bool
- func (o *CachingConfigurationCachingDirectives) GetNoCacheOk() (*bool, bool)
- func (o *CachingConfigurationCachingDirectives) GetStatusCodeFilters() []int32
- func (o *CachingConfigurationCachingDirectives) GetStatusCodeFiltersOk() ([]int32, bool)
- func (o *CachingConfigurationCachingDirectives) HasMaxAge() bool
- func (o *CachingConfigurationCachingDirectives) HasStatusCodeFilters() bool
- func (o CachingConfigurationCachingDirectives) MarshalJSON() ([]byte, error)
- func (o *CachingConfigurationCachingDirectives) SetMaxAge(v int32)
- func (o *CachingConfigurationCachingDirectives) SetNoCache(v bool)
- func (o *CachingConfigurationCachingDirectives) SetStatusCodeFilters(v []int32)
- func (o CachingConfigurationCachingDirectives) ToMap() (map[string]interface{}, error)
- type Configuration
- type ContentHostingConfiguration
- func (o *ContentHostingConfiguration) GetDistributionConfigurations() []DistributionConfiguration
- func (o *ContentHostingConfiguration) GetDistributionConfigurationsOk() ([]DistributionConfiguration, bool)
- func (o *ContentHostingConfiguration) GetEntryPointPath() string
- func (o *ContentHostingConfiguration) GetEntryPointPathOk() (*string, bool)
- func (o *ContentHostingConfiguration) GetIngestConfiguration() IngestConfiguration
- func (o *ContentHostingConfiguration) GetIngestConfigurationOk() (*IngestConfiguration, bool)
- func (o *ContentHostingConfiguration) GetName() string
- func (o *ContentHostingConfiguration) GetNameOk() (*string, bool)
- func (o *ContentHostingConfiguration) HasEntryPointPath() bool
- func (o ContentHostingConfiguration) MarshalJSON() ([]byte, error)
- func (o *ContentHostingConfiguration) SetDistributionConfigurations(v []DistributionConfiguration)
- func (o *ContentHostingConfiguration) SetEntryPointPath(v string)
- func (o *ContentHostingConfiguration) SetIngestConfiguration(v IngestConfiguration)
- func (o *ContentHostingConfiguration) SetName(v string)
- func (o ContentHostingConfiguration) ToMap() (map[string]interface{}, error)
- type DefaultApiService
- func (a *DefaultApiService) CreateContentHostingConfiguration(ctx context.Context, provisioningSessionId string) ApiCreateContentHostingConfigurationRequest
- func (a *DefaultApiService) CreateContentHostingConfigurationExecute(r ApiCreateContentHostingConfigurationRequest) (*http.Response, error)
- func (a *DefaultApiService) DestroyContentHostingConfiguration(ctx context.Context, provisioningSessionId string) ApiDestroyContentHostingConfigurationRequest
- func (a *DefaultApiService) DestroyContentHostingConfigurationExecute(r ApiDestroyContentHostingConfigurationRequest) (*http.Response, error)
- func (a *DefaultApiService) PatchContentHostingConfiguration(ctx context.Context, provisioningSessionId string) ApiPatchContentHostingConfigurationRequest
- func (a *DefaultApiService) PatchContentHostingConfigurationExecute(r ApiPatchContentHostingConfigurationRequest) (*ContentHostingConfiguration, *http.Response, error)
- func (a *DefaultApiService) PurgeContentHostingCache(ctx context.Context, provisioningSessionId string) ApiPurgeContentHostingCacheRequest
- func (a *DefaultApiService) PurgeContentHostingCacheExecute(r ApiPurgeContentHostingCacheRequest) (*http.Response, error)
- func (a *DefaultApiService) RetrieveContentHostingConfiguration(ctx context.Context, provisioningSessionId string) ApiRetrieveContentHostingConfigurationRequest
- func (a *DefaultApiService) RetrieveContentHostingConfigurationExecute(r ApiRetrieveContentHostingConfigurationRequest) (*ContentHostingConfiguration, *http.Response, error)
- func (a *DefaultApiService) UpdateContentHostingConfiguration(ctx context.Context, provisioningSessionId string) ApiUpdateContentHostingConfigurationRequest
- func (a *DefaultApiService) UpdateContentHostingConfigurationExecute(r ApiUpdateContentHostingConfigurationRequest) (*http.Response, error)
- type DistributionConfiguration
- func (o *DistributionConfiguration) GetBaseURL() string
- func (o *DistributionConfiguration) GetBaseURLOk() (*string, bool)
- func (o *DistributionConfiguration) GetCachingConfigurations() []CachingConfiguration
- func (o *DistributionConfiguration) GetCachingConfigurationsOk() ([]CachingConfiguration, bool)
- func (o *DistributionConfiguration) GetCanonicalDomainName() string
- func (o *DistributionConfiguration) GetCanonicalDomainNameOk() (*string, bool)
- func (o *DistributionConfiguration) GetCertificateId() string
- func (o *DistributionConfiguration) GetCertificateIdOk() (*string, bool)
- func (o *DistributionConfiguration) GetContentPreparationTemplateId() string
- func (o *DistributionConfiguration) GetContentPreparationTemplateIdOk() (*string, bool)
- func (o *DistributionConfiguration) GetDomainNameAlias() string
- func (o *DistributionConfiguration) GetDomainNameAliasOk() (*string, bool)
- func (o *DistributionConfiguration) GetGeoFencing() DistributionConfigurationGeoFencing
- func (o *DistributionConfiguration) GetGeoFencingOk() (*DistributionConfigurationGeoFencing, bool)
- func (o *DistributionConfiguration) GetPathRewriteRules() []PathRewriteRule
- func (o *DistributionConfiguration) GetPathRewriteRulesOk() ([]PathRewriteRule, bool)
- func (o *DistributionConfiguration) GetSupplementaryDistributionNetworks() []DistributionConfigurationSupplementaryDistributionNetworksInner
- func (o *DistributionConfiguration) GetSupplementaryDistributionNetworksOk() ([]DistributionConfigurationSupplementaryDistributionNetworksInner, bool)
- func (o *DistributionConfiguration) GetUrlSignature() DistributionConfigurationUrlSignature
- func (o *DistributionConfiguration) GetUrlSignatureOk() (*DistributionConfigurationUrlSignature, bool)
- func (o *DistributionConfiguration) HasBaseURL() bool
- func (o *DistributionConfiguration) HasCachingConfigurations() bool
- func (o *DistributionConfiguration) HasCanonicalDomainName() bool
- func (o *DistributionConfiguration) HasCertificateId() bool
- func (o *DistributionConfiguration) HasContentPreparationTemplateId() bool
- func (o *DistributionConfiguration) HasDomainNameAlias() bool
- func (o *DistributionConfiguration) HasGeoFencing() bool
- func (o *DistributionConfiguration) HasPathRewriteRules() bool
- func (o *DistributionConfiguration) HasSupplementaryDistributionNetworks() bool
- func (o *DistributionConfiguration) HasUrlSignature() bool
- func (o DistributionConfiguration) MarshalJSON() ([]byte, error)
- func (o *DistributionConfiguration) SetBaseURL(v string)
- func (o *DistributionConfiguration) SetCachingConfigurations(v []CachingConfiguration)
- func (o *DistributionConfiguration) SetCanonicalDomainName(v string)
- func (o *DistributionConfiguration) SetCertificateId(v string)
- func (o *DistributionConfiguration) SetContentPreparationTemplateId(v string)
- func (o *DistributionConfiguration) SetDomainNameAlias(v string)
- func (o *DistributionConfiguration) SetGeoFencing(v DistributionConfigurationGeoFencing)
- func (o *DistributionConfiguration) SetPathRewriteRules(v []PathRewriteRule)
- func (o *DistributionConfiguration) SetSupplementaryDistributionNetworks(v []DistributionConfigurationSupplementaryDistributionNetworksInner)
- func (o *DistributionConfiguration) SetUrlSignature(v DistributionConfigurationUrlSignature)
- func (o DistributionConfiguration) ToMap() (map[string]interface{}, error)
- type DistributionConfigurationGeoFencing
- func (o *DistributionConfigurationGeoFencing) GetLocatorType() string
- func (o *DistributionConfigurationGeoFencing) GetLocatorTypeOk() (*string, bool)
- func (o *DistributionConfigurationGeoFencing) GetLocators() []string
- func (o *DistributionConfigurationGeoFencing) GetLocatorsOk() ([]string, bool)
- func (o DistributionConfigurationGeoFencing) MarshalJSON() ([]byte, error)
- func (o *DistributionConfigurationGeoFencing) SetLocatorType(v string)
- func (o *DistributionConfigurationGeoFencing) SetLocators(v []string)
- func (o DistributionConfigurationGeoFencing) ToMap() (map[string]interface{}, error)
- type DistributionConfigurationSupplementaryDistributionNetworksInner
- func NewDistributionConfigurationSupplementaryDistributionNetworksInner(distributionNetworkType DistributionNetworkType, ...) *DistributionConfigurationSupplementaryDistributionNetworksInner
- func NewDistributionConfigurationSupplementaryDistributionNetworksInnerWithDefaults() *DistributionConfigurationSupplementaryDistributionNetworksInner
- func (o *DistributionConfigurationSupplementaryDistributionNetworksInner) GetDistributionMode() DistributionMode
- func (o *DistributionConfigurationSupplementaryDistributionNetworksInner) GetDistributionModeOk() (*DistributionMode, bool)
- func (o *DistributionConfigurationSupplementaryDistributionNetworksInner) GetDistributionNetworkType() DistributionNetworkType
- func (o *DistributionConfigurationSupplementaryDistributionNetworksInner) GetDistributionNetworkTypeOk() (*DistributionNetworkType, bool)
- func (o DistributionConfigurationSupplementaryDistributionNetworksInner) MarshalJSON() ([]byte, error)
- func (o *DistributionConfigurationSupplementaryDistributionNetworksInner) SetDistributionMode(v DistributionMode)
- func (o *DistributionConfigurationSupplementaryDistributionNetworksInner) SetDistributionNetworkType(v DistributionNetworkType)
- func (o DistributionConfigurationSupplementaryDistributionNetworksInner) ToMap() (map[string]interface{}, error)
- type DistributionConfigurationUrlSignature
- func (o *DistributionConfigurationUrlSignature) GetIpAddressName() string
- func (o *DistributionConfigurationUrlSignature) GetIpAddressNameOk() (*string, bool)
- func (o *DistributionConfigurationUrlSignature) GetPassphrase() string
- func (o *DistributionConfigurationUrlSignature) GetPassphraseName() string
- func (o *DistributionConfigurationUrlSignature) GetPassphraseNameOk() (*string, bool)
- func (o *DistributionConfigurationUrlSignature) GetPassphraseOk() (*string, bool)
- func (o *DistributionConfigurationUrlSignature) GetTokenExpiryName() string
- func (o *DistributionConfigurationUrlSignature) GetTokenExpiryNameOk() (*string, bool)
- func (o *DistributionConfigurationUrlSignature) GetTokenName() string
- func (o *DistributionConfigurationUrlSignature) GetTokenNameOk() (*string, bool)
- func (o *DistributionConfigurationUrlSignature) GetUrlPattern() string
- func (o *DistributionConfigurationUrlSignature) GetUrlPatternOk() (*string, bool)
- func (o *DistributionConfigurationUrlSignature) GetUseIPAddress() bool
- func (o *DistributionConfigurationUrlSignature) GetUseIPAddressOk() (*bool, bool)
- func (o *DistributionConfigurationUrlSignature) HasIpAddressName() bool
- func (o DistributionConfigurationUrlSignature) MarshalJSON() ([]byte, error)
- func (o *DistributionConfigurationUrlSignature) SetIpAddressName(v string)
- func (o *DistributionConfigurationUrlSignature) SetPassphrase(v string)
- func (o *DistributionConfigurationUrlSignature) SetPassphraseName(v string)
- func (o *DistributionConfigurationUrlSignature) SetTokenExpiryName(v string)
- func (o *DistributionConfigurationUrlSignature) SetTokenName(v string)
- func (o *DistributionConfigurationUrlSignature) SetUrlPattern(v string)
- func (o *DistributionConfigurationUrlSignature) SetUseIPAddress(v bool)
- func (o DistributionConfigurationUrlSignature) ToMap() (map[string]interface{}, error)
- type DistributionMode
- type DistributionNetworkType
- type GenericOpenAPIError
- type IngestConfiguration
- func (o *IngestConfiguration) GetBaseURL() string
- func (o *IngestConfiguration) GetBaseURLOk() (*string, bool)
- func (o *IngestConfiguration) GetProtocol() string
- func (o *IngestConfiguration) GetProtocolOk() (*string, bool)
- func (o *IngestConfiguration) GetPull() bool
- func (o *IngestConfiguration) GetPullOk() (*bool, bool)
- func (o *IngestConfiguration) HasBaseURL() bool
- func (o *IngestConfiguration) HasProtocol() bool
- func (o *IngestConfiguration) HasPull() bool
- func (o IngestConfiguration) MarshalJSON() ([]byte, error)
- func (o *IngestConfiguration) SetBaseURL(v string)
- func (o *IngestConfiguration) SetProtocol(v string)
- func (o *IngestConfiguration) SetPull(v bool)
- func (o IngestConfiguration) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NullableBool
- type NullableCachingConfiguration
- func (v NullableCachingConfiguration) Get() *CachingConfiguration
- func (v NullableCachingConfiguration) IsSet() bool
- func (v NullableCachingConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableCachingConfiguration) Set(val *CachingConfiguration)
- func (v *NullableCachingConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableCachingConfiguration) Unset()
- type NullableCachingConfigurationCachingDirectives
- func (v NullableCachingConfigurationCachingDirectives) Get() *CachingConfigurationCachingDirectives
- func (v NullableCachingConfigurationCachingDirectives) IsSet() bool
- func (v NullableCachingConfigurationCachingDirectives) MarshalJSON() ([]byte, error)
- func (v *NullableCachingConfigurationCachingDirectives) Set(val *CachingConfigurationCachingDirectives)
- func (v *NullableCachingConfigurationCachingDirectives) UnmarshalJSON(src []byte) error
- func (v *NullableCachingConfigurationCachingDirectives) Unset()
- type NullableContentHostingConfiguration
- func (v NullableContentHostingConfiguration) Get() *ContentHostingConfiguration
- func (v NullableContentHostingConfiguration) IsSet() bool
- func (v NullableContentHostingConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableContentHostingConfiguration) Set(val *ContentHostingConfiguration)
- func (v *NullableContentHostingConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableContentHostingConfiguration) Unset()
- type NullableDistributionConfiguration
- func (v NullableDistributionConfiguration) Get() *DistributionConfiguration
- func (v NullableDistributionConfiguration) IsSet() bool
- func (v NullableDistributionConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableDistributionConfiguration) Set(val *DistributionConfiguration)
- func (v *NullableDistributionConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableDistributionConfiguration) Unset()
- type NullableDistributionConfigurationGeoFencing
- func (v NullableDistributionConfigurationGeoFencing) Get() *DistributionConfigurationGeoFencing
- func (v NullableDistributionConfigurationGeoFencing) IsSet() bool
- func (v NullableDistributionConfigurationGeoFencing) MarshalJSON() ([]byte, error)
- func (v *NullableDistributionConfigurationGeoFencing) Set(val *DistributionConfigurationGeoFencing)
- func (v *NullableDistributionConfigurationGeoFencing) UnmarshalJSON(src []byte) error
- func (v *NullableDistributionConfigurationGeoFencing) Unset()
- type NullableDistributionConfigurationSupplementaryDistributionNetworksInner
- func (v NullableDistributionConfigurationSupplementaryDistributionNetworksInner) Get() *DistributionConfigurationSupplementaryDistributionNetworksInner
- func (v NullableDistributionConfigurationSupplementaryDistributionNetworksInner) IsSet() bool
- func (v NullableDistributionConfigurationSupplementaryDistributionNetworksInner) MarshalJSON() ([]byte, error)
- func (v *NullableDistributionConfigurationSupplementaryDistributionNetworksInner) Set(val *DistributionConfigurationSupplementaryDistributionNetworksInner)
- func (v *NullableDistributionConfigurationSupplementaryDistributionNetworksInner) UnmarshalJSON(src []byte) error
- func (v *NullableDistributionConfigurationSupplementaryDistributionNetworksInner) Unset()
- type NullableDistributionConfigurationUrlSignature
- func (v NullableDistributionConfigurationUrlSignature) Get() *DistributionConfigurationUrlSignature
- func (v NullableDistributionConfigurationUrlSignature) IsSet() bool
- func (v NullableDistributionConfigurationUrlSignature) MarshalJSON() ([]byte, error)
- func (v *NullableDistributionConfigurationUrlSignature) Set(val *DistributionConfigurationUrlSignature)
- func (v *NullableDistributionConfigurationUrlSignature) UnmarshalJSON(src []byte) error
- func (v *NullableDistributionConfigurationUrlSignature) Unset()
- type NullableDistributionMode
- func (v NullableDistributionMode) Get() *DistributionMode
- func (v NullableDistributionMode) IsSet() bool
- func (v NullableDistributionMode) MarshalJSON() ([]byte, error)
- func (v *NullableDistributionMode) Set(val *DistributionMode)
- func (v *NullableDistributionMode) UnmarshalJSON(src []byte) error
- func (v *NullableDistributionMode) Unset()
- type NullableDistributionNetworkType
- func (v NullableDistributionNetworkType) Get() *DistributionNetworkType
- func (v NullableDistributionNetworkType) IsSet() bool
- func (v NullableDistributionNetworkType) MarshalJSON() ([]byte, error)
- func (v *NullableDistributionNetworkType) Set(val *DistributionNetworkType)
- func (v *NullableDistributionNetworkType) UnmarshalJSON(src []byte) error
- func (v *NullableDistributionNetworkType) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableIngestConfiguration
- func (v NullableIngestConfiguration) Get() *IngestConfiguration
- func (v NullableIngestConfiguration) IsSet() bool
- func (v NullableIngestConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableIngestConfiguration) Set(val *IngestConfiguration)
- func (v *NullableIngestConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableIngestConfiguration) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullablePathRewriteRule
- func (v NullablePathRewriteRule) Get() *PathRewriteRule
- func (v NullablePathRewriteRule) IsSet() bool
- func (v NullablePathRewriteRule) MarshalJSON() ([]byte, error)
- func (v *NullablePathRewriteRule) Set(val *PathRewriteRule)
- func (v *NullablePathRewriteRule) UnmarshalJSON(src []byte) error
- func (v *NullablePathRewriteRule) Unset()
- type NullableString
- type NullableTime
- type PathRewriteRule
- func (o *PathRewriteRule) GetMappedPath() string
- func (o *PathRewriteRule) GetMappedPathOk() (*string, bool)
- func (o *PathRewriteRule) GetRequestPathPattern() string
- func (o *PathRewriteRule) GetRequestPathPatternOk() (*string, bool)
- func (o PathRewriteRule) MarshalJSON() ([]byte, error)
- func (o *PathRewriteRule) SetMappedPath(v string)
- func (o *PathRewriteRule) SetRequestPathPattern(v string)
- func (o PathRewriteRule) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
This section is empty.
Variables ¶
var ( // 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 M1_ContentHostingProvisioning API v2.1.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 ApiCreateContentHostingConfigurationRequest ¶
type ApiCreateContentHostingConfigurationRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiCreateContentHostingConfigurationRequest) ContentHostingConfiguration ¶
func (r ApiCreateContentHostingConfigurationRequest) ContentHostingConfiguration(contentHostingConfiguration ContentHostingConfiguration) ApiCreateContentHostingConfigurationRequest
A JSON representation of a Content Hosting Configuration
type ApiDestroyContentHostingConfigurationRequest ¶
type ApiDestroyContentHostingConfigurationRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiPatchContentHostingConfigurationRequest ¶
type ApiPatchContentHostingConfigurationRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiPatchContentHostingConfigurationRequest) ContentHostingConfiguration ¶
func (r ApiPatchContentHostingConfigurationRequest) ContentHostingConfiguration(contentHostingConfiguration ContentHostingConfiguration) ApiPatchContentHostingConfigurationRequest
A JSON representation of a Content Hosting Configuration
func (ApiPatchContentHostingConfigurationRequest) Execute ¶
func (r ApiPatchContentHostingConfigurationRequest) Execute() (*ContentHostingConfiguration, *http.Response, error)
type ApiPurgeContentHostingCacheRequest ¶
type ApiPurgeContentHostingCacheRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiPurgeContentHostingCacheRequest) Execute ¶
func (r ApiPurgeContentHostingCacheRequest) Execute() (*http.Response, error)
func (ApiPurgeContentHostingCacheRequest) Pattern ¶
func (r ApiPurgeContentHostingCacheRequest) Pattern(pattern string) ApiPurgeContentHostingCacheRequest
Keyword
func (ApiPurgeContentHostingCacheRequest) Value ¶
func (r ApiPurgeContentHostingCacheRequest) Value(value string) ApiPurgeContentHostingCacheRequest
The regular expression
type ApiRetrieveContentHostingConfigurationRequest ¶
type ApiRetrieveContentHostingConfigurationRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiRetrieveContentHostingConfigurationRequest) Execute ¶
func (r ApiRetrieveContentHostingConfigurationRequest) Execute() (*ContentHostingConfiguration, *http.Response, error)
type ApiUpdateContentHostingConfigurationRequest ¶
type ApiUpdateContentHostingConfigurationRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiUpdateContentHostingConfigurationRequest) ContentHostingConfiguration ¶
func (r ApiUpdateContentHostingConfigurationRequest) ContentHostingConfiguration(contentHostingConfiguration ContentHostingConfiguration) ApiUpdateContentHostingConfigurationRequest
A JSON representation of a Content Hosting Configuration
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 CachingConfiguration ¶
type CachingConfiguration struct { UrlPatternFilter string `json:"urlPatternFilter"` CachingDirectives *CachingConfigurationCachingDirectives `json:"cachingDirectives,omitempty"` }
CachingConfiguration A content caching configuration.
func NewCachingConfiguration ¶
func NewCachingConfiguration(urlPatternFilter string) *CachingConfiguration
NewCachingConfiguration instantiates a new CachingConfiguration 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 NewCachingConfigurationWithDefaults ¶
func NewCachingConfigurationWithDefaults() *CachingConfiguration
NewCachingConfigurationWithDefaults instantiates a new CachingConfiguration 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 (*CachingConfiguration) GetCachingDirectives ¶
func (o *CachingConfiguration) GetCachingDirectives() CachingConfigurationCachingDirectives
GetCachingDirectives returns the CachingDirectives field value if set, zero value otherwise.
func (*CachingConfiguration) GetCachingDirectivesOk ¶
func (o *CachingConfiguration) GetCachingDirectivesOk() (*CachingConfigurationCachingDirectives, bool)
GetCachingDirectivesOk returns a tuple with the CachingDirectives field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CachingConfiguration) GetUrlPatternFilter ¶
func (o *CachingConfiguration) GetUrlPatternFilter() string
GetUrlPatternFilter returns the UrlPatternFilter field value
func (*CachingConfiguration) GetUrlPatternFilterOk ¶
func (o *CachingConfiguration) GetUrlPatternFilterOk() (*string, bool)
GetUrlPatternFilterOk returns a tuple with the UrlPatternFilter field value and a boolean to check if the value has been set.
func (*CachingConfiguration) HasCachingDirectives ¶
func (o *CachingConfiguration) HasCachingDirectives() bool
HasCachingDirectives returns a boolean if a field has been set.
func (CachingConfiguration) MarshalJSON ¶
func (o CachingConfiguration) MarshalJSON() ([]byte, error)
func (*CachingConfiguration) SetCachingDirectives ¶
func (o *CachingConfiguration) SetCachingDirectives(v CachingConfigurationCachingDirectives)
SetCachingDirectives gets a reference to the given CachingConfigurationCachingDirectives and assigns it to the CachingDirectives field.
func (*CachingConfiguration) SetUrlPatternFilter ¶
func (o *CachingConfiguration) SetUrlPatternFilter(v string)
SetUrlPatternFilter sets field value
func (CachingConfiguration) ToMap ¶
func (o CachingConfiguration) ToMap() (map[string]interface{}, error)
type CachingConfigurationCachingDirectives ¶
type CachingConfigurationCachingDirectives struct { StatusCodeFilters []int32 `json:"statusCodeFilters,omitempty"` NoCache bool `json:"noCache"` MaxAge *int32 `json:"maxAge,omitempty"` }
CachingConfigurationCachingDirectives struct for CachingConfigurationCachingDirectives
func NewCachingConfigurationCachingDirectives ¶
func NewCachingConfigurationCachingDirectives(noCache bool) *CachingConfigurationCachingDirectives
NewCachingConfigurationCachingDirectives instantiates a new CachingConfigurationCachingDirectives 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 NewCachingConfigurationCachingDirectivesWithDefaults ¶
func NewCachingConfigurationCachingDirectivesWithDefaults() *CachingConfigurationCachingDirectives
NewCachingConfigurationCachingDirectivesWithDefaults instantiates a new CachingConfigurationCachingDirectives 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 (*CachingConfigurationCachingDirectives) GetMaxAge ¶
func (o *CachingConfigurationCachingDirectives) GetMaxAge() int32
GetMaxAge returns the MaxAge field value if set, zero value otherwise.
func (*CachingConfigurationCachingDirectives) GetMaxAgeOk ¶
func (o *CachingConfigurationCachingDirectives) GetMaxAgeOk() (*int32, bool)
GetMaxAgeOk returns a tuple with the MaxAge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CachingConfigurationCachingDirectives) GetNoCache ¶
func (o *CachingConfigurationCachingDirectives) GetNoCache() bool
GetNoCache returns the NoCache field value
func (*CachingConfigurationCachingDirectives) GetNoCacheOk ¶
func (o *CachingConfigurationCachingDirectives) GetNoCacheOk() (*bool, bool)
GetNoCacheOk returns a tuple with the NoCache field value and a boolean to check if the value has been set.
func (*CachingConfigurationCachingDirectives) GetStatusCodeFilters ¶
func (o *CachingConfigurationCachingDirectives) GetStatusCodeFilters() []int32
GetStatusCodeFilters returns the StatusCodeFilters field value if set, zero value otherwise.
func (*CachingConfigurationCachingDirectives) GetStatusCodeFiltersOk ¶
func (o *CachingConfigurationCachingDirectives) GetStatusCodeFiltersOk() ([]int32, bool)
GetStatusCodeFiltersOk returns a tuple with the StatusCodeFilters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CachingConfigurationCachingDirectives) HasMaxAge ¶
func (o *CachingConfigurationCachingDirectives) HasMaxAge() bool
HasMaxAge returns a boolean if a field has been set.
func (*CachingConfigurationCachingDirectives) HasStatusCodeFilters ¶
func (o *CachingConfigurationCachingDirectives) HasStatusCodeFilters() bool
HasStatusCodeFilters returns a boolean if a field has been set.
func (CachingConfigurationCachingDirectives) MarshalJSON ¶
func (o CachingConfigurationCachingDirectives) MarshalJSON() ([]byte, error)
func (*CachingConfigurationCachingDirectives) SetMaxAge ¶
func (o *CachingConfigurationCachingDirectives) SetMaxAge(v int32)
SetMaxAge gets a reference to the given int32 and assigns it to the MaxAge field.
func (*CachingConfigurationCachingDirectives) SetNoCache ¶
func (o *CachingConfigurationCachingDirectives) SetNoCache(v bool)
SetNoCache sets field value
func (*CachingConfigurationCachingDirectives) SetStatusCodeFilters ¶
func (o *CachingConfigurationCachingDirectives) SetStatusCodeFilters(v []int32)
SetStatusCodeFilters gets a reference to the given []int32 and assigns it to the StatusCodeFilters field.
func (CachingConfigurationCachingDirectives) ToMap ¶
func (o CachingConfigurationCachingDirectives) ToMap() (map[string]interface{}, error)
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 ContentHostingConfiguration ¶
type ContentHostingConfiguration struct { Name string `json:"name"` // Uniform Resource Locator, comforming with the URI Generic Syntax specified in IETF RFC 3986. EntryPointPath *string `json:"entryPointPath,omitempty"` IngestConfiguration IngestConfiguration `json:"ingestConfiguration"` DistributionConfigurations []DistributionConfiguration `json:"distributionConfigurations"` }
ContentHostingConfiguration A representation of a Content Hosting Configuration resource.
func NewContentHostingConfiguration ¶
func NewContentHostingConfiguration(name string, ingestConfiguration IngestConfiguration, distributionConfigurations []DistributionConfiguration) *ContentHostingConfiguration
NewContentHostingConfiguration instantiates a new ContentHostingConfiguration 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 NewContentHostingConfigurationWithDefaults ¶
func NewContentHostingConfigurationWithDefaults() *ContentHostingConfiguration
NewContentHostingConfigurationWithDefaults instantiates a new ContentHostingConfiguration 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 (*ContentHostingConfiguration) GetDistributionConfigurations ¶
func (o *ContentHostingConfiguration) GetDistributionConfigurations() []DistributionConfiguration
GetDistributionConfigurations returns the DistributionConfigurations field value
func (*ContentHostingConfiguration) GetDistributionConfigurationsOk ¶
func (o *ContentHostingConfiguration) GetDistributionConfigurationsOk() ([]DistributionConfiguration, bool)
GetDistributionConfigurationsOk returns a tuple with the DistributionConfigurations field value and a boolean to check if the value has been set.
func (*ContentHostingConfiguration) GetEntryPointPath ¶
func (o *ContentHostingConfiguration) GetEntryPointPath() string
GetEntryPointPath returns the EntryPointPath field value if set, zero value otherwise.
func (*ContentHostingConfiguration) GetEntryPointPathOk ¶
func (o *ContentHostingConfiguration) GetEntryPointPathOk() (*string, bool)
GetEntryPointPathOk returns a tuple with the EntryPointPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ContentHostingConfiguration) GetIngestConfiguration ¶
func (o *ContentHostingConfiguration) GetIngestConfiguration() IngestConfiguration
GetIngestConfiguration returns the IngestConfiguration field value
func (*ContentHostingConfiguration) GetIngestConfigurationOk ¶
func (o *ContentHostingConfiguration) GetIngestConfigurationOk() (*IngestConfiguration, bool)
GetIngestConfigurationOk returns a tuple with the IngestConfiguration field value and a boolean to check if the value has been set.
func (*ContentHostingConfiguration) GetName ¶
func (o *ContentHostingConfiguration) GetName() string
GetName returns the Name field value
func (*ContentHostingConfiguration) GetNameOk ¶
func (o *ContentHostingConfiguration) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ContentHostingConfiguration) HasEntryPointPath ¶
func (o *ContentHostingConfiguration) HasEntryPointPath() bool
HasEntryPointPath returns a boolean if a field has been set.
func (ContentHostingConfiguration) MarshalJSON ¶
func (o ContentHostingConfiguration) MarshalJSON() ([]byte, error)
func (*ContentHostingConfiguration) SetDistributionConfigurations ¶
func (o *ContentHostingConfiguration) SetDistributionConfigurations(v []DistributionConfiguration)
SetDistributionConfigurations sets field value
func (*ContentHostingConfiguration) SetEntryPointPath ¶
func (o *ContentHostingConfiguration) SetEntryPointPath(v string)
SetEntryPointPath gets a reference to the given string and assigns it to the EntryPointPath field.
func (*ContentHostingConfiguration) SetIngestConfiguration ¶
func (o *ContentHostingConfiguration) SetIngestConfiguration(v IngestConfiguration)
SetIngestConfiguration sets field value
func (*ContentHostingConfiguration) SetName ¶
func (o *ContentHostingConfiguration) SetName(v string)
SetName sets field value
func (ContentHostingConfiguration) ToMap ¶
func (o ContentHostingConfiguration) ToMap() (map[string]interface{}, error)
type DefaultApiService ¶
type DefaultApiService service
DefaultApiService DefaultApi service
func (*DefaultApiService) CreateContentHostingConfiguration ¶
func (a *DefaultApiService) CreateContentHostingConfiguration(ctx context.Context, provisioningSessionId string) ApiCreateContentHostingConfigurationRequest
CreateContentHostingConfiguration Create (and optionally upload) the Content Hosting Configuration for the specified Provisioning Session
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provisioningSessionId The resource identifier of an existing Provisioning Session. @return ApiCreateContentHostingConfigurationRequest
func (*DefaultApiService) CreateContentHostingConfigurationExecute ¶
func (a *DefaultApiService) CreateContentHostingConfigurationExecute(r ApiCreateContentHostingConfigurationRequest) (*http.Response, error)
Execute executes the request
func (*DefaultApiService) DestroyContentHostingConfiguration ¶
func (a *DefaultApiService) DestroyContentHostingConfiguration(ctx context.Context, provisioningSessionId string) ApiDestroyContentHostingConfigurationRequest
DestroyContentHostingConfiguration Destroy the current Content Hosting Configuration of the specified Provisioning Session
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provisioningSessionId The resource identifier of an existing Provisioning Session. @return ApiDestroyContentHostingConfigurationRequest
func (*DefaultApiService) DestroyContentHostingConfigurationExecute ¶
func (a *DefaultApiService) DestroyContentHostingConfigurationExecute(r ApiDestroyContentHostingConfigurationRequest) (*http.Response, error)
Execute executes the request
func (*DefaultApiService) PatchContentHostingConfiguration ¶
func (a *DefaultApiService) PatchContentHostingConfiguration(ctx context.Context, provisioningSessionId string) ApiPatchContentHostingConfigurationRequest
PatchContentHostingConfiguration Patch the Content Hosting Configuration for the specified Provisioning Session
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provisioningSessionId The resource identifier of an existing Provisioning Session. @return ApiPatchContentHostingConfigurationRequest
func (*DefaultApiService) PatchContentHostingConfigurationExecute ¶
func (a *DefaultApiService) PatchContentHostingConfigurationExecute(r ApiPatchContentHostingConfigurationRequest) (*ContentHostingConfiguration, *http.Response, error)
Execute executes the request
@return ContentHostingConfiguration
func (*DefaultApiService) PurgeContentHostingCache ¶
func (a *DefaultApiService) PurgeContentHostingCache(ctx context.Context, provisioningSessionId string) ApiPurgeContentHostingCacheRequest
PurgeContentHostingCache Purge the content of the cache for the Content Hosting Configuration of the specified Provisioning Session
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provisioningSessionId A unique identifier of the Provisioning @return ApiPurgeContentHostingCacheRequest
func (*DefaultApiService) PurgeContentHostingCacheExecute ¶
func (a *DefaultApiService) PurgeContentHostingCacheExecute(r ApiPurgeContentHostingCacheRequest) (*http.Response, error)
Execute executes the request
func (*DefaultApiService) RetrieveContentHostingConfiguration ¶
func (a *DefaultApiService) RetrieveContentHostingConfiguration(ctx context.Context, provisioningSessionId string) ApiRetrieveContentHostingConfigurationRequest
RetrieveContentHostingConfiguration Retrieve the Content Hosting Configuration of the specified Provisioning Session
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provisioningSessionId The resource identifier of an existing Provisioning Session. @return ApiRetrieveContentHostingConfigurationRequest
func (*DefaultApiService) RetrieveContentHostingConfigurationExecute ¶
func (a *DefaultApiService) RetrieveContentHostingConfigurationExecute(r ApiRetrieveContentHostingConfigurationRequest) (*ContentHostingConfiguration, *http.Response, error)
Execute executes the request
@return ContentHostingConfiguration
func (*DefaultApiService) UpdateContentHostingConfiguration ¶
func (a *DefaultApiService) UpdateContentHostingConfiguration(ctx context.Context, provisioningSessionId string) ApiUpdateContentHostingConfigurationRequest
UpdateContentHostingConfiguration Update the Content Hosting Configuration for the specified Provisioning Session
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provisioningSessionId The resource identifier of an existing Provisioning Session. @return ApiUpdateContentHostingConfigurationRequest
func (*DefaultApiService) UpdateContentHostingConfigurationExecute ¶
func (a *DefaultApiService) UpdateContentHostingConfigurationExecute(r ApiUpdateContentHostingConfigurationRequest) (*http.Response, error)
Execute executes the request
type DistributionConfiguration ¶
type DistributionConfiguration struct { // String chosen by the 5GMS AF to serve as an identifier in a resource URI. ContentPreparationTemplateId *string `json:"contentPreparationTemplateId,omitempty"` CanonicalDomainName *string `json:"canonicalDomainName,omitempty"` DomainNameAlias *string `json:"domainNameAlias,omitempty"` // Uniform Resource Locator, comforming with the URI Generic Syntax specified in IETF RFC 3986. BaseURL *string `json:"baseURL,omitempty"` PathRewriteRules []PathRewriteRule `json:"pathRewriteRules,omitempty"` CachingConfigurations []CachingConfiguration `json:"cachingConfigurations,omitempty"` GeoFencing *DistributionConfigurationGeoFencing `json:"geoFencing,omitempty"` UrlSignature *DistributionConfigurationUrlSignature `json:"urlSignature,omitempty"` // String chosen by the 5GMS AF to serve as an identifier in a resource URI. CertificateId *string `json:"certificateId,omitempty"` SupplementaryDistributionNetworks []DistributionConfigurationSupplementaryDistributionNetworksInner `json:"supplementaryDistributionNetworks,omitempty"` }
DistributionConfiguration A content distribution configuration.
func NewDistributionConfiguration ¶
func NewDistributionConfiguration() *DistributionConfiguration
NewDistributionConfiguration instantiates a new DistributionConfiguration 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 NewDistributionConfigurationWithDefaults ¶
func NewDistributionConfigurationWithDefaults() *DistributionConfiguration
NewDistributionConfigurationWithDefaults instantiates a new DistributionConfiguration 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 (*DistributionConfiguration) GetBaseURL ¶
func (o *DistributionConfiguration) GetBaseURL() string
GetBaseURL returns the BaseURL field value if set, zero value otherwise.
func (*DistributionConfiguration) GetBaseURLOk ¶
func (o *DistributionConfiguration) GetBaseURLOk() (*string, bool)
GetBaseURLOk returns a tuple with the BaseURL field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistributionConfiguration) GetCachingConfigurations ¶
func (o *DistributionConfiguration) GetCachingConfigurations() []CachingConfiguration
GetCachingConfigurations returns the CachingConfigurations field value if set, zero value otherwise.
func (*DistributionConfiguration) GetCachingConfigurationsOk ¶
func (o *DistributionConfiguration) GetCachingConfigurationsOk() ([]CachingConfiguration, bool)
GetCachingConfigurationsOk returns a tuple with the CachingConfigurations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistributionConfiguration) GetCanonicalDomainName ¶
func (o *DistributionConfiguration) GetCanonicalDomainName() string
GetCanonicalDomainName returns the CanonicalDomainName field value if set, zero value otherwise.
func (*DistributionConfiguration) GetCanonicalDomainNameOk ¶
func (o *DistributionConfiguration) GetCanonicalDomainNameOk() (*string, bool)
GetCanonicalDomainNameOk returns a tuple with the CanonicalDomainName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistributionConfiguration) GetCertificateId ¶
func (o *DistributionConfiguration) GetCertificateId() string
GetCertificateId returns the CertificateId field value if set, zero value otherwise.
func (*DistributionConfiguration) GetCertificateIdOk ¶
func (o *DistributionConfiguration) GetCertificateIdOk() (*string, bool)
GetCertificateIdOk returns a tuple with the CertificateId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistributionConfiguration) GetContentPreparationTemplateId ¶
func (o *DistributionConfiguration) GetContentPreparationTemplateId() string
GetContentPreparationTemplateId returns the ContentPreparationTemplateId field value if set, zero value otherwise.
func (*DistributionConfiguration) GetContentPreparationTemplateIdOk ¶
func (o *DistributionConfiguration) GetContentPreparationTemplateIdOk() (*string, bool)
GetContentPreparationTemplateIdOk returns a tuple with the ContentPreparationTemplateId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistributionConfiguration) GetDomainNameAlias ¶
func (o *DistributionConfiguration) GetDomainNameAlias() string
GetDomainNameAlias returns the DomainNameAlias field value if set, zero value otherwise.
func (*DistributionConfiguration) GetDomainNameAliasOk ¶
func (o *DistributionConfiguration) GetDomainNameAliasOk() (*string, bool)
GetDomainNameAliasOk returns a tuple with the DomainNameAlias field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistributionConfiguration) GetGeoFencing ¶
func (o *DistributionConfiguration) GetGeoFencing() DistributionConfigurationGeoFencing
GetGeoFencing returns the GeoFencing field value if set, zero value otherwise.
func (*DistributionConfiguration) GetGeoFencingOk ¶
func (o *DistributionConfiguration) GetGeoFencingOk() (*DistributionConfigurationGeoFencing, bool)
GetGeoFencingOk returns a tuple with the GeoFencing field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistributionConfiguration) GetPathRewriteRules ¶
func (o *DistributionConfiguration) GetPathRewriteRules() []PathRewriteRule
GetPathRewriteRules returns the PathRewriteRules field value if set, zero value otherwise.
func (*DistributionConfiguration) GetPathRewriteRulesOk ¶
func (o *DistributionConfiguration) GetPathRewriteRulesOk() ([]PathRewriteRule, bool)
GetPathRewriteRulesOk returns a tuple with the PathRewriteRules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistributionConfiguration) GetSupplementaryDistributionNetworks ¶
func (o *DistributionConfiguration) GetSupplementaryDistributionNetworks() []DistributionConfigurationSupplementaryDistributionNetworksInner
GetSupplementaryDistributionNetworks returns the SupplementaryDistributionNetworks field value if set, zero value otherwise.
func (*DistributionConfiguration) GetSupplementaryDistributionNetworksOk ¶
func (o *DistributionConfiguration) GetSupplementaryDistributionNetworksOk() ([]DistributionConfigurationSupplementaryDistributionNetworksInner, bool)
GetSupplementaryDistributionNetworksOk returns a tuple with the SupplementaryDistributionNetworks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistributionConfiguration) GetUrlSignature ¶
func (o *DistributionConfiguration) GetUrlSignature() DistributionConfigurationUrlSignature
GetUrlSignature returns the UrlSignature field value if set, zero value otherwise.
func (*DistributionConfiguration) GetUrlSignatureOk ¶
func (o *DistributionConfiguration) GetUrlSignatureOk() (*DistributionConfigurationUrlSignature, bool)
GetUrlSignatureOk returns a tuple with the UrlSignature field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistributionConfiguration) HasBaseURL ¶
func (o *DistributionConfiguration) HasBaseURL() bool
HasBaseURL returns a boolean if a field has been set.
func (*DistributionConfiguration) HasCachingConfigurations ¶
func (o *DistributionConfiguration) HasCachingConfigurations() bool
HasCachingConfigurations returns a boolean if a field has been set.
func (*DistributionConfiguration) HasCanonicalDomainName ¶
func (o *DistributionConfiguration) HasCanonicalDomainName() bool
HasCanonicalDomainName returns a boolean if a field has been set.
func (*DistributionConfiguration) HasCertificateId ¶
func (o *DistributionConfiguration) HasCertificateId() bool
HasCertificateId returns a boolean if a field has been set.
func (*DistributionConfiguration) HasContentPreparationTemplateId ¶
func (o *DistributionConfiguration) HasContentPreparationTemplateId() bool
HasContentPreparationTemplateId returns a boolean if a field has been set.
func (*DistributionConfiguration) HasDomainNameAlias ¶
func (o *DistributionConfiguration) HasDomainNameAlias() bool
HasDomainNameAlias returns a boolean if a field has been set.
func (*DistributionConfiguration) HasGeoFencing ¶
func (o *DistributionConfiguration) HasGeoFencing() bool
HasGeoFencing returns a boolean if a field has been set.
func (*DistributionConfiguration) HasPathRewriteRules ¶
func (o *DistributionConfiguration) HasPathRewriteRules() bool
HasPathRewriteRules returns a boolean if a field has been set.
func (*DistributionConfiguration) HasSupplementaryDistributionNetworks ¶
func (o *DistributionConfiguration) HasSupplementaryDistributionNetworks() bool
HasSupplementaryDistributionNetworks returns a boolean if a field has been set.
func (*DistributionConfiguration) HasUrlSignature ¶
func (o *DistributionConfiguration) HasUrlSignature() bool
HasUrlSignature returns a boolean if a field has been set.
func (DistributionConfiguration) MarshalJSON ¶
func (o DistributionConfiguration) MarshalJSON() ([]byte, error)
func (*DistributionConfiguration) SetBaseURL ¶
func (o *DistributionConfiguration) SetBaseURL(v string)
SetBaseURL gets a reference to the given string and assigns it to the BaseURL field.
func (*DistributionConfiguration) SetCachingConfigurations ¶
func (o *DistributionConfiguration) SetCachingConfigurations(v []CachingConfiguration)
SetCachingConfigurations gets a reference to the given []CachingConfiguration and assigns it to the CachingConfigurations field.
func (*DistributionConfiguration) SetCanonicalDomainName ¶
func (o *DistributionConfiguration) SetCanonicalDomainName(v string)
SetCanonicalDomainName gets a reference to the given string and assigns it to the CanonicalDomainName field.
func (*DistributionConfiguration) SetCertificateId ¶
func (o *DistributionConfiguration) SetCertificateId(v string)
SetCertificateId gets a reference to the given string and assigns it to the CertificateId field.
func (*DistributionConfiguration) SetContentPreparationTemplateId ¶
func (o *DistributionConfiguration) SetContentPreparationTemplateId(v string)
SetContentPreparationTemplateId gets a reference to the given string and assigns it to the ContentPreparationTemplateId field.
func (*DistributionConfiguration) SetDomainNameAlias ¶
func (o *DistributionConfiguration) SetDomainNameAlias(v string)
SetDomainNameAlias gets a reference to the given string and assigns it to the DomainNameAlias field.
func (*DistributionConfiguration) SetGeoFencing ¶
func (o *DistributionConfiguration) SetGeoFencing(v DistributionConfigurationGeoFencing)
SetGeoFencing gets a reference to the given DistributionConfigurationGeoFencing and assigns it to the GeoFencing field.
func (*DistributionConfiguration) SetPathRewriteRules ¶
func (o *DistributionConfiguration) SetPathRewriteRules(v []PathRewriteRule)
SetPathRewriteRules gets a reference to the given []PathRewriteRule and assigns it to the PathRewriteRules field.
func (*DistributionConfiguration) SetSupplementaryDistributionNetworks ¶
func (o *DistributionConfiguration) SetSupplementaryDistributionNetworks(v []DistributionConfigurationSupplementaryDistributionNetworksInner)
SetSupplementaryDistributionNetworks gets a reference to the given []DistributionConfigurationSupplementaryDistributionNetworksInner and assigns it to the SupplementaryDistributionNetworks field.
func (*DistributionConfiguration) SetUrlSignature ¶
func (o *DistributionConfiguration) SetUrlSignature(v DistributionConfigurationUrlSignature)
SetUrlSignature gets a reference to the given DistributionConfigurationUrlSignature and assigns it to the UrlSignature field.
func (DistributionConfiguration) ToMap ¶
func (o DistributionConfiguration) ToMap() (map[string]interface{}, error)
type DistributionConfigurationGeoFencing ¶
type DistributionConfigurationGeoFencing struct { // String providing an URI formatted according to RFC 3986. LocatorType string `json:"locatorType"` Locators []string `json:"locators"` }
DistributionConfigurationGeoFencing struct for DistributionConfigurationGeoFencing
func NewDistributionConfigurationGeoFencing ¶
func NewDistributionConfigurationGeoFencing(locatorType string, locators []string) *DistributionConfigurationGeoFencing
NewDistributionConfigurationGeoFencing instantiates a new DistributionConfigurationGeoFencing 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 NewDistributionConfigurationGeoFencingWithDefaults ¶
func NewDistributionConfigurationGeoFencingWithDefaults() *DistributionConfigurationGeoFencing
NewDistributionConfigurationGeoFencingWithDefaults instantiates a new DistributionConfigurationGeoFencing 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 (*DistributionConfigurationGeoFencing) GetLocatorType ¶
func (o *DistributionConfigurationGeoFencing) GetLocatorType() string
GetLocatorType returns the LocatorType field value
func (*DistributionConfigurationGeoFencing) GetLocatorTypeOk ¶
func (o *DistributionConfigurationGeoFencing) GetLocatorTypeOk() (*string, bool)
GetLocatorTypeOk returns a tuple with the LocatorType field value and a boolean to check if the value has been set.
func (*DistributionConfigurationGeoFencing) GetLocators ¶
func (o *DistributionConfigurationGeoFencing) GetLocators() []string
GetLocators returns the Locators field value
func (*DistributionConfigurationGeoFencing) GetLocatorsOk ¶
func (o *DistributionConfigurationGeoFencing) GetLocatorsOk() ([]string, bool)
GetLocatorsOk returns a tuple with the Locators field value and a boolean to check if the value has been set.
func (DistributionConfigurationGeoFencing) MarshalJSON ¶
func (o DistributionConfigurationGeoFencing) MarshalJSON() ([]byte, error)
func (*DistributionConfigurationGeoFencing) SetLocatorType ¶
func (o *DistributionConfigurationGeoFencing) SetLocatorType(v string)
SetLocatorType sets field value
func (*DistributionConfigurationGeoFencing) SetLocators ¶
func (o *DistributionConfigurationGeoFencing) SetLocators(v []string)
SetLocators sets field value
func (DistributionConfigurationGeoFencing) ToMap ¶
func (o DistributionConfigurationGeoFencing) ToMap() (map[string]interface{}, error)
type DistributionConfigurationSupplementaryDistributionNetworksInner ¶
type DistributionConfigurationSupplementaryDistributionNetworksInner struct { DistributionNetworkType DistributionNetworkType `json:"distributionNetworkType"` DistributionMode DistributionMode `json:"distributionMode"` }
DistributionConfigurationSupplementaryDistributionNetworksInner A duple tying a type of supplementary distribution network to its distribution mode.
func NewDistributionConfigurationSupplementaryDistributionNetworksInner ¶
func NewDistributionConfigurationSupplementaryDistributionNetworksInner(distributionNetworkType DistributionNetworkType, distributionMode DistributionMode) *DistributionConfigurationSupplementaryDistributionNetworksInner
NewDistributionConfigurationSupplementaryDistributionNetworksInner instantiates a new DistributionConfigurationSupplementaryDistributionNetworksInner 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 NewDistributionConfigurationSupplementaryDistributionNetworksInnerWithDefaults ¶
func NewDistributionConfigurationSupplementaryDistributionNetworksInnerWithDefaults() *DistributionConfigurationSupplementaryDistributionNetworksInner
NewDistributionConfigurationSupplementaryDistributionNetworksInnerWithDefaults instantiates a new DistributionConfigurationSupplementaryDistributionNetworksInner 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 (*DistributionConfigurationSupplementaryDistributionNetworksInner) GetDistributionMode ¶
func (o *DistributionConfigurationSupplementaryDistributionNetworksInner) GetDistributionMode() DistributionMode
GetDistributionMode returns the DistributionMode field value
func (*DistributionConfigurationSupplementaryDistributionNetworksInner) GetDistributionModeOk ¶
func (o *DistributionConfigurationSupplementaryDistributionNetworksInner) GetDistributionModeOk() (*DistributionMode, bool)
GetDistributionModeOk returns a tuple with the DistributionMode field value and a boolean to check if the value has been set.
func (*DistributionConfigurationSupplementaryDistributionNetworksInner) GetDistributionNetworkType ¶
func (o *DistributionConfigurationSupplementaryDistributionNetworksInner) GetDistributionNetworkType() DistributionNetworkType
GetDistributionNetworkType returns the DistributionNetworkType field value
func (*DistributionConfigurationSupplementaryDistributionNetworksInner) GetDistributionNetworkTypeOk ¶
func (o *DistributionConfigurationSupplementaryDistributionNetworksInner) GetDistributionNetworkTypeOk() (*DistributionNetworkType, bool)
GetDistributionNetworkTypeOk returns a tuple with the DistributionNetworkType field value and a boolean to check if the value has been set.
func (DistributionConfigurationSupplementaryDistributionNetworksInner) MarshalJSON ¶
func (o DistributionConfigurationSupplementaryDistributionNetworksInner) MarshalJSON() ([]byte, error)
func (*DistributionConfigurationSupplementaryDistributionNetworksInner) SetDistributionMode ¶
func (o *DistributionConfigurationSupplementaryDistributionNetworksInner) SetDistributionMode(v DistributionMode)
SetDistributionMode sets field value
func (*DistributionConfigurationSupplementaryDistributionNetworksInner) SetDistributionNetworkType ¶
func (o *DistributionConfigurationSupplementaryDistributionNetworksInner) SetDistributionNetworkType(v DistributionNetworkType)
SetDistributionNetworkType sets field value
func (DistributionConfigurationSupplementaryDistributionNetworksInner) ToMap ¶
func (o DistributionConfigurationSupplementaryDistributionNetworksInner) ToMap() (map[string]interface{}, error)
type DistributionConfigurationUrlSignature ¶
type DistributionConfigurationUrlSignature struct { UrlPattern string `json:"urlPattern"` TokenName string `json:"tokenName"` PassphraseName string `json:"passphraseName"` Passphrase string `json:"passphrase"` TokenExpiryName string `json:"tokenExpiryName"` UseIPAddress bool `json:"useIPAddress"` IpAddressName *string `json:"ipAddressName,omitempty"` }
DistributionConfigurationUrlSignature struct for DistributionConfigurationUrlSignature
func NewDistributionConfigurationUrlSignature ¶
func NewDistributionConfigurationUrlSignature(urlPattern string, tokenName string, passphraseName string, passphrase string, tokenExpiryName string, useIPAddress bool) *DistributionConfigurationUrlSignature
NewDistributionConfigurationUrlSignature instantiates a new DistributionConfigurationUrlSignature 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 NewDistributionConfigurationUrlSignatureWithDefaults ¶
func NewDistributionConfigurationUrlSignatureWithDefaults() *DistributionConfigurationUrlSignature
NewDistributionConfigurationUrlSignatureWithDefaults instantiates a new DistributionConfigurationUrlSignature 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 (*DistributionConfigurationUrlSignature) GetIpAddressName ¶
func (o *DistributionConfigurationUrlSignature) GetIpAddressName() string
GetIpAddressName returns the IpAddressName field value if set, zero value otherwise.
func (*DistributionConfigurationUrlSignature) GetIpAddressNameOk ¶
func (o *DistributionConfigurationUrlSignature) GetIpAddressNameOk() (*string, bool)
GetIpAddressNameOk returns a tuple with the IpAddressName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistributionConfigurationUrlSignature) GetPassphrase ¶
func (o *DistributionConfigurationUrlSignature) GetPassphrase() string
GetPassphrase returns the Passphrase field value
func (*DistributionConfigurationUrlSignature) GetPassphraseName ¶
func (o *DistributionConfigurationUrlSignature) GetPassphraseName() string
GetPassphraseName returns the PassphraseName field value
func (*DistributionConfigurationUrlSignature) GetPassphraseNameOk ¶
func (o *DistributionConfigurationUrlSignature) GetPassphraseNameOk() (*string, bool)
GetPassphraseNameOk returns a tuple with the PassphraseName field value and a boolean to check if the value has been set.
func (*DistributionConfigurationUrlSignature) GetPassphraseOk ¶
func (o *DistributionConfigurationUrlSignature) GetPassphraseOk() (*string, bool)
GetPassphraseOk returns a tuple with the Passphrase field value and a boolean to check if the value has been set.
func (*DistributionConfigurationUrlSignature) GetTokenExpiryName ¶
func (o *DistributionConfigurationUrlSignature) GetTokenExpiryName() string
GetTokenExpiryName returns the TokenExpiryName field value
func (*DistributionConfigurationUrlSignature) GetTokenExpiryNameOk ¶
func (o *DistributionConfigurationUrlSignature) GetTokenExpiryNameOk() (*string, bool)
GetTokenExpiryNameOk returns a tuple with the TokenExpiryName field value and a boolean to check if the value has been set.
func (*DistributionConfigurationUrlSignature) GetTokenName ¶
func (o *DistributionConfigurationUrlSignature) GetTokenName() string
GetTokenName returns the TokenName field value
func (*DistributionConfigurationUrlSignature) GetTokenNameOk ¶
func (o *DistributionConfigurationUrlSignature) GetTokenNameOk() (*string, bool)
GetTokenNameOk returns a tuple with the TokenName field value and a boolean to check if the value has been set.
func (*DistributionConfigurationUrlSignature) GetUrlPattern ¶
func (o *DistributionConfigurationUrlSignature) GetUrlPattern() string
GetUrlPattern returns the UrlPattern field value
func (*DistributionConfigurationUrlSignature) GetUrlPatternOk ¶
func (o *DistributionConfigurationUrlSignature) GetUrlPatternOk() (*string, bool)
GetUrlPatternOk returns a tuple with the UrlPattern field value and a boolean to check if the value has been set.
func (*DistributionConfigurationUrlSignature) GetUseIPAddress ¶
func (o *DistributionConfigurationUrlSignature) GetUseIPAddress() bool
GetUseIPAddress returns the UseIPAddress field value
func (*DistributionConfigurationUrlSignature) GetUseIPAddressOk ¶
func (o *DistributionConfigurationUrlSignature) GetUseIPAddressOk() (*bool, bool)
GetUseIPAddressOk returns a tuple with the UseIPAddress field value and a boolean to check if the value has been set.
func (*DistributionConfigurationUrlSignature) HasIpAddressName ¶
func (o *DistributionConfigurationUrlSignature) HasIpAddressName() bool
HasIpAddressName returns a boolean if a field has been set.
func (DistributionConfigurationUrlSignature) MarshalJSON ¶
func (o DistributionConfigurationUrlSignature) MarshalJSON() ([]byte, error)
func (*DistributionConfigurationUrlSignature) SetIpAddressName ¶
func (o *DistributionConfigurationUrlSignature) SetIpAddressName(v string)
SetIpAddressName gets a reference to the given string and assigns it to the IpAddressName field.
func (*DistributionConfigurationUrlSignature) SetPassphrase ¶
func (o *DistributionConfigurationUrlSignature) SetPassphrase(v string)
SetPassphrase sets field value
func (*DistributionConfigurationUrlSignature) SetPassphraseName ¶
func (o *DistributionConfigurationUrlSignature) SetPassphraseName(v string)
SetPassphraseName sets field value
func (*DistributionConfigurationUrlSignature) SetTokenExpiryName ¶
func (o *DistributionConfigurationUrlSignature) SetTokenExpiryName(v string)
SetTokenExpiryName sets field value
func (*DistributionConfigurationUrlSignature) SetTokenName ¶
func (o *DistributionConfigurationUrlSignature) SetTokenName(v string)
SetTokenName sets field value
func (*DistributionConfigurationUrlSignature) SetUrlPattern ¶
func (o *DistributionConfigurationUrlSignature) SetUrlPattern(v string)
SetUrlPattern sets field value
func (*DistributionConfigurationUrlSignature) SetUseIPAddress ¶
func (o *DistributionConfigurationUrlSignature) SetUseIPAddress(v bool)
SetUseIPAddress sets field value
func (DistributionConfigurationUrlSignature) ToMap ¶
func (o DistributionConfigurationUrlSignature) ToMap() (map[string]interface{}, error)
type DistributionMode ¶
type DistributionMode struct {
String *string
}
DistributionMode Mode of content distribution.
func (*DistributionMode) MarshalJSON ¶
func (src *DistributionMode) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*DistributionMode) UnmarshalJSON ¶
func (dst *DistributionMode) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type DistributionNetworkType ¶
type DistributionNetworkType struct {
String *string
}
DistributionNetworkType Type of distribution network.
func (*DistributionNetworkType) MarshalJSON ¶
func (src *DistributionNetworkType) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*DistributionNetworkType) UnmarshalJSON ¶
func (dst *DistributionNetworkType) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
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 IngestConfiguration ¶
type IngestConfiguration struct { Pull *bool `json:"pull,omitempty"` // String providing an URI formatted according to RFC 3986. Protocol *string `json:"protocol,omitempty"` // Uniform Resource Locator, comforming with the URI Generic Syntax specified in IETF RFC 3986. BaseURL *string `json:"baseURL,omitempty"` }
IngestConfiguration A configuration for content ingest.
func NewIngestConfiguration ¶
func NewIngestConfiguration() *IngestConfiguration
NewIngestConfiguration instantiates a new IngestConfiguration 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 NewIngestConfigurationWithDefaults ¶
func NewIngestConfigurationWithDefaults() *IngestConfiguration
NewIngestConfigurationWithDefaults instantiates a new IngestConfiguration 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 (*IngestConfiguration) GetBaseURL ¶
func (o *IngestConfiguration) GetBaseURL() string
GetBaseURL returns the BaseURL field value if set, zero value otherwise.
func (*IngestConfiguration) GetBaseURLOk ¶
func (o *IngestConfiguration) GetBaseURLOk() (*string, bool)
GetBaseURLOk returns a tuple with the BaseURL field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IngestConfiguration) GetProtocol ¶
func (o *IngestConfiguration) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*IngestConfiguration) GetProtocolOk ¶
func (o *IngestConfiguration) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IngestConfiguration) GetPull ¶
func (o *IngestConfiguration) GetPull() bool
GetPull returns the Pull field value if set, zero value otherwise.
func (*IngestConfiguration) GetPullOk ¶
func (o *IngestConfiguration) GetPullOk() (*bool, bool)
GetPullOk returns a tuple with the Pull field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IngestConfiguration) HasBaseURL ¶
func (o *IngestConfiguration) HasBaseURL() bool
HasBaseURL returns a boolean if a field has been set.
func (*IngestConfiguration) HasProtocol ¶
func (o *IngestConfiguration) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (*IngestConfiguration) HasPull ¶
func (o *IngestConfiguration) HasPull() bool
HasPull returns a boolean if a field has been set.
func (IngestConfiguration) MarshalJSON ¶
func (o IngestConfiguration) MarshalJSON() ([]byte, error)
func (*IngestConfiguration) SetBaseURL ¶
func (o *IngestConfiguration) SetBaseURL(v string)
SetBaseURL gets a reference to the given string and assigns it to the BaseURL field.
func (*IngestConfiguration) SetProtocol ¶
func (o *IngestConfiguration) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*IngestConfiguration) SetPull ¶
func (o *IngestConfiguration) SetPull(v bool)
SetPull gets a reference to the given bool and assigns it to the Pull field.
func (IngestConfiguration) ToMap ¶
func (o IngestConfiguration) 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 NullableCachingConfiguration ¶
type NullableCachingConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableCachingConfiguration ¶
func NewNullableCachingConfiguration(val *CachingConfiguration) *NullableCachingConfiguration
func (NullableCachingConfiguration) Get ¶
func (v NullableCachingConfiguration) Get() *CachingConfiguration
func (NullableCachingConfiguration) IsSet ¶
func (v NullableCachingConfiguration) IsSet() bool
func (NullableCachingConfiguration) MarshalJSON ¶
func (v NullableCachingConfiguration) MarshalJSON() ([]byte, error)
func (*NullableCachingConfiguration) Set ¶
func (v *NullableCachingConfiguration) Set(val *CachingConfiguration)
func (*NullableCachingConfiguration) UnmarshalJSON ¶
func (v *NullableCachingConfiguration) UnmarshalJSON(src []byte) error
func (*NullableCachingConfiguration) Unset ¶
func (v *NullableCachingConfiguration) Unset()
type NullableCachingConfigurationCachingDirectives ¶
type NullableCachingConfigurationCachingDirectives struct {
// contains filtered or unexported fields
}
func NewNullableCachingConfigurationCachingDirectives ¶
func NewNullableCachingConfigurationCachingDirectives(val *CachingConfigurationCachingDirectives) *NullableCachingConfigurationCachingDirectives
func (NullableCachingConfigurationCachingDirectives) IsSet ¶
func (v NullableCachingConfigurationCachingDirectives) IsSet() bool
func (NullableCachingConfigurationCachingDirectives) MarshalJSON ¶
func (v NullableCachingConfigurationCachingDirectives) MarshalJSON() ([]byte, error)
func (*NullableCachingConfigurationCachingDirectives) Set ¶
func (v *NullableCachingConfigurationCachingDirectives) Set(val *CachingConfigurationCachingDirectives)
func (*NullableCachingConfigurationCachingDirectives) UnmarshalJSON ¶
func (v *NullableCachingConfigurationCachingDirectives) UnmarshalJSON(src []byte) error
func (*NullableCachingConfigurationCachingDirectives) Unset ¶
func (v *NullableCachingConfigurationCachingDirectives) Unset()
type NullableContentHostingConfiguration ¶
type NullableContentHostingConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableContentHostingConfiguration ¶
func NewNullableContentHostingConfiguration(val *ContentHostingConfiguration) *NullableContentHostingConfiguration
func (NullableContentHostingConfiguration) Get ¶
func (v NullableContentHostingConfiguration) Get() *ContentHostingConfiguration
func (NullableContentHostingConfiguration) IsSet ¶
func (v NullableContentHostingConfiguration) IsSet() bool
func (NullableContentHostingConfiguration) MarshalJSON ¶
func (v NullableContentHostingConfiguration) MarshalJSON() ([]byte, error)
func (*NullableContentHostingConfiguration) Set ¶
func (v *NullableContentHostingConfiguration) Set(val *ContentHostingConfiguration)
func (*NullableContentHostingConfiguration) UnmarshalJSON ¶
func (v *NullableContentHostingConfiguration) UnmarshalJSON(src []byte) error
func (*NullableContentHostingConfiguration) Unset ¶
func (v *NullableContentHostingConfiguration) Unset()
type NullableDistributionConfiguration ¶
type NullableDistributionConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableDistributionConfiguration ¶
func NewNullableDistributionConfiguration(val *DistributionConfiguration) *NullableDistributionConfiguration
func (NullableDistributionConfiguration) Get ¶
func (v NullableDistributionConfiguration) Get() *DistributionConfiguration
func (NullableDistributionConfiguration) IsSet ¶
func (v NullableDistributionConfiguration) IsSet() bool
func (NullableDistributionConfiguration) MarshalJSON ¶
func (v NullableDistributionConfiguration) MarshalJSON() ([]byte, error)
func (*NullableDistributionConfiguration) Set ¶
func (v *NullableDistributionConfiguration) Set(val *DistributionConfiguration)
func (*NullableDistributionConfiguration) UnmarshalJSON ¶
func (v *NullableDistributionConfiguration) UnmarshalJSON(src []byte) error
func (*NullableDistributionConfiguration) Unset ¶
func (v *NullableDistributionConfiguration) Unset()
type NullableDistributionConfigurationGeoFencing ¶
type NullableDistributionConfigurationGeoFencing struct {
// contains filtered or unexported fields
}
func NewNullableDistributionConfigurationGeoFencing ¶
func NewNullableDistributionConfigurationGeoFencing(val *DistributionConfigurationGeoFencing) *NullableDistributionConfigurationGeoFencing
func (NullableDistributionConfigurationGeoFencing) IsSet ¶
func (v NullableDistributionConfigurationGeoFencing) IsSet() bool
func (NullableDistributionConfigurationGeoFencing) MarshalJSON ¶
func (v NullableDistributionConfigurationGeoFencing) MarshalJSON() ([]byte, error)
func (*NullableDistributionConfigurationGeoFencing) Set ¶
func (v *NullableDistributionConfigurationGeoFencing) Set(val *DistributionConfigurationGeoFencing)
func (*NullableDistributionConfigurationGeoFencing) UnmarshalJSON ¶
func (v *NullableDistributionConfigurationGeoFencing) UnmarshalJSON(src []byte) error
func (*NullableDistributionConfigurationGeoFencing) Unset ¶
func (v *NullableDistributionConfigurationGeoFencing) Unset()
type NullableDistributionConfigurationSupplementaryDistributionNetworksInner ¶
type NullableDistributionConfigurationSupplementaryDistributionNetworksInner struct {
// contains filtered or unexported fields
}
func NewNullableDistributionConfigurationSupplementaryDistributionNetworksInner ¶
func NewNullableDistributionConfigurationSupplementaryDistributionNetworksInner(val *DistributionConfigurationSupplementaryDistributionNetworksInner) *NullableDistributionConfigurationSupplementaryDistributionNetworksInner
func (NullableDistributionConfigurationSupplementaryDistributionNetworksInner) MarshalJSON ¶
func (v NullableDistributionConfigurationSupplementaryDistributionNetworksInner) MarshalJSON() ([]byte, error)
func (*NullableDistributionConfigurationSupplementaryDistributionNetworksInner) UnmarshalJSON ¶
func (v *NullableDistributionConfigurationSupplementaryDistributionNetworksInner) UnmarshalJSON(src []byte) error
func (*NullableDistributionConfigurationSupplementaryDistributionNetworksInner) Unset ¶
func (v *NullableDistributionConfigurationSupplementaryDistributionNetworksInner) Unset()
type NullableDistributionConfigurationUrlSignature ¶
type NullableDistributionConfigurationUrlSignature struct {
// contains filtered or unexported fields
}
func NewNullableDistributionConfigurationUrlSignature ¶
func NewNullableDistributionConfigurationUrlSignature(val *DistributionConfigurationUrlSignature) *NullableDistributionConfigurationUrlSignature
func (NullableDistributionConfigurationUrlSignature) IsSet ¶
func (v NullableDistributionConfigurationUrlSignature) IsSet() bool
func (NullableDistributionConfigurationUrlSignature) MarshalJSON ¶
func (v NullableDistributionConfigurationUrlSignature) MarshalJSON() ([]byte, error)
func (*NullableDistributionConfigurationUrlSignature) Set ¶
func (v *NullableDistributionConfigurationUrlSignature) Set(val *DistributionConfigurationUrlSignature)
func (*NullableDistributionConfigurationUrlSignature) UnmarshalJSON ¶
func (v *NullableDistributionConfigurationUrlSignature) UnmarshalJSON(src []byte) error
func (*NullableDistributionConfigurationUrlSignature) Unset ¶
func (v *NullableDistributionConfigurationUrlSignature) Unset()
type NullableDistributionMode ¶
type NullableDistributionMode struct {
// contains filtered or unexported fields
}
func NewNullableDistributionMode ¶
func NewNullableDistributionMode(val *DistributionMode) *NullableDistributionMode
func (NullableDistributionMode) Get ¶
func (v NullableDistributionMode) Get() *DistributionMode
func (NullableDistributionMode) IsSet ¶
func (v NullableDistributionMode) IsSet() bool
func (NullableDistributionMode) MarshalJSON ¶
func (v NullableDistributionMode) MarshalJSON() ([]byte, error)
func (*NullableDistributionMode) Set ¶
func (v *NullableDistributionMode) Set(val *DistributionMode)
func (*NullableDistributionMode) UnmarshalJSON ¶
func (v *NullableDistributionMode) UnmarshalJSON(src []byte) error
func (*NullableDistributionMode) Unset ¶
func (v *NullableDistributionMode) Unset()
type NullableDistributionNetworkType ¶
type NullableDistributionNetworkType struct {
// contains filtered or unexported fields
}
func NewNullableDistributionNetworkType ¶
func NewNullableDistributionNetworkType(val *DistributionNetworkType) *NullableDistributionNetworkType
func (NullableDistributionNetworkType) Get ¶
func (v NullableDistributionNetworkType) Get() *DistributionNetworkType
func (NullableDistributionNetworkType) IsSet ¶
func (v NullableDistributionNetworkType) IsSet() bool
func (NullableDistributionNetworkType) MarshalJSON ¶
func (v NullableDistributionNetworkType) MarshalJSON() ([]byte, error)
func (*NullableDistributionNetworkType) Set ¶
func (v *NullableDistributionNetworkType) Set(val *DistributionNetworkType)
func (*NullableDistributionNetworkType) UnmarshalJSON ¶
func (v *NullableDistributionNetworkType) UnmarshalJSON(src []byte) error
func (*NullableDistributionNetworkType) Unset ¶
func (v *NullableDistributionNetworkType) 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 NullableIngestConfiguration ¶
type NullableIngestConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableIngestConfiguration ¶
func NewNullableIngestConfiguration(val *IngestConfiguration) *NullableIngestConfiguration
func (NullableIngestConfiguration) Get ¶
func (v NullableIngestConfiguration) Get() *IngestConfiguration
func (NullableIngestConfiguration) IsSet ¶
func (v NullableIngestConfiguration) IsSet() bool
func (NullableIngestConfiguration) MarshalJSON ¶
func (v NullableIngestConfiguration) MarshalJSON() ([]byte, error)
func (*NullableIngestConfiguration) Set ¶
func (v *NullableIngestConfiguration) Set(val *IngestConfiguration)
func (*NullableIngestConfiguration) UnmarshalJSON ¶
func (v *NullableIngestConfiguration) UnmarshalJSON(src []byte) error
func (*NullableIngestConfiguration) Unset ¶
func (v *NullableIngestConfiguration) 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 NullablePathRewriteRule ¶
type NullablePathRewriteRule struct {
// contains filtered or unexported fields
}
func NewNullablePathRewriteRule ¶
func NewNullablePathRewriteRule(val *PathRewriteRule) *NullablePathRewriteRule
func (NullablePathRewriteRule) Get ¶
func (v NullablePathRewriteRule) Get() *PathRewriteRule
func (NullablePathRewriteRule) IsSet ¶
func (v NullablePathRewriteRule) IsSet() bool
func (NullablePathRewriteRule) MarshalJSON ¶
func (v NullablePathRewriteRule) MarshalJSON() ([]byte, error)
func (*NullablePathRewriteRule) Set ¶
func (v *NullablePathRewriteRule) Set(val *PathRewriteRule)
func (*NullablePathRewriteRule) UnmarshalJSON ¶
func (v *NullablePathRewriteRule) UnmarshalJSON(src []byte) error
func (*NullablePathRewriteRule) Unset ¶
func (v *NullablePathRewriteRule) 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 PathRewriteRule ¶
type PathRewriteRule struct { RequestPathPattern string `json:"requestPathPattern"` MappedPath string `json:"mappedPath"` }
PathRewriteRule A rule to manipulate URL paths.
func NewPathRewriteRule ¶
func NewPathRewriteRule(requestPathPattern string, mappedPath string) *PathRewriteRule
NewPathRewriteRule instantiates a new PathRewriteRule 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 NewPathRewriteRuleWithDefaults ¶
func NewPathRewriteRuleWithDefaults() *PathRewriteRule
NewPathRewriteRuleWithDefaults instantiates a new PathRewriteRule 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 (*PathRewriteRule) GetMappedPath ¶
func (o *PathRewriteRule) GetMappedPath() string
GetMappedPath returns the MappedPath field value
func (*PathRewriteRule) GetMappedPathOk ¶
func (o *PathRewriteRule) GetMappedPathOk() (*string, bool)
GetMappedPathOk returns a tuple with the MappedPath field value and a boolean to check if the value has been set.
func (*PathRewriteRule) GetRequestPathPattern ¶
func (o *PathRewriteRule) GetRequestPathPattern() string
GetRequestPathPattern returns the RequestPathPattern field value
func (*PathRewriteRule) GetRequestPathPatternOk ¶
func (o *PathRewriteRule) GetRequestPathPatternOk() (*string, bool)
GetRequestPathPatternOk returns a tuple with the RequestPathPattern field value and a boolean to check if the value has been set.
func (PathRewriteRule) MarshalJSON ¶
func (o PathRewriteRule) MarshalJSON() ([]byte, error)
func (*PathRewriteRule) SetMappedPath ¶
func (o *PathRewriteRule) SetMappedPath(v string)
SetMappedPath sets field value
func (*PathRewriteRule) SetRequestPathPattern ¶
func (o *PathRewriteRule) SetRequestPathPattern(v string)
SetRequestPathPattern sets field value
func (PathRewriteRule) ToMap ¶
func (o PathRewriteRule) 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_default.go
- client.go
- configuration.go
- model_caching_configuration.go
- model_caching_configuration_caching_directives.go
- model_content_hosting_configuration.go
- model_distribution_configuration.go
- model_distribution_configuration_geo_fencing.go
- model_distribution_configuration_supplementary_distribution_networks_inner.go
- model_distribution_configuration_url_signature.go
- model_distribution_mode.go
- model_distribution_network_type.go
- model_ingest_configuration.go
- model_path_rewrite_rule.go
- response.go
- utils.go