Files
Sipro-Marketplaces/pkg/api/yandex/ymclient/docs/PriceCompetitivenessThresholdsDTO.md
2025-08-15 11:10:28 +03:00

2.8 KiB

PriceCompetitivenessThresholdsDTO

Properties

Name Type Description Notes
OptimalPrice Pointer to BasePriceDTO [optional]
AveragePrice Pointer to BasePriceDTO [optional]

Methods

NewPriceCompetitivenessThresholdsDTO

func NewPriceCompetitivenessThresholdsDTO() *PriceCompetitivenessThresholdsDTO

NewPriceCompetitivenessThresholdsDTO instantiates a new PriceCompetitivenessThresholdsDTO 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

NewPriceCompetitivenessThresholdsDTOWithDefaults

func NewPriceCompetitivenessThresholdsDTOWithDefaults() *PriceCompetitivenessThresholdsDTO

NewPriceCompetitivenessThresholdsDTOWithDefaults instantiates a new PriceCompetitivenessThresholdsDTO 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

GetOptimalPrice

func (o *PriceCompetitivenessThresholdsDTO) GetOptimalPrice() BasePriceDTO

GetOptimalPrice returns the OptimalPrice field if non-nil, zero value otherwise.

GetOptimalPriceOk

func (o *PriceCompetitivenessThresholdsDTO) GetOptimalPriceOk() (*BasePriceDTO, bool)

GetOptimalPriceOk returns a tuple with the OptimalPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOptimalPrice

func (o *PriceCompetitivenessThresholdsDTO) SetOptimalPrice(v BasePriceDTO)

SetOptimalPrice sets OptimalPrice field to given value.

HasOptimalPrice

func (o *PriceCompetitivenessThresholdsDTO) HasOptimalPrice() bool

HasOptimalPrice returns a boolean if a field has been set.

GetAveragePrice

func (o *PriceCompetitivenessThresholdsDTO) GetAveragePrice() BasePriceDTO

GetAveragePrice returns the AveragePrice field if non-nil, zero value otherwise.

GetAveragePriceOk

func (o *PriceCompetitivenessThresholdsDTO) GetAveragePriceOk() (*BasePriceDTO, bool)

GetAveragePriceOk returns a tuple with the AveragePrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAveragePrice

func (o *PriceCompetitivenessThresholdsDTO) SetAveragePrice(v BasePriceDTO)

SetAveragePrice sets AveragePrice field to given value.

HasAveragePrice

func (o *PriceCompetitivenessThresholdsDTO) HasAveragePrice() bool

HasAveragePrice returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]