[ACR] Address docstring
@@ -31,17 +31,17 @@ class ArtifactManifestProperties(object): # pylint: disable=too-many-instance-a
:ivar bool can_read: Read Permissions for an artifact.
:ivar bool can_list: List Permissions for an artifact.
:ivar architecture: CPU Architecture of an artifact.
- :vartype architecture: ~azure.containerregistry.ArtifactArchitecture
+ :vartype architecture: Optional[~azure.containerregistry.ArtifactArchitecture]
:ivar created_on: Time and date an artifact was created.
- :vartype created_on: ~datetime.datetime
- :ivar str digest: Digest for the artifact.
+ :vartype created_on: Optional[~datetime.datetime]
+ :ivar Optional[str] digest: Digest for the artifact.
:ivar last_updated_on: Time and date an artifact was last updated.
- :vartype last_updated_on: ~datetime.datetime
+ :vartype last_updated_on: Optional[~datetime.datetime]
:ivar operating_system: Operating system for the artifact.
- :vartype operating_system: ~azure.containerregistry.ArtifactOperatingSystem
- :ivar str repository_name: Repository name the artifact belongs to.
- :ivar str size_in_bytes: Size of the artifact.
- :ivar List[str] tags: Tags associated with a registry artifact.
+ :vartype operating_system: Optional[~azure.containerregistry.ArtifactOperatingSystem]
+ :ivar Optional[str] repository_name: Repository name the artifact belongs to.
+ :ivar Optional[int] size_in_bytes: Size of the artifact.
+ :ivar Optional[List[str]] tags: Tags associated with a registry artifact.
"""
def __init__(self, **kwargs):
@@ -159,12 +159,12 @@ class RepositoryProperties(object):
:ivar bool can_read: Read Permissions for a repository.
:ivar bool can_list: List Permissions for a repository.
:ivar created_on: Time the repository was created
- :vartype created_on: ~datetime.datetime
+ :vartype created_on: Optional[~datetime.datetime]
:ivar last_updated_on: Time the repository was last updated.
- :vartype last_updated_on: ~datetime.datetime
- :ivar int manifest_count: Number of manifest in the repository.
- :ivar str name: Name of the repository.
- :ivar int tag_count: Number of tags associated with the repository.
+ :vartype last_updated_on: Optional[~datetime.datetime]
+ :ivar Optional[int] manifest_count: Number of manifest in the repository.
+ :ivar Optional[str] name: Name of the repository.
+ :ivar Optional[int] tag_count: Number of tags associated with the repository.
"""
def __init__(self, **kwargs):
@@ -244,12 +244,12 @@ class ArtifactTagProperties(object):
:ivar bool can_read: Read Permissions for a tag.
:ivar bool can_list: List Permissions for a tag.
:ivar created_on: Time the tag was created.
- :vartype created_on: ~datetime.datetime
- :ivar str digest: Digest for the tag.
+ :vartype created_on: Optional[~datetime.datetime]
+ :ivar Optional[str] digest: Digest for the tag.
:ivar last_updated_on: Time the tag was last updated.
- :vartype last_updated_on: ~datetime.datetime
- :ivar str name: Name of the image the tag corresponds to.
- :ivar str repository: Repository the tag belongs to.
+ :vartype last_updated_on: Optional[~datetime.datetime]
+ :ivar Optional[str] name: Name of the image the tag corresponds to.
+ :ivar Optional[str] repository_name: Repository name the tag belongs to.
"""
def __init__(self, **kwargs):
