Current section

Files

Jump to
google_api_dataflow lib google_api dataflow v1b3 model display_data.ex
Raw

lib/google_api/dataflow/v1b3/model/display_data.ex

# 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): 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): Contains value if the data is of int64 type. Defaults to: `null`.
- javaClassValue (String): Contains value if the data is of java class type. Defaults to: `null`.
- key (String): 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): An optional label to display in a dax UI for the element. Defaults to: `null`.
- namespace (String): 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): 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): Contains value if the data is of string type. Defaults to: `null`.
- timestampValue (String): Contains value if the data is of timestamp type. Defaults to: `null`.
- url (String): An optional full URL. Defaults to: `null`.
"""
defstruct [
:"boolValue",
:"durationValue",
:"floatValue",
:"int64Value",
:"javaClassValue",
:"key",
:"label",
:"namespace",
:"shortStrValue",
:"strValue",
:"timestampValue",
:"url"
]
end
defimpl Poison.Decoder, for: GoogleApi.Dataflow.V1b3.Model.DisplayData do
def decode(value, _options) do
value
end
end
defimpl Poison.Encoder, for: GoogleApi.Dataflow.V1b3.Model.DisplayData do
def encode(value, options) do
GoogleApi.Dataflow.V1b3.Deserializer.serialize_non_nil(value, options)
end
end