google_api_people v0.4.0 GoogleApi.People.V1.Model.Relation View Source
A person's relation to another person.
Attributes
- formattedType (String.t): The type of the relation translated and formatted in the viewer's account locale or the locale specified in the Accept-Language HTTP header. Defaults to:
null
. - metadata (FieldMetadata): Metadata about the relation. Defaults to:
null
. - person (String.t): The name of the other person this relation refers to. Defaults to:
null
. - type (String.t): The person's relation to the other person. The type can be custom or one of these predefined values: `spouse` `child` `mother` `father` `parent` `brother` `sister` `friend` `relative` `domesticPartner` `manager` `assistant` `referredBy` `partner` Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.People.V1.Model.Relation{
formattedType: any(),
metadata: GoogleApi.People.V1.Model.FieldMetadata.t(),
person: any(),
type: any()
}
t() :: %GoogleApi.People.V1.Model.Relation{ formattedType: any(), metadata: GoogleApi.People.V1.Model.FieldMetadata.t(), person: any(), type: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.