"""Updates a network offering."""
from baseCmd import *
from baseResponse import *


class updateNetworkOfferingCmd (baseCmd):
    typeInfo = {}

    def __init__(self):
        self.isAsync = "false"
        """the availability of network offering. Default value is Required for Guest Virtual network offering; Optional for Guest Direct network offering"""
        self.availability = None
        self.typeInfo['availability'] = 'string'
        """the display text of the network offering"""
        self.displaytext = None
        self.typeInfo['displaytext'] = 'string'
        """the id of the network offering"""
        self.id = None
        self.typeInfo['id'] = 'uuid'
        """if true keepalive will be turned on in the loadbalancer. At the time of writing this has only an effect on haproxy; the mode http and httpclose options are unset in the haproxy conf file."""
        self.keepaliveenabled = None
        self.typeInfo['keepaliveenabled'] = 'boolean'
        """maximum number of concurrent connections supported by the network offering"""
        self.maxconnections = None
        self.typeInfo['maxconnections'] = 'integer'
        """the name of the network offering"""
        self.name = None
        self.typeInfo['name'] = 'string'
        """sort key of the network offering, integer"""
        self.sortkey = None
        self.typeInfo['sortkey'] = 'integer'
        """update state for the network offering"""
        self.state = None
        self.typeInfo['state'] = 'string'
        self.required = []


class updateNetworkOfferingResponse (baseResponse):
    typeInfo = {}

    def __init__(self):
        """the id of the network offering"""
        self.id = None
        self.typeInfo['id'] = 'string'
        """availability of the network offering"""
        self.availability = None
        self.typeInfo['availability'] = 'string'
        """true if network offering is ip conserve mode enabled"""
        self.conservemode = None
        self.typeInfo['conservemode'] = 'boolean'
        """the date this network offering was created"""
        self.created = None
        self.typeInfo['created'] = 'date'
        """additional key/value details tied with network offering"""
        self.details = None
        self.typeInfo['details'] = 'map'
        """an alternate display text of the network offering."""
        self.displaytext = None
        self.typeInfo['displaytext'] = 'string'
        """true if guest network default egress policy is allow; false if default egress policy is deny"""
        self.egressdefaultpolicy = None
        self.typeInfo['egressdefaultpolicy'] = 'boolean'
        """true if network offering can be used by VPC networks only"""
        self.forvpc = None
        self.typeInfo['forvpc'] = 'boolean'
        """guest type of the network offering, can be Shared or Isolated"""
        self.guestiptype = None
        self.typeInfo['guestiptype'] = 'string'
        """true if network offering is default, false otherwise"""
        self.isdefault = None
        self.typeInfo['isdefault'] = 'boolean'
        """true if network offering supports persistent networks, false otherwise"""
        self.ispersistent = None
        self.typeInfo['ispersistent'] = 'boolean'
        """maximum number of concurrents connections to be handled by lb"""
        self.maxconnections = None
        self.typeInfo['maxconnections'] = 'integer'
        """the name of the network offering"""
        self.name = None
        self.typeInfo['name'] = 'string'
        """data transfer rate in megabits per second allowed."""
        self.networkrate = None
        self.typeInfo['networkrate'] = 'integer'
        """the ID of the secondary service offering used by virtual router provider"""
        self.secondaryserviceofferingid = None
        self.typeInfo['secondaryserviceofferingid'] = 'string'
        """the name of the secondary service offering used by virtual router provider"""
        self.secondaryserviceofferingname = None
        self.typeInfo['secondaryserviceofferingname'] = 'string'
        """the ID of the service offering used by virtual router provider"""
        self.serviceofferingid = None
        self.typeInfo['serviceofferingid'] = 'string'
        """the name of the service offering used by virtual router provider"""
        self.serviceofferingname = None
        self.typeInfo['serviceofferingname'] = 'string'
        """true if network offering supports specifying ip ranges, false otherwise"""
        self.specifyipranges = None
        self.typeInfo['specifyipranges'] = 'boolean'
        """true if network offering supports vlans, false otherwise"""
        self.specifyvlan = None
        self.typeInfo['specifyvlan'] = 'boolean'
        """state of the network offering. Can be Disabled/Enabled/Inactive"""
        self.state = None
        self.typeInfo['state'] = 'string'
        """true if network offering supports network that span multiple zones"""
        self.supportsstrechedl2subnet = None
        self.typeInfo['supportsstrechedl2subnet'] = 'boolean'
        """the tags for the network offering"""
        self.tags = None
        self.typeInfo['tags'] = 'string'
        """the traffic type for the network offering, supported types are Public, Management, Control, Guest, Vlan or Storage."""
        self.traffictype = None
        self.typeInfo['traffictype'] = 'string'
        """the list of supported services"""
        self.service = []

class capability:
    def __init__(self):
        """"can this service capability value can be choosable while creatine network offerings"""
        self.canchooseservicecapability = None
        """"the capability name"""
        self.name = None
        """"the capability value"""
        self.value = None

class provider:
    def __init__(self):
        """"uuid of the network provider"""
        self.id = None
        """"true if individual services can be enabled/disabled"""
        self.canenableindividualservice = None
        """"the destination physical network"""
        self.destinationphysicalnetworkid = None
        """"the provider name"""
        self.name = None
        """"the physical network this belongs to"""
        self.physicalnetworkid = None
        """"services for this provider"""
        self.servicelist = None
        """"state of the network provider"""
        self.state = None

class service:
    def __init__(self):
        """"the service name"""
        self.name = None
        """"the list of capabilities"""
        self.capability = []
        """"can this service capability value can be choosable while creatine network offerings"""
        self.canchooseservicecapability = None
        """"the capability name"""
        self.name = None
        """"the capability value"""
        self.value = None
        """"the service provider name"""
        self.provider = []
        """"uuid of the network provider"""
        self.id = None
        """"true if individual services can be enabled/disabled"""
        self.canenableindividualservice = None
        """"the destination physical network"""
        self.destinationphysicalnetworkid = None
        """"the provider name"""
        self.name = None
        """"the physical network this belongs to"""
        self.physicalnetworkid = None
        """"services for this provider"""
        self.servicelist = None
        """"state of the network provider"""
        self.state = None


4a0816efe83316cab62ab73be100b55a938bb840
<mask token>


class updateNetworkOfferingResponse(baseResponse):
    typeInfo = {}

    def __init__(self):
        """the id of the network offering"""
        self.id = None
        self.typeInfo['id'] = 'string'
        """availability of the network offering"""
        self.availability = None
        self.typeInfo['availability'] = 'string'
        """true if network offering is ip conserve mode enabled"""
        self.conservemode = None
        self.typeInfo['conservemode'] = 'boolean'
        """the date this network offering was created"""
        self.created = None
        self.typeInfo['created'] = 'date'
        """additional key/value details tied with network offering"""
        self.details = None
        self.typeInfo['details'] = 'map'
        """an alternate display text of the network offering."""
        self.displaytext = None
        self.typeInfo['displaytext'] = 'string'
        """true if guest network default egress policy is allow; false if default egress policy is deny"""
        self.egressdefaultpolicy = None
        self.typeInfo['egressdefaultpolicy'] = 'boolean'
        """true if network offering can be used by VPC networks only"""
        self.forvpc = None
        self.typeInfo['forvpc'] = 'boolean'
        """guest type of the network offering, can be Shared or Isolated"""
        self.guestiptype = None
        self.typeInfo['guestiptype'] = 'string'
        """true if network offering is default, false otherwise"""
        self.isdefault = None
        self.typeInfo['isdefault'] = 'boolean'
        """true if network offering supports persistent networks, false otherwise"""
        self.ispersistent = None
        self.typeInfo['ispersistent'] = 'boolean'
        """maximum number of concurrents connections to be handled by lb"""
        self.maxconnections = None
        self.typeInfo['maxconnections'] = 'integer'
        """the name of the network offering"""
        self.name = None
        self.typeInfo['name'] = 'string'
        """data transfer rate in megabits per second allowed."""
        self.networkrate = None
        self.typeInfo['networkrate'] = 'integer'
        """the ID of the secondary service offering used by virtual router provider"""
        self.secondaryserviceofferingid = None
        self.typeInfo['secondaryserviceofferingid'] = 'string'
        """the name of the secondary service offering used by virtual router provider"""
        self.secondaryserviceofferingname = None
        self.typeInfo['secondaryserviceofferingname'] = 'string'
        """the ID of the service offering used by virtual router provider"""
        self.serviceofferingid = None
        self.typeInfo['serviceofferingid'] = 'string'
        """the name of the service offering used by virtual router provider"""
        self.serviceofferingname = None
        self.typeInfo['serviceofferingname'] = 'string'
        """true if network offering supports specifying ip ranges, false otherwise"""
        self.specifyipranges = None
        self.typeInfo['specifyipranges'] = 'boolean'
        """true if network offering supports vlans, false otherwise"""
        self.specifyvlan = None
        self.typeInfo['specifyvlan'] = 'boolean'
        """state of the network offering. Can be Disabled/Enabled/Inactive"""
        self.state = None
        self.typeInfo['state'] = 'string'
        """true if network offering supports network that span multiple zones"""
        self.supportsstrechedl2subnet = None
        self.typeInfo['supportsstrechedl2subnet'] = 'boolean'
        """the tags for the network offering"""
        self.tags = None
        self.typeInfo['tags'] = 'string'
        """the traffic type for the network offering, supported types are Public, Management, Control, Guest, Vlan or Storage."""
        self.traffictype = None
        self.typeInfo['traffictype'] = 'string'
        """the list of supported services"""
        self.service = []


class capability:

    def __init__(self):
        """"can this service capability value can be choosable while creatine network offerings"""
        self.canchooseservicecapability = None
        """"the capability name"""
        self.name = None
        """"the capability value"""
        self.value = None


class provider:

    def __init__(self):
        """"uuid of the network provider"""
        self.id = None
        """"true if individual services can be enabled/disabled"""
        self.canenableindividualservice = None
        """"the destination physical network"""
        self.destinationphysicalnetworkid = None
        """"the provider name"""
        self.name = None
        """"the physical network this belongs to"""
        self.physicalnetworkid = None
        """"services for this provider"""
        self.servicelist = None
        """"state of the network provider"""
        self.state = None


class service:

    def __init__(self):
        """"the service name"""
        self.name = None
        """"the list of capabilities"""
        self.capability = []
        """"can this service capability value can be choosable while creatine network offerings"""
        self.canchooseservicecapability = None
        """"the capability name"""
        self.name = None
        """"the capability value"""
        self.value = None
        """"the service provider name"""
        self.provider = []
        """"uuid of the network provider"""
        self.id = None
        """"true if individual services can be enabled/disabled"""
        self.canenableindividualservice = None
        """"the destination physical network"""
        self.destinationphysicalnetworkid = None
        """"the provider name"""
        self.name = None
        """"the physical network this belongs to"""
        self.physicalnetworkid = None
        """"services for this provider"""
        self.servicelist = None
        """"state of the network provider"""
        self.state = None

<mask token>


class updateNetworkOfferingCmd(baseCmd):
    <mask token>
    <mask token>


class updateNetworkOfferingResponse(baseResponse):
    typeInfo = {}

    def __init__(self):
        """the id of the network offering"""
        self.id = None
        self.typeInfo['id'] = 'string'
        """availability of the network offering"""
        self.availability = None
        self.typeInfo['availability'] = 'string'
        """true if network offering is ip conserve mode enabled"""
        self.conservemode = None
        self.typeInfo['conservemode'] = 'boolean'
        """the date this network offering was created"""
        self.created = None
        self.typeInfo['created'] = 'date'
        """additional key/value details tied with network offering"""
        self.details = None
        self.typeInfo['details'] = 'map'
        """an alternate display text of the network offering."""
        self.displaytext = None
        self.typeInfo['displaytext'] = 'string'
        """true if guest network default egress policy is allow; false if default egress policy is deny"""
        self.egressdefaultpolicy = None
        self.typeInfo['egressdefaultpolicy'] = 'boolean'
        """true if network offering can be used by VPC networks only"""
        self.forvpc = None
        self.typeInfo['forvpc'] = 'boolean'
        """guest type of the network offering, can be Shared or Isolated"""
        self.guestiptype = None
        self.typeInfo['guestiptype'] = 'string'
        """true if network offering is default, false otherwise"""
        self.isdefault = None
        self.typeInfo['isdefault'] = 'boolean'
        """true if network offering supports persistent networks, false otherwise"""
        self.ispersistent = None
        self.typeInfo['ispersistent'] = 'boolean'
        """maximum number of concurrents connections to be handled by lb"""
        self.maxconnections = None
        self.typeInfo['maxconnections'] = 'integer'
        """the name of the network offering"""
        self.name = None
        self.typeInfo['name'] = 'string'
        """data transfer rate in megabits per second allowed."""
        self.networkrate = None
        self.typeInfo['networkrate'] = 'integer'
        """the ID of the secondary service offering used by virtual router provider"""
        self.secondaryserviceofferingid = None
        self.typeInfo['secondaryserviceofferingid'] = 'string'
        """the name of the secondary service offering used by virtual router provider"""
        self.secondaryserviceofferingname = None
        self.typeInfo['secondaryserviceofferingname'] = 'string'
        """the ID of the service offering used by virtual router provider"""
        self.serviceofferingid = None
        self.typeInfo['serviceofferingid'] = 'string'
        """the name of the service offering used by virtual router provider"""
        self.serviceofferingname = None
        self.typeInfo['serviceofferingname'] = 'string'
        """true if network offering supports specifying ip ranges, false otherwise"""
        self.specifyipranges = None
        self.typeInfo['specifyipranges'] = 'boolean'
        """true if network offering supports vlans, false otherwise"""
        self.specifyvlan = None
        self.typeInfo['specifyvlan'] = 'boolean'
        """state of the network offering. Can be Disabled/Enabled/Inactive"""
        self.state = None
        self.typeInfo['state'] = 'string'
        """true if network offering supports network that span multiple zones"""
        self.supportsstrechedl2subnet = None
        self.typeInfo['supportsstrechedl2subnet'] = 'boolean'
        """the tags for the network offering"""
        self.tags = None
        self.typeInfo['tags'] = 'string'
        """the traffic type for the network offering, supported types are Public, Management, Control, Guest, Vlan or Storage."""
        self.traffictype = None
        self.typeInfo['traffictype'] = 'string'
        """the list of supported services"""
        self.service = []


class capability:

    def __init__(self):
        """"can this service capability value can be choosable while creatine network offerings"""
        self.canchooseservicecapability = None
        """"the capability name"""
        self.name = None
        """"the capability value"""
        self.value = None


class provider:

    def __init__(self):
        """"uuid of the network provider"""
        self.id = None
        """"true if individual services can be enabled/disabled"""
        self.canenableindividualservice = None
        """"the destination physical network"""
        self.destinationphysicalnetworkid = None
        """"the provider name"""
        self.name = None
        """"the physical network this belongs to"""
        self.physicalnetworkid = None
        """"services for this provider"""
        self.servicelist = None
        """"state of the network provider"""
        self.state = None


class service:

    def __init__(self):
        """"the service name"""
        self.name = None
        """"the list of capabilities"""
        self.capability = []
        """"can this service capability value can be choosable while creatine network offerings"""
        self.canchooseservicecapability = None
        """"the capability name"""
        self.name = None
        """"the capability value"""
        self.value = None
        """"the service provider name"""
        self.provider = []
        """"uuid of the network provider"""
        self.id = None
        """"true if individual services can be enabled/disabled"""
        self.canenableindividualservice = None
        """"the destination physical network"""
        self.destinationphysicalnetworkid = None
        """"the provider name"""
        self.name = None
        """"the physical network this belongs to"""
        self.physicalnetworkid = None
        """"services for this provider"""
        self.servicelist = None
        """"state of the network provider"""
        self.state = None

<mask token>


class updateNetworkOfferingCmd(baseCmd):
    <mask token>

    def __init__(self):
        self.isAsync = 'false'
        """the availability of network offering. Default value is Required for Guest Virtual network offering; Optional for Guest Direct network offering"""
        self.availability = None
        self.typeInfo['availability'] = 'string'
        """the display text of the network offering"""
        self.displaytext = None
        self.typeInfo['displaytext'] = 'string'
        """the id of the network offering"""
        self.id = None
        self.typeInfo['id'] = 'uuid'
        """if true keepalive will be turned on in the loadbalancer. At the time of writing this has only an effect on haproxy; the mode http and httpclose options are unset in the haproxy conf file."""
        self.keepaliveenabled = None
        self.typeInfo['keepaliveenabled'] = 'boolean'
        """maximum number of concurrent connections supported by the network offering"""
        self.maxconnections = None
        self.typeInfo['maxconnections'] = 'integer'
        """the name of the network offering"""
        self.name = None
        self.typeInfo['name'] = 'string'
        """sort key of the network offering, integer"""
        self.sortkey = None
        self.typeInfo['sortkey'] = 'integer'
        """update state for the network offering"""
        self.state = None
        self.typeInfo['state'] = 'string'
        self.required = []


class updateNetworkOfferingResponse(baseResponse):
    typeInfo = {}

    def __init__(self):
        """the id of the network offering"""
        self.id = None
        self.typeInfo['id'] = 'string'
        """availability of the network offering"""
        self.availability = None
        self.typeInfo['availability'] = 'string'
        """true if network offering is ip conserve mode enabled"""
        self.conservemode = None
        self.typeInfo['conservemode'] = 'boolean'
        """the date this network offering was created"""
        self.created = None
        self.typeInfo['created'] = 'date'
        """additional key/value details tied with network offering"""
        self.details = None
        self.typeInfo['details'] = 'map'
        """an alternate display text of the network offering."""
        self.displaytext = None
        self.typeInfo['displaytext'] = 'string'
        """true if guest network default egress policy is allow; false if default egress policy is deny"""
        self.egressdefaultpolicy = None
        self.typeInfo['egressdefaultpolicy'] = 'boolean'
        """true if network offering can be used by VPC networks only"""
        self.forvpc = None
        self.typeInfo['forvpc'] = 'boolean'
        """guest type of the network offering, can be Shared or Isolated"""
        self.guestiptype = None
        self.typeInfo['guestiptype'] = 'string'
        """true if network offering is default, false otherwise"""
        self.isdefault = None
        self.typeInfo['isdefault'] = 'boolean'
        """true if network offering supports persistent networks, false otherwise"""
        self.ispersistent = None
        self.typeInfo['ispersistent'] = 'boolean'
        """maximum number of concurrents connections to be handled by lb"""
        self.maxconnections = None
        self.typeInfo['maxconnections'] = 'integer'
        """the name of the network offering"""
        self.name = None
        self.typeInfo['name'] = 'string'
        """data transfer rate in megabits per second allowed."""
        self.networkrate = None
        self.typeInfo['networkrate'] = 'integer'
        """the ID of the secondary service offering used by virtual router provider"""
        self.secondaryserviceofferingid = None
        self.typeInfo['secondaryserviceofferingid'] = 'string'
        """the name of the secondary service offering used by virtual router provider"""
        self.secondaryserviceofferingname = None
        self.typeInfo['secondaryserviceofferingname'] = 'string'
        """the ID of the service offering used by virtual router provider"""
        self.serviceofferingid = None
        self.typeInfo['serviceofferingid'] = 'string'
        """the name of the service offering used by virtual router provider"""
        self.serviceofferingname = None
        self.typeInfo['serviceofferingname'] = 'string'
        """true if network offering supports specifying ip ranges, false otherwise"""
        self.specifyipranges = None
        self.typeInfo['specifyipranges'] = 'boolean'
        """true if network offering supports vlans, false otherwise"""
        self.specifyvlan = None
        self.typeInfo['specifyvlan'] = 'boolean'
        """state of the network offering. Can be Disabled/Enabled/Inactive"""
        self.state = None
        self.typeInfo['state'] = 'string'
        """true if network offering supports network that span multiple zones"""
        self.supportsstrechedl2subnet = None
        self.typeInfo['supportsstrechedl2subnet'] = 'boolean'
        """the tags for the network offering"""
        self.tags = None
        self.typeInfo['tags'] = 'string'
        """the traffic type for the network offering, supported types are Public, Management, Control, Guest, Vlan or Storage."""
        self.traffictype = None
        self.typeInfo['traffictype'] = 'string'
        """the list of supported services"""
        self.service = []


class capability:

    def __init__(self):
        """"can this service capability value can be choosable while creatine network offerings"""
        self.canchooseservicecapability = None
        """"the capability name"""
        self.name = None
        """"the capability value"""
        self.value = None


class provider:

    def __init__(self):
        """"uuid of the network provider"""
        self.id = None
        """"true if individual services can be enabled/disabled"""
        self.canenableindividualservice = None
        """"the destination physical network"""
        self.destinationphysicalnetworkid = None
        """"the provider name"""
        self.name = None
        """"the physical network this belongs to"""
        self.physicalnetworkid = None
        """"services for this provider"""
        self.servicelist = None
        """"state of the network provider"""
        self.state = None


class service:

    def __init__(self):
        """"the service name"""
        self.name = None
        """"the list of capabilities"""
        self.capability = []
        """"can this service capability value can be choosable while creatine network offerings"""
        self.canchooseservicecapability = None
        """"the capability name"""
        self.name = None
        """"the capability value"""
        self.value = None
        """"the service provider name"""
        self.provider = []
        """"uuid of the network provider"""
        self.id = None
        """"true if individual services can be enabled/disabled"""
        self.canenableindividualservice = None
        """"the destination physical network"""
        self.destinationphysicalnetworkid = None
        """"the provider name"""
        self.name = None
        """"the physical network this belongs to"""
        self.physicalnetworkid = None
        """"services for this provider"""
        self.servicelist = None
        """"state of the network provider"""
        self.state = None

<mask token>


class updateNetworkOfferingCmd(baseCmd):
    typeInfo = {}

    def __init__(self):
        self.isAsync = 'false'
        """the availability of network offering. Default value is Required for Guest Virtual network offering; Optional for Guest Direct network offering"""
        self.availability = None
        self.typeInfo['availability'] = 'string'
        """the display text of the network offering"""
        self.displaytext = None
        self.typeInfo['displaytext'] = 'string'
        """the id of the network offering"""
        self.id = None
        self.typeInfo['id'] = 'uuid'
        """if true keepalive will be turned on in the loadbalancer. At the time of writing this has only an effect on haproxy; the mode http and httpclose options are unset in the haproxy conf file."""
        self.keepaliveenabled = None
        self.typeInfo['keepaliveenabled'] = 'boolean'
        """maximum number of concurrent connections supported by the network offering"""
        self.maxconnections = None
        self.typeInfo['maxconnections'] = 'integer'
        """the name of the network offering"""
        self.name = None
        self.typeInfo['name'] = 'string'
        """sort key of the network offering, integer"""
        self.sortkey = None
        self.typeInfo['sortkey'] = 'integer'
        """update state for the network offering"""
        self.state = None
        self.typeInfo['state'] = 'string'
        self.required = []


class updateNetworkOfferingResponse(baseResponse):
    typeInfo = {}

    def __init__(self):
        """the id of the network offering"""
        self.id = None
        self.typeInfo['id'] = 'string'
        """availability of the network offering"""
        self.availability = None
        self.typeInfo['availability'] = 'string'
        """true if network offering is ip conserve mode enabled"""
        self.conservemode = None
        self.typeInfo['conservemode'] = 'boolean'
        """the date this network offering was created"""
        self.created = None
        self.typeInfo['created'] = 'date'
        """additional key/value details tied with network offering"""
        self.details = None
        self.typeInfo['details'] = 'map'
        """an alternate display text of the network offering."""
        self.displaytext = None
        self.typeInfo['displaytext'] = 'string'
        """true if guest network default egress policy is allow; false if default egress policy is deny"""
        self.egressdefaultpolicy = None
        self.typeInfo['egressdefaultpolicy'] = 'boolean'
        """true if network offering can be used by VPC networks only"""
        self.forvpc = None
        self.typeInfo['forvpc'] = 'boolean'
        """guest type of the network offering, can be Shared or Isolated"""
        self.guestiptype = None
        self.typeInfo['guestiptype'] = 'string'
        """true if network offering is default, false otherwise"""
        self.isdefault = None
        self.typeInfo['isdefault'] = 'boolean'
        """true if network offering supports persistent networks, false otherwise"""
        self.ispersistent = None
        self.typeInfo['ispersistent'] = 'boolean'
        """maximum number of concurrents connections to be handled by lb"""
        self.maxconnections = None
        self.typeInfo['maxconnections'] = 'integer'
        """the name of the network offering"""
        self.name = None
        self.typeInfo['name'] = 'string'
        """data transfer rate in megabits per second allowed."""
        self.networkrate = None
        self.typeInfo['networkrate'] = 'integer'
        """the ID of the secondary service offering used by virtual router provider"""
        self.secondaryserviceofferingid = None
        self.typeInfo['secondaryserviceofferingid'] = 'string'
        """the name of the secondary service offering used by virtual router provider"""
        self.secondaryserviceofferingname = None
        self.typeInfo['secondaryserviceofferingname'] = 'string'
        """the ID of the service offering used by virtual router provider"""
        self.serviceofferingid = None
        self.typeInfo['serviceofferingid'] = 'string'
        """the name of the service offering used by virtual router provider"""
        self.serviceofferingname = None
        self.typeInfo['serviceofferingname'] = 'string'
        """true if network offering supports specifying ip ranges, false otherwise"""
        self.specifyipranges = None
        self.typeInfo['specifyipranges'] = 'boolean'
        """true if network offering supports vlans, false otherwise"""
        self.specifyvlan = None
        self.typeInfo['specifyvlan'] = 'boolean'
        """state of the network offering. Can be Disabled/Enabled/Inactive"""
        self.state = None
        self.typeInfo['state'] = 'string'
        """true if network offering supports network that span multiple zones"""
        self.supportsstrechedl2subnet = None
        self.typeInfo['supportsstrechedl2subnet'] = 'boolean'
        """the tags for the network offering"""
        self.tags = None
        self.typeInfo['tags'] = 'string'
        """the traffic type for the network offering, supported types are Public, Management, Control, Guest, Vlan or Storage."""
        self.traffictype = None
        self.typeInfo['traffictype'] = 'string'
        """the list of supported services"""
        self.service = []


class capability:

    def __init__(self):
        """"can this service capability value can be choosable while creatine network offerings"""
        self.canchooseservicecapability = None
        """"the capability name"""
        self.name = None
        """"the capability value"""
        self.value = None


class provider:

    def __init__(self):
        """"uuid of the network provider"""
        self.id = None
        """"true if individual services can be enabled/disabled"""
        self.canenableindividualservice = None
        """"the destination physical network"""
        self.destinationphysicalnetworkid = None
        """"the provider name"""
        self.name = None
        """"the physical network this belongs to"""
        self.physicalnetworkid = None
        """"services for this provider"""
        self.servicelist = None
        """"state of the network provider"""
        self.state = None


class service:

    def __init__(self):
        """"the service name"""
        self.name = None
        """"the list of capabilities"""
        self.capability = []
        """"can this service capability value can be choosable while creatine network offerings"""
        self.canchooseservicecapability = None
        """"the capability name"""
        self.name = None
        """"the capability value"""
        self.value = None
        """"the service provider name"""
        self.provider = []
        """"uuid of the network provider"""
        self.id = None
        """"true if individual services can be enabled/disabled"""
        self.canenableindividualservice = None
        """"the destination physical network"""
        self.destinationphysicalnetworkid = None
        """"the provider name"""
        self.name = None
        """"the physical network this belongs to"""
        self.physicalnetworkid = None
        """"services for this provider"""
        self.servicelist = None
        """"state of the network provider"""
        self.state = None

"""Updates a network offering."""
from baseCmd import *
from baseResponse import *


class updateNetworkOfferingCmd (baseCmd):
    typeInfo = {}

    def __init__(self):
        self.isAsync = "false"
        """the availability of network offering. Default value is Required for Guest Virtual network offering; Optional for Guest Direct network offering"""
        self.availability = None
        self.typeInfo['availability'] = 'string'
        """the display text of the network offering"""
        self.displaytext = None
        self.typeInfo['displaytext'] = 'string'
        """the id of the network offering"""
        self.id = None
        self.typeInfo['id'] = 'uuid'
        """if true keepalive will be turned on in the loadbalancer. At the time of writing this has only an effect on haproxy; the mode http and httpclose options are unset in the haproxy conf file."""
        self.keepaliveenabled = None
        self.typeInfo['keepaliveenabled'] = 'boolean'
        """maximum number of concurrent connections supported by the network offering"""
        self.maxconnections = None
        self.typeInfo['maxconnections'] = 'integer'
        """the name of the network offering"""
        self.name = None
        self.typeInfo['name'] = 'string'
        """sort key of the network offering, integer"""
        self.sortkey = None
        self.typeInfo['sortkey'] = 'integer'
        """update state for the network offering"""
        self.state = None
        self.typeInfo['state'] = 'string'
        self.required = []


class updateNetworkOfferingResponse (baseResponse):
    typeInfo = {}

    def __init__(self):
        """the id of the network offering"""
        self.id = None
        self.typeInfo['id'] = 'string'
        """availability of the network offering"""
        self.availability = None
        self.typeInfo['availability'] = 'string'
        """true if network offering is ip conserve mode enabled"""
        self.conservemode = None
        self.typeInfo['conservemode'] = 'boolean'
        """the date this network offering was created"""
        self.created = None
        self.typeInfo['created'] = 'date'
        """additional key/value details tied with network offering"""
        self.details = None
        self.typeInfo['details'] = 'map'
        """an alternate display text of the network offering."""
        self.displaytext = None
        self.typeInfo['displaytext'] = 'string'
        """true if guest network default egress policy is allow; false if default egress policy is deny"""
        self.egressdefaultpolicy = None
        self.typeInfo['egressdefaultpolicy'] = 'boolean'
        """true if network offering can be used by VPC networks only"""
        self.forvpc = None
        self.typeInfo['forvpc'] = 'boolean'
        """guest type of the network offering, can be Shared or Isolated"""
        self.guestiptype = None
        self.typeInfo['guestiptype'] = 'string'
        """true if network offering is default, false otherwise"""
        self.isdefault = None
        self.typeInfo['isdefault'] = 'boolean'
        """true if network offering supports persistent networks, false otherwise"""
        self.ispersistent = None
        self.typeInfo['ispersistent'] = 'boolean'
        """maximum number of concurrents connections to be handled by lb"""
        self.maxconnections = None
        self.typeInfo['maxconnections'] = 'integer'
        """the name of the network offering"""
        self.name = None
        self.typeInfo['name'] = 'string'
        """data transfer rate in megabits per second allowed."""
        self.networkrate = None
        self.typeInfo['networkrate'] = 'integer'
        """the ID of the secondary service offering used by virtual router provider"""
        self.secondaryserviceofferingid = None
        self.typeInfo['secondaryserviceofferingid'] = 'string'
        """the name of the secondary service offering used by virtual router provider"""
        self.secondaryserviceofferingname = None
        self.typeInfo['secondaryserviceofferingname'] = 'string'
        """the ID of the service offering used by virtual router provider"""
        self.serviceofferingid = None
        self.typeInfo['serviceofferingid'] = 'string'
        """the name of the service offering used by virtual router provider"""
        self.serviceofferingname = None
        self.typeInfo['serviceofferingname'] = 'string'
        """true if network offering supports specifying ip ranges, false otherwise"""
        self.specifyipranges = None
        self.typeInfo['specifyipranges'] = 'boolean'
        """true if network offering supports vlans, false otherwise"""
        self.specifyvlan = None
        self.typeInfo['specifyvlan'] = 'boolean'
        """state of the network offering. Can be Disabled/Enabled/Inactive"""
        self.state = None
        self.typeInfo['state'] = 'string'
        """true if network offering supports network that span multiple zones"""
        self.supportsstrechedl2subnet = None
        self.typeInfo['supportsstrechedl2subnet'] = 'boolean'
        """the tags for the network offering"""
        self.tags = None
        self.typeInfo['tags'] = 'string'
        """the traffic type for the network offering, supported types are Public, Management, Control, Guest, Vlan or Storage."""
        self.traffictype = None
        self.typeInfo['traffictype'] = 'string'
        """the list of supported services"""
        self.service = []

class capability:
    def __init__(self):
        """"can this service capability value can be choosable while creatine network offerings"""
        self.canchooseservicecapability = None
        """"the capability name"""
        self.name = None
        """"the capability value"""
        self.value = None

class provider:
    def __init__(self):
        """"uuid of the network provider"""
        self.id = None
        """"true if individual services can be enabled/disabled"""
        self.canenableindividualservice = None
        """"the destination physical network"""
        self.destinationphysicalnetworkid = None
        """"the provider name"""
        self.name = None
        """"the physical network this belongs to"""
        self.physicalnetworkid = None
        """"services for this provider"""
        self.servicelist = None
        """"state of the network provider"""
        self.state = None

class service:
    def __init__(self):
        """"the service name"""
        self.name = None
        """"the list of capabilities"""
        self.capability = []
        """"can this service capability value can be choosable while creatine network offerings"""
        self.canchooseservicecapability = None
        """"the capability name"""
        self.name = None
        """"the capability value"""
        self.value = None
        """"the service provider name"""
        self.provider = []
        """"uuid of the network provider"""
        self.id = None
        """"true if individual services can be enabled/disabled"""
        self.canenableindividualservice = None
        """"the destination physical network"""
        self.destinationphysicalnetworkid = None
        """"the provider name"""
        self.name = None
        """"the physical network this belongs to"""
        self.physicalnetworkid = None
        """"services for this provider"""
        self.servicelist = None
        """"state of the network provider"""
        self.state = None

