Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-generated python SDK code update
Summary: ignore-conflict-markers Reviewed By: stcheng Differential Revision: D54566006 fbshipit-source-id: 55087e609cf0604137c0bd9544ea9f7359ae6f0d
- Loading branch information
1 parent
98cc9bb
commit e43a205
Showing
55 changed files
with
1,150 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright (c) Meta Platforms, Inc. and affiliates. | ||
# All rights reserved. | ||
|
||
# This source code is licensed under the license found in the | ||
# LICENSE file in the root directory of this source tree. | ||
|
||
from facebook_business.adobjects.abstractobject import AbstractObject | ||
from facebook_business.adobjects.abstractcrudobject import AbstractCrudObject | ||
from facebook_business.adobjects.objectparser import ObjectParser | ||
from facebook_business.api import FacebookRequest | ||
from facebook_business.typechecker import TypeChecker | ||
|
||
""" | ||
This class is auto-generated. | ||
For any issues or feature requests related to this class, please let us know on | ||
github and we'll fix in our codegen framework. We'll not be able to accept | ||
pull request for this class. | ||
""" | ||
|
||
class AdAssetBody( | ||
AbstractCrudObject, | ||
): | ||
|
||
def __init__(self, fbid=None, parent_id=None, api=None): | ||
self._isAdAssetBody = True | ||
super(AdAssetBody, self).__init__(fbid, parent_id, api) | ||
|
||
class Field(AbstractObject.Field): | ||
id = 'id' | ||
text = 'text' | ||
url_tags = 'url_tags' | ||
|
||
_field_types = { | ||
'id': 'string', | ||
'text': 'string', | ||
'url_tags': 'string', | ||
} | ||
@classmethod | ||
def _get_field_enum_info(cls): | ||
field_enum_info = {} | ||
return field_enum_info | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Copyright (c) Meta Platforms, Inc. and affiliates. | ||
# All rights reserved. | ||
|
||
# This source code is licensed under the license found in the | ||
# LICENSE file in the root directory of this source tree. | ||
|
||
from facebook_business.adobjects.abstractobject import AbstractObject | ||
from facebook_business.adobjects.abstractcrudobject import AbstractCrudObject | ||
from facebook_business.adobjects.objectparser import ObjectParser | ||
from facebook_business.api import FacebookRequest | ||
from facebook_business.typechecker import TypeChecker | ||
|
||
""" | ||
This class is auto-generated. | ||
For any issues or feature requests related to this class, please let us know on | ||
github and we'll fix in our codegen framework. We'll not be able to accept | ||
pull request for this class. | ||
""" | ||
|
||
class AdAssetCallToActionType( | ||
AbstractCrudObject, | ||
): | ||
|
||
def __init__(self, fbid=None, parent_id=None, api=None): | ||
self._isAdAssetCallToActionType = True | ||
super(AdAssetCallToActionType, self).__init__(fbid, parent_id, api) | ||
|
||
class Field(AbstractObject.Field): | ||
id = 'id' | ||
name = 'name' | ||
|
||
_field_types = { | ||
'id': 'string', | ||
'name': 'string', | ||
} | ||
@classmethod | ||
def _get_field_enum_info(cls): | ||
field_enum_info = {} | ||
return field_enum_info | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright (c) Meta Platforms, Inc. and affiliates. | ||
# All rights reserved. | ||
|
||
# This source code is licensed under the license found in the | ||
# LICENSE file in the root directory of this source tree. | ||
|
||
from facebook_business.adobjects.abstractobject import AbstractObject | ||
from facebook_business.adobjects.abstractcrudobject import AbstractCrudObject | ||
from facebook_business.adobjects.objectparser import ObjectParser | ||
from facebook_business.api import FacebookRequest | ||
from facebook_business.typechecker import TypeChecker | ||
|
||
""" | ||
This class is auto-generated. | ||
For any issues or feature requests related to this class, please let us know on | ||
github and we'll fix in our codegen framework. We'll not be able to accept | ||
pull request for this class. | ||
""" | ||
|
||
class AdAssetDescription( | ||
AbstractCrudObject, | ||
): | ||
|
||
def __init__(self, fbid=None, parent_id=None, api=None): | ||
self._isAdAssetDescription = True | ||
super(AdAssetDescription, self).__init__(fbid, parent_id, api) | ||
|
||
class Field(AbstractObject.Field): | ||
id = 'id' | ||
text = 'text' | ||
url_tags = 'url_tags' | ||
|
||
_field_types = { | ||
'id': 'string', | ||
'text': 'string', | ||
'url_tags': 'string', | ||
} | ||
@classmethod | ||
def _get_field_enum_info(cls): | ||
field_enum_info = {} | ||
return field_enum_info | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Copyright (c) Meta Platforms, Inc. and affiliates. | ||
# All rights reserved. | ||
|
||
# This source code is licensed under the license found in the | ||
# LICENSE file in the root directory of this source tree. | ||
|
||
from facebook_business.adobjects.abstractobject import AbstractObject | ||
from facebook_business.adobjects.abstractcrudobject import AbstractCrudObject | ||
from facebook_business.adobjects.objectparser import ObjectParser | ||
from facebook_business.api import FacebookRequest | ||
from facebook_business.typechecker import TypeChecker | ||
|
||
""" | ||
This class is auto-generated. | ||
For any issues or feature requests related to this class, please let us know on | ||
github and we'll fix in our codegen framework. We'll not be able to accept | ||
pull request for this class. | ||
""" | ||
|
||
class AdAssetImage( | ||
AbstractCrudObject, | ||
): | ||
|
||
def __init__(self, fbid=None, parent_id=None, api=None): | ||
self._isAdAssetImage = True | ||
super(AdAssetImage, self).__init__(fbid, parent_id, api) | ||
|
||
class Field(AbstractObject.Field): | ||
hash = 'hash' | ||
id = 'id' | ||
image_crops = 'image_crops' | ||
name = 'name' | ||
tag = 'tag' | ||
url = 'url' | ||
url_tags = 'url_tags' | ||
|
||
_field_types = { | ||
'hash': 'string', | ||
'id': 'string', | ||
'image_crops': 'AdsImageCrops', | ||
'name': 'string', | ||
'tag': 'string', | ||
'url': 'string', | ||
'url_tags': 'string', | ||
} | ||
@classmethod | ||
def _get_field_enum_info(cls): | ||
field_enum_info = {} | ||
return field_enum_info | ||
|
||
|
Oops, something went wrong.