GoogleApi.MyBusinessBusinessInformation.V1.Model.Category (google_api_my_business_business_information v0.5.2)

View Source

A category describing what this business is (not what it does). For a list of valid category IDs, and the mappings to their human-readable names, see categories.list.

Attributes

  • displayName (type: String.t, default: nil) - Output only. The human-readable name of the category. This is set when reading the location. When modifying the location, category_id must be set.
  • moreHoursTypes (type: list(GoogleApi.MyBusinessBusinessInformation.V1.Model.MoreHoursType.t), default: nil) - Output only. More hours types that are available for this business category.
  • name (type: String.t, default: nil) - Required. A stable ID (provided by Google) for this category. The value must be specified when modifying the category (when creating or updating a location).
  • serviceTypes (type: list(GoogleApi.MyBusinessBusinessInformation.V1.Model.ServiceType.t), default: nil) - Output only. A list of all the service types that are available for this business category.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.MyBusinessBusinessInformation.V1.Model.Category{
  displayName: String.t() | nil,
  moreHoursTypes:
    [GoogleApi.MyBusinessBusinessInformation.V1.Model.MoreHoursType.t()] | nil,
  name: String.t() | nil,
  serviceTypes:
    [GoogleApi.MyBusinessBusinessInformation.V1.Model.ServiceType.t()] | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.