Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.6 KB

Distribution.md

File metadata and controls

82 lines (45 loc) · 2.6 KB

Distribution

Properties

Name Type Description Notes
Kind Pointer to string The type of distribution. [optional]
Parameters Pointer to map[string]interface{} The parameters of the distribution. The parameters are different for each distribution type. When <code>kind</code> is <code>normal</code>, the parameters of the distribution are 'mu' and 'sigma'. When <code>kind</code> is <code>beta</code>, the parameters of the distribution are 'alpha' and 'beta.' [optional]

Methods

NewDistribution

func NewDistribution() *Distribution

NewDistribution instantiates a new Distribution 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

NewDistributionWithDefaults

func NewDistributionWithDefaults() *Distribution

NewDistributionWithDefaults instantiates a new Distribution 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

GetKind

func (o *Distribution) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *Distribution) GetKindOk() (*string, bool)

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

SetKind

func (o *Distribution) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *Distribution) HasKind() bool

HasKind returns a boolean if a field has been set.

GetParameters

func (o *Distribution) GetParameters() map[string]interface{}

GetParameters returns the Parameters field if non-nil, zero value otherwise.

GetParametersOk

func (o *Distribution) GetParametersOk() (*map[string]interface{}, bool)

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

SetParameters

func (o *Distribution) SetParameters(v map[string]interface{})

SetParameters sets Parameters field to given value.

HasParameters

func (o *Distribution) HasParameters() bool

HasParameters returns a boolean if a field has been set.

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