Class: CrontabStruct

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

Overview

Constant Summary collapse

@@schema_type =
"crontabStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["id", ["SOAP::SOAPInt", XSD::QName.new(nil, "id")]], ["path", ["SOAP::SOAPString", XSD::QName.new(nil, "path")]], ["desc", ["SOAP::SOAPString", XSD::QName.new(nil, "desc")]], ["email", ["SOAP::SOAPString", XSD::QName.new(nil, "email")]], ["enabled", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "enabled")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, path = nil, desc = nil, email = nil, enabled = nil) ⇒ CrontabStruct

Returns a new instance of CrontabStruct.



4619
4620
4621
4622
4623
4624
4625
# File 'lib/ovhrb/manager/manager.rb', line 4619

def initialize(id = nil, path = nil, desc = nil, email = nil, enabled = nil)
  @id = id
  @path = path
  @desc = desc
  @email = email
  @enabled = enabled
end

Instance Attribute Details

#descObject

Returns the value of attribute desc.



4615
4616
4617
# File 'lib/ovhrb/manager/manager.rb', line 4615

def desc
  @desc
end

#emailObject

Returns the value of attribute email.



4616
4617
4618
# File 'lib/ovhrb/manager/manager.rb', line 4616

def email
  @email
end

#enabledObject

Returns the value of attribute enabled.



4617
4618
4619
# File 'lib/ovhrb/manager/manager.rb', line 4617

def enabled
  @enabled
end

#idObject

Returns the value of attribute id.



4613
4614
4615
# File 'lib/ovhrb/manager/manager.rb', line 4613

def id
  @id
end

#pathObject

Returns the value of attribute path.



4614
4615
4616
# File 'lib/ovhrb/manager/manager.rb', line 4614

def path
  @path
end