# Copyright 2017 Google Inc. # # 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 swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule GoogleApi.Dataflow.V1b3.Model.DisplayData do @moduledoc """ Data provided with a pipeline or transform to provide descriptive info. ## Attributes - boolValue (boolean()): Contains value if the data is of a boolean type. Defaults to: `null`. - durationValue (String.t): Contains value if the data is of duration type. Defaults to: `null`. - floatValue (float()): Contains value if the data is of float type. Defaults to: `null`. - int64Value (String.t): Contains value if the data is of int64 type. Defaults to: `null`. - javaClassValue (String.t): Contains value if the data is of java class type. Defaults to: `null`. - key (String.t): The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system. Defaults to: `null`. - label (String.t): An optional label to display in a dax UI for the element. Defaults to: `null`. - namespace (String.t): The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering. Defaults to: `null`. - shortStrValue (String.t): A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip. Defaults to: `null`. - strValue (String.t): Contains value if the data is of string type. Defaults to: `null`. - timestampValue (DateTime.t): Contains value if the data is of timestamp type. Defaults to: `null`. - url (String.t): An optional full URL. Defaults to: `null`. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ :boolValue => any(), :durationValue => any(), :floatValue => any(), :int64Value => any(), :javaClassValue => any(), :key => any(), :label => any(), :namespace => any(), :shortStrValue => any(), :strValue => any(), :timestampValue => DateTime.t(), :url => any() } field(:boolValue) field(:durationValue) field(:floatValue) field(:int64Value) field(:javaClassValue) field(:key) field(:label) field(:namespace) field(:shortStrValue) field(:strValue) field(:timestampValue, as: DateTime) field(:url) end defimpl Poison.Decoder, for: GoogleApi.Dataflow.V1b3.Model.DisplayData do def decode(value, options) do GoogleApi.Dataflow.V1b3.Model.DisplayData.decode(value, options) end end defimpl Poison.Encoder, for: GoogleApi.Dataflow.V1b3.Model.DisplayData do def encode(value, options) do GoogleApi.Gax.ModelBase.encode(value, options) end end