Class: Virtuozzo::SOAP::Types::ServerGroup::GroupType

Inherits:
Object
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/server_group.rb,
lib/virtuozzo/soap/types/server_group.rb

Overview

http://www.swsoft.com/webservices/vzl/4.0.0/typesgroupType

user - Virtuozzo::SOAP::Types::ServerGroup::GroupType::User
member_group - Virtuozzo::SOAP::Types::ServerGroup::GroupType::Member_group
name - SOAP::SOAPString
gid - SOAP::SOAPInt

Defined Under Namespace

Classes: Member_group, User

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(user = [], member_group = [], name = nil, gid = nil) ⇒ GroupType

Returns a new instance of GroupType.



1038
1039
1040
1041
1042
1043
# File 'lib/virtuozzo/soap/types/server_group.rb', line 1038

def initialize(user = [], member_group = [], name = nil, gid = nil)
  @user = user
  @member_group = member_group
  @name = name
  @gid = gid
end

Instance Attribute Details

#gidObject

Returns the value of attribute gid.



1036
1037
1038
# File 'lib/virtuozzo/soap/types/server_group.rb', line 1036

def gid
  @gid
end

#member_groupObject

Returns the value of attribute member_group.



1034
1035
1036
# File 'lib/virtuozzo/soap/types/server_group.rb', line 1034

def member_group
  @member_group
end

#nameObject

Returns the value of attribute name.



1035
1036
1037
# File 'lib/virtuozzo/soap/types/server_group.rb', line 1035

def name
  @name
end

#userObject

Returns the value of attribute user.



1033
1034
1035
# File 'lib/virtuozzo/soap/types/server_group.rb', line 1033

def user
  @user
end