Skip to content

Latest commit

 

History

History
77 lines (42 loc) · 2.34 KB

ProductSearchResponse.md

File metadata and controls

77 lines (42 loc) · 2.34 KB

ProductSearchResponse

Properties

Name Type Description Notes
Result Pointer to string Designates if the response is a success ('OK') or failure ('ERR'). [optional]
Products []Product The list of products that matched the search criteria.

Methods

NewProductSearchResponse

func NewProductSearchResponse(products []Product, ) *ProductSearchResponse

NewProductSearchResponse instantiates a new ProductSearchResponse 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

NewProductSearchResponseWithDefaults

func NewProductSearchResponseWithDefaults() *ProductSearchResponse

NewProductSearchResponseWithDefaults instantiates a new ProductSearchResponse 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

GetResult

func (o *ProductSearchResponse) GetResult() string

GetResult returns the Result field if non-nil, zero value otherwise.

GetResultOk

func (o *ProductSearchResponse) GetResultOk() (*string, bool)

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

SetResult

func (o *ProductSearchResponse) SetResult(v string)

SetResult sets Result field to given value.

HasResult

func (o *ProductSearchResponse) HasResult() bool

HasResult returns a boolean if a field has been set.

GetProducts

func (o *ProductSearchResponse) GetProducts() []Product

GetProducts returns the Products field if non-nil, zero value otherwise.

GetProductsOk

func (o *ProductSearchResponse) GetProductsOk() (*[]Product, bool)

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

SetProducts

func (o *ProductSearchResponse) SetProducts(v []Product)

SetProducts sets Products field to given value.

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