# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # NOTE: This class is auto generated by the elixir code generator program. # Do not edit the class manually. defmodule GoogleApi.Vault.V1.Model.Export do @moduledoc """ An export ## Attributes * `cloudStorageSink` (*type:* `GoogleApi.Vault.V1.Model.CloudStorageSink.t`, *default:* `nil`) - Output only. Export sink for cloud storage files. * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time when the export was created. * `exportOptions` (*type:* `GoogleApi.Vault.V1.Model.ExportOptions.t`, *default:* `nil`) - Advanced options of the export. * `id` (*type:* `String.t`, *default:* `nil`) - Output only. The generated export ID. * `matterId` (*type:* `String.t`, *default:* `nil`) - Output only. The matter ID. * `name` (*type:* `String.t`, *default:* `nil`) - The export name. * `query` (*type:* `GoogleApi.Vault.V1.Model.Query.t`, *default:* `nil`) - The search query being exported. * `requester` (*type:* `GoogleApi.Vault.V1.Model.UserInfo.t`, *default:* `nil`) - Output only. The requester of the export. * `stats` (*type:* `GoogleApi.Vault.V1.Model.ExportStats.t`, *default:* `nil`) - Output only. Export statistics. * `status` (*type:* `String.t`, *default:* `nil`) - Output only. The export status. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ :cloudStorageSink => GoogleApi.Vault.V1.Model.CloudStorageSink.t(), :createTime => DateTime.t(), :exportOptions => GoogleApi.Vault.V1.Model.ExportOptions.t(), :id => String.t(), :matterId => String.t(), :name => String.t(), :query => GoogleApi.Vault.V1.Model.Query.t(), :requester => GoogleApi.Vault.V1.Model.UserInfo.t(), :stats => GoogleApi.Vault.V1.Model.ExportStats.t(), :status => String.t() } field(:cloudStorageSink, as: GoogleApi.Vault.V1.Model.CloudStorageSink) field(:createTime, as: DateTime) field(:exportOptions, as: GoogleApi.Vault.V1.Model.ExportOptions) field(:id) field(:matterId) field(:name) field(:query, as: GoogleApi.Vault.V1.Model.Query) field(:requester, as: GoogleApi.Vault.V1.Model.UserInfo) field(:stats, as: GoogleApi.Vault.V1.Model.ExportStats) field(:status) end defimpl Poison.Decoder, for: GoogleApi.Vault.V1.Model.Export do def decode(value, options) do GoogleApi.Vault.V1.Model.Export.decode(value, options) end end defimpl Poison.Encoder, for: GoogleApi.Vault.V1.Model.Export do def encode(value, options) do GoogleApi.Gax.ModelBase.encode(value, options) end end