Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion oraclebmc/core/models/attach_i_scsi_volume_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.

from .attach_volume_details import AttachVolumeDetails
from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to grab it in this review, but with the class decorator below we can move the use of formatted_flat_dict into the decorator as well; every model simply uses it for the same __repr__.



class AttachIScsiVolumeDetails(AttachVolumeDetails):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/attach_volume_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class AttachVolumeDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/capture_console_history_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class CaptureConsoleHistoryDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/console_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class ConsoleHistory(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/cpe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class Cpe(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/create_cpe_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class CreateCpeDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/create_dhcp_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class CreateDhcpDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/create_drg_attachment_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class CreateDrgAttachmentDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/create_drg_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class CreateDrgDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/create_image_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class CreateImageDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/create_internet_gateway_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class CreateInternetGatewayDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/create_ip_sec_connection_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class CreateIPSecConnectionDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/create_route_table_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class CreateRouteTableDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/create_security_list_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class CreateSecurityListDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/create_subnet_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class CreateSubnetDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/create_vcn_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class CreateVcnDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/create_volume_backup_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class CreateVolumeBackupDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/create_volume_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class CreateVolumeDetails(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/dhcp_dns_option.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.

from .dhcp_option import DhcpOption
from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class DhcpDnsOption(DhcpOption):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/dhcp_option.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class DhcpOption(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/dhcp_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class DhcpOptions(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/drg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class Drg(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/drg_attachment.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class DrgAttachment(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/egress_security_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class EgressSecurityRule(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/i_scsi_volume_attachment.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.

from .volume_attachment import VolumeAttachment
from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class IScsiVolumeAttachment(VolumeAttachment):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/icmp_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class IcmpOptions(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class Image(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
3 changes: 2 additions & 1 deletion oraclebmc/core/models/ingress_security_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.


from ...util import formatted_flat_dict
from ...util import formatted_flat_dict, initkwargs


class IngressSecurityRule(object):

@initkwargs
def __init__(self):

self.swagger_types = {
Expand Down
Loading