Class PlanSummaryDto
PlanSummaryDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "PlanSummaryDto")]
public class PlanSummaryDto : IValidatableObject
Constructors
View SourcePlanSummaryDto()
Initializes a new instance of the PlanSummaryDto class.
Declaration
[JsonConstructor]
protected PlanSummaryDto()
PlanSummaryDto(SubscriptionScheduleEnum?, PhoneCountryEnum)
Initializes a new instance of the PlanSummaryDto class.
Declaration
public PlanSummaryDto(PlanSummaryDto.SubscriptionScheduleEnum? subscriptionSchedule = null, PlanSummaryDto.PhoneCountryEnum phoneCountry = (PlanSummaryDto.PhoneCountryEnum)0)
Parameters
| Type | Name | Description |
|---|---|---|
| PlanSummaryDto.SubscriptionScheduleEnum? | subscriptionSchedule | subscriptionSchedule. |
| PlanSummaryDto.PhoneCountryEnum | phoneCountry | phoneCountry (required). |
Properties
View SourcePhoneCountry
Gets or Sets PhoneCountry
Declaration
[DataMember(Name = "phoneCountry", IsRequired = true, EmitDefaultValue = true)]
public PlanSummaryDto.PhoneCountryEnum PhoneCountry { get; set; }
Property Value
| Type | Description |
|---|---|
| PlanSummaryDto.PhoneCountryEnum |
SubscriptionSchedule
Gets or Sets SubscriptionSchedule
Declaration
[DataMember(Name = "subscriptionSchedule", EmitDefaultValue = false)]
public PlanSummaryDto.SubscriptionScheduleEnum? SubscriptionSchedule { get; set; }
Property Value
| Type | Description |
|---|---|
| PlanSummaryDto.SubscriptionScheduleEnum? |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
| Type | Description |
|---|---|
| string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |