models.gflag module

class models.gflag.Gflag(name=None, product_model=None, reason=None, timestamp=None, value=None)[source]

Bases: object

Implementation of the ‘Gflag’ model.

Specifies the attributes of a service gflag.


name (string): Specifies name of the gflag. product_model (string): Specifies product model this gflag set on. reason (string): Specifies reason for setting the gflag. timestamp (long|int): Specifies timestamp when gflag was set. value (string): Specifies value of the gflag.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.