Class: Peddler::APIs::ServicesV1::ServiceUploadDocument

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/services_v1.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#content_length ⇒ Float (readonly)

Returns the value of attribute content_length.

Returns:

  • (Float)


990
991
992
# File 'sig/peddler/apis/services_v1.rbs', line 990

def content_length
  @content_length
end

#content_md5 ⇒ String? (readonly)

Returns the value of attribute content_md5.

Returns:

  • (String, nil)


991
992
993
# File 'sig/peddler/apis/services_v1.rbs', line 991

def content_md5
  @content_md5
end

#content_type ⇒ String (readonly)

Returns the value of attribute content_type.

Returns:

  • (String)


992
993
994
# File 'sig/peddler/apis/services_v1.rbs', line 992

def content_type
  @content_type
end

Class Method Details

.[](content_length:, content_type:, content_md5:) ⇒ Peddler::APIs::ServicesV1::ServiceUploadDocument .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ServicesV1::ServiceUploadDocument

Overloads:



983
984
# File 'sig/peddler/apis/services_v1.rbs', line 983

def self.[]: (content_length: Float, content_type: String, ?content_md5: String?) -> Peddler::APIs::ServicesV1::ServiceUploadDocument
| (Float, String, String?) -> Peddler::APIs::ServicesV1::ServiceUploadDocument

.members ⇒ [ :content_length, :content_type, :content_md5 ]

Returns:

  • ([ :content_length, :content_type, :content_md5 ])


986
# File 'sig/peddler/apis/services_v1.rbs', line 986

def self.members: () -> [ :content_length, :content_type, :content_md5 ]

.new(content_length:, content_type:, content_md5:) ⇒ Peddler::APIs::ServicesV1::ServiceUploadDocument .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ServicesV1::ServiceUploadDocument

Overloads:



981
982
# File 'sig/peddler/apis/services_v1.rbs', line 981

def self.new: (content_length: Float, content_type: String, ?content_md5: String?) -> Peddler::APIs::ServicesV1::ServiceUploadDocument
| (Float, String, String?) -> Peddler::APIs::ServicesV1::ServiceUploadDocument

.parse ⇒ Peddler::APIs::ServicesV1::ServiceUploadDocument

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



988
# File 'sig/peddler/apis/services_v1.rbs', line 988

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ServicesV1::ServiceUploadDocument

Instance Method Details

#members ⇒ [ :content_length, :content_type, :content_md5 ]

Returns:

  • ([ :content_length, :content_type, :content_md5 ])


994
# File 'sig/peddler/apis/services_v1.rbs', line 994

def members: () -> [ :content_length, :content_type, :content_md5 ]

#to_h ⇒ { content_length: Float, content_type: String, content_md5: String? }

Returns:

  • ({ content_length: Float, content_type: String, content_md5: String? })


995
# File 'sig/peddler/apis/services_v1.rbs', line 995

def to_h: () -> { content_length: Float, content_type: String, content_md5: String? }