Name | Type | Description | Notes |
---|---|---|---|
ProductId | string | Unique identifier of the product in current plan. Valid values are: 1. `Free` 2. `Trial` 3. `Essentials` 4. `EnterpriseOps` 5. `EnterpriseSec` 6. `EnterpriseSuite` | |
ProductName | string | Name for the product. | |
ProductGroups | []ProductGroup | A list of product group for preview. | |
ProductSubscriptionOptions | []ProductSubscriptionOption | A list of product subscription option. |
func NewSelfServicePlan(productId string, productName string, productGroups []ProductGroup, productSubscriptionOptions []ProductSubscriptionOption, ) *SelfServicePlan
NewSelfServicePlan instantiates a new SelfServicePlan 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 NewSelfServicePlanWithDefaults() *SelfServicePlan
NewSelfServicePlanWithDefaults instantiates a new SelfServicePlan 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 *SelfServicePlan) GetProductId() string
GetProductId returns the ProductId field if non-nil, zero value otherwise.
func (o *SelfServicePlan) GetProductIdOk() (*string, bool)
GetProductIdOk returns a tuple with the ProductId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SelfServicePlan) SetProductId(v string)
SetProductId sets ProductId field to given value.
func (o *SelfServicePlan) GetProductName() string
GetProductName returns the ProductName field if non-nil, zero value otherwise.
func (o *SelfServicePlan) GetProductNameOk() (*string, bool)
GetProductNameOk returns a tuple with the ProductName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SelfServicePlan) SetProductName(v string)
SetProductName sets ProductName field to given value.
func (o *SelfServicePlan) GetProductGroups() []ProductGroup
GetProductGroups returns the ProductGroups field if non-nil, zero value otherwise.
func (o *SelfServicePlan) GetProductGroupsOk() (*[]ProductGroup, bool)
GetProductGroupsOk returns a tuple with the ProductGroups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SelfServicePlan) SetProductGroups(v []ProductGroup)
SetProductGroups sets ProductGroups field to given value.
func (o *SelfServicePlan) GetProductSubscriptionOptions() []ProductSubscriptionOption
GetProductSubscriptionOptions returns the ProductSubscriptionOptions field if non-nil, zero value otherwise.
func (o *SelfServicePlan) GetProductSubscriptionOptionsOk() (*[]ProductSubscriptionOption, bool)
GetProductSubscriptionOptionsOk returns a tuple with the ProductSubscriptionOptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SelfServicePlan) SetProductSubscriptionOptions(v []ProductSubscriptionOption)
SetProductSubscriptionOptions sets ProductSubscriptionOptions field to given value.