Authorization constructor

Authorization({
  1. String? authorizationType,
  2. String? authorizationId,
  3. String? resourceType,
  4. String? resourceId,
  5. String? identityId,
  6. String? organizationId,
  7. String? identityType,
})

Implementation

factory Authorization({
  $core.String? authorizationType,
  $core.String? authorizationId,
  $core.String? resourceType,
  $core.String? resourceId,
  $core.String? identityId,
  $core.String? organizationId,
  $core.String? identityType,
}) {
  final $result = create();
  if (authorizationType != null) {
    $result.authorizationType = authorizationType;
  }
  if (authorizationId != null) {
    $result.authorizationId = authorizationId;
  }
  if (resourceType != null) {
    $result.resourceType = resourceType;
  }
  if (resourceId != null) {
    $result.resourceId = resourceId;
  }
  if (identityId != null) {
    $result.identityId = identityId;
  }
  if (organizationId != null) {
    $result.organizationId = organizationId;
  }
  if (identityType != null) {
    $result.identityType = identityType;
  }
  return $result;
}