Class: OperationStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/ovhrb/manager/manager.rb

Overview

Constant Summary collapse

@@schema_type =
"operationStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["id", ["SOAP::SOAPInt", XSD::QName.new(nil, "id")]], ["domain", ["SOAP::SOAPString", XSD::QName.new(nil, "domain")]], ["function", ["SOAP::SOAPString", XSD::QName.new(nil, "function")]], ["status", ["SOAP::SOAPString", XSD::QName.new(nil, "status")]], ["internalStatus", ["SOAP::SOAPString", XSD::QName.new(nil, "internalStatus")]], ["comment", ["SOAP::SOAPString", XSD::QName.new(nil, "comment")]], ["users", ["MyArrayOfStringType", XSD::QName.new(nil, "users")]], ["v_retry", ["SOAP::SOAPInt", XSD::QName.new(nil, "retry")]], ["todoDate", ["SOAP::SOAPString", XSD::QName.new(nil, "todoDate")]], ["lastUpdate", ["SOAP::SOAPString", XSD::QName.new(nil, "lastUpdate")]], ["doneDate", ["SOAP::SOAPString", XSD::QName.new(nil, "doneDate")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, domain = nil, function = nil, status = nil, internalStatus = nil, comment = nil, users = nil, v_retry = nil, todoDate = nil, lastUpdate = nil, doneDate = nil) ⇒ OperationStruct

Returns a new instance of OperationStruct.



4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
# File 'lib/ovhrb/manager/manager.rb', line 4946

def initialize(id = nil, domain = nil, function = nil, status = nil, internalStatus = nil, comment = nil, users = nil, v_retry = nil, todoDate = nil, lastUpdate = nil, doneDate = nil)
  @id = id
  @domain = domain
  @function = function
  @status = status
  @internalStatus = internalStatus
  @comment = comment
  @users = users
  @v_retry = v_retry
  @todoDate = todoDate
  @lastUpdate = lastUpdate
  @doneDate = doneDate
end

Instance Attribute Details

#commentObject

Returns the value of attribute comment.



4932
4933
4934
# File 'lib/ovhrb/manager/manager.rb', line 4932

def comment
  @comment
end

#domainObject

Returns the value of attribute domain.



4928
4929
4930
# File 'lib/ovhrb/manager/manager.rb', line 4928

def domain
  @domain
end

#doneDateObject

Returns the value of attribute doneDate.



4936
4937
4938
# File 'lib/ovhrb/manager/manager.rb', line 4936

def doneDate
  @doneDate
end

#functionObject

Returns the value of attribute function.



4929
4930
4931
# File 'lib/ovhrb/manager/manager.rb', line 4929

def function
  @function
end

#idObject

Returns the value of attribute id.



4927
4928
4929
# File 'lib/ovhrb/manager/manager.rb', line 4927

def id
  @id
end

#internalStatusObject

Returns the value of attribute internalStatus.



4931
4932
4933
# File 'lib/ovhrb/manager/manager.rb', line 4931

def internalStatus
  @internalStatus
end

#lastUpdateObject

Returns the value of attribute lastUpdate.



4935
4936
4937
# File 'lib/ovhrb/manager/manager.rb', line 4935

def lastUpdate
  @lastUpdate
end

#statusObject

Returns the value of attribute status.



4930
4931
4932
# File 'lib/ovhrb/manager/manager.rb', line 4930

def status
  @status
end

#todoDateObject

Returns the value of attribute todoDate.



4934
4935
4936
# File 'lib/ovhrb/manager/manager.rb', line 4934

def todoDate
  @todoDate
end

#usersObject

Returns the value of attribute users.



4933
4934
4935
# File 'lib/ovhrb/manager/manager.rb', line 4933

def users
  @users
end

Instance Method Details

#retryObject



4938
4939
4940
# File 'lib/ovhrb/manager/manager.rb', line 4938

def retry
  @v_retry
end

#retry=(value) ⇒ Object



4942
4943
4944
# File 'lib/ovhrb/manager/manager.rb', line 4942

def retry=(value)
  @v_retry = value
end