Class SetPhoneFavouritedOptions
Options for setting phone favourite state
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "SetPhoneFavouritedOptions")]
public class SetPhoneFavouritedOptions : IValidatableObject
Constructors
View SourceSetPhoneFavouritedOptions()
Initializes a new instance of the SetPhoneFavouritedOptions class.
Declaration
[JsonConstructor]
protected SetPhoneFavouritedOptions()
SetPhoneFavouritedOptions(bool)
Initializes a new instance of the SetPhoneFavouritedOptions class.
Declaration
public SetPhoneFavouritedOptions(bool state = false)
Parameters
Type | Name | Description |
---|---|---|
bool | state | Phone favourite state (required). |
Properties
View SourceState
Phone favourite state
Declaration
[DataMember(Name = "state", IsRequired = true, EmitDefaultValue = true)]
public bool State { get; set; }
Property Value
Type | Description |
---|---|
bool | Phone favourite state |
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 |