Name | Type | Description | Notes |
---|---|---|---|
ResizeFilter | Pointer to string | The type of filter to use while resizing an image. | [optional] [default to "lanczos3"] |
Webp | Pointer to bool | Controls whether or not to default to WebP output when the client supports it. This is equivalent to adding "auto=webp" to all image optimizer requests. | [optional] [default to false] |
WebpQuality | Pointer to int32 | The default quality to use with WebP output. This can be overridden with the second option in the "quality" URL parameter on specific image optimizer requests. | [optional] [default to 85] |
JpegType | Pointer to string | The default type of JPEG output to use. This can be overridden with "format=bjpeg" and "format=pjpeg" on specific image optimizer requests. | [optional] [default to "auto"] |
JpegQuality | Pointer to int32 | The default quality to use with JPEG output. This can be overridden with the "quality" parameter on specific image optimizer requests. | [optional] [default to 85] |
Upscale | Pointer to bool | Whether or not we should allow output images to render at sizes larger than input. | [optional] [default to false] |
AllowVideo | Pointer to bool | Enables GIF to MP4 transformations on this service. | [optional] [default to false] |
func NewDefaultSettings() *DefaultSettings
NewDefaultSettings instantiates a new DefaultSettings 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 NewDefaultSettingsWithDefaults() *DefaultSettings
NewDefaultSettingsWithDefaults instantiates a new DefaultSettings 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 (o *DefaultSettings) GetResizeFilter() string
GetResizeFilter returns the ResizeFilter field if non-nil, zero value otherwise.
func (o *DefaultSettings) GetResizeFilterOk() (*string, bool)
GetResizeFilterOk returns a tuple with the ResizeFilter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DefaultSettings) SetResizeFilter(v string)
SetResizeFilter sets ResizeFilter field to given value.
func (o *DefaultSettings) HasResizeFilter() bool
HasResizeFilter returns a boolean if a field has been set.
func (o *DefaultSettings) GetWebp() bool
GetWebp returns the Webp field if non-nil, zero value otherwise.
func (o *DefaultSettings) GetWebpOk() (*bool, bool)
GetWebpOk returns a tuple with the Webp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DefaultSettings) SetWebp(v bool)
SetWebp sets Webp field to given value.
func (o *DefaultSettings) HasWebp() bool
HasWebp returns a boolean if a field has been set.
func (o *DefaultSettings) GetWebpQuality() int32
GetWebpQuality returns the WebpQuality field if non-nil, zero value otherwise.
func (o *DefaultSettings) GetWebpQualityOk() (*int32, bool)
GetWebpQualityOk returns a tuple with the WebpQuality field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DefaultSettings) SetWebpQuality(v int32)
SetWebpQuality sets WebpQuality field to given value.
func (o *DefaultSettings) HasWebpQuality() bool
HasWebpQuality returns a boolean if a field has been set.
func (o *DefaultSettings) GetJpegType() string
GetJpegType returns the JpegType field if non-nil, zero value otherwise.
func (o *DefaultSettings) GetJpegTypeOk() (*string, bool)
GetJpegTypeOk returns a tuple with the JpegType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DefaultSettings) SetJpegType(v string)
SetJpegType sets JpegType field to given value.
func (o *DefaultSettings) HasJpegType() bool
HasJpegType returns a boolean if a field has been set.
func (o *DefaultSettings) GetJpegQuality() int32
GetJpegQuality returns the JpegQuality field if non-nil, zero value otherwise.
func (o *DefaultSettings) GetJpegQualityOk() (*int32, bool)
GetJpegQualityOk returns a tuple with the JpegQuality field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DefaultSettings) SetJpegQuality(v int32)
SetJpegQuality sets JpegQuality field to given value.
func (o *DefaultSettings) HasJpegQuality() bool
HasJpegQuality returns a boolean if a field has been set.
func (o *DefaultSettings) GetUpscale() bool
GetUpscale returns the Upscale field if non-nil, zero value otherwise.
func (o *DefaultSettings) GetUpscaleOk() (*bool, bool)
GetUpscaleOk returns a tuple with the Upscale field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DefaultSettings) SetUpscale(v bool)
SetUpscale sets Upscale field to given value.
func (o *DefaultSettings) HasUpscale() bool
HasUpscale returns a boolean if a field has been set.
func (o *DefaultSettings) GetAllowVideo() bool
GetAllowVideo returns the AllowVideo field if non-nil, zero value otherwise.
func (o *DefaultSettings) GetAllowVideoOk() (*bool, bool)
GetAllowVideoOk returns a tuple with the AllowVideo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DefaultSettings) SetAllowVideo(v bool)
SetAllowVideo sets AllowVideo field to given value.
func (o *DefaultSettings) HasAllowVideo() bool
HasAllowVideo returns a boolean if a field has been set.