Class GravatarUrl
User image
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "GravatarUrl")]
public class GravatarUrl : IValidatableObject
Constructors
View SourceGravatarUrl()
Initializes a new instance of the GravatarUrl class.
Declaration
[JsonConstructor]
protected GravatarUrl()
GravatarUrl(string, string)
Initializes a new instance of the GravatarUrl class.
Declaration
public GravatarUrl(string url = null, string hash = null)
Parameters
Type | Name | Description |
---|---|---|
string | url | url (required). |
string | hash | hash (required). |
Properties
View SourceHash
Gets or Sets Hash
Declaration
[DataMember(Name = "hash", IsRequired = true, EmitDefaultValue = true)]
public string Hash { get; set; }
Property Value
Type | Description |
---|---|
string |
Url
Gets or Sets Url
Declaration
[DataMember(Name = "url", IsRequired = true, EmitDefaultValue = true)]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |