Current section

Files

Jump to
procore_sdk lib procore model office_1.ex
Raw

lib/procore/model/office_1.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.8.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Procore.Model.Office1 do
@moduledoc """
Office
"""
@derive Jason.Encoder
defstruct [
:id,
:name,
:address,
:city,
:state_code,
:country_code,
:zip,
:phone,
:fax,
:division,
:logo
]
@type t :: %__MODULE__{
:id => integer() | nil,
:name => String.t() | nil,
:address => String.t() | nil,
:city => String.t() | nil,
:state_code => String.t() | nil,
:country_code => String.t() | nil,
:zip => String.t() | nil,
:phone => String.t() | nil,
:fax => String.t() | nil,
:division => String.t() | nil,
:logo =>
Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet200ResponseInnerAttachmentsInner.t()
| nil
}
alias Procore.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(
:logo,
:struct,
Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet200ResponseInnerAttachmentsInner
)
end
end