Class: Aws::DevOpsAgent::Types::AssetFileBody

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb

Overview

Note:

AssetFileBody is a union - when making an API calls you must set exactly one of the members.

Note:

AssetFileBody is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AssetFileBody corresponding to the set member.

Content of an individual asset file

Defined Under Namespace

Classes: Bytes, Text, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bytesString

Binary file content

Returns:

  • (String)


459
460
461
462
463
464
465
466
467
468
469
470
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 459

class AssetFileBody < Struct.new(
  :bytes,
  :text,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Bytes < AssetFileBody; end
  class Text < AssetFileBody; end
  class Unknown < AssetFileBody; end
end

#textString

Text file content

Returns:

  • (String)


459
460
461
462
463
464
465
466
467
468
469
470
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 459

class AssetFileBody < Struct.new(
  :bytes,
  :text,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Bytes < AssetFileBody; end
  class Text < AssetFileBody; end
  class Unknown < AssetFileBody; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



459
460
461
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 459

def unknown
  @unknown
end