Documentation
¶
Index ¶
- func CreateOptimizerClassFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreatePropertiesFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func ParseProperties_auto_optimize(v string) (any, error)
- func ParseProperties_crop_gravity(v string) (any, error)
- func ParseProperties_optimizer(v string) (any, error)
- func SerializeProperties_auto_optimize(values []Properties_auto_optimize) []string
- func SerializeProperties_crop_gravity(values []Properties_crop_gravity) []string
- func SerializeProperties_optimizer(values []Properties_optimizer) []string
- type OptimizerClass
- func (m *OptimizerClass) GetAdditionalData() map[string]any
- func (m *OptimizerClass) GetFieldDeserializers() ...
- func (m *OptimizerClass) GetName() *string
- func (m *OptimizerClass) GetProperties() Propertiesable
- func (m *OptimizerClass) Serialize(...) error
- func (m *OptimizerClass) SetAdditionalData(value map[string]any)
- func (m *OptimizerClass) SetName(value *string)
- func (m *OptimizerClass) SetProperties(value Propertiesable)
- type OptimizerClassable
- type Properties
- func (m *Properties) GetAdditionalData() map[string]any
- func (m *Properties) GetAspectRatio() *string
- func (m *Properties) GetAutoOptimize() *Properties_auto_optimize
- func (m *Properties) GetBlur() *string
- func (m *Properties) GetBrightness() *string
- func (m *Properties) GetContrast() *string
- func (m *Properties) GetCrop() *string
- func (m *Properties) GetCropGravity() *Properties_crop_gravity
- func (m *Properties) GetFieldDeserializers() ...
- func (m *Properties) GetFlip() *string
- func (m *Properties) GetFlop() *string
- func (m *Properties) GetGamma() *string
- func (m *Properties) GetHeight() *string
- func (m *Properties) GetHue() *string
- func (m *Properties) GetOptimizer() *Properties_optimizer
- func (m *Properties) GetQuality() *string
- func (m *Properties) GetSaturation() *string
- func (m *Properties) GetSharpen() *string
- func (m *Properties) GetWidth() *string
- func (m *Properties) Serialize(...) error
- func (m *Properties) SetAdditionalData(value map[string]any)
- func (m *Properties) SetAspectRatio(value *string)
- func (m *Properties) SetAutoOptimize(value *Properties_auto_optimize)
- func (m *Properties) SetBlur(value *string)
- func (m *Properties) SetBrightness(value *string)
- func (m *Properties) SetContrast(value *string)
- func (m *Properties) SetCrop(value *string)
- func (m *Properties) SetCropGravity(value *Properties_crop_gravity)
- func (m *Properties) SetFlip(value *string)
- func (m *Properties) SetFlop(value *string)
- func (m *Properties) SetGamma(value *string)
- func (m *Properties) SetHeight(value *string)
- func (m *Properties) SetHue(value *string)
- func (m *Properties) SetOptimizer(value *Properties_optimizer)
- func (m *Properties) SetQuality(value *string)
- func (m *Properties) SetSaturation(value *string)
- func (m *Properties) SetSharpen(value *string)
- func (m *Properties) SetWidth(value *string)
- type Properties_auto_optimize
- type Properties_crop_gravity
- type Properties_optimizer
- type Propertiesable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOptimizerClassFromDiscriminatorValue ¶
func CreateOptimizerClassFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateOptimizerClassFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreatePropertiesFromDiscriminatorValue ¶
func CreatePropertiesFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreatePropertiesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func SerializeProperties_auto_optimize ¶
func SerializeProperties_auto_optimize(values []Properties_auto_optimize) []string
func SerializeProperties_crop_gravity ¶
func SerializeProperties_crop_gravity(values []Properties_crop_gravity) []string
func SerializeProperties_optimizer ¶
func SerializeProperties_optimizer(values []Properties_optimizer) []string
Types ¶
type OptimizerClass ¶
type OptimizerClass struct {
// contains filtered or unexported fields
}
func NewOptimizerClass ¶
func NewOptimizerClass() *OptimizerClass
NewOptimizerClass instantiates a new OptimizerClass and sets the default values.
func (*OptimizerClass) GetAdditionalData ¶
func (m *OptimizerClass) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*OptimizerClass) GetFieldDeserializers ¶
func (m *OptimizerClass) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*OptimizerClass) GetName ¶
func (m *OptimizerClass) GetName() *string
GetName gets the Name property value. The Name property returns a *string when successful
func (*OptimizerClass) GetProperties ¶
func (m *OptimizerClass) GetProperties() Propertiesable
GetProperties gets the Properties property value. The Properties property returns a Propertiesable when successful
func (*OptimizerClass) Serialize ¶
func (m *OptimizerClass) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*OptimizerClass) SetAdditionalData ¶
func (m *OptimizerClass) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*OptimizerClass) SetName ¶
func (m *OptimizerClass) SetName(value *string)
SetName sets the Name property value. The Name property
func (*OptimizerClass) SetProperties ¶
func (m *OptimizerClass) SetProperties(value Propertiesable)
SetProperties sets the Properties property value. The Properties property
type OptimizerClassable ¶
type OptimizerClassable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetName() *string GetProperties() Propertiesable SetName(value *string) SetProperties(value Propertiesable) }
type Properties ¶
type Properties struct {
// contains filtered or unexported fields
}
func NewProperties ¶
func NewProperties() *Properties
NewProperties instantiates a new Properties and sets the default values.
func (*Properties) GetAdditionalData ¶
func (m *Properties) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*Properties) GetAspectRatio ¶
func (m *Properties) GetAspectRatio() *string
GetAspectRatio gets the aspect_ratio property value. The aspect_ratio property returns a *string when successful
func (*Properties) GetAutoOptimize ¶
func (m *Properties) GetAutoOptimize() *Properties_auto_optimize
GetAutoOptimize gets the auto_optimize property value. The auto_optimize property returns a *Properties_auto_optimize when successful
func (*Properties) GetBlur ¶
func (m *Properties) GetBlur() *string
GetBlur gets the blur property value. The blur property returns a *string when successful
func (*Properties) GetBrightness ¶
func (m *Properties) GetBrightness() *string
GetBrightness gets the brightness property value. The brightness property returns a *string when successful
func (*Properties) GetContrast ¶
func (m *Properties) GetContrast() *string
GetContrast gets the contrast property value. The contrast property returns a *string when successful
func (*Properties) GetCrop ¶
func (m *Properties) GetCrop() *string
GetCrop gets the crop property value. The crop property returns a *string when successful
func (*Properties) GetCropGravity ¶
func (m *Properties) GetCropGravity() *Properties_crop_gravity
GetCropGravity gets the crop_gravity property value. The crop_gravity property returns a *Properties_crop_gravity when successful
func (*Properties) GetFieldDeserializers ¶
func (m *Properties) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*Properties) GetFlip ¶
func (m *Properties) GetFlip() *string
GetFlip gets the flip property value. The flip property returns a *string when successful
func (*Properties) GetFlop ¶
func (m *Properties) GetFlop() *string
GetFlop gets the flop property value. The flop property returns a *string when successful
func (*Properties) GetGamma ¶
func (m *Properties) GetGamma() *string
GetGamma gets the gamma property value. The gamma property returns a *string when successful
func (*Properties) GetHeight ¶
func (m *Properties) GetHeight() *string
GetHeight gets the height property value. The height property returns a *string when successful
func (*Properties) GetHue ¶
func (m *Properties) GetHue() *string
GetHue gets the hue property value. The hue property returns a *string when successful
func (*Properties) GetOptimizer ¶
func (m *Properties) GetOptimizer() *Properties_optimizer
GetOptimizer gets the optimizer property value. The optimizer property returns a *Properties_optimizer when successful
func (*Properties) GetQuality ¶
func (m *Properties) GetQuality() *string
GetQuality gets the quality property value. The quality property returns a *string when successful
func (*Properties) GetSaturation ¶
func (m *Properties) GetSaturation() *string
GetSaturation gets the saturation property value. The saturation property returns a *string when successful
func (*Properties) GetSharpen ¶
func (m *Properties) GetSharpen() *string
GetSharpen gets the sharpen property value. The sharpen property returns a *string when successful
func (*Properties) GetWidth ¶
func (m *Properties) GetWidth() *string
GetWidth gets the width property value. The width property returns a *string when successful
func (*Properties) Serialize ¶
func (m *Properties) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*Properties) SetAdditionalData ¶
func (m *Properties) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*Properties) SetAspectRatio ¶
func (m *Properties) SetAspectRatio(value *string)
SetAspectRatio sets the aspect_ratio property value. The aspect_ratio property
func (*Properties) SetAutoOptimize ¶
func (m *Properties) SetAutoOptimize(value *Properties_auto_optimize)
SetAutoOptimize sets the auto_optimize property value. The auto_optimize property
func (*Properties) SetBlur ¶
func (m *Properties) SetBlur(value *string)
SetBlur sets the blur property value. The blur property
func (*Properties) SetBrightness ¶
func (m *Properties) SetBrightness(value *string)
SetBrightness sets the brightness property value. The brightness property
func (*Properties) SetContrast ¶
func (m *Properties) SetContrast(value *string)
SetContrast sets the contrast property value. The contrast property
func (*Properties) SetCrop ¶
func (m *Properties) SetCrop(value *string)
SetCrop sets the crop property value. The crop property
func (*Properties) SetCropGravity ¶
func (m *Properties) SetCropGravity(value *Properties_crop_gravity)
SetCropGravity sets the crop_gravity property value. The crop_gravity property
func (*Properties) SetFlip ¶
func (m *Properties) SetFlip(value *string)
SetFlip sets the flip property value. The flip property
func (*Properties) SetFlop ¶
func (m *Properties) SetFlop(value *string)
SetFlop sets the flop property value. The flop property
func (*Properties) SetGamma ¶
func (m *Properties) SetGamma(value *string)
SetGamma sets the gamma property value. The gamma property
func (*Properties) SetHeight ¶
func (m *Properties) SetHeight(value *string)
SetHeight sets the height property value. The height property
func (*Properties) SetHue ¶
func (m *Properties) SetHue(value *string)
SetHue sets the hue property value. The hue property
func (*Properties) SetOptimizer ¶
func (m *Properties) SetOptimizer(value *Properties_optimizer)
SetOptimizer sets the optimizer property value. The optimizer property
func (*Properties) SetQuality ¶
func (m *Properties) SetQuality(value *string)
SetQuality sets the quality property value. The quality property
func (*Properties) SetSaturation ¶
func (m *Properties) SetSaturation(value *string)
SetSaturation sets the saturation property value. The saturation property
func (*Properties) SetSharpen ¶
func (m *Properties) SetSharpen(value *string)
SetSharpen sets the sharpen property value. The sharpen property
func (*Properties) SetWidth ¶
func (m *Properties) SetWidth(value *string)
SetWidth sets the width property value. The width property
type Properties_auto_optimize ¶
type Properties_auto_optimize int
const ( LOW_PROPERTIES_AUTO_OPTIMIZE Properties_auto_optimize = iota MEDIUM_PROPERTIES_AUTO_OPTIMIZE HIGH_PROPERTIES_AUTO_OPTIMIZE )
func (Properties_auto_optimize) String ¶
func (i Properties_auto_optimize) String() string
type Properties_crop_gravity ¶
type Properties_crop_gravity int
const ( CENTER_PROPERTIES_CROP_GRAVITY Properties_crop_gravity = iota FORGET_PROPERTIES_CROP_GRAVITY EAST_PROPERTIES_CROP_GRAVITY NORTH_PROPERTIES_CROP_GRAVITY SOUTH_PROPERTIES_CROP_GRAVITY WEST_PROPERTIES_CROP_GRAVITY NORTHEAST_PROPERTIES_CROP_GRAVITY NORTHWEST_PROPERTIES_CROP_GRAVITY SOUTHEAST_PROPERTIES_CROP_GRAVITY SOUTHWEST_PROPERTIES_CROP_GRAVITY )
func (Properties_crop_gravity) String ¶
func (i Properties_crop_gravity) String() string
type Properties_optimizer ¶
type Properties_optimizer int
const ( NONE_PROPERTIES_OPTIMIZER Properties_optimizer = iota IMAGE_PROPERTIES_OPTIMIZER )
func (Properties_optimizer) String ¶
func (i Properties_optimizer) String() string
type Propertiesable ¶
type Propertiesable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAspectRatio() *string GetAutoOptimize() *Properties_auto_optimize GetBlur() *string GetBrightness() *string GetContrast() *string GetCrop() *string GetCropGravity() *Properties_crop_gravity GetFlip() *string GetFlop() *string GetGamma() *string GetHeight() *string GetHue() *string GetOptimizer() *Properties_optimizer GetQuality() *string GetSaturation() *string GetSharpen() *string GetWidth() *string SetAspectRatio(value *string) SetAutoOptimize(value *Properties_auto_optimize) SetBlur(value *string) SetBrightness(value *string) SetContrast(value *string) SetCrop(value *string) SetCropGravity(value *Properties_crop_gravity) SetFlip(value *string) SetFlop(value *string) SetGamma(value *string) SetHeight(value *string) SetHue(value *string) SetOptimizer(value *Properties_optimizer) SetQuality(value *string) SetSaturation(value *string) SetSharpen(value *string) SetWidth(value *string) }