324 lines
8.4 KiB
C#
324 lines
8.4 KiB
C#
//
|
|
// <copyright file="MockEmailServiceConfiguration.cs" company="Microsoft">
|
|
// Copyright (C) Microsoft. All rights reserved.
|
|
// </copyright>
|
|
//
|
|
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.18003
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
//
|
|
// This source code was auto-generated by xsd, Version=4.0.30319.17929.
|
|
//
|
|
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
|
|
[System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=false)]
|
|
public partial class Configuration {
|
|
|
|
private string defaultOperationDurationField;
|
|
|
|
private OperationsOperation[] operationsField;
|
|
|
|
private DistributionGroup[] distributionGroupsField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="positiveInteger")]
|
|
public string DefaultOperationDuration {
|
|
get {
|
|
return this.defaultOperationDurationField;
|
|
}
|
|
set {
|
|
this.defaultOperationDurationField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
[System.Xml.Serialization.XmlArrayItemAttribute("Operation", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
|
|
public OperationsOperation[] Operations {
|
|
get {
|
|
return this.operationsField;
|
|
}
|
|
set {
|
|
this.operationsField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
[System.Xml.Serialization.XmlArrayItemAttribute("Group", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
|
|
public DistributionGroup[] DistributionGroups {
|
|
get {
|
|
return this.distributionGroupsField;
|
|
}
|
|
set {
|
|
this.distributionGroupsField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
|
|
public partial class OperationsOperation {
|
|
|
|
private string durationInSecondsField;
|
|
|
|
private OperationsOperationException exceptionField;
|
|
|
|
private OperationEnum nameField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="integer")]
|
|
public string DurationInSeconds {
|
|
get {
|
|
return this.durationInSecondsField;
|
|
}
|
|
set {
|
|
this.durationInSecondsField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public OperationsOperationException Exception {
|
|
get {
|
|
return this.exceptionField;
|
|
}
|
|
set {
|
|
this.exceptionField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute()]
|
|
public OperationEnum Name {
|
|
get {
|
|
return this.nameField;
|
|
}
|
|
set {
|
|
this.nameField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
|
|
public partial class OperationsOperationException {
|
|
|
|
private ErrorCodeEnum errorCodeField;
|
|
|
|
private ErrorRecord errorRecordField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public ErrorCodeEnum ErrorCode {
|
|
get {
|
|
return this.errorCodeField;
|
|
}
|
|
set {
|
|
this.errorCodeField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public ErrorRecord ErrorRecord {
|
|
get {
|
|
return this.errorRecordField;
|
|
}
|
|
set {
|
|
this.errorRecordField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
|
|
[System.SerializableAttribute()]
|
|
public enum ErrorCodeEnum {
|
|
|
|
/// <remarks/>
|
|
ServiceNotReachable,
|
|
|
|
/// <remarks/>
|
|
InsufficientPermission,
|
|
|
|
/// <remarks/>
|
|
AuthenticationFailure,
|
|
|
|
/// <remarks/>
|
|
AccountAlreadyExists,
|
|
|
|
/// <remarks/>
|
|
AccountNotExists,
|
|
|
|
/// <remarks/>
|
|
InvalidEmailAddress,
|
|
|
|
/// <remarks/>
|
|
Custom,
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class ErrorRecord {
|
|
|
|
private string errorTitleField;
|
|
|
|
private string errorMessageField;
|
|
|
|
private string helpLinkField;
|
|
|
|
private string helpLinkTextField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string ErrorTitle {
|
|
get {
|
|
return this.errorTitleField;
|
|
}
|
|
set {
|
|
this.errorTitleField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string ErrorMessage {
|
|
get {
|
|
return this.errorMessageField;
|
|
}
|
|
set {
|
|
this.errorMessageField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, DataType="anyURI")]
|
|
public string HelpLink {
|
|
get {
|
|
return this.helpLinkField;
|
|
}
|
|
set {
|
|
this.helpLinkField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string HelpLinkText {
|
|
get {
|
|
return this.helpLinkTextField;
|
|
}
|
|
set {
|
|
this.helpLinkTextField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class DistributionGroup {
|
|
|
|
private string idField;
|
|
|
|
private string nameField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute()]
|
|
public string Id {
|
|
get {
|
|
return this.idField;
|
|
}
|
|
set {
|
|
this.idField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute()]
|
|
public string Name {
|
|
get {
|
|
return this.nameField;
|
|
}
|
|
set {
|
|
this.nameField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
|
|
[System.SerializableAttribute()]
|
|
public enum OperationEnum {
|
|
|
|
/// <remarks/>
|
|
VerifyAdminAccount,
|
|
|
|
/// <remarks/>
|
|
Logon,
|
|
|
|
/// <remarks/>
|
|
LogOff,
|
|
|
|
/// <remarks/>
|
|
AddAccount,
|
|
|
|
/// <remarks/>
|
|
RemoveAccount,
|
|
|
|
/// <remarks/>
|
|
UpdateAccount,
|
|
|
|
/// <remarks/>
|
|
EnableAccount,
|
|
|
|
/// <remarks/>
|
|
DisableAccount,
|
|
|
|
/// <remarks/>
|
|
GetAccountById,
|
|
|
|
/// <remarks/>
|
|
GetAccountByPrimaryEmail,
|
|
|
|
/// <remarks/>
|
|
GetAllAccounts,
|
|
|
|
/// <remarks/>
|
|
ResetPassword,
|
|
|
|
/// <remarks/>
|
|
GetDomains
|
|
|
|
}
|