public EzTargetVersion(Gs2.Gs2Version.Model.TargetVersion @targetVersion)
 {
     VersionName = @targetVersion.versionName;
     Version     = @targetVersion.version != null ? new EzVersion(@targetVersion.version) : null;
     Body        = @targetVersion.body;
     Signature   = @targetVersion.signature;
 }
 public EzVersionModel(Gs2.Gs2Version.Model.VersionModel @versionModel)
 {
     Name           = @versionModel.name;
     Metadata       = @versionModel.metadata;
     WarningVersion = @versionModel.warningVersion != null ? new EzVersion(@versionModel.warningVersion) : null;
     ErrorVersion   = @versionModel.errorVersion != null ? new EzVersion(@versionModel.errorVersion) : null;
     Scope          = @versionModel.scope;
     CurrentVersion = @versionModel.currentVersion != null ? new EzVersion(@versionModel.currentVersion) : null;
     NeedSignature  = @versionModel.needSignature.HasValue ? @versionModel.needSignature.Value : false;
 }
예제 #3
0
 public EzAcceptVersion(Gs2.Gs2Version.Model.AcceptVersion @acceptVersion)
 {
     VersionName = @acceptVersion.versionName;
     UserId      = @acceptVersion.userId;
     Version     = @acceptVersion.version != null ? new EzVersion(@acceptVersion.version) : null;
 }
예제 #4
0
 public EzStatus(Gs2.Gs2Version.Model.Status @status)
 {
     VersionModel   = @status.versionModel != null ? new EzVersionModel(@status.versionModel) : null;
     CurrentVersion = @status.currentVersion != null ? new EzVersion(@status.currentVersion) : null;
 }