# -*- coding: utf-8 -*-
# Copyright 2021 Cohesity Inc.
[docs]class ExternallyTriggeredJobParams_ExternallyTriggeredSbtParams(object):
"""Implementation of the 'ExternallyTriggeredJobParams_ExternallyTriggeredSbtParams' model.
Attributes:
catalog_view (string): The catalog view associated with the job.
"""
# Create a mapping from Model property names to API property names
_names = {
"catalog_view":'catalogView'
}
def __init__(self,
catalog_view=None):
"""Constructor for the ExternallyTriggeredJobParams_ExternallyTriggeredSbtParams class"""
# Initialize members of the class
self.catalog_view = catalog_view
[docs] @classmethod
def from_dictionary(cls,
dictionary):
"""Creates an instance of this model from a dictionary
Args:
dictionary (dictionary): A dictionary representation of the object as
obtained from the deserialization of the server's response. The keys
MUST match property names in the API description.
Returns:
object: An instance of this structure class.
"""
if dictionary is None:
return None
# Extract variables from the dictionary
catalog_view = dictionary.get('catalogView')
# Return an object of this model
return cls(catalog_view)